488 lines
28 KiB
Plaintext
488 lines
28 KiB
Plaintext
spv.debuginfo.glsl.vert
|
|
Validation failed
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000a
|
|
// Id's are bound by 377
|
|
|
|
Capability Shader
|
|
Extension "SPV_KHR_non_semantic_info"
|
|
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
|
2: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Vertex 13 "main" 30 36 40 47 55 68 248 265 270 295 309 327 362 370
|
|
8: String "uint"
|
|
14: String "main"
|
|
17: String ""
|
|
25: String "float"
|
|
32: String "outColor"
|
|
38: String "inColor"
|
|
42: String "outUV"
|
|
49: String "inUV"
|
|
52: String "int"
|
|
57: String "instanceTexIndex"
|
|
66: String "s"
|
|
70: String "instanceRot"
|
|
82: String "modelview"
|
|
87: String "lightPos"
|
|
90: String "globSpeed"
|
|
94: String "UBO"
|
|
98: String "ubo"
|
|
109: String "c"
|
|
123: String "mx"
|
|
158: String "my"
|
|
187: String "mz"
|
|
202: String "rotMat"
|
|
228: String "gRotMat"
|
|
246: String "locPos"
|
|
250: String "inPos"
|
|
261: String "pos"
|
|
267: String "instanceScale"
|
|
272: String "instancePos"
|
|
284: String "gl_Position"
|
|
287: String "gl_PointSize"
|
|
289: String "gl_CullDistance"
|
|
292: String "gl_PerVertex"
|
|
311: String "outNormal"
|
|
329: String "inNormal"
|
|
345: String "lPos"
|
|
364: String "outLightVec"
|
|
372: String "outViewVec"
|
|
Name 13 "main"
|
|
Name 30 "outColor"
|
|
Name 36 "inColor"
|
|
Name 40 "outUV"
|
|
Name 47 "inUV"
|
|
Name 55 "instanceTexIndex"
|
|
Name 64 "s"
|
|
Name 68 "instanceRot"
|
|
Name 80 "UBO"
|
|
MemberName 80(UBO) 0 "projection"
|
|
MemberName 80(UBO) 1 "modelview"
|
|
MemberName 80(UBO) 2 "lightPos"
|
|
MemberName 80(UBO) 3 "locSpeed"
|
|
MemberName 80(UBO) 4 "globSpeed"
|
|
Name 96 "ubo"
|
|
Name 107 "c"
|
|
Name 121 "mx"
|
|
Name 156 "my"
|
|
Name 185 "mz"
|
|
Name 200 "rotMat"
|
|
Name 226 "gRotMat"
|
|
Name 244 "locPos"
|
|
Name 248 "inPos"
|
|
Name 259 "pos"
|
|
Name 265 "instanceScale"
|
|
Name 270 "instancePos"
|
|
Name 282 "gl_PerVertex"
|
|
MemberName 282(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 282(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 282(gl_PerVertex) 2 "gl_ClipDistance"
|
|
MemberName 282(gl_PerVertex) 3 "gl_CullDistance"
|
|
Name 295 ""
|
|
Name 309 "outNormal"
|
|
Name 327 "inNormal"
|
|
Name 343 "lPos"
|
|
Name 362 "outLightVec"
|
|
Name 370 "outViewVec"
|
|
Decorate 30(outColor) Location 1
|
|
Decorate 36(inColor) Location 3
|
|
Decorate 40(outUV) Location 2
|
|
Decorate 47(inUV) Location 2
|
|
Decorate 55(instanceTexIndex) Location 7
|
|
Decorate 68(instanceRot) Location 5
|
|
MemberDecorate 80(UBO) 0 ColMajor
|
|
MemberDecorate 80(UBO) 0 Offset 0
|
|
MemberDecorate 80(UBO) 0 MatrixStride 16
|
|
MemberDecorate 80(UBO) 1 ColMajor
|
|
MemberDecorate 80(UBO) 1 Offset 64
|
|
MemberDecorate 80(UBO) 1 MatrixStride 16
|
|
MemberDecorate 80(UBO) 2 Offset 128
|
|
MemberDecorate 80(UBO) 3 Offset 144
|
|
MemberDecorate 80(UBO) 4 Offset 148
|
|
Decorate 80(UBO) Block
|
|
Decorate 96(ubo) DescriptorSet 0
|
|
Decorate 96(ubo) Binding 0
|
|
Decorate 248(inPos) Location 0
|
|
Decorate 265(instanceScale) Location 6
|
|
Decorate 270(instancePos) Location 4
|
|
MemberDecorate 282(gl_PerVertex) 0 BuiltIn Position
|
|
MemberDecorate 282(gl_PerVertex) 1 BuiltIn PointSize
|
|
MemberDecorate 282(gl_PerVertex) 2 BuiltIn ClipDistance
|
|
MemberDecorate 282(gl_PerVertex) 3 BuiltIn CullDistance
|
|
Decorate 282(gl_PerVertex) Block
|
|
Decorate 309(outNormal) Location 0
|
|
Decorate 327(inNormal) Location 1
|
|
Decorate 362(outLightVec) Location 4
|
|
Decorate 370(outViewVec) Location 3
|
|
3: TypeVoid
|
|
4: TypeFunction 3
|
|
6: TypeInt 32 0
|
|
9: 6(int) Constant 32
|
|
10: 6(int) Constant 6
|
|
11: 6(int) Constant 0
|
|
7: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 8 9 10 11
|
|
12: 6(int) Constant 3
|
|
5: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 3
|
|
16: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 17
|
|
19: 6(int) Constant 1
|
|
20: 6(int) Constant 4
|
|
21: 6(int) Constant 2
|
|
18: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 19 20 16 21
|
|
15: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 14 5 16 11 11 18 14 12 11
|
|
24: TypeFloat 32
|
|
26: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 25 9 12 11
|
|
27: TypeVector 24(float) 3
|
|
28: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 12
|
|
29: TypePointer Output 27(fvec3)
|
|
30(outColor): 29(ptr) Variable Output
|
|
33: 6(int) Constant 56
|
|
34: 6(int) Constant 8
|
|
31: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 32 28 16 33 11 18 32 30(outColor) 34
|
|
35: TypePointer Input 27(fvec3)
|
|
36(inColor): 35(ptr) Variable Input
|
|
37: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 38 28 16 33 11 18 38 36(inColor) 34
|
|
40(outUV): 29(ptr) Variable Output
|
|
43: 6(int) Constant 57
|
|
41: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 42 28 16 43 11 18 42 40(outUV) 34
|
|
44: TypeVector 24(float) 2
|
|
45: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 21
|
|
46: TypePointer Input 44(fvec2)
|
|
47(inUV): 46(ptr) Variable Input
|
|
48: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 49 45 16 43 11 18 49 47(inUV) 34
|
|
51: TypeInt 32 1
|
|
53: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 52 9 20 11
|
|
54: TypePointer Input 51(int)
|
|
55(instanceTexIndex): 54(ptr) Variable Input
|
|
56: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 57 53 16 43 11 18 57 55(instanceTexIndex) 34
|
|
63: TypePointer Function 24(float)
|
|
67: 6(int) Constant 62
|
|
65: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 66 26 16 67 11 15 20
|
|
68(instanceRot): 35(ptr) Variable Input
|
|
69: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 70 28 16 67 11 18 70 68(instanceRot) 34
|
|
71: TypePointer Input 24(float)
|
|
74: TypeVector 24(float) 4
|
|
75: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 20
|
|
76: TypeMatrix 74(fvec4) 4
|
|
78: TypeBool
|
|
79: 78(bool) ConstantTrue
|
|
77: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 75 20 79
|
|
80(UBO): TypeStruct 76 76 74(fvec4) 24(float) 24(float)
|
|
83: 6(int) Constant 42
|
|
84: 6(int) Constant 7
|
|
81: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 82 77 16 83 84 11 11 12
|
|
85: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 82 77 16 83 84 11 11 12
|
|
88: 6(int) Constant 43
|
|
86: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 87 75 16 88 84 11 11 12
|
|
91: 6(int) Constant 45
|
|
89: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 90 26 16 91 34 11 11 12
|
|
92: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 90 26 16 91 34 11 11 12
|
|
93: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 94 19 16 67 11 18 94 11 12 81 85 86 89 92
|
|
95: TypePointer Uniform 80(UBO)
|
|
96(ubo): 95(ptr) Variable Uniform
|
|
97: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 98 93 16 67 11 18 98 96(ubo) 34
|
|
99: 51(int) Constant 3
|
|
100: TypePointer Uniform 24(float)
|
|
106: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt)
|
|
110: 6(int) Constant 63
|
|
108: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 109 26 16 110 11 15 20
|
|
118: TypeMatrix 27(fvec3) 3
|
|
119: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 28 12 79
|
|
120: TypePointer Function 118
|
|
124: 6(int) Constant 65
|
|
122: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 123 119 16 124 11 15 20
|
|
125: 51(int) Constant 0
|
|
128: 24(float) Constant 0
|
|
130: TypePointer Function 27(fvec3)
|
|
132: 51(int) Constant 1
|
|
138: 51(int) Constant 2
|
|
139: 24(float) Constant 1065353216
|
|
140: 27(fvec3) ConstantComposite 128 128 139
|
|
159: 6(int) Constant 73
|
|
157: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 158 119 16 159 11 15 20
|
|
164: 27(fvec3) ConstantComposite 128 139 128
|
|
188: 6(int) Constant 81
|
|
186: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 187 119 16 188 11 15 20
|
|
189: 27(fvec3) ConstantComposite 139 128 128
|
|
203: 6(int) Constant 85
|
|
201: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 202 119 16 203 11 15 20
|
|
212: 51(int) Constant 4
|
|
225: TypePointer Function 76
|
|
229: 6(int) Constant 90
|
|
227: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 228 77 16 229 11 15 20
|
|
233: TypePointer Function 74(fvec4)
|
|
235: 74(fvec4) ConstantComposite 128 139 128 128
|
|
242: 74(fvec4) ConstantComposite 128 128 128 139
|
|
247: 6(int) Constant 95
|
|
245: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 246 75 16 247 11 15 20
|
|
248(inPos): 35(ptr) Variable Input
|
|
249: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 250 28 16 247 11 18 250 248(inPos) 34
|
|
262: 6(int) Constant 96
|
|
260: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 261 75 16 262 11 15 20
|
|
265(instanceScale): 71(ptr) Variable Input
|
|
266: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 267 26 16 262 11 18 267 265(instanceScale) 34
|
|
270(instancePos): 35(ptr) Variable Input
|
|
271: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 272 28 16 262 11 18 272 270(instancePos) 34
|
|
280: TypeArray 24(float) 19
|
|
281: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 26 19
|
|
282(gl_PerVertex): TypeStruct 74(fvec4) 24(float) 280 280
|
|
285: 6(int) Constant 24
|
|
283: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 284 75 16 19 285 11 11 12
|
|
286: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 287 26 16 19 83 11 11 12
|
|
288: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 289 281 16 19 203 11 11 12
|
|
290: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 289 281 16 19 203 11 11 12
|
|
293: 6(int) Constant 98
|
|
291: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 292 19 16 293 11 18 292 11 12 283 286 288 290
|
|
294: TypePointer Output 282(gl_PerVertex)
|
|
295: 294(ptr) Variable Output
|
|
296: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 17 291 16 293 11 18 17 295 34
|
|
297: TypePointer Uniform 76
|
|
307: TypePointer Output 74(fvec4)
|
|
309(outNormal): 29(ptr) Variable Output
|
|
312: 6(int) Constant 99
|
|
310: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 311 28 16 312 11 18 311 309(outNormal) 34
|
|
327(inNormal): 35(ptr) Variable Input
|
|
328: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 329 28 16 312 11 18 329 327(inNormal) 34
|
|
346: 6(int) Constant 102
|
|
344: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 345 28 16 346 11 15 20
|
|
356: TypePointer Uniform 74(fvec4)
|
|
362(outLightVec): 29(ptr) Variable Output
|
|
365: 6(int) Constant 103
|
|
363: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 364 28 16 365 11 18 364 362(outLightVec) 34
|
|
370(outViewVec): 29(ptr) Variable Output
|
|
373: 6(int) Constant 104
|
|
371: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 372 28 16 373 11 18 372 370(outViewVec) 34
|
|
13(main): 3 Function None 4
|
|
22: Label
|
|
64(s): 63(ptr) Variable Function
|
|
107(c): 63(ptr) Variable Function
|
|
121(mx): 120(ptr) Variable Function
|
|
156(my): 120(ptr) Variable Function
|
|
185(mz): 120(ptr) Variable Function
|
|
200(rotMat): 120(ptr) Variable Function
|
|
226(gRotMat): 225(ptr) Variable Function
|
|
244(locPos): 233(ptr) Variable Function
|
|
259(pos): 233(ptr) Variable Function
|
|
343(lPos): 130(ptr) Variable Function
|
|
23: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 15 13(main)
|
|
39: 27(fvec3) Load 36(inColor)
|
|
Store 30(outColor) 39
|
|
50: 44(fvec2) Load 47(inUV)
|
|
58: 51(int) Load 55(instanceTexIndex)
|
|
59: 24(float) ConvertSToF 58
|
|
60: 24(float) CompositeExtract 50 0
|
|
61: 24(float) CompositeExtract 50 1
|
|
62: 27(fvec3) CompositeConstruct 60 61 59
|
|
Store 40(outUV) 62
|
|
72: 71(ptr) AccessChain 68(instanceRot) 11
|
|
73: 24(float) Load 72
|
|
101: 100(ptr) AccessChain 96(ubo) 99
|
|
102: 24(float) Load 101
|
|
103: 24(float) FAdd 73 102
|
|
104: 24(float) ExtInst 2(GLSL.std.450) 13(Sin) 103
|
|
Store 64(s) 104
|
|
105: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 65 104 106
|
|
111: 71(ptr) AccessChain 68(instanceRot) 11
|
|
112: 24(float) Load 111
|
|
113: 100(ptr) AccessChain 96(ubo) 99
|
|
114: 24(float) Load 113
|
|
115: 24(float) FAdd 112 114
|
|
116: 24(float) ExtInst 2(GLSL.std.450) 14(Cos) 115
|
|
Store 107(c) 116
|
|
117: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 108 116 106
|
|
126: 24(float) Load 107(c)
|
|
127: 24(float) Load 64(s)
|
|
129: 27(fvec3) CompositeConstruct 126 127 128
|
|
131: 130(ptr) AccessChain 121(mx) 125
|
|
Store 131 129
|
|
133: 24(float) Load 64(s)
|
|
134: 24(float) FNegate 133
|
|
135: 24(float) Load 107(c)
|
|
136: 27(fvec3) CompositeConstruct 134 135 128
|
|
137: 130(ptr) AccessChain 121(mx) 132
|
|
Store 137 136
|
|
141: 130(ptr) AccessChain 121(mx) 138
|
|
Store 141 140
|
|
142: 71(ptr) AccessChain 68(instanceRot) 19
|
|
143: 24(float) Load 142
|
|
144: 100(ptr) AccessChain 96(ubo) 99
|
|
145: 24(float) Load 144
|
|
146: 24(float) FAdd 143 145
|
|
147: 24(float) ExtInst 2(GLSL.std.450) 13(Sin) 146
|
|
Store 64(s) 147
|
|
148: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 65 147 106
|
|
149: 71(ptr) AccessChain 68(instanceRot) 19
|
|
150: 24(float) Load 149
|
|
151: 100(ptr) AccessChain 96(ubo) 99
|
|
152: 24(float) Load 151
|
|
153: 24(float) FAdd 150 152
|
|
154: 24(float) ExtInst 2(GLSL.std.450) 14(Cos) 153
|
|
Store 107(c) 154
|
|
155: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 108 154 106
|
|
160: 24(float) Load 107(c)
|
|
161: 24(float) Load 64(s)
|
|
162: 27(fvec3) CompositeConstruct 160 128 161
|
|
163: 130(ptr) AccessChain 156(my) 125
|
|
Store 163 162
|
|
165: 130(ptr) AccessChain 156(my) 132
|
|
Store 165 164
|
|
166: 24(float) Load 64(s)
|
|
167: 24(float) FNegate 166
|
|
168: 24(float) Load 107(c)
|
|
169: 27(fvec3) CompositeConstruct 167 128 168
|
|
170: 130(ptr) AccessChain 156(my) 138
|
|
Store 170 169
|
|
171: 71(ptr) AccessChain 68(instanceRot) 21
|
|
172: 24(float) Load 171
|
|
173: 100(ptr) AccessChain 96(ubo) 99
|
|
174: 24(float) Load 173
|
|
175: 24(float) FAdd 172 174
|
|
176: 24(float) ExtInst 2(GLSL.std.450) 13(Sin) 175
|
|
Store 64(s) 176
|
|
177: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 65 176 106
|
|
178: 71(ptr) AccessChain 68(instanceRot) 21
|
|
179: 24(float) Load 178
|
|
180: 100(ptr) AccessChain 96(ubo) 99
|
|
181: 24(float) Load 180
|
|
182: 24(float) FAdd 179 181
|
|
183: 24(float) ExtInst 2(GLSL.std.450) 14(Cos) 182
|
|
Store 107(c) 183
|
|
184: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 108 183 106
|
|
190: 130(ptr) AccessChain 185(mz) 125
|
|
Store 190 189
|
|
191: 24(float) Load 107(c)
|
|
192: 24(float) Load 64(s)
|
|
193: 27(fvec3) CompositeConstruct 128 191 192
|
|
194: 130(ptr) AccessChain 185(mz) 132
|
|
Store 194 193
|
|
195: 24(float) Load 64(s)
|
|
196: 24(float) FNegate 195
|
|
197: 24(float) Load 107(c)
|
|
198: 27(fvec3) CompositeConstruct 128 196 197
|
|
199: 130(ptr) AccessChain 185(mz) 138
|
|
Store 199 198
|
|
204: 118 Load 185(mz)
|
|
205: 118 Load 156(my)
|
|
206: 118 MatrixTimesMatrix 204 205
|
|
207: 118 Load 121(mx)
|
|
208: 118 MatrixTimesMatrix 206 207
|
|
Store 200(rotMat) 208
|
|
209: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 201 208 106
|
|
210: 71(ptr) AccessChain 68(instanceRot) 19
|
|
211: 24(float) Load 210
|
|
213: 100(ptr) AccessChain 96(ubo) 212
|
|
214: 24(float) Load 213
|
|
215: 24(float) FAdd 211 214
|
|
216: 24(float) ExtInst 2(GLSL.std.450) 13(Sin) 215
|
|
Store 64(s) 216
|
|
217: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 65 216 106
|
|
218: 71(ptr) AccessChain 68(instanceRot) 19
|
|
219: 24(float) Load 218
|
|
220: 100(ptr) AccessChain 96(ubo) 212
|
|
221: 24(float) Load 220
|
|
222: 24(float) FAdd 219 221
|
|
223: 24(float) ExtInst 2(GLSL.std.450) 14(Cos) 222
|
|
Store 107(c) 223
|
|
224: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 108 223 106
|
|
230: 24(float) Load 107(c)
|
|
231: 24(float) Load 64(s)
|
|
232: 74(fvec4) CompositeConstruct 230 128 231 128
|
|
234: 233(ptr) AccessChain 226(gRotMat) 125
|
|
Store 234 232
|
|
236: 233(ptr) AccessChain 226(gRotMat) 132
|
|
Store 236 235
|
|
237: 24(float) Load 64(s)
|
|
238: 24(float) FNegate 237
|
|
239: 24(float) Load 107(c)
|
|
240: 74(fvec4) CompositeConstruct 238 128 239 128
|
|
241: 233(ptr) AccessChain 226(gRotMat) 138
|
|
Store 241 240
|
|
243: 233(ptr) AccessChain 226(gRotMat) 99
|
|
Store 243 242
|
|
251: 27(fvec3) Load 248(inPos)
|
|
252: 118 Load 200(rotMat)
|
|
253: 27(fvec3) VectorTimesMatrix 251 252
|
|
254: 24(float) CompositeExtract 253 0
|
|
255: 24(float) CompositeExtract 253 1
|
|
256: 24(float) CompositeExtract 253 2
|
|
257: 74(fvec4) CompositeConstruct 254 255 256 139
|
|
Store 244(locPos) 257
|
|
258: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 245 257 106
|
|
263: 74(fvec4) Load 244(locPos)
|
|
264: 27(fvec3) VectorShuffle 263 263 0 1 2
|
|
268: 24(float) Load 265(instanceScale)
|
|
269: 27(fvec3) VectorTimesScalar 264 268
|
|
273: 27(fvec3) Load 270(instancePos)
|
|
274: 27(fvec3) FAdd 269 273
|
|
275: 24(float) CompositeExtract 274 0
|
|
276: 24(float) CompositeExtract 274 1
|
|
277: 24(float) CompositeExtract 274 2
|
|
278: 74(fvec4) CompositeConstruct 275 276 277 139
|
|
Store 259(pos) 278
|
|
279: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 260 278 106
|
|
298: 297(ptr) AccessChain 96(ubo) 125
|
|
299: 76 Load 298
|
|
300: 297(ptr) AccessChain 96(ubo) 132
|
|
301: 76 Load 300
|
|
302: 76 MatrixTimesMatrix 299 301
|
|
303: 76 Load 226(gRotMat)
|
|
304: 76 MatrixTimesMatrix 302 303
|
|
305: 74(fvec4) Load 259(pos)
|
|
306: 74(fvec4) MatrixTimesVector 304 305
|
|
308: 307(ptr) AccessChain 295 125
|
|
Store 308 306
|
|
313: 297(ptr) AccessChain 96(ubo) 132
|
|
314: 76 Load 313
|
|
315: 76 Load 226(gRotMat)
|
|
316: 76 MatrixTimesMatrix 314 315
|
|
317: 74(fvec4) CompositeExtract 316 0
|
|
318: 27(fvec3) VectorShuffle 317 317 0 1 2
|
|
319: 74(fvec4) CompositeExtract 316 1
|
|
320: 27(fvec3) VectorShuffle 319 319 0 1 2
|
|
321: 74(fvec4) CompositeExtract 316 2
|
|
322: 27(fvec3) VectorShuffle 321 321 0 1 2
|
|
323: 118 CompositeConstruct 318 320 322
|
|
324: 118 Load 200(rotMat)
|
|
325: 118 ExtInst 2(GLSL.std.450) 34(MatrixInverse) 324
|
|
326: 118 MatrixTimesMatrix 323 325
|
|
330: 27(fvec3) Load 327(inNormal)
|
|
331: 27(fvec3) MatrixTimesVector 326 330
|
|
Store 309(outNormal) 331
|
|
332: 297(ptr) AccessChain 96(ubo) 132
|
|
333: 76 Load 332
|
|
334: 27(fvec3) Load 248(inPos)
|
|
335: 27(fvec3) Load 270(instancePos)
|
|
336: 27(fvec3) FAdd 334 335
|
|
337: 24(float) CompositeExtract 336 0
|
|
338: 24(float) CompositeExtract 336 1
|
|
339: 24(float) CompositeExtract 336 2
|
|
340: 74(fvec4) CompositeConstruct 337 338 339 139
|
|
341: 74(fvec4) MatrixTimesVector 333 340
|
|
Store 259(pos) 341
|
|
342: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 260 341 106
|
|
347: 297(ptr) AccessChain 96(ubo) 132
|
|
348: 76 Load 347
|
|
349: 74(fvec4) CompositeExtract 348 0
|
|
350: 27(fvec3) VectorShuffle 349 349 0 1 2
|
|
351: 74(fvec4) CompositeExtract 348 1
|
|
352: 27(fvec3) VectorShuffle 351 351 0 1 2
|
|
353: 74(fvec4) CompositeExtract 348 2
|
|
354: 27(fvec3) VectorShuffle 353 353 0 1 2
|
|
355: 118 CompositeConstruct 350 352 354
|
|
357: 356(ptr) AccessChain 96(ubo) 138
|
|
358: 74(fvec4) Load 357
|
|
359: 27(fvec3) VectorShuffle 358 358 0 1 2
|
|
360: 27(fvec3) MatrixTimesVector 355 359
|
|
Store 343(lPos) 360
|
|
361: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 344 360 106
|
|
366: 27(fvec3) Load 343(lPos)
|
|
367: 74(fvec4) Load 259(pos)
|
|
368: 27(fvec3) VectorShuffle 367 367 0 1 2
|
|
369: 27(fvec3) FSub 366 368
|
|
Store 362(outLightVec) 369
|
|
374: 74(fvec4) Load 259(pos)
|
|
375: 27(fvec3) VectorShuffle 374 374 0 1 2
|
|
376: 27(fvec3) FNegate 375
|
|
Store 370(outViewVec) 376
|
|
Return
|
|
FunctionEnd
|