Always enable the generation of OpDebugBasicType for bool type
This commit is contained in:
parent
0fedf7d95a
commit
9a35abff55
14 changed files with 5792 additions and 5865 deletions
|
|
@ -1,14 +1,14 @@
|
|||
spv.debuginfo.glsl.vert
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 425
|
||||
// Id's are bound by 427
|
||||
|
||||
Capability Shader
|
||||
Extension "SPV_KHR_non_semantic_info"
|
||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
3: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 14 "main" 35 40 46 52 60 76 290 308 313 338 354 371 410 419
|
||||
EntryPoint Vertex 14 "main" 35 40 46 52 60 76 292 310 315 340 356 373 412 421
|
||||
1: String ""
|
||||
8: String "uint"
|
||||
16: String "main"
|
||||
|
|
@ -29,31 +29,32 @@ spv.debuginfo.glsl.vert
|
|||
62: String "instanceTexIndex"
|
||||
73: String "s"
|
||||
78: String "instanceRot"
|
||||
90: String "modelview"
|
||||
95: String "lightPos"
|
||||
98: String "globSpeed"
|
||||
102: String "UBO"
|
||||
106: String "ubo"
|
||||
117: String "c"
|
||||
132: String "mx"
|
||||
175: String "my"
|
||||
212: String "mz"
|
||||
233: String "rotMat"
|
||||
262: String "gRotMat"
|
||||
288: String "locPos"
|
||||
292: String "inPos"
|
||||
304: String "pos"
|
||||
310: String "instanceScale"
|
||||
315: String "instancePos"
|
||||
328: String "gl_Position"
|
||||
331: String "gl_PointSize"
|
||||
333: String "gl_CullDistance"
|
||||
336: String "gl_PerVertex"
|
||||
356: String "outNormal"
|
||||
373: String "inNormal"
|
||||
392: String "lPos"
|
||||
412: String "outLightVec"
|
||||
421: String "outViewVec"
|
||||
87: String "bool"
|
||||
92: String "modelview"
|
||||
97: String "lightPos"
|
||||
100: String "globSpeed"
|
||||
104: String "UBO"
|
||||
108: String "ubo"
|
||||
119: String "c"
|
||||
134: String "mx"
|
||||
177: String "my"
|
||||
214: String "mz"
|
||||
235: String "rotMat"
|
||||
264: String "gRotMat"
|
||||
290: String "locPos"
|
||||
294: String "inPos"
|
||||
306: String "pos"
|
||||
312: String "instanceScale"
|
||||
317: String "instancePos"
|
||||
330: String "gl_Position"
|
||||
333: String "gl_PointSize"
|
||||
335: String "gl_CullDistance"
|
||||
338: String "gl_PerVertex"
|
||||
358: String "outNormal"
|
||||
375: String "inNormal"
|
||||
394: String "lPos"
|
||||
414: String "outLightVec"
|
||||
423: String "outViewVec"
|
||||
Name 14 "main"
|
||||
Name 35 "outColor"
|
||||
Name 40 "inColor"
|
||||
|
|
@ -62,65 +63,65 @@ spv.debuginfo.glsl.vert
|
|||
Name 60 "instanceTexIndex"
|
||||
Name 71 "s"
|
||||
Name 76 "instanceRot"
|
||||
Name 88 "UBO"
|
||||
MemberName 88(UBO) 0 "projection"
|
||||
MemberName 88(UBO) 1 "modelview"
|
||||
MemberName 88(UBO) 2 "lightPos"
|
||||
MemberName 88(UBO) 3 "locSpeed"
|
||||
MemberName 88(UBO) 4 "globSpeed"
|
||||
Name 104 "ubo"
|
||||
Name 115 "c"
|
||||
Name 130 "mx"
|
||||
Name 173 "my"
|
||||
Name 210 "mz"
|
||||
Name 231 "rotMat"
|
||||
Name 260 "gRotMat"
|
||||
Name 286 "locPos"
|
||||
Name 290 "inPos"
|
||||
Name 302 "pos"
|
||||
Name 308 "instanceScale"
|
||||
Name 313 "instancePos"
|
||||
Name 326 "gl_PerVertex"
|
||||
MemberName 326(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 326(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 326(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 326(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 338 ""
|
||||
Name 354 "outNormal"
|
||||
Name 371 "inNormal"
|
||||
Name 390 "lPos"
|
||||
Name 410 "outLightVec"
|
||||
Name 419 "outViewVec"
|
||||
Name 90 "UBO"
|
||||
MemberName 90(UBO) 0 "projection"
|
||||
MemberName 90(UBO) 1 "modelview"
|
||||
MemberName 90(UBO) 2 "lightPos"
|
||||
MemberName 90(UBO) 3 "locSpeed"
|
||||
MemberName 90(UBO) 4 "globSpeed"
|
||||
Name 106 "ubo"
|
||||
Name 117 "c"
|
||||
Name 132 "mx"
|
||||
Name 175 "my"
|
||||
Name 212 "mz"
|
||||
Name 233 "rotMat"
|
||||
Name 262 "gRotMat"
|
||||
Name 288 "locPos"
|
||||
Name 292 "inPos"
|
||||
Name 304 "pos"
|
||||
Name 310 "instanceScale"
|
||||
Name 315 "instancePos"
|
||||
Name 328 "gl_PerVertex"
|
||||
MemberName 328(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 328(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 328(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 328(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 340 ""
|
||||
Name 356 "outNormal"
|
||||
Name 373 "inNormal"
|
||||
Name 392 "lPos"
|
||||
Name 412 "outLightVec"
|
||||
Name 421 "outViewVec"
|
||||
Decorate 35(outColor) Location 1
|
||||
Decorate 40(inColor) Location 3
|
||||
Decorate 46(outUV) Location 2
|
||||
Decorate 52(inUV) Location 2
|
||||
Decorate 60(instanceTexIndex) Location 7
|
||||
Decorate 76(instanceRot) Location 5
|
||||
MemberDecorate 88(UBO) 0 ColMajor
|
||||
MemberDecorate 88(UBO) 0 Offset 0
|
||||
MemberDecorate 88(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 88(UBO) 1 ColMajor
|
||||
MemberDecorate 88(UBO) 1 Offset 64
|
||||
MemberDecorate 88(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 88(UBO) 2 Offset 128
|
||||
MemberDecorate 88(UBO) 3 Offset 144
|
||||
MemberDecorate 88(UBO) 4 Offset 148
|
||||
Decorate 88(UBO) Block
|
||||
Decorate 104(ubo) DescriptorSet 0
|
||||
Decorate 104(ubo) Binding 0
|
||||
Decorate 290(inPos) Location 0
|
||||
Decorate 308(instanceScale) Location 6
|
||||
Decorate 313(instancePos) Location 4
|
||||
MemberDecorate 326(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 326(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 326(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 326(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 326(gl_PerVertex) Block
|
||||
Decorate 354(outNormal) Location 0
|
||||
Decorate 371(inNormal) Location 1
|
||||
Decorate 410(outLightVec) Location 4
|
||||
Decorate 419(outViewVec) Location 3
|
||||
MemberDecorate 90(UBO) 0 ColMajor
|
||||
MemberDecorate 90(UBO) 0 Offset 0
|
||||
MemberDecorate 90(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 90(UBO) 1 ColMajor
|
||||
MemberDecorate 90(UBO) 1 Offset 64
|
||||
MemberDecorate 90(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 90(UBO) 2 Offset 128
|
||||
MemberDecorate 90(UBO) 3 Offset 144
|
||||
MemberDecorate 90(UBO) 4 Offset 148
|
||||
Decorate 90(UBO) Block
|
||||
Decorate 106(ubo) DescriptorSet 0
|
||||
Decorate 106(ubo) Binding 0
|
||||
Decorate 292(inPos) Location 0
|
||||
Decorate 310(instanceScale) Location 6
|
||||
Decorate 315(instancePos) Location 4
|
||||
MemberDecorate 328(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 328(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 328(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 328(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 328(gl_PerVertex) Block
|
||||
Decorate 356(outNormal) Location 0
|
||||
Decorate 373(inNormal) Location 1
|
||||
Decorate 412(outLightVec) Location 4
|
||||
Decorate 421(outViewVec) Location 3
|
||||
4: TypeVoid
|
||||
5: TypeFunction 4
|
||||
7: TypeInt 32 0
|
||||
|
|
@ -173,121 +174,122 @@ spv.debuginfo.glsl.vert
|
|||
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
|
||||
84: TypeMatrix 82(fvec4) 4
|
||||
86: TypeBool
|
||||
87: 86(bool) ConstantTrue
|
||||
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 87
|
||||
88(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float)
|
||||
91: 7(int) Constant 42
|
||||
92: 7(int) Constant 7
|
||||
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13
|
||||
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13
|
||||
96: 7(int) Constant 43
|
||||
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 83 18 96 92 12 12 13
|
||||
99: 7(int) Constant 45
|
||||
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 38 12 12 13
|
||||
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 38 12 12 13
|
||||
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 102 22 18 69 12 21 102 12 13 89 93 94 97 100
|
||||
103: TypePointer Uniform 88(UBO)
|
||||
104(ubo): 103(ptr) Variable Uniform
|
||||
105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 106 101 18 69 12 21 106 104(ubo) 38
|
||||
107: 56(int) Constant 3
|
||||
108: TypePointer Uniform 29(float)
|
||||
114: 7(int) Constant 63
|
||||
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 117 31 18 114 12 17 23
|
||||
126: 7(int) Constant 65
|
||||
127: TypeMatrix 32(fvec3) 3
|
||||
128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 87
|
||||
129: TypePointer Function 127
|
||||
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 132 128 18 126 12 17 23
|
||||
134: 56(int) Constant 0
|
||||
137: 29(float) Constant 0
|
||||
139: TypePointer Function 32(fvec3)
|
||||
142: 7(int) Constant 66
|
||||
143: 56(int) Constant 1
|
||||
150: 7(int) Constant 67
|
||||
151: 56(int) Constant 2
|
||||
152: 29(float) Constant 1065353216
|
||||
153: 32(fvec3) ConstantComposite 137 137 152
|
||||
156: 7(int) Constant 70
|
||||
164: 7(int) Constant 71
|
||||
172: 7(int) Constant 73
|
||||
174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 175 128 18 172 12 17 23
|
||||
182: 7(int) Constant 74
|
||||
183: 32(fvec3) ConstantComposite 137 152 137
|
||||
186: 7(int) Constant 75
|
||||
193: 7(int) Constant 78
|
||||
201: 7(int) Constant 79
|
||||
209: 7(int) Constant 81
|
||||
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 212 128 18 209 12 17 23
|
||||
214: 32(fvec3) ConstantComposite 152 137 137
|
||||
217: 7(int) Constant 82
|
||||
223: 7(int) Constant 83
|
||||
230: 7(int) Constant 85
|
||||
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 233 128 18 230 12 17 23
|
||||
241: 7(int) Constant 88
|
||||
244: 56(int) Constant 4
|
||||
250: 7(int) Constant 89
|
||||
258: 7(int) Constant 90
|
||||
259: TypePointer Function 84
|
||||
261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 262 85 18 258 12 17 23
|
||||
267: TypePointer Function 82(fvec4)
|
||||
270: 7(int) Constant 91
|
||||
271: 82(fvec4) ConstantComposite 137 152 137 137
|
||||
274: 7(int) Constant 92
|
||||
281: 7(int) Constant 93
|
||||
282: 82(fvec4) ConstantComposite 137 137 137 152
|
||||
285: 7(int) Constant 95
|
||||
287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 288 83 18 285 12 17 23
|
||||
290(inPos): 39(ptr) Variable Input
|
||||
291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 33 18 285 12 21 292 290(inPos) 38
|
||||
301: 7(int) Constant 96
|
||||
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 304 83 18 301 12 17 23
|
||||
308(instanceScale): 79(ptr) Variable Input
|
||||
309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 310 31 18 301 12 21 310 308(instanceScale) 38
|
||||
313(instancePos): 39(ptr) Variable Input
|
||||
314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 315 33 18 301 12 21 315 313(instancePos) 38
|
||||
323: 7(int) Constant 98
|
||||
324: TypeArray 29(float) 22
|
||||
325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
|
||||
326(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 324 324
|
||||
329: 7(int) Constant 24
|
||||
327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 328 83 18 22 329 12 12 13
|
||||
330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 331 31 18 22 91 12 12 13
|
||||
332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 325 18 22 230 12 12 13
|
||||
334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 325 18 22 230 12 12 13
|
||||
335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 336 22 18 323 12 21 336 12 13 327 330 332 334
|
||||
337: TypePointer Output 326(gl_PerVertex)
|
||||
338: 337(ptr) Variable Output
|
||||
339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 335 18 323 12 21 1 338 38
|
||||
340: TypePointer Uniform 84
|
||||
350: TypePointer Output 82(fvec4)
|
||||
353: 7(int) Constant 99
|
||||
354(outNormal): 34(ptr) Variable Output
|
||||
355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 356 33 18 353 12 21 356 354(outNormal) 38
|
||||
371(inNormal): 39(ptr) Variable Input
|
||||
372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 373 33 18 353 12 21 373 371(inNormal) 38
|
||||
377: 7(int) Constant 101
|
||||
389: 7(int) Constant 102
|
||||
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 392 33 18 389 12 17 23
|
||||
403: TypePointer Uniform 82(fvec4)
|
||||
409: 7(int) Constant 103
|
||||
410(outLightVec): 34(ptr) Variable Output
|
||||
411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 412 33 18 409 12 21 412 410(outLightVec) 38
|
||||
418: 7(int) Constant 104
|
||||
419(outViewVec): 34(ptr) Variable Output
|
||||
420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 421 33 18 418 12 21 421 419(outViewVec) 38
|
||||
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 10 24 12
|
||||
89: 86(bool) ConstantTrue
|
||||
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 89
|
||||
90(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float)
|
||||
93: 7(int) Constant 42
|
||||
94: 7(int) Constant 7
|
||||
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13
|
||||
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13
|
||||
98: 7(int) Constant 43
|
||||
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 97 83 18 98 94 12 12 13
|
||||
101: 7(int) Constant 45
|
||||
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13
|
||||
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13
|
||||
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 104 22 18 69 12 21 104 12 13 91 95 96 99 102
|
||||
105: TypePointer Uniform 90(UBO)
|
||||
106(ubo): 105(ptr) Variable Uniform
|
||||
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 103 18 69 12 21 108 106(ubo) 38
|
||||
109: 56(int) Constant 3
|
||||
110: TypePointer Uniform 29(float)
|
||||
116: 7(int) Constant 63
|
||||
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 31 18 116 12 17 23
|
||||
128: 7(int) Constant 65
|
||||
129: TypeMatrix 32(fvec3) 3
|
||||
130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 89
|
||||
131: TypePointer Function 129
|
||||
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 134 130 18 128 12 17 23
|
||||
136: 56(int) Constant 0
|
||||
139: 29(float) Constant 0
|
||||
141: TypePointer Function 32(fvec3)
|
||||
144: 7(int) Constant 66
|
||||
145: 56(int) Constant 1
|
||||
152: 7(int) Constant 67
|
||||
153: 56(int) Constant 2
|
||||
154: 29(float) Constant 1065353216
|
||||
155: 32(fvec3) ConstantComposite 139 139 154
|
||||
158: 7(int) Constant 70
|
||||
166: 7(int) Constant 71
|
||||
174: 7(int) Constant 73
|
||||
176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 177 130 18 174 12 17 23
|
||||
184: 7(int) Constant 74
|
||||
185: 32(fvec3) ConstantComposite 139 154 139
|
||||
188: 7(int) Constant 75
|
||||
195: 7(int) Constant 78
|
||||
203: 7(int) Constant 79
|
||||
211: 7(int) Constant 81
|
||||
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 214 130 18 211 12 17 23
|
||||
216: 32(fvec3) ConstantComposite 154 139 139
|
||||
219: 7(int) Constant 82
|
||||
225: 7(int) Constant 83
|
||||
232: 7(int) Constant 85
|
||||
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 235 130 18 232 12 17 23
|
||||
243: 7(int) Constant 88
|
||||
246: 56(int) Constant 4
|
||||
252: 7(int) Constant 89
|
||||
260: 7(int) Constant 90
|
||||
261: TypePointer Function 84
|
||||
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 264 85 18 260 12 17 23
|
||||
269: TypePointer Function 82(fvec4)
|
||||
272: 7(int) Constant 91
|
||||
273: 82(fvec4) ConstantComposite 139 154 139 139
|
||||
276: 7(int) Constant 92
|
||||
283: 7(int) Constant 93
|
||||
284: 82(fvec4) ConstantComposite 139 139 139 154
|
||||
287: 7(int) Constant 95
|
||||
289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 290 83 18 287 12 17 23
|
||||
292(inPos): 39(ptr) Variable Input
|
||||
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 294 33 18 287 12 21 294 292(inPos) 38
|
||||
303: 7(int) Constant 96
|
||||
305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 83 18 303 12 17 23
|
||||
310(instanceScale): 79(ptr) Variable Input
|
||||
311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 312 31 18 303 12 21 312 310(instanceScale) 38
|
||||
315(instancePos): 39(ptr) Variable Input
|
||||
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 33 18 303 12 21 317 315(instancePos) 38
|
||||
325: 7(int) Constant 98
|
||||
326: TypeArray 29(float) 22
|
||||
327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
|
||||
328(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 326 326
|
||||
331: 7(int) Constant 24
|
||||
329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 330 83 18 22 331 12 12 13
|
||||
332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 31 18 22 93 12 12 13
|
||||
334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13
|
||||
336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13
|
||||
337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 338 22 18 325 12 21 338 12 13 329 332 334 336
|
||||
339: TypePointer Output 328(gl_PerVertex)
|
||||
340: 339(ptr) Variable Output
|
||||
341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 337 18 325 12 21 1 340 38
|
||||
342: TypePointer Uniform 84
|
||||
352: TypePointer Output 82(fvec4)
|
||||
355: 7(int) Constant 99
|
||||
356(outNormal): 34(ptr) Variable Output
|
||||
357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 358 33 18 355 12 21 358 356(outNormal) 38
|
||||
373(inNormal): 39(ptr) Variable Input
|
||||
374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 33 18 355 12 21 375 373(inNormal) 38
|
||||
379: 7(int) Constant 101
|
||||
391: 7(int) Constant 102
|
||||
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 394 33 18 391 12 17 23
|
||||
405: TypePointer Uniform 82(fvec4)
|
||||
411: 7(int) Constant 103
|
||||
412(outLightVec): 34(ptr) Variable Output
|
||||
413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 414 33 18 411 12 21 414 412(outLightVec) 38
|
||||
420: 7(int) Constant 104
|
||||
421(outViewVec): 34(ptr) Variable Output
|
||||
422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 423 33 18 420 12 21 423 421(outViewVec) 38
|
||||
Line 1 54 11
|
||||
14(main): 4 Function None 5
|
||||
15: Label
|
||||
71(s): 70(ptr) Variable Function
|
||||
115(c): 70(ptr) Variable Function
|
||||
130(mx): 129(ptr) Variable Function
|
||||
173(my): 129(ptr) Variable Function
|
||||
210(mz): 129(ptr) Variable Function
|
||||
231(rotMat): 129(ptr) Variable Function
|
||||
260(gRotMat): 259(ptr) Variable Function
|
||||
286(locPos): 267(ptr) Variable Function
|
||||
302(pos): 267(ptr) Variable Function
|
||||
390(lPos): 139(ptr) Variable Function
|
||||
117(c): 70(ptr) Variable Function
|
||||
132(mx): 131(ptr) Variable Function
|
||||
175(my): 131(ptr) Variable Function
|
||||
212(mz): 131(ptr) Variable Function
|
||||
233(rotMat): 131(ptr) Variable Function
|
||||
262(gRotMat): 261(ptr) Variable Function
|
||||
288(locPos): 269(ptr) Variable Function
|
||||
304(pos): 269(ptr) Variable Function
|
||||
392(lPos): 141(ptr) Variable Function
|
||||
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
|
||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
||||
|
|
@ -305,238 +307,238 @@ spv.debuginfo.glsl.vert
|
|||
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(s) 75
|
||||
80: 79(ptr) AccessChain 76(instanceRot) 12
|
||||
81: 29(float) Load 80
|
||||
109: 108(ptr) AccessChain 104(ubo) 107
|
||||
110: 29(float) Load 109
|
||||
111: 29(float) FAdd 81 110
|
||||
112: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 111
|
||||
Store 71(s) 112
|
||||
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 114 114 12 12
|
||||
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 116 115(c) 75
|
||||
119: 79(ptr) AccessChain 76(instanceRot) 12
|
||||
120: 29(float) Load 119
|
||||
121: 108(ptr) AccessChain 104(ubo) 107
|
||||
111: 110(ptr) AccessChain 106(ubo) 109
|
||||
112: 29(float) Load 111
|
||||
113: 29(float) FAdd 81 112
|
||||
114: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 113
|
||||
Store 71(s) 114
|
||||
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 116 116 12 12
|
||||
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(c) 75
|
||||
121: 79(ptr) AccessChain 76(instanceRot) 12
|
||||
122: 29(float) Load 121
|
||||
123: 29(float) FAdd 120 122
|
||||
124: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 123
|
||||
Store 115(c) 124
|
||||
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 126 126 12 12
|
||||
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 131 130(mx) 75
|
||||
135: 29(float) Load 115(c)
|
||||
136: 29(float) Load 71(s)
|
||||
138: 32(fvec3) CompositeConstruct 135 136 137
|
||||
140: 139(ptr) AccessChain 130(mx) 134
|
||||
Store 140 138
|
||||
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 142 142 12 12
|
||||
144: 29(float) Load 71(s)
|
||||
145: 29(float) FNegate 144
|
||||
146: 29(float) Load 115(c)
|
||||
147: 32(fvec3) CompositeConstruct 145 146 137
|
||||
148: 139(ptr) AccessChain 130(mx) 143
|
||||
Store 148 147
|
||||
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 150 150 12 12
|
||||
154: 139(ptr) AccessChain 130(mx) 151
|
||||
Store 154 153
|
||||
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 156 156 12 12
|
||||
157: 79(ptr) AccessChain 76(instanceRot) 22
|
||||
158: 29(float) Load 157
|
||||
159: 108(ptr) AccessChain 104(ubo) 107
|
||||
123: 110(ptr) AccessChain 106(ubo) 109
|
||||
124: 29(float) Load 123
|
||||
125: 29(float) FAdd 122 124
|
||||
126: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 125
|
||||
Store 117(c) 126
|
||||
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12
|
||||
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 133 132(mx) 75
|
||||
137: 29(float) Load 117(c)
|
||||
138: 29(float) Load 71(s)
|
||||
140: 32(fvec3) CompositeConstruct 137 138 139
|
||||
142: 141(ptr) AccessChain 132(mx) 136
|
||||
Store 142 140
|
||||
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12
|
||||
146: 29(float) Load 71(s)
|
||||
147: 29(float) FNegate 146
|
||||
148: 29(float) Load 117(c)
|
||||
149: 32(fvec3) CompositeConstruct 147 148 139
|
||||
150: 141(ptr) AccessChain 132(mx) 145
|
||||
Store 150 149
|
||||
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 152 152 12 12
|
||||
156: 141(ptr) AccessChain 132(mx) 153
|
||||
Store 156 155
|
||||
157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 158 158 12 12
|
||||
159: 79(ptr) AccessChain 76(instanceRot) 22
|
||||
160: 29(float) Load 159
|
||||
161: 29(float) FAdd 158 160
|
||||
162: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 161
|
||||
Store 71(s) 162
|
||||
163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 164 164 12 12
|
||||
165: 79(ptr) AccessChain 76(instanceRot) 22
|
||||
166: 29(float) Load 165
|
||||
167: 108(ptr) AccessChain 104(ubo) 107
|
||||
161: 110(ptr) AccessChain 106(ubo) 109
|
||||
162: 29(float) Load 161
|
||||
163: 29(float) FAdd 160 162
|
||||
164: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 163
|
||||
Store 71(s) 164
|
||||
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12
|
||||
167: 79(ptr) AccessChain 76(instanceRot) 22
|
||||
168: 29(float) Load 167
|
||||
169: 29(float) FAdd 166 168
|
||||
170: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 169
|
||||
Store 115(c) 170
|
||||
171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 172 172 12 12
|
||||
176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 174 173(my) 75
|
||||
177: 29(float) Load 115(c)
|
||||
178: 29(float) Load 71(s)
|
||||
179: 32(fvec3) CompositeConstruct 177 137 178
|
||||
180: 139(ptr) AccessChain 173(my) 134
|
||||
Store 180 179
|
||||
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 182 182 12 12
|
||||
184: 139(ptr) AccessChain 173(my) 143
|
||||
Store 184 183
|
||||
185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 186 186 12 12
|
||||
187: 29(float) Load 71(s)
|
||||
188: 29(float) FNegate 187
|
||||
189: 29(float) Load 115(c)
|
||||
190: 32(fvec3) CompositeConstruct 188 137 189
|
||||
191: 139(ptr) AccessChain 173(my) 151
|
||||
Store 191 190
|
||||
192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 193 193 12 12
|
||||
194: 79(ptr) AccessChain 76(instanceRot) 24
|
||||
195: 29(float) Load 194
|
||||
196: 108(ptr) AccessChain 104(ubo) 107
|
||||
169: 110(ptr) AccessChain 106(ubo) 109
|
||||
170: 29(float) Load 169
|
||||
171: 29(float) FAdd 168 170
|
||||
172: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 171
|
||||
Store 117(c) 172
|
||||
173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 174 174 12 12
|
||||
178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 176 175(my) 75
|
||||
179: 29(float) Load 117(c)
|
||||
180: 29(float) Load 71(s)
|
||||
181: 32(fvec3) CompositeConstruct 179 139 180
|
||||
182: 141(ptr) AccessChain 175(my) 136
|
||||
Store 182 181
|
||||
183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 184 184 12 12
|
||||
186: 141(ptr) AccessChain 175(my) 145
|
||||
Store 186 185
|
||||
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 188 188 12 12
|
||||
189: 29(float) Load 71(s)
|
||||
190: 29(float) FNegate 189
|
||||
191: 29(float) Load 117(c)
|
||||
192: 32(fvec3) CompositeConstruct 190 139 191
|
||||
193: 141(ptr) AccessChain 175(my) 153
|
||||
Store 193 192
|
||||
194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 195 195 12 12
|
||||
196: 79(ptr) AccessChain 76(instanceRot) 24
|
||||
197: 29(float) Load 196
|
||||
198: 29(float) FAdd 195 197
|
||||
199: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 198
|
||||
Store 71(s) 199
|
||||
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 201 201 12 12
|
||||
202: 79(ptr) AccessChain 76(instanceRot) 24
|
||||
203: 29(float) Load 202
|
||||
204: 108(ptr) AccessChain 104(ubo) 107
|
||||
198: 110(ptr) AccessChain 106(ubo) 109
|
||||
199: 29(float) Load 198
|
||||
200: 29(float) FAdd 197 199
|
||||
201: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 200
|
||||
Store 71(s) 201
|
||||
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 203 203 12 12
|
||||
204: 79(ptr) AccessChain 76(instanceRot) 24
|
||||
205: 29(float) Load 204
|
||||
206: 29(float) FAdd 203 205
|
||||
207: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 206
|
||||
Store 115(c) 207
|
||||
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12
|
||||
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 211 210(mz) 75
|
||||
215: 139(ptr) AccessChain 210(mz) 134
|
||||
Store 215 214
|
||||
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 217 217 12 12
|
||||
218: 29(float) Load 115(c)
|
||||
219: 29(float) Load 71(s)
|
||||
220: 32(fvec3) CompositeConstruct 137 218 219
|
||||
221: 139(ptr) AccessChain 210(mz) 143
|
||||
Store 221 220
|
||||
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 223 223 12 12
|
||||
224: 29(float) Load 71(s)
|
||||
225: 29(float) FNegate 224
|
||||
226: 29(float) Load 115(c)
|
||||
227: 32(fvec3) CompositeConstruct 137 225 226
|
||||
228: 139(ptr) AccessChain 210(mz) 151
|
||||
Store 228 227
|
||||
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 230 230 12 12
|
||||
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 232 231(rotMat) 75
|
||||
235: 127 Load 210(mz)
|
||||
236: 127 Load 173(my)
|
||||
237: 127 MatrixTimesMatrix 235 236
|
||||
238: 127 Load 130(mx)
|
||||
239: 127 MatrixTimesMatrix 237 238
|
||||
Store 231(rotMat) 239
|
||||
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 241 241 12 12
|
||||
242: 79(ptr) AccessChain 76(instanceRot) 22
|
||||
243: 29(float) Load 242
|
||||
245: 108(ptr) AccessChain 104(ubo) 244
|
||||
246: 29(float) Load 245
|
||||
247: 29(float) FAdd 243 246
|
||||
248: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 247
|
||||
Store 71(s) 248
|
||||
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 250 250 12 12
|
||||
251: 79(ptr) AccessChain 76(instanceRot) 22
|
||||
252: 29(float) Load 251
|
||||
253: 108(ptr) AccessChain 104(ubo) 244
|
||||
206: 110(ptr) AccessChain 106(ubo) 109
|
||||
207: 29(float) Load 206
|
||||
208: 29(float) FAdd 205 207
|
||||
209: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 208
|
||||
Store 117(c) 209
|
||||
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 211 211 12 12
|
||||
215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 213 212(mz) 75
|
||||
217: 141(ptr) AccessChain 212(mz) 136
|
||||
Store 217 216
|
||||
218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 219 219 12 12
|
||||
220: 29(float) Load 117(c)
|
||||
221: 29(float) Load 71(s)
|
||||
222: 32(fvec3) CompositeConstruct 139 220 221
|
||||
223: 141(ptr) AccessChain 212(mz) 145
|
||||
Store 223 222
|
||||
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12
|
||||
226: 29(float) Load 71(s)
|
||||
227: 29(float) FNegate 226
|
||||
228: 29(float) Load 117(c)
|
||||
229: 32(fvec3) CompositeConstruct 139 227 228
|
||||
230: 141(ptr) AccessChain 212(mz) 153
|
||||
Store 230 229
|
||||
231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 232 232 12 12
|
||||
236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 234 233(rotMat) 75
|
||||
237: 129 Load 212(mz)
|
||||
238: 129 Load 175(my)
|
||||
239: 129 MatrixTimesMatrix 237 238
|
||||
240: 129 Load 132(mx)
|
||||
241: 129 MatrixTimesMatrix 239 240
|
||||
Store 233(rotMat) 241
|
||||
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 243 243 12 12
|
||||
244: 79(ptr) AccessChain 76(instanceRot) 22
|
||||
245: 29(float) Load 244
|
||||
247: 110(ptr) AccessChain 106(ubo) 246
|
||||
248: 29(float) Load 247
|
||||
249: 29(float) FAdd 245 248
|
||||
250: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 249
|
||||
Store 71(s) 250
|
||||
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 252 252 12 12
|
||||
253: 79(ptr) AccessChain 76(instanceRot) 22
|
||||
254: 29(float) Load 253
|
||||
255: 29(float) FAdd 252 254
|
||||
256: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 255
|
||||
Store 115(c) 256
|
||||
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 258 258 12 12
|
||||
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 261 260(gRotMat) 75
|
||||
264: 29(float) Load 115(c)
|
||||
265: 29(float) Load 71(s)
|
||||
266: 82(fvec4) CompositeConstruct 264 137 265 137
|
||||
268: 267(ptr) AccessChain 260(gRotMat) 134
|
||||
Store 268 266
|
||||
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12
|
||||
272: 267(ptr) AccessChain 260(gRotMat) 143
|
||||
Store 272 271
|
||||
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 274 274 12 12
|
||||
275: 29(float) Load 71(s)
|
||||
276: 29(float) FNegate 275
|
||||
277: 29(float) Load 115(c)
|
||||
278: 82(fvec4) CompositeConstruct 276 137 277 137
|
||||
279: 267(ptr) AccessChain 260(gRotMat) 151
|
||||
Store 279 278
|
||||
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 281 281 12 12
|
||||
283: 267(ptr) AccessChain 260(gRotMat) 107
|
||||
Store 283 282
|
||||
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 285 285 12 12
|
||||
289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 287 286(locPos) 75
|
||||
293: 32(fvec3) Load 290(inPos)
|
||||
294: 127 Load 231(rotMat)
|
||||
295: 32(fvec3) VectorTimesMatrix 293 294
|
||||
296: 29(float) CompositeExtract 295 0
|
||||
297: 29(float) CompositeExtract 295 1
|
||||
298: 29(float) CompositeExtract 295 2
|
||||
299: 82(fvec4) CompositeConstruct 296 297 298 152
|
||||
Store 286(locPos) 299
|
||||
300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 301 301 12 12
|
||||
305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 303 302(pos) 75
|
||||
306: 82(fvec4) Load 286(locPos)
|
||||
307: 32(fvec3) VectorShuffle 306 306 0 1 2
|
||||
311: 29(float) Load 308(instanceScale)
|
||||
312: 32(fvec3) VectorTimesScalar 307 311
|
||||
316: 32(fvec3) Load 313(instancePos)
|
||||
317: 32(fvec3) FAdd 312 316
|
||||
318: 29(float) CompositeExtract 317 0
|
||||
319: 29(float) CompositeExtract 317 1
|
||||
320: 29(float) CompositeExtract 317 2
|
||||
321: 82(fvec4) CompositeConstruct 318 319 320 152
|
||||
Store 302(pos) 321
|
||||
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12
|
||||
341: 340(ptr) AccessChain 104(ubo) 134
|
||||
342: 84 Load 341
|
||||
343: 340(ptr) AccessChain 104(ubo) 143
|
||||
255: 110(ptr) AccessChain 106(ubo) 246
|
||||
256: 29(float) Load 255
|
||||
257: 29(float) FAdd 254 256
|
||||
258: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 257
|
||||
Store 117(c) 258
|
||||
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 260 260 12 12
|
||||
265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 263 262(gRotMat) 75
|
||||
266: 29(float) Load 117(c)
|
||||
267: 29(float) Load 71(s)
|
||||
268: 82(fvec4) CompositeConstruct 266 139 267 139
|
||||
270: 269(ptr) AccessChain 262(gRotMat) 136
|
||||
Store 270 268
|
||||
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12
|
||||
274: 269(ptr) AccessChain 262(gRotMat) 145
|
||||
Store 274 273
|
||||
275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 276 276 12 12
|
||||
277: 29(float) Load 71(s)
|
||||
278: 29(float) FNegate 277
|
||||
279: 29(float) Load 117(c)
|
||||
280: 82(fvec4) CompositeConstruct 278 139 279 139
|
||||
281: 269(ptr) AccessChain 262(gRotMat) 153
|
||||
Store 281 280
|
||||
282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 283 283 12 12
|
||||
285: 269(ptr) AccessChain 262(gRotMat) 109
|
||||
Store 285 284
|
||||
286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 287 287 12 12
|
||||
291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 289 288(locPos) 75
|
||||
295: 32(fvec3) Load 292(inPos)
|
||||
296: 129 Load 233(rotMat)
|
||||
297: 32(fvec3) VectorTimesMatrix 295 296
|
||||
298: 29(float) CompositeExtract 297 0
|
||||
299: 29(float) CompositeExtract 297 1
|
||||
300: 29(float) CompositeExtract 297 2
|
||||
301: 82(fvec4) CompositeConstruct 298 299 300 154
|
||||
Store 288(locPos) 301
|
||||
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 303 303 12 12
|
||||
307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(pos) 75
|
||||
308: 82(fvec4) Load 288(locPos)
|
||||
309: 32(fvec3) VectorShuffle 308 308 0 1 2
|
||||
313: 29(float) Load 310(instanceScale)
|
||||
314: 32(fvec3) VectorTimesScalar 309 313
|
||||
318: 32(fvec3) Load 315(instancePos)
|
||||
319: 32(fvec3) FAdd 314 318
|
||||
320: 29(float) CompositeExtract 319 0
|
||||
321: 29(float) CompositeExtract 319 1
|
||||
322: 29(float) CompositeExtract 319 2
|
||||
323: 82(fvec4) CompositeConstruct 320 321 322 154
|
||||
Store 304(pos) 323
|
||||
324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 325 325 12 12
|
||||
343: 342(ptr) AccessChain 106(ubo) 136
|
||||
344: 84 Load 343
|
||||
345: 84 MatrixTimesMatrix 342 344
|
||||
346: 84 Load 260(gRotMat)
|
||||
347: 84 MatrixTimesMatrix 345 346
|
||||
348: 82(fvec4) Load 302(pos)
|
||||
349: 82(fvec4) MatrixTimesVector 347 348
|
||||
351: 350(ptr) AccessChain 338 134
|
||||
Store 351 349
|
||||
352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 353 353 12 12
|
||||
357: 340(ptr) AccessChain 104(ubo) 143
|
||||
358: 84 Load 357
|
||||
359: 84 Load 260(gRotMat)
|
||||
360: 84 MatrixTimesMatrix 358 359
|
||||
361: 82(fvec4) CompositeExtract 360 0
|
||||
362: 32(fvec3) VectorShuffle 361 361 0 1 2
|
||||
363: 82(fvec4) CompositeExtract 360 1
|
||||
345: 342(ptr) AccessChain 106(ubo) 145
|
||||
346: 84 Load 345
|
||||
347: 84 MatrixTimesMatrix 344 346
|
||||
348: 84 Load 262(gRotMat)
|
||||
349: 84 MatrixTimesMatrix 347 348
|
||||
350: 82(fvec4) Load 304(pos)
|
||||
351: 82(fvec4) MatrixTimesVector 349 350
|
||||
353: 352(ptr) AccessChain 340 136
|
||||
Store 353 351
|
||||
354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 355 355 12 12
|
||||
359: 342(ptr) AccessChain 106(ubo) 145
|
||||
360: 84 Load 359
|
||||
361: 84 Load 262(gRotMat)
|
||||
362: 84 MatrixTimesMatrix 360 361
|
||||
363: 82(fvec4) CompositeExtract 362 0
|
||||
364: 32(fvec3) VectorShuffle 363 363 0 1 2
|
||||
365: 82(fvec4) CompositeExtract 360 2
|
||||
365: 82(fvec4) CompositeExtract 362 1
|
||||
366: 32(fvec3) VectorShuffle 365 365 0 1 2
|
||||
367: 127 CompositeConstruct 362 364 366
|
||||
368: 127 Load 231(rotMat)
|
||||
369: 127 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 368
|
||||
370: 127 MatrixTimesMatrix 367 369
|
||||
374: 32(fvec3) Load 371(inNormal)
|
||||
375: 32(fvec3) MatrixTimesVector 370 374
|
||||
Store 354(outNormal) 375
|
||||
376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 377 377 12 12
|
||||
378: 340(ptr) AccessChain 104(ubo) 143
|
||||
379: 84 Load 378
|
||||
380: 32(fvec3) Load 290(inPos)
|
||||
381: 32(fvec3) Load 313(instancePos)
|
||||
382: 32(fvec3) FAdd 380 381
|
||||
383: 29(float) CompositeExtract 382 0
|
||||
384: 29(float) CompositeExtract 382 1
|
||||
385: 29(float) CompositeExtract 382 2
|
||||
386: 82(fvec4) CompositeConstruct 383 384 385 152
|
||||
387: 82(fvec4) MatrixTimesVector 379 386
|
||||
Store 302(pos) 387
|
||||
388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 389 389 12 12
|
||||
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 391 390(lPos) 75
|
||||
394: 340(ptr) AccessChain 104(ubo) 143
|
||||
395: 84 Load 394
|
||||
396: 82(fvec4) CompositeExtract 395 0
|
||||
397: 32(fvec3) VectorShuffle 396 396 0 1 2
|
||||
398: 82(fvec4) CompositeExtract 395 1
|
||||
367: 82(fvec4) CompositeExtract 362 2
|
||||
368: 32(fvec3) VectorShuffle 367 367 0 1 2
|
||||
369: 129 CompositeConstruct 364 366 368
|
||||
370: 129 Load 233(rotMat)
|
||||
371: 129 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 370
|
||||
372: 129 MatrixTimesMatrix 369 371
|
||||
376: 32(fvec3) Load 373(inNormal)
|
||||
377: 32(fvec3) MatrixTimesVector 372 376
|
||||
Store 356(outNormal) 377
|
||||
378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 379 379 12 12
|
||||
380: 342(ptr) AccessChain 106(ubo) 145
|
||||
381: 84 Load 380
|
||||
382: 32(fvec3) Load 292(inPos)
|
||||
383: 32(fvec3) Load 315(instancePos)
|
||||
384: 32(fvec3) FAdd 382 383
|
||||
385: 29(float) CompositeExtract 384 0
|
||||
386: 29(float) CompositeExtract 384 1
|
||||
387: 29(float) CompositeExtract 384 2
|
||||
388: 82(fvec4) CompositeConstruct 385 386 387 154
|
||||
389: 82(fvec4) MatrixTimesVector 381 388
|
||||
Store 304(pos) 389
|
||||
390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 391 391 12 12
|
||||
395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 393 392(lPos) 75
|
||||
396: 342(ptr) AccessChain 106(ubo) 145
|
||||
397: 84 Load 396
|
||||
398: 82(fvec4) CompositeExtract 397 0
|
||||
399: 32(fvec3) VectorShuffle 398 398 0 1 2
|
||||
400: 82(fvec4) CompositeExtract 395 2
|
||||
400: 82(fvec4) CompositeExtract 397 1
|
||||
401: 32(fvec3) VectorShuffle 400 400 0 1 2
|
||||
402: 127 CompositeConstruct 397 399 401
|
||||
404: 403(ptr) AccessChain 104(ubo) 151
|
||||
405: 82(fvec4) Load 404
|
||||
406: 32(fvec3) VectorShuffle 405 405 0 1 2
|
||||
407: 32(fvec3) MatrixTimesVector 402 406
|
||||
Store 390(lPos) 407
|
||||
408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 409 409 12 12
|
||||
413: 32(fvec3) Load 390(lPos)
|
||||
414: 82(fvec4) Load 302(pos)
|
||||
415: 32(fvec3) VectorShuffle 414 414 0 1 2
|
||||
416: 32(fvec3) FSub 413 415
|
||||
Store 410(outLightVec) 416
|
||||
417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 418 418 12 12
|
||||
422: 82(fvec4) Load 302(pos)
|
||||
423: 32(fvec3) VectorShuffle 422 422 0 1 2
|
||||
424: 32(fvec3) FNegate 423
|
||||
Store 419(outViewVec) 424
|
||||
402: 82(fvec4) CompositeExtract 397 2
|
||||
403: 32(fvec3) VectorShuffle 402 402 0 1 2
|
||||
404: 129 CompositeConstruct 399 401 403
|
||||
406: 405(ptr) AccessChain 106(ubo) 153
|
||||
407: 82(fvec4) Load 406
|
||||
408: 32(fvec3) VectorShuffle 407 407 0 1 2
|
||||
409: 32(fvec3) MatrixTimesVector 404 408
|
||||
Store 392(lPos) 409
|
||||
410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 411 411 12 12
|
||||
415: 32(fvec3) Load 392(lPos)
|
||||
416: 82(fvec4) Load 304(pos)
|
||||
417: 32(fvec3) VectorShuffle 416 416 0 1 2
|
||||
418: 32(fvec3) FSub 415 417
|
||||
Store 412(outLightVec) 418
|
||||
419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 420 420 12 12
|
||||
424: 82(fvec4) Load 304(pos)
|
||||
425: 32(fvec3) VectorShuffle 424 424 0 1 2
|
||||
426: 32(fvec3) FNegate 425
|
||||
Store 421(outViewVec) 426
|
||||
Return
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue