glslang SPV tests: Add a set of SPV tests.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31212 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
64
Test/baseResults/spv.set.vert.out
Normal file
64
Test/baseResults/spv.set.vert.out
Normal file
@@ -0,0 +1,64 @@
|
||||
spv.set.vert
|
||||
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
|
||||
|
||||
|
||||
// Module Version 99
|
||||
// Generated by (magic number): 51a00bb
|
||||
// Id's are bound by 25
|
||||
|
||||
Source GLSL 450
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4
|
||||
Name 4 "main"
|
||||
Name 10 "color"
|
||||
Name 11 "setBuf"
|
||||
MemberName 11(setBuf) 0 "color"
|
||||
Name 13 "setBufInst"
|
||||
Name 21 "sampler"
|
||||
Name 23 "gl_VertexID"
|
||||
Name 24 "gl_InstanceID"
|
||||
Decorate 10(color) Smooth
|
||||
Decorate 11(setBuf) GLSLShared
|
||||
Decorate 11(setBuf) BufferBlock
|
||||
Decorate 13(setBufInst) DescriptorSet 0
|
||||
Decorate 13(setBufInst) Binding 8
|
||||
Decorate 21(sampler) DescriptorSet 4
|
||||
Decorate 21(sampler) Binding 7
|
||||
Decorate 21(sampler) NoStaticUse
|
||||
Decorate 23(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 23(gl_VertexID) NoStaticUse
|
||||
Decorate 24(gl_InstanceID) BuiltIn InstanceId
|
||||
Decorate 24(gl_InstanceID) NoStaticUse
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
7: TypeFloat 32
|
||||
8: TypeVector 7(float) 4
|
||||
9: TypePointer Output 8(fvec4)
|
||||
10(color): 9(ptr) Variable Output
|
||||
11(setBuf): TypeStruct 8(fvec4)
|
||||
12: TypePointer Uniform 11(setBuf)
|
||||
13(setBufInst): 12(ptr) Variable Uniform
|
||||
14: TypeInt 32 1
|
||||
15: 14(int) Constant 0
|
||||
16: TypePointer Uniform 8(fvec4)
|
||||
19: TypeSampler7(float) 2D filter+texture
|
||||
20: TypePointer UniformConstant 19
|
||||
21(sampler): 20(ptr) Variable UniformConstant
|
||||
22: TypePointer Input 14(int)
|
||||
23(gl_VertexID): 22(ptr) Variable Input
|
||||
24(gl_InstanceID): 22(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
17: 16(ptr) AccessChain 13(setBufInst) 15
|
||||
18: 8(fvec4) Load 17
|
||||
Store 10(color) 18
|
||||
Branch 6
|
||||
6: Label
|
||||
Return
|
||||
FunctionEnd
|
||||
Reference in New Issue
Block a user