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