git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31531 e7fa87d3-cd2b-0410-9028-fcbf551c1848
209 lines
11 KiB
Plaintext
209 lines
11 KiB
Plaintext
spv.300layoutp.vert
|
|
|
|
Linked vertex stage:
|
|
|
|
|
|
// Module Version 99
|
|
// Generated by (magic number): 51a00bb
|
|
// Id's are bound by 112
|
|
|
|
Source ESSL 300
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Vertex 4
|
|
Name 4 "main"
|
|
Name 10 "pos"
|
|
Name 12 "p"
|
|
Name 18 "Transform"
|
|
MemberName 18(Transform) 0 "M1"
|
|
MemberName 18(Transform) 1 "M2"
|
|
MemberName 18(Transform) 2 "N1"
|
|
MemberName 18(Transform) 3 "iuin"
|
|
Name 20 "tblock"
|
|
Name 34 "T3"
|
|
MemberName 34(T3) 0 "M3"
|
|
MemberName 34(T3) 1 "M4"
|
|
MemberName 34(T3) 2 "N2"
|
|
MemberName 34(T3) 3 "uv3a"
|
|
Name 36 ""
|
|
Name 44 "T2"
|
|
MemberName 44(T2) 0 "b"
|
|
MemberName 44(T2) 1 "t2m"
|
|
Name 46 ""
|
|
Name 52 "color"
|
|
Name 54 "c"
|
|
Name 62 "iout"
|
|
Name 68 "uiuin"
|
|
Name 74 "aiv2"
|
|
Name 78 "S"
|
|
MemberName 78(S) 0 "c"
|
|
MemberName 78(S) 1 "f"
|
|
Name 80 "s"
|
|
Name 110 "gl_VertexID"
|
|
Name 111 "gl_InstanceID"
|
|
Decorate 10(pos) PrecisionHigh
|
|
Decorate 10(pos) Smooth
|
|
Decorate 12(p) PrecisionHigh
|
|
Decorate 12(p) Location 3
|
|
MemberDecorate 18(Transform) 0 RowMajor
|
|
MemberDecorate 18(Transform) 0 PrecisionHigh
|
|
MemberDecorate 18(Transform) 1 ColMajor
|
|
MemberDecorate 18(Transform) 1 PrecisionHigh
|
|
MemberDecorate 18(Transform) 2 RowMajor
|
|
MemberDecorate 18(Transform) 2 PrecisionHigh
|
|
MemberDecorate 18(Transform) 3 PrecisionHigh
|
|
Decorate 18(Transform) GLSLStd140
|
|
Decorate 18(Transform) Block
|
|
MemberDecorate 34(T3) 0 ColMajor
|
|
MemberDecorate 34(T3) 0 PrecisionHigh
|
|
MemberDecorate 34(T3) 1 RowMajor
|
|
MemberDecorate 34(T3) 1 PrecisionHigh
|
|
MemberDecorate 34(T3) 2 ColMajor
|
|
MemberDecorate 34(T3) 2 PrecisionHigh
|
|
MemberDecorate 34(T3) 3 PrecisionHigh
|
|
Decorate 34(T3) GLSLShared
|
|
Decorate 34(T3) Block
|
|
MemberDecorate 44(T2) 1 RowMajor
|
|
MemberDecorate 44(T2) 1 PrecisionHigh
|
|
Decorate 44(T2) GLSLShared
|
|
Decorate 44(T2) Block
|
|
Decorate 52(color) PrecisionHigh
|
|
Decorate 52(color) Smooth
|
|
Decorate 54(c) PrecisionHigh
|
|
Decorate 54(c) Location 7
|
|
Decorate 62(iout) PrecisionHigh
|
|
Decorate 62(iout) Flat
|
|
Decorate 68(uiuin) PrecisionHigh
|
|
Decorate 74(aiv2) PrecisionHigh
|
|
Decorate 74(aiv2) Location 9
|
|
MemberDecorate 78(S) 0 PrecisionHigh
|
|
MemberDecorate 78(S) 1 PrecisionHigh
|
|
Decorate 110(gl_VertexID) PrecisionHigh
|
|
Decorate 110(gl_VertexID) BuiltIn VertexId
|
|
Decorate 110(gl_VertexID) NoStaticUse
|
|
Decorate 111(gl_InstanceID) PrecisionHigh
|
|
Decorate 111(gl_InstanceID) BuiltIn InstanceId
|
|
Decorate 111(gl_InstanceID) NoStaticUse
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
7: TypeFloat 32
|
|
8: TypeVector 7(float) 4
|
|
9: TypePointer Output 8(fvec4)
|
|
10(pos): 9(ptr) Variable Output
|
|
11: TypePointer Input 8(fvec4)
|
|
12(p): 11(ptr) Variable Input
|
|
14: TypeMatrix 8(fvec4) 4
|
|
15: TypeVector 7(float) 3
|
|
16: TypeMatrix 15(fvec3) 3
|
|
17: TypeInt 32 1
|
|
18(Transform): TypeStruct 14 14 16 17(int)
|
|
19: TypePointer Uniform 18(Transform)
|
|
20(tblock): 19(ptr) Variable Uniform
|
|
21: 17(int) Constant 0
|
|
22: TypePointer Uniform 14
|
|
25: 17(int) Constant 1
|
|
29: TypeMatrix 15(fvec3) 2
|
|
30: TypeInt 32 0
|
|
31: TypeVector 30(int) 3
|
|
32: 30(int) Constant 4
|
|
33: TypeArray 31(ivec3) 32
|
|
34(T3): TypeStruct 14 14 29 33
|
|
35: TypePointer Uniform 34(T3)
|
|
36: 35(ptr) Variable Uniform
|
|
43: TypeBool
|
|
44(T2): TypeStruct 43(bool) 14
|
|
45: TypePointer Uniform 44(T2)
|
|
46: 45(ptr) Variable Uniform
|
|
51: TypePointer Output 15(fvec3)
|
|
52(color): 51(ptr) Variable Output
|
|
53: TypePointer Input 15(fvec3)
|
|
54(c): 53(ptr) Variable Input
|
|
56: 17(int) Constant 2
|
|
57: TypePointer Uniform 16
|
|
61: TypePointer Output 17(int)
|
|
62(iout): 61(ptr) Variable Output
|
|
63: 17(int) Constant 3
|
|
64: TypePointer Uniform 17(int)
|
|
67: TypePointer UniformConstant 30(int)
|
|
68(uiuin): 67(ptr) Variable UniformConstant
|
|
72: TypeVector 17(int) 2
|
|
73: TypePointer Input 72(ivec2)
|
|
74(aiv2): 73(ptr) Variable Input
|
|
78(S): TypeStruct 15(fvec3) 7(float)
|
|
79: TypePointer Output 78(S)
|
|
80(s): 79(ptr) Variable Output
|
|
85: TypePointer Output 7(float)
|
|
87: TypePointer Uniform 15(fvec3)
|
|
90: 7(float) Constant 1065353216
|
|
91: 15(fvec3) ConstantComposite 90 90 90
|
|
92: TypeVector 43(bool) 3
|
|
95: TypePointer Uniform 31(ivec3)
|
|
98: 30(int) Constant 5
|
|
99: 31(ivec3) ConstantComposite 98 98 98
|
|
109: TypePointer Input 17(int)
|
|
110(gl_VertexID): 109(ptr) Variable Input
|
|
111(gl_InstanceID): 109(ptr) Variable Input
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
13: 8(fvec4) Load 12(p)
|
|
23: 22(ptr) AccessChain 20(tblock) 21
|
|
24: 14 Load 23
|
|
26: 22(ptr) AccessChain 20(tblock) 25
|
|
27: 14 Load 26
|
|
28: 14 MatrixTimesMatrix 24 27
|
|
37: 22(ptr) AccessChain 36 25
|
|
38: 14 Load 37
|
|
39: 14 MatrixTimesMatrix 28 38
|
|
40: 22(ptr) AccessChain 36 21
|
|
41: 14 Load 40
|
|
42: 14 MatrixTimesMatrix 39 41
|
|
47: 22(ptr) AccessChain 46 25
|
|
48: 14 Load 47
|
|
49: 14 MatrixTimesMatrix 42 48
|
|
50: 8(fvec4) VectorTimesMatrix 13 49
|
|
Store 10(pos) 50
|
|
55: 15(fvec3) Load 54(c)
|
|
58: 57(ptr) AccessChain 20(tblock) 56
|
|
59: 16 Load 58
|
|
60: 15(fvec3) VectorTimesMatrix 55 59
|
|
Store 52(color) 60
|
|
65: 64(ptr) AccessChain 20(tblock) 63
|
|
66: 17(int) Load 65
|
|
69: 30(int) Load 68(uiuin)
|
|
70: 17(int) Bitcast 69
|
|
71: 17(int) IAdd 66 70
|
|
75: 72(ivec2) Load 74(aiv2)
|
|
76: 17(int) CompositeExtract 75 1
|
|
77: 17(int) IAdd 71 76
|
|
Store 62(iout) 77
|
|
81: 15(fvec3) Load 54(c)
|
|
82: 51(ptr) AccessChain 80(s) 21
|
|
Store 82 81
|
|
83: 8(fvec4) Load 12(p)
|
|
84: 7(float) CompositeExtract 83 0
|
|
86: 85(ptr) AccessChain 80(s) 25
|
|
Store 86 84
|
|
88: 87(ptr) AccessChain 36 56 25
|
|
89: 15(fvec3) Load 88
|
|
93: 92(bvec3) FOrdNotEqual 89 91
|
|
94: 43(bool) Any 93
|
|
96: 95(ptr) AccessChain 36 63 56
|
|
97: 31(ivec3) Load 96
|
|
100: 92(bvec3) INotEqual 97 99
|
|
101: 43(bool) Any 100
|
|
102: 43(bool) LogicalOr 94 101
|
|
SelectionMerge 104 None
|
|
BranchConditional 102 103 104
|
|
103: Label
|
|
105: 51(ptr) AccessChain 80(s) 21
|
|
106: 15(fvec3) Load 105
|
|
107: 15(fvec3) CompositeConstruct 90 90 90
|
|
108: 15(fvec3) FAdd 106 107
|
|
Store 105 108
|
|
Branch 104
|
|
104: Label
|
|
Branch 6
|
|
6: Label
|
|
Return
|
|
FunctionEnd
|