Use DebugDeclare for local variables
Previously we had decided to issue DebugValue directly in glslang. However, this was incorrect and causing issues with RenderDoc.
This commit is contained in:
parent
c0cf8ad876
commit
ee442785dd
13 changed files with 5235 additions and 5347 deletions
|
|
@ -2,14 +2,14 @@ spv.debuginfo.hlsl.vert
|
|||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000a
|
||||
// Id's are bound by 443
|
||||
// Id's are bound by 437
|
||||
|
||||
Capability Shader
|
||||
Extension "SPV_KHR_non_semantic_info"
|
||||
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
2: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 5 "main" 392 395 399 402 405 408 412 416 424 428 431 434 437 440
|
||||
EntryPoint Vertex 5 "main" 386 389 393 396 399 402 406 410 418 422 425 428 431 434
|
||||
9: String "float"
|
||||
12: String "uint"
|
||||
23: String "int"
|
||||
|
|
@ -26,20 +26,20 @@ Validation failed
|
|||
81: String "input"
|
||||
88: String "output"
|
||||
116: String "s"
|
||||
127: String "modelview"
|
||||
132: String "lightPos"
|
||||
136: String "globSpeed"
|
||||
140: String "UBO"
|
||||
143: String "ubo"
|
||||
128: String "modelview"
|
||||
133: String "lightPos"
|
||||
137: String "globSpeed"
|
||||
141: String "UBO"
|
||||
144: String "ubo"
|
||||
159: String "c"
|
||||
173: String "mx"
|
||||
202: String "my"
|
||||
230: String "mz"
|
||||
244: String "rotMat"
|
||||
270: String "gRotMat"
|
||||
289: String "locPos"
|
||||
302: String "pos"
|
||||
361: String "lPos"
|
||||
200: String "my"
|
||||
226: String "mz"
|
||||
240: String "rotMat"
|
||||
264: String "gRotMat"
|
||||
284: String "locPos"
|
||||
297: String "pos"
|
||||
355: String "lPos"
|
||||
Name 5 "main"
|
||||
Name 26 "VSInput"
|
||||
MemberName 26(VSInput) 0 "Pos"
|
||||
|
|
@ -61,68 +61,68 @@ Validation failed
|
|||
Name 73 "input"
|
||||
Name 86 "output"
|
||||
Name 114 "s"
|
||||
Name 125 "UBO"
|
||||
MemberName 125(UBO) 0 "projection"
|
||||
MemberName 125(UBO) 1 "modelview"
|
||||
MemberName 125(UBO) 2 "lightPos"
|
||||
MemberName 125(UBO) 3 "locSpeed"
|
||||
MemberName 125(UBO) 4 "globSpeed"
|
||||
Name 141 "ubo"
|
||||
MemberName 141(ubo) 0 "ubo"
|
||||
Name 147 ""
|
||||
Name 126 "UBO"
|
||||
MemberName 126(UBO) 0 "projection"
|
||||
MemberName 126(UBO) 1 "modelview"
|
||||
MemberName 126(UBO) 2 "lightPos"
|
||||
MemberName 126(UBO) 3 "locSpeed"
|
||||
MemberName 126(UBO) 4 "globSpeed"
|
||||
Name 142 "ubo"
|
||||
MemberName 142(ubo) 0 "ubo"
|
||||
Name 148 ""
|
||||
Name 157 "c"
|
||||
Name 171 "mx"
|
||||
Name 200 "my"
|
||||
Name 228 "mz"
|
||||
Name 242 "rotMat"
|
||||
Name 268 "gRotMat"
|
||||
Name 287 "locPos"
|
||||
Name 300 "pos"
|
||||
Name 359 "lPos"
|
||||
Name 390 "input"
|
||||
Name 392 "input.Pos"
|
||||
Name 395 "input.Normal"
|
||||
Name 399 "input.UV"
|
||||
Name 402 "input.Color"
|
||||
Name 405 "input.instancePos"
|
||||
Name 408 "input.instanceRot"
|
||||
Name 412 "input.instanceScale"
|
||||
Name 416 "input.instanceTexIndex"
|
||||
Name 419 "flattenTemp"
|
||||
Name 420 "param"
|
||||
Name 424 "@entryPointOutput.Pos"
|
||||
Name 428 "@entryPointOutput.Normal"
|
||||
Name 431 "@entryPointOutput.Color"
|
||||
Name 434 "@entryPointOutput.UV"
|
||||
Name 437 "@entryPointOutput.ViewVec"
|
||||
Name 440 "@entryPointOutput.LightVec"
|
||||
MemberDecorate 125(UBO) 0 RowMajor
|
||||
MemberDecorate 125(UBO) 0 Offset 0
|
||||
MemberDecorate 125(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 125(UBO) 1 RowMajor
|
||||
MemberDecorate 125(UBO) 1 Offset 64
|
||||
MemberDecorate 125(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 125(UBO) 2 Offset 128
|
||||
MemberDecorate 125(UBO) 3 Offset 144
|
||||
MemberDecorate 125(UBO) 4 Offset 148
|
||||
MemberDecorate 141(ubo) 0 Offset 0
|
||||
Decorate 141(ubo) Block
|
||||
Decorate 147 DescriptorSet 0
|
||||
Decorate 147 Binding 0
|
||||
Decorate 392(input.Pos) Location 0
|
||||
Decorate 395(input.Normal) Location 1
|
||||
Decorate 399(input.UV) Location 2
|
||||
Decorate 402(input.Color) Location 3
|
||||
Decorate 405(input.instancePos) Location 4
|
||||
Decorate 408(input.instanceRot) Location 5
|
||||
Decorate 412(input.instanceScale) Location 6
|
||||
Decorate 416(input.instanceTexIndex) Location 7
|
||||
Decorate 424(@entryPointOutput.Pos) BuiltIn Position
|
||||
Decorate 428(@entryPointOutput.Normal) Location 0
|
||||
Decorate 431(@entryPointOutput.Color) Location 1
|
||||
Decorate 434(@entryPointOutput.UV) Location 2
|
||||
Decorate 437(@entryPointOutput.ViewVec) Location 3
|
||||
Decorate 440(@entryPointOutput.LightVec) Location 4
|
||||
Name 198 "my"
|
||||
Name 224 "mz"
|
||||
Name 238 "rotMat"
|
||||
Name 262 "gRotMat"
|
||||
Name 282 "locPos"
|
||||
Name 295 "pos"
|
||||
Name 353 "lPos"
|
||||
Name 384 "input"
|
||||
Name 386 "input.Pos"
|
||||
Name 389 "input.Normal"
|
||||
Name 393 "input.UV"
|
||||
Name 396 "input.Color"
|
||||
Name 399 "input.instancePos"
|
||||
Name 402 "input.instanceRot"
|
||||
Name 406 "input.instanceScale"
|
||||
Name 410 "input.instanceTexIndex"
|
||||
Name 413 "flattenTemp"
|
||||
Name 414 "param"
|
||||
Name 418 "@entryPointOutput.Pos"
|
||||
Name 422 "@entryPointOutput.Normal"
|
||||
Name 425 "@entryPointOutput.Color"
|
||||
Name 428 "@entryPointOutput.UV"
|
||||
Name 431 "@entryPointOutput.ViewVec"
|
||||
Name 434 "@entryPointOutput.LightVec"
|
||||
MemberDecorate 126(UBO) 0 RowMajor
|
||||
MemberDecorate 126(UBO) 0 Offset 0
|
||||
MemberDecorate 126(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 126(UBO) 1 RowMajor
|
||||
MemberDecorate 126(UBO) 1 Offset 64
|
||||
MemberDecorate 126(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 126(UBO) 2 Offset 128
|
||||
MemberDecorate 126(UBO) 3 Offset 144
|
||||
MemberDecorate 126(UBO) 4 Offset 148
|
||||
MemberDecorate 142(ubo) 0 Offset 0
|
||||
Decorate 142(ubo) Block
|
||||
Decorate 148 DescriptorSet 0
|
||||
Decorate 148 Binding 0
|
||||
Decorate 386(input.Pos) Location 0
|
||||
Decorate 389(input.Normal) Location 1
|
||||
Decorate 393(input.UV) Location 2
|
||||
Decorate 396(input.Color) Location 3
|
||||
Decorate 399(input.instancePos) Location 4
|
||||
Decorate 402(input.instanceRot) Location 5
|
||||
Decorate 406(input.instanceScale) Location 6
|
||||
Decorate 410(input.instanceTexIndex) Location 7
|
||||
Decorate 418(@entryPointOutput.Pos) BuiltIn Position
|
||||
Decorate 422(@entryPointOutput.Normal) Location 0
|
||||
Decorate 425(@entryPointOutput.Color) Location 1
|
||||
Decorate 428(@entryPointOutput.UV) Location 2
|
||||
Decorate 431(@entryPointOutput.ViewVec) Location 3
|
||||
Decorate 434(@entryPointOutput.LightVec) Location 4
|
||||
3: TypeVoid
|
||||
4: TypeFunction 3
|
||||
7: TypeFloat 32
|
||||
|
|
@ -185,10 +185,10 @@ Validation failed
|
|||
85: TypePointer Function 57(VSOutput)
|
||||
89: 10(int) Constant 63
|
||||
87: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 88 69 29 89 15 76 25
|
||||
90: 7(float) Constant 0
|
||||
91: 55(fvec4) ConstantComposite 90 90 90 90
|
||||
92: 17(fvec3) ConstantComposite 90 90 90
|
||||
93:57(VSOutput) ConstantComposite 91 92 92 92 92 92
|
||||
91: 7(float) Constant 0
|
||||
92: 55(fvec4) ConstantComposite 91 91 91 91
|
||||
93: 17(fvec3) ConstantComposite 91 91 91
|
||||
94:57(VSOutput) ConstantComposite 92 93 93 93 93 93
|
||||
95: 22(int) Constant 2
|
||||
96: 22(int) Constant 3
|
||||
97: TypePointer Function 17(fvec3)
|
||||
|
|
@ -198,135 +198,135 @@ Validation failed
|
|||
113: TypePointer Function 7(float)
|
||||
117: 10(int) Constant 68
|
||||
115: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 116 8 29 117 15 76 25
|
||||
118: 22(int) Constant 5
|
||||
121: TypeMatrix 55(fvec4) 4
|
||||
123: TypeBool
|
||||
124: 123(bool) ConstantTrue
|
||||
122: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 56 25 124
|
||||
125(UBO): TypeStruct 121 121 55(fvec4) 7(float) 7(float)
|
||||
128: 10(int) Constant 43
|
||||
129: 10(int) Constant 20
|
||||
126: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 127 122 29 128 129 15 15 16
|
||||
130: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 127 122 29 128 129 15 15 16
|
||||
133: 10(int) Constant 44
|
||||
134: 10(int) Constant 17
|
||||
131: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 132 56 29 133 134 15 15 16
|
||||
137: 10(int) Constant 46
|
||||
135: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 136 8 29 137 134 15 15 16
|
||||
138: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 136 8 29 137 134 15 15 16
|
||||
139: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 140 51 29 117 15 52 140 15 16 126 130 131 135 138
|
||||
141(ubo): TypeStruct 125(UBO)
|
||||
144: 10(int) Constant 49
|
||||
142: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 143 139 29 144 47 15 15 16
|
||||
145: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 143 51 29 117 15 52 143 15 16 142
|
||||
146: TypePointer Uniform 141(ubo)
|
||||
147: 146(ptr) Variable Uniform
|
||||
149: 10(int) Constant 8
|
||||
148: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 30 145 29 117 15 52 30 147 149
|
||||
150: 22(int) Constant 0
|
||||
151: TypePointer Uniform 7(float)
|
||||
119: 22(int) Constant 5
|
||||
122: TypeMatrix 55(fvec4) 4
|
||||
124: TypeBool
|
||||
125: 124(bool) ConstantTrue
|
||||
123: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 56 25 125
|
||||
126(UBO): TypeStruct 122 122 55(fvec4) 7(float) 7(float)
|
||||
129: 10(int) Constant 43
|
||||
130: 10(int) Constant 20
|
||||
127: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 128 123 29 129 130 15 15 16
|
||||
131: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 128 123 29 129 130 15 15 16
|
||||
134: 10(int) Constant 44
|
||||
135: 10(int) Constant 17
|
||||
132: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 133 56 29 134 135 15 15 16
|
||||
138: 10(int) Constant 46
|
||||
136: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 137 8 29 138 135 15 15 16
|
||||
139: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 137 8 29 138 135 15 15 16
|
||||
140: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 141 51 29 117 15 52 141 15 16 127 131 132 136 139
|
||||
142(ubo): TypeStruct 126(UBO)
|
||||
145: 10(int) Constant 49
|
||||
143: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 144 140 29 145 47 15 15 16
|
||||
146: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 144 51 29 117 15 52 144 15 16 143
|
||||
147: TypePointer Uniform 142(ubo)
|
||||
148: 147(ptr) Variable Uniform
|
||||
150: 10(int) Constant 8
|
||||
149: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 30 146 29 117 15 52 30 148 150
|
||||
151: 22(int) Constant 0
|
||||
152: TypePointer Uniform 7(float)
|
||||
160: 10(int) Constant 69
|
||||
158: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 159 8 29 160 15 76 25
|
||||
168: TypeMatrix 17(fvec3) 3
|
||||
169: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 18 16 124
|
||||
169: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 18 16 125
|
||||
170: TypePointer Function 168
|
||||
174: 10(int) Constant 71
|
||||
172: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 173 169 29 174 15 76 25
|
||||
180: 7(float) Constant 1065353216
|
||||
203: 10(int) Constant 79
|
||||
201: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 202 169 29 203 15 76 25
|
||||
231: 10(int) Constant 87
|
||||
229: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 230 169 29 231 15 76 25
|
||||
245: 10(int) Constant 91
|
||||
243: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 244 169 29 245 15 76 25
|
||||
254: 22(int) Constant 4
|
||||
267: TypePointer Function 121
|
||||
271: 10(int) Constant 96
|
||||
269: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 270 122 29 271 15 76 25
|
||||
276: TypePointer Function 55(fvec4)
|
||||
278: 22(int) Constant 1
|
||||
279: 55(fvec4) ConstantComposite 90 180 90 90
|
||||
285: 55(fvec4) ConstantComposite 90 90 90 180
|
||||
290: 10(int) Constant 101
|
||||
288: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 289 56 29 290 15 76 25
|
||||
303: 10(int) Constant 102
|
||||
301: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 302 56 29 303 15 76 25
|
||||
306: 22(int) Constant 6
|
||||
321: TypePointer Uniform 121
|
||||
362: 10(int) Constant 108
|
||||
360: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 361 18 29 362 15 76 25
|
||||
363: TypePointer Uniform 55(fvec4)
|
||||
391: TypePointer Input 17(fvec3)
|
||||
392(input.Pos): 391(ptr) Variable Input
|
||||
395(input.Normal): 391(ptr) Variable Input
|
||||
398: TypePointer Input 19(fvec2)
|
||||
399(input.UV): 398(ptr) Variable Input
|
||||
402(input.Color): 391(ptr) Variable Input
|
||||
405(input.instancePos): 391(ptr) Variable Input
|
||||
408(input.instanceRot): 391(ptr) Variable Input
|
||||
411: TypePointer Input 7(float)
|
||||
412(input.instanceScale): 411(ptr) Variable Input
|
||||
415: TypePointer Input 22(int)
|
||||
416(input.instanceTexIndex): 415(ptr) Variable Input
|
||||
423: TypePointer Output 55(fvec4)
|
||||
424(@entryPointOutput.Pos): 423(ptr) Variable Output
|
||||
427: TypePointer Output 17(fvec3)
|
||||
428(@entryPointOutput.Normal): 427(ptr) Variable Output
|
||||
431(@entryPointOutput.Color): 427(ptr) Variable Output
|
||||
434(@entryPointOutput.UV): 427(ptr) Variable Output
|
||||
437(@entryPointOutput.ViewVec): 427(ptr) Variable Output
|
||||
440(@entryPointOutput.LightVec): 427(ptr) Variable Output
|
||||
181: 7(float) Constant 1065353216
|
||||
201: 10(int) Constant 79
|
||||
199: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 200 169 29 201 15 76 25
|
||||
227: 10(int) Constant 87
|
||||
225: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 226 169 29 227 15 76 25
|
||||
241: 10(int) Constant 91
|
||||
239: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 240 169 29 241 15 76 25
|
||||
250: 22(int) Constant 4
|
||||
261: TypePointer Function 122
|
||||
265: 10(int) Constant 96
|
||||
263: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 264 123 29 265 15 76 25
|
||||
271: TypePointer Function 55(fvec4)
|
||||
273: 22(int) Constant 1
|
||||
274: 55(fvec4) ConstantComposite 91 181 91 91
|
||||
280: 55(fvec4) ConstantComposite 91 91 91 181
|
||||
285: 10(int) Constant 101
|
||||
283: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 284 56 29 285 15 76 25
|
||||
298: 10(int) Constant 102
|
||||
296: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 297 56 29 298 15 76 25
|
||||
302: 22(int) Constant 6
|
||||
316: TypePointer Uniform 122
|
||||
356: 10(int) Constant 108
|
||||
354: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 355 18 29 356 15 76 25
|
||||
358: TypePointer Uniform 55(fvec4)
|
||||
385: TypePointer Input 17(fvec3)
|
||||
386(input.Pos): 385(ptr) Variable Input
|
||||
389(input.Normal): 385(ptr) Variable Input
|
||||
392: TypePointer Input 19(fvec2)
|
||||
393(input.UV): 392(ptr) Variable Input
|
||||
396(input.Color): 385(ptr) Variable Input
|
||||
399(input.instancePos): 385(ptr) Variable Input
|
||||
402(input.instanceRot): 385(ptr) Variable Input
|
||||
405: TypePointer Input 7(float)
|
||||
406(input.instanceScale): 405(ptr) Variable Input
|
||||
409: TypePointer Input 22(int)
|
||||
410(input.instanceTexIndex): 409(ptr) Variable Input
|
||||
417: TypePointer Output 55(fvec4)
|
||||
418(@entryPointOutput.Pos): 417(ptr) Variable Output
|
||||
421: TypePointer Output 17(fvec3)
|
||||
422(@entryPointOutput.Normal): 421(ptr) Variable Output
|
||||
425(@entryPointOutput.Color): 421(ptr) Variable Output
|
||||
428(@entryPointOutput.UV): 421(ptr) Variable Output
|
||||
431(@entryPointOutput.ViewVec): 421(ptr) Variable Output
|
||||
434(@entryPointOutput.LightVec): 421(ptr) Variable Output
|
||||
5(main): 3 Function None 4
|
||||
6: Label
|
||||
390(input): 54(ptr) Variable Function
|
||||
419(flattenTemp): 85(ptr) Variable Function
|
||||
420(param): 54(ptr) Variable Function
|
||||
393: 17(fvec3) Load 392(input.Pos)
|
||||
394: 97(ptr) AccessChain 390(input) 150
|
||||
Store 394 393
|
||||
396: 17(fvec3) Load 395(input.Normal)
|
||||
397: 97(ptr) AccessChain 390(input) 278
|
||||
Store 397 396
|
||||
400: 19(fvec2) Load 399(input.UV)
|
||||
401: 101(ptr) AccessChain 390(input) 95
|
||||
384(input): 54(ptr) Variable Function
|
||||
413(flattenTemp): 85(ptr) Variable Function
|
||||
414(param): 54(ptr) Variable Function
|
||||
387: 17(fvec3) Load 386(input.Pos)
|
||||
388: 97(ptr) AccessChain 384(input) 151
|
||||
Store 388 387
|
||||
390: 17(fvec3) Load 389(input.Normal)
|
||||
391: 97(ptr) AccessChain 384(input) 273
|
||||
Store 391 390
|
||||
394: 19(fvec2) Load 393(input.UV)
|
||||
395: 101(ptr) AccessChain 384(input) 95
|
||||
Store 395 394
|
||||
397: 17(fvec3) Load 396(input.Color)
|
||||
398: 97(ptr) AccessChain 384(input) 96
|
||||
Store 398 397
|
||||
400: 17(fvec3) Load 399(input.instancePos)
|
||||
401: 97(ptr) AccessChain 384(input) 250
|
||||
Store 401 400
|
||||
403: 17(fvec3) Load 402(input.Color)
|
||||
404: 97(ptr) AccessChain 390(input) 96
|
||||
403: 17(fvec3) Load 402(input.instanceRot)
|
||||
404: 97(ptr) AccessChain 384(input) 119
|
||||
Store 404 403
|
||||
406: 17(fvec3) Load 405(input.instancePos)
|
||||
407: 97(ptr) AccessChain 390(input) 254
|
||||
Store 407 406
|
||||
409: 17(fvec3) Load 408(input.instanceRot)
|
||||
410: 97(ptr) AccessChain 390(input) 118
|
||||
Store 410 409
|
||||
413: 7(float) Load 412(input.instanceScale)
|
||||
414: 113(ptr) AccessChain 390(input) 306
|
||||
Store 414 413
|
||||
417: 22(int) Load 416(input.instanceTexIndex)
|
||||
418: 105(ptr) AccessChain 390(input) 104
|
||||
Store 418 417
|
||||
421: 26(VSInput) Load 390(input)
|
||||
Store 420(param) 421
|
||||
422:57(VSOutput) FunctionCall 74(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 420(param)
|
||||
Store 419(flattenTemp) 422
|
||||
425: 276(ptr) AccessChain 419(flattenTemp) 150
|
||||
426: 55(fvec4) Load 425
|
||||
Store 424(@entryPointOutput.Pos) 426
|
||||
429: 97(ptr) AccessChain 419(flattenTemp) 278
|
||||
407: 7(float) Load 406(input.instanceScale)
|
||||
408: 113(ptr) AccessChain 384(input) 302
|
||||
Store 408 407
|
||||
411: 22(int) Load 410(input.instanceTexIndex)
|
||||
412: 105(ptr) AccessChain 384(input) 104
|
||||
Store 412 411
|
||||
415: 26(VSInput) Load 384(input)
|
||||
Store 414(param) 415
|
||||
416:57(VSOutput) FunctionCall 74(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 414(param)
|
||||
Store 413(flattenTemp) 416
|
||||
419: 271(ptr) AccessChain 413(flattenTemp) 151
|
||||
420: 55(fvec4) Load 419
|
||||
Store 418(@entryPointOutput.Pos) 420
|
||||
423: 97(ptr) AccessChain 413(flattenTemp) 273
|
||||
424: 17(fvec3) Load 423
|
||||
Store 422(@entryPointOutput.Normal) 424
|
||||
426: 97(ptr) AccessChain 413(flattenTemp) 95
|
||||
427: 17(fvec3) Load 426
|
||||
Store 425(@entryPointOutput.Color) 427
|
||||
429: 97(ptr) AccessChain 413(flattenTemp) 96
|
||||
430: 17(fvec3) Load 429
|
||||
Store 428(@entryPointOutput.Normal) 430
|
||||
432: 97(ptr) AccessChain 419(flattenTemp) 95
|
||||
Store 428(@entryPointOutput.UV) 430
|
||||
432: 97(ptr) AccessChain 413(flattenTemp) 250
|
||||
433: 17(fvec3) Load 432
|
||||
Store 431(@entryPointOutput.Color) 433
|
||||
435: 97(ptr) AccessChain 419(flattenTemp) 96
|
||||
Store 431(@entryPointOutput.ViewVec) 433
|
||||
435: 97(ptr) AccessChain 413(flattenTemp) 119
|
||||
436: 17(fvec3) Load 435
|
||||
Store 434(@entryPointOutput.UV) 436
|
||||
438: 97(ptr) AccessChain 419(flattenTemp) 254
|
||||
439: 17(fvec3) Load 438
|
||||
Store 437(@entryPointOutput.ViewVec) 439
|
||||
441: 97(ptr) AccessChain 419(flattenTemp) 118
|
||||
442: 17(fvec3) Load 441
|
||||
Store 440(@entryPointOutput.LightVec) 442
|
||||
Store 434(@entryPointOutput.LightVec) 436
|
||||
Return
|
||||
FunctionEnd
|
||||
74(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;):57(VSOutput) Function None 71
|
||||
|
|
@ -336,19 +336,19 @@ Validation failed
|
|||
114(s): 113(ptr) Variable Function
|
||||
157(c): 113(ptr) Variable Function
|
||||
171(mx): 170(ptr) Variable Function
|
||||
200(my): 170(ptr) Variable Function
|
||||
228(mz): 170(ptr) Variable Function
|
||||
242(rotMat): 170(ptr) Variable Function
|
||||
268(gRotMat): 267(ptr) Variable Function
|
||||
287(locPos): 276(ptr) Variable Function
|
||||
300(pos): 276(ptr) Variable Function
|
||||
359(lPos): 97(ptr) Variable Function
|
||||
198(my): 170(ptr) Variable Function
|
||||
224(mz): 170(ptr) Variable Function
|
||||
238(rotMat): 170(ptr) Variable Function
|
||||
262(gRotMat): 261(ptr) Variable Function
|
||||
282(locPos): 271(ptr) Variable Function
|
||||
295(pos): 271(ptr) Variable Function
|
||||
353(lPos): 97(ptr) Variable Function
|
||||
78: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 76
|
||||
79: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 29 15 15 15 15
|
||||
82: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 80 73(input) 83
|
||||
84: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 76 74(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;)
|
||||
Store 86(output) 93
|
||||
94: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 87 93 83
|
||||
90: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 87 86(output) 83
|
||||
Store 86(output) 94
|
||||
98: 97(ptr) AccessChain 73(input) 96
|
||||
99: 17(fvec3) Load 98
|
||||
100: 97(ptr) AccessChain 86(output) 95
|
||||
|
|
@ -363,218 +363,212 @@ Validation failed
|
|||
111: 17(fvec3) CompositeConstruct 109 110 108
|
||||
112: 97(ptr) AccessChain 86(output) 96
|
||||
Store 112 111
|
||||
119: 113(ptr) AccessChain 73(input) 118 15
|
||||
120: 7(float) Load 119
|
||||
152: 151(ptr) AccessChain 147 150 96
|
||||
153: 7(float) Load 152
|
||||
154: 7(float) FAdd 120 153
|
||||
155: 7(float) ExtInst 2(GLSL.std.450) 13(Sin) 154
|
||||
Store 114(s) 155
|
||||
156: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 115 155 83
|
||||
161: 113(ptr) AccessChain 73(input) 118 15
|
||||
162: 7(float) Load 161
|
||||
163: 151(ptr) AccessChain 147 150 96
|
||||
164: 7(float) Load 163
|
||||
165: 7(float) FAdd 162 164
|
||||
166: 7(float) ExtInst 2(GLSL.std.450) 14(Cos) 165
|
||||
Store 157(c) 166
|
||||
167: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 158 166 83
|
||||
175: 7(float) Load 157(c)
|
||||
176: 7(float) Load 114(s)
|
||||
177: 7(float) FNegate 176
|
||||
178: 7(float) Load 114(s)
|
||||
179: 7(float) Load 157(c)
|
||||
181: 17(fvec3) CompositeConstruct 175 177 90
|
||||
182: 17(fvec3) CompositeConstruct 178 179 90
|
||||
183: 17(fvec3) CompositeConstruct 90 90 180
|
||||
184: 168 CompositeConstruct 181 182 183
|
||||
Store 171(mx) 184
|
||||
185: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 172 184 83
|
||||
186: 113(ptr) AccessChain 73(input) 118 51
|
||||
118: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 115 114(s) 83
|
||||
120: 113(ptr) AccessChain 73(input) 119 15
|
||||
121: 7(float) Load 120
|
||||
153: 152(ptr) AccessChain 148 151 96
|
||||
154: 7(float) Load 153
|
||||
155: 7(float) FAdd 121 154
|
||||
156: 7(float) ExtInst 2(GLSL.std.450) 13(Sin) 155
|
||||
Store 114(s) 156
|
||||
161: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 158 157(c) 83
|
||||
162: 113(ptr) AccessChain 73(input) 119 15
|
||||
163: 7(float) Load 162
|
||||
164: 152(ptr) AccessChain 148 151 96
|
||||
165: 7(float) Load 164
|
||||
166: 7(float) FAdd 163 165
|
||||
167: 7(float) ExtInst 2(GLSL.std.450) 14(Cos) 166
|
||||
Store 157(c) 167
|
||||
175: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 172 171(mx) 83
|
||||
176: 7(float) Load 157(c)
|
||||
177: 7(float) Load 114(s)
|
||||
178: 7(float) FNegate 177
|
||||
179: 7(float) Load 114(s)
|
||||
180: 7(float) Load 157(c)
|
||||
182: 17(fvec3) CompositeConstruct 176 178 91
|
||||
183: 17(fvec3) CompositeConstruct 179 180 91
|
||||
184: 17(fvec3) CompositeConstruct 91 91 181
|
||||
185: 168 CompositeConstruct 182 183 184
|
||||
Store 171(mx) 185
|
||||
186: 113(ptr) AccessChain 73(input) 119 51
|
||||
187: 7(float) Load 186
|
||||
188: 151(ptr) AccessChain 147 150 96
|
||||
188: 152(ptr) AccessChain 148 151 96
|
||||
189: 7(float) Load 188
|
||||
190: 7(float) FAdd 187 189
|
||||
191: 7(float) ExtInst 2(GLSL.std.450) 13(Sin) 190
|
||||
Store 114(s) 191
|
||||
192: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 115 191 83
|
||||
193: 113(ptr) AccessChain 73(input) 118 51
|
||||
194: 7(float) Load 193
|
||||
195: 151(ptr) AccessChain 147 150 96
|
||||
196: 7(float) Load 195
|
||||
197: 7(float) FAdd 194 196
|
||||
198: 7(float) ExtInst 2(GLSL.std.450) 14(Cos) 197
|
||||
Store 157(c) 198
|
||||
199: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 158 198 83
|
||||
204: 7(float) Load 157(c)
|
||||
205: 7(float) Load 114(s)
|
||||
206: 7(float) FNegate 205
|
||||
207: 7(float) Load 114(s)
|
||||
208: 7(float) Load 157(c)
|
||||
209: 17(fvec3) CompositeConstruct 204 90 206
|
||||
210: 17(fvec3) CompositeConstruct 90 180 90
|
||||
211: 17(fvec3) CompositeConstruct 207 90 208
|
||||
212: 168 CompositeConstruct 209 210 211
|
||||
Store 200(my) 212
|
||||
213: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 201 212 83
|
||||
214: 113(ptr) AccessChain 73(input) 118 20
|
||||
192: 113(ptr) AccessChain 73(input) 119 51
|
||||
193: 7(float) Load 192
|
||||
194: 152(ptr) AccessChain 148 151 96
|
||||
195: 7(float) Load 194
|
||||
196: 7(float) FAdd 193 195
|
||||
197: 7(float) ExtInst 2(GLSL.std.450) 14(Cos) 196
|
||||
Store 157(c) 197
|
||||
202: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 199 198(my) 83
|
||||
203: 7(float) Load 157(c)
|
||||
204: 7(float) Load 114(s)
|
||||
205: 7(float) FNegate 204
|
||||
206: 7(float) Load 114(s)
|
||||
207: 7(float) Load 157(c)
|
||||
208: 17(fvec3) CompositeConstruct 203 91 205
|
||||
209: 17(fvec3) CompositeConstruct 91 181 91
|
||||
210: 17(fvec3) CompositeConstruct 206 91 207
|
||||
211: 168 CompositeConstruct 208 209 210
|
||||
Store 198(my) 211
|
||||
212: 113(ptr) AccessChain 73(input) 119 20
|
||||
213: 7(float) Load 212
|
||||
214: 152(ptr) AccessChain 148 151 96
|
||||
215: 7(float) Load 214
|
||||
216: 151(ptr) AccessChain 147 150 96
|
||||
217: 7(float) Load 216
|
||||
218: 7(float) FAdd 215 217
|
||||
219: 7(float) ExtInst 2(GLSL.std.450) 13(Sin) 218
|
||||
Store 114(s) 219
|
||||
220: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 115 219 83
|
||||
221: 113(ptr) AccessChain 73(input) 118 20
|
||||
222: 7(float) Load 221
|
||||
223: 151(ptr) AccessChain 147 150 96
|
||||
224: 7(float) Load 223
|
||||
225: 7(float) FAdd 222 224
|
||||
226: 7(float) ExtInst 2(GLSL.std.450) 14(Cos) 225
|
||||
Store 157(c) 226
|
||||
227: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 158 226 83
|
||||
232: 7(float) Load 157(c)
|
||||
233: 7(float) Load 114(s)
|
||||
234: 7(float) FNegate 233
|
||||
235: 7(float) Load 114(s)
|
||||
236: 7(float) Load 157(c)
|
||||
237: 17(fvec3) CompositeConstruct 180 90 90
|
||||
238: 17(fvec3) CompositeConstruct 90 232 234
|
||||
239: 17(fvec3) CompositeConstruct 90 235 236
|
||||
240: 168 CompositeConstruct 237 238 239
|
||||
Store 228(mz) 240
|
||||
241: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 229 240 83
|
||||
246: 168 Load 171(mx)
|
||||
247: 168 Load 200(my)
|
||||
248: 168 MatrixTimesMatrix 246 247
|
||||
249: 168 Load 228(mz)
|
||||
250: 168 MatrixTimesMatrix 248 249
|
||||
Store 242(rotMat) 250
|
||||
251: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 243 250 83
|
||||
252: 113(ptr) AccessChain 73(input) 118 51
|
||||
253: 7(float) Load 252
|
||||
255: 151(ptr) AccessChain 147 150 254
|
||||
216: 7(float) FAdd 213 215
|
||||
217: 7(float) ExtInst 2(GLSL.std.450) 13(Sin) 216
|
||||
Store 114(s) 217
|
||||
218: 113(ptr) AccessChain 73(input) 119 20
|
||||
219: 7(float) Load 218
|
||||
220: 152(ptr) AccessChain 148 151 96
|
||||
221: 7(float) Load 220
|
||||
222: 7(float) FAdd 219 221
|
||||
223: 7(float) ExtInst 2(GLSL.std.450) 14(Cos) 222
|
||||
Store 157(c) 223
|
||||
228: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 225 224(mz) 83
|
||||
229: 7(float) Load 157(c)
|
||||
230: 7(float) Load 114(s)
|
||||
231: 7(float) FNegate 230
|
||||
232: 7(float) Load 114(s)
|
||||
233: 7(float) Load 157(c)
|
||||
234: 17(fvec3) CompositeConstruct 181 91 91
|
||||
235: 17(fvec3) CompositeConstruct 91 229 231
|
||||
236: 17(fvec3) CompositeConstruct 91 232 233
|
||||
237: 168 CompositeConstruct 234 235 236
|
||||
Store 224(mz) 237
|
||||
242: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 239 238(rotMat) 83
|
||||
243: 168 Load 171(mx)
|
||||
244: 168 Load 198(my)
|
||||
245: 168 MatrixTimesMatrix 243 244
|
||||
246: 168 Load 224(mz)
|
||||
247: 168 MatrixTimesMatrix 245 246
|
||||
Store 238(rotMat) 247
|
||||
248: 113(ptr) AccessChain 73(input) 119 51
|
||||
249: 7(float) Load 248
|
||||
251: 152(ptr) AccessChain 148 151 250
|
||||
252: 7(float) Load 251
|
||||
253: 7(float) FAdd 249 252
|
||||
254: 7(float) ExtInst 2(GLSL.std.450) 13(Sin) 253
|
||||
Store 114(s) 254
|
||||
255: 113(ptr) AccessChain 73(input) 119 51
|
||||
256: 7(float) Load 255
|
||||
257: 7(float) FAdd 253 256
|
||||
258: 7(float) ExtInst 2(GLSL.std.450) 13(Sin) 257
|
||||
Store 114(s) 258
|
||||
259: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 115 258 83
|
||||
260: 113(ptr) AccessChain 73(input) 118 51
|
||||
261: 7(float) Load 260
|
||||
262: 151(ptr) AccessChain 147 150 254
|
||||
263: 7(float) Load 262
|
||||
264: 7(float) FAdd 261 263
|
||||
265: 7(float) ExtInst 2(GLSL.std.450) 14(Cos) 264
|
||||
Store 157(c) 265
|
||||
266: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 158 265 83
|
||||
272: 7(float) Load 157(c)
|
||||
273: 7(float) Load 114(s)
|
||||
274: 7(float) FNegate 273
|
||||
275: 55(fvec4) CompositeConstruct 272 90 274 90
|
||||
277: 276(ptr) AccessChain 268(gRotMat) 150
|
||||
Store 277 275
|
||||
280: 276(ptr) AccessChain 268(gRotMat) 278
|
||||
Store 280 279
|
||||
281: 7(float) Load 114(s)
|
||||
282: 7(float) Load 157(c)
|
||||
283: 55(fvec4) CompositeConstruct 281 90 282 90
|
||||
284: 276(ptr) AccessChain 268(gRotMat) 95
|
||||
Store 284 283
|
||||
286: 276(ptr) AccessChain 268(gRotMat) 96
|
||||
Store 286 285
|
||||
291: 97(ptr) AccessChain 73(input) 150
|
||||
292: 17(fvec3) Load 291
|
||||
293: 168 Load 242(rotMat)
|
||||
294: 17(fvec3) VectorTimesMatrix 292 293
|
||||
295: 7(float) CompositeExtract 294 0
|
||||
296: 7(float) CompositeExtract 294 1
|
||||
297: 7(float) CompositeExtract 294 2
|
||||
298: 55(fvec4) CompositeConstruct 295 296 297 180
|
||||
Store 287(locPos) 298
|
||||
299: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 288 298 83
|
||||
304: 55(fvec4) Load 287(locPos)
|
||||
305: 17(fvec3) VectorShuffle 304 304 0 1 2
|
||||
307: 113(ptr) AccessChain 73(input) 306
|
||||
308: 7(float) Load 307
|
||||
309: 17(fvec3) VectorTimesScalar 305 308
|
||||
310: 97(ptr) AccessChain 73(input) 254
|
||||
311: 17(fvec3) Load 310
|
||||
312: 17(fvec3) FAdd 309 311
|
||||
313: 7(float) CompositeExtract 312 0
|
||||
314: 7(float) CompositeExtract 312 1
|
||||
315: 7(float) CompositeExtract 312 2
|
||||
316: 55(fvec4) CompositeConstruct 313 314 315 180
|
||||
Store 300(pos) 316
|
||||
317: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 301 316 83
|
||||
318: 55(fvec4) Load 300(pos)
|
||||
319: 121 Load 268(gRotMat)
|
||||
320: 55(fvec4) VectorTimesMatrix 318 319
|
||||
322: 321(ptr) AccessChain 147 150 278
|
||||
323: 121 Load 322
|
||||
324: 55(fvec4) VectorTimesMatrix 320 323
|
||||
325: 321(ptr) AccessChain 147 150 150
|
||||
326: 121 Load 325
|
||||
327: 55(fvec4) VectorTimesMatrix 324 326
|
||||
328: 276(ptr) AccessChain 86(output) 150
|
||||
Store 328 327
|
||||
329: 97(ptr) AccessChain 73(input) 278
|
||||
330: 17(fvec3) Load 329
|
||||
331: 168 Load 242(rotMat)
|
||||
332: 17(fvec3) VectorTimesMatrix 330 331
|
||||
333: 121 Load 268(gRotMat)
|
||||
334: 321(ptr) AccessChain 147 150 278
|
||||
335: 121 Load 334
|
||||
336: 121 MatrixTimesMatrix 333 335
|
||||
337: 55(fvec4) CompositeExtract 336 0
|
||||
338: 17(fvec3) VectorShuffle 337 337 0 1 2
|
||||
339: 55(fvec4) CompositeExtract 336 1
|
||||
340: 17(fvec3) VectorShuffle 339 339 0 1 2
|
||||
341: 55(fvec4) CompositeExtract 336 2
|
||||
342: 17(fvec3) VectorShuffle 341 341 0 1 2
|
||||
343: 168 CompositeConstruct 338 340 342
|
||||
344: 17(fvec3) VectorTimesMatrix 332 343
|
||||
345: 97(ptr) AccessChain 86(output) 278
|
||||
Store 345 344
|
||||
346: 97(ptr) AccessChain 73(input) 150
|
||||
347: 17(fvec3) Load 346
|
||||
348: 97(ptr) AccessChain 73(input) 254
|
||||
349: 17(fvec3) Load 348
|
||||
350: 17(fvec3) FAdd 347 349
|
||||
351: 7(float) CompositeExtract 350 0
|
||||
352: 7(float) CompositeExtract 350 1
|
||||
353: 7(float) CompositeExtract 350 2
|
||||
354: 55(fvec4) CompositeConstruct 351 352 353 180
|
||||
355: 321(ptr) AccessChain 147 150 278
|
||||
356: 121 Load 355
|
||||
357: 55(fvec4) VectorTimesMatrix 354 356
|
||||
Store 300(pos) 357
|
||||
358: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 301 357 83
|
||||
364: 363(ptr) AccessChain 147 150 95
|
||||
365: 55(fvec4) Load 364
|
||||
366: 17(fvec3) VectorShuffle 365 365 0 1 2
|
||||
367: 321(ptr) AccessChain 147 150 278
|
||||
368: 121 Load 367
|
||||
369: 55(fvec4) CompositeExtract 368 0
|
||||
370: 17(fvec3) VectorShuffle 369 369 0 1 2
|
||||
371: 55(fvec4) CompositeExtract 368 1
|
||||
372: 17(fvec3) VectorShuffle 371 371 0 1 2
|
||||
373: 55(fvec4) CompositeExtract 368 2
|
||||
257: 152(ptr) AccessChain 148 151 250
|
||||
258: 7(float) Load 257
|
||||
259: 7(float) FAdd 256 258
|
||||
260: 7(float) ExtInst 2(GLSL.std.450) 14(Cos) 259
|
||||
Store 157(c) 260
|
||||
266: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 263 262(gRotMat) 83
|
||||
267: 7(float) Load 157(c)
|
||||
268: 7(float) Load 114(s)
|
||||
269: 7(float) FNegate 268
|
||||
270: 55(fvec4) CompositeConstruct 267 91 269 91
|
||||
272: 271(ptr) AccessChain 262(gRotMat) 151
|
||||
Store 272 270
|
||||
275: 271(ptr) AccessChain 262(gRotMat) 273
|
||||
Store 275 274
|
||||
276: 7(float) Load 114(s)
|
||||
277: 7(float) Load 157(c)
|
||||
278: 55(fvec4) CompositeConstruct 276 91 277 91
|
||||
279: 271(ptr) AccessChain 262(gRotMat) 95
|
||||
Store 279 278
|
||||
281: 271(ptr) AccessChain 262(gRotMat) 96
|
||||
Store 281 280
|
||||
286: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 283 282(locPos) 83
|
||||
287: 97(ptr) AccessChain 73(input) 151
|
||||
288: 17(fvec3) Load 287
|
||||
289: 168 Load 238(rotMat)
|
||||
290: 17(fvec3) VectorTimesMatrix 288 289
|
||||
291: 7(float) CompositeExtract 290 0
|
||||
292: 7(float) CompositeExtract 290 1
|
||||
293: 7(float) CompositeExtract 290 2
|
||||
294: 55(fvec4) CompositeConstruct 291 292 293 181
|
||||
Store 282(locPos) 294
|
||||
299: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 296 295(pos) 83
|
||||
300: 55(fvec4) Load 282(locPos)
|
||||
301: 17(fvec3) VectorShuffle 300 300 0 1 2
|
||||
303: 113(ptr) AccessChain 73(input) 302
|
||||
304: 7(float) Load 303
|
||||
305: 17(fvec3) VectorTimesScalar 301 304
|
||||
306: 97(ptr) AccessChain 73(input) 250
|
||||
307: 17(fvec3) Load 306
|
||||
308: 17(fvec3) FAdd 305 307
|
||||
309: 7(float) CompositeExtract 308 0
|
||||
310: 7(float) CompositeExtract 308 1
|
||||
311: 7(float) CompositeExtract 308 2
|
||||
312: 55(fvec4) CompositeConstruct 309 310 311 181
|
||||
Store 295(pos) 312
|
||||
313: 55(fvec4) Load 295(pos)
|
||||
314: 122 Load 262(gRotMat)
|
||||
315: 55(fvec4) VectorTimesMatrix 313 314
|
||||
317: 316(ptr) AccessChain 148 151 273
|
||||
318: 122 Load 317
|
||||
319: 55(fvec4) VectorTimesMatrix 315 318
|
||||
320: 316(ptr) AccessChain 148 151 151
|
||||
321: 122 Load 320
|
||||
322: 55(fvec4) VectorTimesMatrix 319 321
|
||||
323: 271(ptr) AccessChain 86(output) 151
|
||||
Store 323 322
|
||||
324: 97(ptr) AccessChain 73(input) 273
|
||||
325: 17(fvec3) Load 324
|
||||
326: 168 Load 238(rotMat)
|
||||
327: 17(fvec3) VectorTimesMatrix 325 326
|
||||
328: 122 Load 262(gRotMat)
|
||||
329: 316(ptr) AccessChain 148 151 273
|
||||
330: 122 Load 329
|
||||
331: 122 MatrixTimesMatrix 328 330
|
||||
332: 55(fvec4) CompositeExtract 331 0
|
||||
333: 17(fvec3) VectorShuffle 332 332 0 1 2
|
||||
334: 55(fvec4) CompositeExtract 331 1
|
||||
335: 17(fvec3) VectorShuffle 334 334 0 1 2
|
||||
336: 55(fvec4) CompositeExtract 331 2
|
||||
337: 17(fvec3) VectorShuffle 336 336 0 1 2
|
||||
338: 168 CompositeConstruct 333 335 337
|
||||
339: 17(fvec3) VectorTimesMatrix 327 338
|
||||
340: 97(ptr) AccessChain 86(output) 273
|
||||
Store 340 339
|
||||
341: 97(ptr) AccessChain 73(input) 151
|
||||
342: 17(fvec3) Load 341
|
||||
343: 97(ptr) AccessChain 73(input) 250
|
||||
344: 17(fvec3) Load 343
|
||||
345: 17(fvec3) FAdd 342 344
|
||||
346: 7(float) CompositeExtract 345 0
|
||||
347: 7(float) CompositeExtract 345 1
|
||||
348: 7(float) CompositeExtract 345 2
|
||||
349: 55(fvec4) CompositeConstruct 346 347 348 181
|
||||
350: 316(ptr) AccessChain 148 151 273
|
||||
351: 122 Load 350
|
||||
352: 55(fvec4) VectorTimesMatrix 349 351
|
||||
Store 295(pos) 352
|
||||
357: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 354 353(lPos) 83
|
||||
359: 358(ptr) AccessChain 148 151 95
|
||||
360: 55(fvec4) Load 359
|
||||
361: 17(fvec3) VectorShuffle 360 360 0 1 2
|
||||
362: 316(ptr) AccessChain 148 151 273
|
||||
363: 122 Load 362
|
||||
364: 55(fvec4) CompositeExtract 363 0
|
||||
365: 17(fvec3) VectorShuffle 364 364 0 1 2
|
||||
366: 55(fvec4) CompositeExtract 363 1
|
||||
367: 17(fvec3) VectorShuffle 366 366 0 1 2
|
||||
368: 55(fvec4) CompositeExtract 363 2
|
||||
369: 17(fvec3) VectorShuffle 368 368 0 1 2
|
||||
370: 168 CompositeConstruct 365 367 369
|
||||
371: 17(fvec3) VectorTimesMatrix 361 370
|
||||
Store 353(lPos) 371
|
||||
372: 17(fvec3) Load 353(lPos)
|
||||
373: 55(fvec4) Load 295(pos)
|
||||
374: 17(fvec3) VectorShuffle 373 373 0 1 2
|
||||
375: 168 CompositeConstruct 370 372 374
|
||||
376: 17(fvec3) VectorTimesMatrix 366 375
|
||||
Store 359(lPos) 376
|
||||
377: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 360 376 83
|
||||
378: 17(fvec3) Load 359(lPos)
|
||||
379: 55(fvec4) Load 300(pos)
|
||||
380: 17(fvec3) VectorShuffle 379 379 0 1 2
|
||||
381: 17(fvec3) FSub 378 380
|
||||
382: 97(ptr) AccessChain 86(output) 118
|
||||
Store 382 381
|
||||
383: 55(fvec4) Load 300(pos)
|
||||
384: 17(fvec3) VectorShuffle 383 383 0 1 2
|
||||
385: 17(fvec3) FNegate 384
|
||||
386: 97(ptr) AccessChain 86(output) 254
|
||||
Store 386 385
|
||||
387:57(VSOutput) Load 86(output)
|
||||
ReturnValue 387
|
||||
375: 17(fvec3) FSub 372 374
|
||||
376: 97(ptr) AccessChain 86(output) 119
|
||||
Store 376 375
|
||||
377: 55(fvec4) Load 295(pos)
|
||||
378: 17(fvec3) VectorShuffle 377 377 0 1 2
|
||||
379: 17(fvec3) FNegate 378
|
||||
380: 97(ptr) AccessChain 86(output) 250
|
||||
Store 380 379
|
||||
381:57(VSOutput) Load 86(output)
|
||||
ReturnValue 381
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue