544 lines
33 KiB
Text
544 lines
33 KiB
Text
spv.debuginfo.glsl.vert
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// 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 292 310 315 340 356 373 412 421
|
|
1: String ""
|
|
8: String "uint"
|
|
16: String "main"
|
|
19: String "// OpModuleProcessed auto-map-locations
|
|
// OpModuleProcessed auto-map-bindings
|
|
// OpModuleProcessed client vulkan100
|
|
// OpModuleProcessed target-env vulkan1.0
|
|
// OpModuleProcessed keep-uncalled
|
|
// OpModuleProcessed entry-point main
|
|
#line 1
|
|
"
|
|
30: String "float"
|
|
37: String "outColor"
|
|
42: String "inColor"
|
|
48: String "outUV"
|
|
54: String "inUV"
|
|
57: String "int"
|
|
62: String "instanceTexIndex"
|
|
73: String "s"
|
|
78: String "instanceRot"
|
|
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"
|
|
Name 46 "outUV"
|
|
Name 52 "inUV"
|
|
Name 60 "instanceTexIndex"
|
|
Name 71 "s"
|
|
Name 76 "instanceRot"
|
|
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 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
|
|
10: 7(int) Constant 32
|
|
11: 7(int) Constant 6
|
|
12: 7(int) Constant 0
|
|
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
|
13: 7(int) Constant 3
|
|
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
|
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
|
|
20: 7(int) Constant 54
|
|
22: 7(int) Constant 1
|
|
23: 7(int) Constant 4
|
|
24: 7(int) Constant 2
|
|
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
|
|
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
|
|
28: 7(int) Constant 56
|
|
29: TypeFloat 32
|
|
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 13 12
|
|
32: TypeVector 29(float) 3
|
|
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13
|
|
34: TypePointer Output 32(fvec3)
|
|
35(outColor): 34(ptr) Variable Output
|
|
38: 7(int) Constant 8
|
|
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 37 33 18 28 12 21 37 35(outColor) 38
|
|
39: TypePointer Input 32(fvec3)
|
|
40(inColor): 39(ptr) Variable Input
|
|
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 42 33 18 28 12 21 42 40(inColor) 38
|
|
45: 7(int) Constant 57
|
|
46(outUV): 34(ptr) Variable Output
|
|
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 48 33 18 45 12 21 48 46(outUV) 38
|
|
49: TypeVector 29(float) 2
|
|
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24
|
|
51: TypePointer Input 49(fvec2)
|
|
52(inUV): 51(ptr) Variable Input
|
|
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 54 50 18 45 12 21 54 52(inUV) 38
|
|
56: TypeInt 32 1
|
|
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 23 12
|
|
59: TypePointer Input 56(int)
|
|
60(instanceTexIndex): 59(ptr) Variable Input
|
|
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 45 12 21 62 60(instanceTexIndex) 38
|
|
69: 7(int) Constant 62
|
|
70: TypePointer Function 29(float)
|
|
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 73 31 18 69 12 17 23
|
|
75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
|
76(instanceRot): 39(ptr) Variable Input
|
|
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 78 33 18 69 12 21 78 76(instanceRot) 38
|
|
79: TypePointer Input 29(float)
|
|
82: TypeVector 29(float) 4
|
|
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
|
|
84: TypeMatrix 82(fvec4) 4
|
|
86: TypeBool
|
|
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
|
|
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
|
|
43: 32(fvec3) Load 40(inColor)
|
|
Store 35(outColor) 43
|
|
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 45 45 12 12
|
|
55: 49(fvec2) Load 52(inUV)
|
|
63: 56(int) Load 60(instanceTexIndex)
|
|
64: 29(float) ConvertSToF 63
|
|
65: 29(float) CompositeExtract 55 0
|
|
66: 29(float) CompositeExtract 55 1
|
|
67: 32(fvec3) CompositeConstruct 65 66 64
|
|
Store 46(outUV) 67
|
|
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12
|
|
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
|
|
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: 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: 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: 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: 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: 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: 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: 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 362 1
|
|
366: 32(fvec3) VectorShuffle 365 365 0 1 2
|
|
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 397 1
|
|
401: 32(fvec3) VectorShuffle 400 400 0 1 2
|
|
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
|