380 lines
25 KiB
Text
380 lines
25 KiB
Text
spv.debuginfo.glsl.geom
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 272
|
|
|
|
Capability Geometry
|
|
Capability MultiViewport
|
|
Extension "SPV_KHR_non_semantic_info"
|
|
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
|
3: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Geometry 14 "main" 66 99 120 131 134 167 209 218 236 250 256 259
|
|
ExecutionMode 14 Triangles
|
|
ExecutionMode 14 Invocations 2
|
|
ExecutionMode 14 OutputTriangleStrip
|
|
ExecutionMode 14 OutputVertices 3
|
|
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 "int"
|
|
37: String "i"
|
|
53: String "bool"
|
|
60: String "float"
|
|
68: String "outNormal"
|
|
81: String "projection"
|
|
84: String "modelview"
|
|
87: String "lightPos"
|
|
90: String "UBO"
|
|
95: String "ubo"
|
|
101: String "gl_InvocationID"
|
|
122: String "inNormal"
|
|
133: String "outColor"
|
|
136: String "inColor"
|
|
146: String "pos"
|
|
152: String "gl_Position"
|
|
155: String "gl_PointSize"
|
|
158: String "gl_CullDistance"
|
|
162: String "gl_PerVertex"
|
|
169: String "gl_in"
|
|
179: String "worldPos"
|
|
192: String "lPos"
|
|
211: String "outLightVec"
|
|
220: String "outViewVec"
|
|
252: String "gl_ViewportIndex"
|
|
258: String "gl_PrimitiveID"
|
|
261: String "gl_PrimitiveIDIn"
|
|
SourceExtension "GL_ARB_viewport_array"
|
|
Name 14 "main"
|
|
Name 35 "i"
|
|
Name 66 "outNormal"
|
|
Name 79 "UBO"
|
|
MemberName 79(UBO) 0 "projection"
|
|
MemberName 79(UBO) 1 "modelview"
|
|
MemberName 79(UBO) 2 "lightPos"
|
|
Name 93 "ubo"
|
|
Name 99 "gl_InvocationID"
|
|
Name 120 "inNormal"
|
|
Name 131 "outColor"
|
|
Name 134 "inColor"
|
|
Name 144 "pos"
|
|
Name 150 "gl_PerVertex"
|
|
MemberName 150(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 150(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 150(gl_PerVertex) 2 "gl_ClipDistance"
|
|
MemberName 150(gl_PerVertex) 3 "gl_CullDistance"
|
|
Name 167 "gl_in"
|
|
Name 177 "worldPos"
|
|
Name 190 "lPos"
|
|
Name 209 "outLightVec"
|
|
Name 218 "outViewVec"
|
|
Name 226 "gl_PerVertex"
|
|
MemberName 226(gl_PerVertex) 0 "gl_Position"
|
|
MemberName 226(gl_PerVertex) 1 "gl_PointSize"
|
|
MemberName 226(gl_PerVertex) 2 "gl_ClipDistance"
|
|
MemberName 226(gl_PerVertex) 3 "gl_CullDistance"
|
|
Name 236 ""
|
|
Name 250 "gl_ViewportIndex"
|
|
Name 256 "gl_PrimitiveID"
|
|
Name 259 "gl_PrimitiveIDIn"
|
|
Decorate 66(outNormal) Location 0
|
|
Decorate 75 ArrayStride 64
|
|
Decorate 77 ArrayStride 64
|
|
MemberDecorate 79(UBO) 0 ColMajor
|
|
MemberDecorate 79(UBO) 0 Offset 0
|
|
MemberDecorate 79(UBO) 0 MatrixStride 16
|
|
MemberDecorate 79(UBO) 1 ColMajor
|
|
MemberDecorate 79(UBO) 1 Offset 128
|
|
MemberDecorate 79(UBO) 1 MatrixStride 16
|
|
MemberDecorate 79(UBO) 2 Offset 256
|
|
Decorate 79(UBO) Block
|
|
Decorate 93(ubo) DescriptorSet 0
|
|
Decorate 93(ubo) Binding 0
|
|
Decorate 99(gl_InvocationID) BuiltIn InvocationId
|
|
Decorate 120(inNormal) Location 0
|
|
Decorate 131(outColor) Location 1
|
|
Decorate 134(inColor) Location 1
|
|
MemberDecorate 150(gl_PerVertex) 0 BuiltIn Position
|
|
MemberDecorate 150(gl_PerVertex) 1 BuiltIn PointSize
|
|
MemberDecorate 150(gl_PerVertex) 2 BuiltIn ClipDistance
|
|
MemberDecorate 150(gl_PerVertex) 3 BuiltIn CullDistance
|
|
Decorate 150(gl_PerVertex) Block
|
|
Decorate 209(outLightVec) Location 3
|
|
Decorate 218(outViewVec) Location 2
|
|
MemberDecorate 226(gl_PerVertex) 0 BuiltIn Position
|
|
MemberDecorate 226(gl_PerVertex) 1 BuiltIn PointSize
|
|
MemberDecorate 226(gl_PerVertex) 2 BuiltIn ClipDistance
|
|
MemberDecorate 226(gl_PerVertex) 3 BuiltIn CullDistance
|
|
Decorate 226(gl_PerVertex) Block
|
|
Decorate 250(gl_ViewportIndex) BuiltIn ViewportIndex
|
|
Decorate 256(gl_PrimitiveID) BuiltIn PrimitiveId
|
|
Decorate 259(gl_PrimitiveIDIn) BuiltIn PrimitiveId
|
|
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 47
|
|
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 49
|
|
29: TypeInt 32 1
|
|
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 23 12
|
|
32: TypePointer Function 29(int)
|
|
33: 7(int) Constant 7
|
|
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 33 12
|
|
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 37 31 18 28 12 17 23
|
|
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
|
40: 29(int) Constant 0
|
|
51: 29(int) Constant 3
|
|
52: TypeBool
|
|
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 53 10 24 12
|
|
58: 7(int) Constant 51
|
|
59: TypeFloat 32
|
|
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 60 10 13 12
|
|
62: TypeVector 59(float) 3
|
|
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 61 13
|
|
64: TypePointer Output 62(fvec3)
|
|
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 13 12
|
|
66(outNormal): 64(ptr) Variable Output
|
|
69: 7(int) Constant 8
|
|
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 68 63 18 58 12 21 68 66(outNormal) 69
|
|
70: TypeVector 59(float) 4
|
|
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 61 23
|
|
72: TypeMatrix 70(fvec4) 4
|
|
74: 52(bool) ConstantTrue
|
|
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 71 23 74
|
|
75: TypeArray 72 24
|
|
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 73 24
|
|
77: TypeArray 72 24
|
|
78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 73 24
|
|
79(UBO): TypeStruct 75 77 70(fvec4)
|
|
82: 7(int) Constant 34
|
|
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 76 18 82 33 12 12 13
|
|
85: 7(int) Constant 35
|
|
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 84 78 18 85 33 12 12 13
|
|
88: 7(int) Constant 36
|
|
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 87 71 18 88 33 12 12 13
|
|
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 90 22 18 58 12 21 90 12 13 80 83 86
|
|
91: TypePointer Uniform 79(UBO)
|
|
92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 89 24 12
|
|
93(ubo): 91(ptr) Variable Uniform
|
|
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 95 89 18 58 12 21 95 93(ubo) 69
|
|
96: 29(int) Constant 1
|
|
97: TypePointer Input 29(int)
|
|
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 22 12
|
|
99(gl_InvocationID): 97(ptr) Variable Input
|
|
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 101 31 18 58 12 21 101 99(gl_InvocationID) 69
|
|
103: TypePointer Uniform 72
|
|
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 73 24 12
|
|
107: TypeMatrix 62(fvec3) 3
|
|
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 63 13 74
|
|
116: TypeArray 62(fvec3) 13
|
|
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 63 13
|
|
118: TypePointer Input 116
|
|
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 117 22 12
|
|
120(inNormal): 118(ptr) Variable Input
|
|
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 122 117 18 58 12 21 122 120(inNormal) 69
|
|
124: TypePointer Input 62(fvec3)
|
|
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 22 12
|
|
130: 7(int) Constant 52
|
|
131(outColor): 64(ptr) Variable Output
|
|
132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 133 63 18 130 12 21 133 131(outColor) 69
|
|
134(inColor): 118(ptr) Variable Input
|
|
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 117 18 130 12 21 136 134(inColor) 69
|
|
141: 7(int) Constant 54
|
|
142: TypePointer Function 70(fvec4)
|
|
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 33 12
|
|
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 146 71 18 141 12 17 23
|
|
148: TypeArray 59(float) 22
|
|
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 61 22
|
|
150(gl_PerVertex): TypeStruct 70(fvec4) 59(float) 148 148
|
|
153: 7(int) Constant 23
|
|
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 71 18 24 153 12 12 13
|
|
156: 7(int) Constant 41
|
|
154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 61 18 24 156 12 12 13
|
|
159: 7(int) Constant 84
|
|
157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 24 159 12 12 13
|
|
160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 24 159 12 12 13
|
|
161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 22 18 141 12 21 162 12 13 151 154 157 160
|
|
163: TypeArray 150(gl_PerVertex) 13
|
|
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 161 13
|
|
165: TypePointer Input 163
|
|
166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 22 12
|
|
167(gl_in): 165(ptr) Variable Input
|
|
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 169 164 18 141 12 21 169 167(gl_in) 69
|
|
171: TypePointer Input 70(fvec4)
|
|
172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 22 12
|
|
176: 7(int) Constant 55
|
|
178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 71 18 176 12 17 23
|
|
187: 7(int) Constant 57
|
|
188: TypePointer Function 62(fvec3)
|
|
189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 33 12
|
|
191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 192 63 18 187 12 17 23
|
|
197: 29(int) Constant 2
|
|
198: TypePointer Uniform 70(fvec4)
|
|
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 24 12
|
|
208: 7(int) Constant 58
|
|
209(outLightVec): 64(ptr) Variable Output
|
|
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 211 63 18 208 12 21 211 209(outLightVec) 69
|
|
217: 7(int) Constant 59
|
|
218(outViewVec): 64(ptr) Variable Output
|
|
219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 220 63 18 217 12 21 220 218(outViewVec) 69
|
|
225: 7(int) Constant 61
|
|
226(gl_PerVertex): TypeStruct 70(fvec4) 59(float) 148 148
|
|
228: 7(int) Constant 215
|
|
227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 71 18 24 228 12 12 13
|
|
230: 7(int) Constant 233
|
|
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 61 18 24 230 12 12 13
|
|
231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 13 33 12 12 13
|
|
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 13 33 12 12 13
|
|
233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 22 18 225 12 21 162 12 13 227 229 231 232
|
|
234: TypePointer Output 226(gl_PerVertex)
|
|
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 233 13 12
|
|
236: 234(ptr) Variable Output
|
|
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 233 18 225 12 21 1 236 69
|
|
243: TypePointer Output 70(fvec4)
|
|
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 13 12
|
|
247: 7(int) Constant 64
|
|
248: TypePointer Output 29(int)
|
|
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 13 12
|
|
250(gl_ViewportIndex): 248(ptr) Variable Output
|
|
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 252 31 18 247 12 21 252 250(gl_ViewportIndex) 69
|
|
255: 7(int) Constant 65
|
|
256(gl_PrimitiveID): 248(ptr) Variable Output
|
|
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 31 18 255 12 21 258 256(gl_PrimitiveID) 69
|
|
259(gl_PrimitiveIDIn): 97(ptr) Variable Input
|
|
260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 261 31 18 255 12 21 261 259(gl_PrimitiveIDIn) 69
|
|
264: 7(int) Constant 66
|
|
271: 7(int) Constant 68
|
|
Line 1 47 15
|
|
14(main): 4 Function None 5
|
|
15: Label
|
|
35(i): 32(ptr) Variable Function
|
|
144(pos): 142(ptr) Variable Function
|
|
177(worldPos): 142(ptr) Variable Function
|
|
190(lPos): 188(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
|
|
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 36 35(i) 39
|
|
Store 35(i) 40
|
|
Branch 41
|
|
41: Label
|
|
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
|
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
|
LoopMerge 43 44 None
|
|
Branch 47
|
|
47: Label
|
|
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
|
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
|
50: 29(int) Load 35(i)
|
|
55: 52(bool) SLessThan 50 51
|
|
BranchConditional 55 42 43
|
|
42: Label
|
|
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
|
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 58 58 12 12
|
|
102: 29(int) Load 99(gl_InvocationID)
|
|
105: 103(ptr) AccessChain 93(ubo) 96 102
|
|
106: 72 Load 105
|
|
109: 70(fvec4) CompositeExtract 106 0
|
|
110: 62(fvec3) VectorShuffle 109 109 0 1 2
|
|
111: 70(fvec4) CompositeExtract 106 1
|
|
112: 62(fvec3) VectorShuffle 111 111 0 1 2
|
|
113: 70(fvec4) CompositeExtract 106 2
|
|
114: 62(fvec3) VectorShuffle 113 113 0 1 2
|
|
115: 107 CompositeConstruct 110 112 114
|
|
123: 29(int) Load 35(i)
|
|
126: 124(ptr) AccessChain 120(inNormal) 123
|
|
127: 62(fvec3) Load 126
|
|
128: 62(fvec3) MatrixTimesVector 115 127
|
|
Store 66(outNormal) 128
|
|
129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 130 130 12 12
|
|
137: 29(int) Load 35(i)
|
|
138: 124(ptr) AccessChain 134(inColor) 137
|
|
139: 62(fvec3) Load 138
|
|
Store 131(outColor) 139
|
|
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 141 141 12 12
|
|
147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 145 144(pos) 39
|
|
170: 29(int) Load 35(i)
|
|
173: 171(ptr) AccessChain 167(gl_in) 170 40
|
|
174: 70(fvec4) Load 173
|
|
Store 144(pos) 174
|
|
175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 176 176 12 12
|
|
180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 178 177(worldPos) 39
|
|
181: 29(int) Load 99(gl_InvocationID)
|
|
182: 103(ptr) AccessChain 93(ubo) 96 181
|
|
183: 72 Load 182
|
|
184: 70(fvec4) Load 144(pos)
|
|
185: 70(fvec4) MatrixTimesVector 183 184
|
|
Store 177(worldPos) 185
|
|
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 187 187 12 12
|
|
193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 191 190(lPos) 39
|
|
194: 29(int) Load 99(gl_InvocationID)
|
|
195: 103(ptr) AccessChain 93(ubo) 96 194
|
|
196: 72 Load 195
|
|
200: 198(ptr) AccessChain 93(ubo) 197
|
|
201: 70(fvec4) Load 200
|
|
202: 70(fvec4) MatrixTimesVector 196 201
|
|
203: 59(float) CompositeExtract 202 0
|
|
204: 59(float) CompositeExtract 202 1
|
|
205: 59(float) CompositeExtract 202 2
|
|
206: 62(fvec3) CompositeConstruct 203 204 205
|
|
Store 190(lPos) 206
|
|
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 208 208 12 12
|
|
212: 62(fvec3) Load 190(lPos)
|
|
213: 70(fvec4) Load 177(worldPos)
|
|
214: 62(fvec3) VectorShuffle 213 213 0 1 2
|
|
215: 62(fvec3) FSub 212 214
|
|
Store 209(outLightVec) 215
|
|
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 217 217 12 12
|
|
221: 70(fvec4) Load 177(worldPos)
|
|
222: 62(fvec3) VectorShuffle 221 221 0 1 2
|
|
223: 62(fvec3) FNegate 222
|
|
Store 218(outViewVec) 223
|
|
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12
|
|
238: 29(int) Load 99(gl_InvocationID)
|
|
239: 103(ptr) AccessChain 93(ubo) 40 238
|
|
240: 72 Load 239
|
|
241: 70(fvec4) Load 177(worldPos)
|
|
242: 70(fvec4) MatrixTimesVector 240 241
|
|
245: 243(ptr) AccessChain 236 40
|
|
Store 245 242
|
|
246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 247 247 12 12
|
|
253: 29(int) Load 99(gl_InvocationID)
|
|
Store 250(gl_ViewportIndex) 253
|
|
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 255 255 12 12
|
|
262: 29(int) Load 259(gl_PrimitiveIDIn)
|
|
Store 256(gl_PrimitiveID) 262
|
|
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 264 264 12 12
|
|
EmitVertex
|
|
Branch 44
|
|
44: Label
|
|
265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
|
266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
|
267: 29(int) Load 35(i)
|
|
268: 29(int) IAdd 267 96
|
|
Store 35(i) 268
|
|
Branch 41
|
|
43: Label
|
|
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
|
270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 271 271 12 12
|
|
EndPrimitive
|
|
Return
|
|
FunctionEnd
|