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