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