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