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,21 +1,21 @@
|
|||
spv.debuginfo.glsl.tese
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 332
|
||||
// Id's are bound by 333
|
||||
|
||||
Capability Tessellation
|
||||
Extension "SPV_KHR_non_semantic_info"
|
||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
3: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint TessellationEvaluation 14 "main" 42 59 86 105 133 169 280 294 302 314 321
|
||||
EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 281 295 303 315 322
|
||||
ExecutionMode 14 Quads
|
||||
ExecutionMode 14 SpacingEqual
|
||||
ExecutionMode 14 VertexOrderCw
|
||||
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
|
||||
|
|
@ -23,118 +23,118 @@ spv.debuginfo.glsl.tese
|
|||
// OpModuleProcessed entry-point main
|
||||
#line 1
|
||||
"
|
||||
29: String "float"
|
||||
36: String "uv1"
|
||||
44: String "inUV"
|
||||
47: String "int"
|
||||
61: String "gl_TessCoord"
|
||||
71: String "uv2"
|
||||
88: String "outUV"
|
||||
100: String "n1"
|
||||
107: String "inNormal"
|
||||
120: String "n2"
|
||||
135: String "outNormal"
|
||||
149: String "pos1"
|
||||
155: String "gl_Position"
|
||||
158: String "gl_PointSize"
|
||||
161: String "gl_CullDistance"
|
||||
165: String "gl_PerVertex"
|
||||
171: String "gl_in"
|
||||
185: String "pos2"
|
||||
199: String "pos"
|
||||
211: String "type.2d.image"
|
||||
212: String "@type.2d.image"
|
||||
216: String "type.sampled.image"
|
||||
217: String "@type.sampled.image"
|
||||
221: String "displacementMap"
|
||||
235: String "modelview"
|
||||
240: String "lightPos"
|
||||
243: String "frustumPlanes"
|
||||
245: String "tessellatedEdgeSize"
|
||||
249: String "viewportDim"
|
||||
253: String "UBO"
|
||||
257: String "ubo"
|
||||
296: String "outViewVec"
|
||||
304: String "outLightVec"
|
||||
316: String "outWorldPos"
|
||||
323: String "outEyePos"
|
||||
30: String "float"
|
||||
37: String "uv1"
|
||||
45: String "inUV"
|
||||
48: String "int"
|
||||
62: String "gl_TessCoord"
|
||||
72: String "uv2"
|
||||
89: String "outUV"
|
||||
101: String "n1"
|
||||
108: String "inNormal"
|
||||
121: String "n2"
|
||||
136: String "outNormal"
|
||||
150: String "pos1"
|
||||
156: String "gl_Position"
|
||||
159: String "gl_PointSize"
|
||||
162: String "gl_CullDistance"
|
||||
166: String "gl_PerVertex"
|
||||
172: String "gl_in"
|
||||
186: String "pos2"
|
||||
200: String "pos"
|
||||
212: String "type.2d.image"
|
||||
213: String "@type.2d.image"
|
||||
217: String "type.sampled.image"
|
||||
218: String "@type.sampled.image"
|
||||
222: String "displacementMap"
|
||||
236: String "modelview"
|
||||
241: String "lightPos"
|
||||
244: String "frustumPlanes"
|
||||
246: String "tessellatedEdgeSize"
|
||||
250: String "viewportDim"
|
||||
254: String "UBO"
|
||||
258: String "ubo"
|
||||
297: String "outViewVec"
|
||||
305: String "outLightVec"
|
||||
317: String "outWorldPos"
|
||||
324: String "outEyePos"
|
||||
Name 14 "main"
|
||||
Name 34 "uv1"
|
||||
Name 42 "inUV"
|
||||
Name 59 "gl_TessCoord"
|
||||
Name 69 "uv2"
|
||||
Name 86 "outUV"
|
||||
Name 98 "n1"
|
||||
Name 105 "inNormal"
|
||||
Name 118 "n2"
|
||||
Name 133 "outNormal"
|
||||
Name 147 "pos1"
|
||||
Name 153 "gl_PerVertex"
|
||||
MemberName 153(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 153(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 153(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 153(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 169 "gl_in"
|
||||
Name 183 "pos2"
|
||||
Name 197 "pos"
|
||||
Name 219 "displacementMap"
|
||||
Name 233 "UBO"
|
||||
MemberName 233(UBO) 0 "projection"
|
||||
MemberName 233(UBO) 1 "modelview"
|
||||
MemberName 233(UBO) 2 "lightPos"
|
||||
MemberName 233(UBO) 3 "frustumPlanes"
|
||||
MemberName 233(UBO) 4 "displacementFactor"
|
||||
MemberName 233(UBO) 5 "tessellationFactor"
|
||||
MemberName 233(UBO) 6 "viewportDim"
|
||||
MemberName 233(UBO) 7 "tessellatedEdgeSize"
|
||||
Name 255 "ubo"
|
||||
Name 270 "gl_PerVertex"
|
||||
MemberName 270(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 270(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 270(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 270(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 280 ""
|
||||
Name 294 "outViewVec"
|
||||
Name 302 "outLightVec"
|
||||
Name 314 "outWorldPos"
|
||||
Name 321 "outEyePos"
|
||||
Decorate 42(inUV) Location 1
|
||||
Decorate 59(gl_TessCoord) BuiltIn TessCoord
|
||||
Decorate 86(outUV) Location 1
|
||||
Decorate 105(inNormal) Location 0
|
||||
Decorate 133(outNormal) Location 0
|
||||
MemberDecorate 153(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 153(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 153(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 153(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 153(gl_PerVertex) Block
|
||||
Decorate 219(displacementMap) DescriptorSet 0
|
||||
Decorate 219(displacementMap) Binding 1
|
||||
Decorate 231 ArrayStride 16
|
||||
MemberDecorate 233(UBO) 0 ColMajor
|
||||
MemberDecorate 233(UBO) 0 Offset 0
|
||||
MemberDecorate 233(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 233(UBO) 1 ColMajor
|
||||
MemberDecorate 233(UBO) 1 Offset 64
|
||||
MemberDecorate 233(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 233(UBO) 2 Offset 128
|
||||
MemberDecorate 233(UBO) 3 Offset 144
|
||||
MemberDecorate 233(UBO) 4 Offset 240
|
||||
MemberDecorate 233(UBO) 5 Offset 244
|
||||
MemberDecorate 233(UBO) 6 Offset 248
|
||||
MemberDecorate 233(UBO) 7 Offset 256
|
||||
Decorate 233(UBO) Block
|
||||
Decorate 255(ubo) DescriptorSet 0
|
||||
Decorate 255(ubo) Binding 0
|
||||
MemberDecorate 270(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 270(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 270(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 270(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 270(gl_PerVertex) Block
|
||||
Decorate 294(outViewVec) Location 2
|
||||
Decorate 302(outLightVec) Location 3
|
||||
Decorate 314(outWorldPos) Location 5
|
||||
Decorate 321(outEyePos) Location 4
|
||||
Name 35 "uv1"
|
||||
Name 43 "inUV"
|
||||
Name 60 "gl_TessCoord"
|
||||
Name 70 "uv2"
|
||||
Name 87 "outUV"
|
||||
Name 99 "n1"
|
||||
Name 106 "inNormal"
|
||||
Name 119 "n2"
|
||||
Name 134 "outNormal"
|
||||
Name 148 "pos1"
|
||||
Name 154 "gl_PerVertex"
|
||||
MemberName 154(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 154(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 154(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 154(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 170 "gl_in"
|
||||
Name 184 "pos2"
|
||||
Name 198 "pos"
|
||||
Name 220 "displacementMap"
|
||||
Name 234 "UBO"
|
||||
MemberName 234(UBO) 0 "projection"
|
||||
MemberName 234(UBO) 1 "modelview"
|
||||
MemberName 234(UBO) 2 "lightPos"
|
||||
MemberName 234(UBO) 3 "frustumPlanes"
|
||||
MemberName 234(UBO) 4 "displacementFactor"
|
||||
MemberName 234(UBO) 5 "tessellationFactor"
|
||||
MemberName 234(UBO) 6 "viewportDim"
|
||||
MemberName 234(UBO) 7 "tessellatedEdgeSize"
|
||||
Name 256 "ubo"
|
||||
Name 271 "gl_PerVertex"
|
||||
MemberName 271(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 271(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 271(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 271(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 281 ""
|
||||
Name 295 "outViewVec"
|
||||
Name 303 "outLightVec"
|
||||
Name 315 "outWorldPos"
|
||||
Name 322 "outEyePos"
|
||||
Decorate 43(inUV) Location 1
|
||||
Decorate 60(gl_TessCoord) BuiltIn TessCoord
|
||||
Decorate 87(outUV) Location 1
|
||||
Decorate 106(inNormal) Location 0
|
||||
Decorate 134(outNormal) Location 0
|
||||
MemberDecorate 154(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 154(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 154(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 154(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 154(gl_PerVertex) Block
|
||||
Decorate 220(displacementMap) DescriptorSet 0
|
||||
Decorate 220(displacementMap) Binding 1
|
||||
Decorate 232 ArrayStride 16
|
||||
MemberDecorate 234(UBO) 0 ColMajor
|
||||
MemberDecorate 234(UBO) 0 Offset 0
|
||||
MemberDecorate 234(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 234(UBO) 1 ColMajor
|
||||
MemberDecorate 234(UBO) 1 Offset 64
|
||||
MemberDecorate 234(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 234(UBO) 2 Offset 128
|
||||
MemberDecorate 234(UBO) 3 Offset 144
|
||||
MemberDecorate 234(UBO) 4 Offset 240
|
||||
MemberDecorate 234(UBO) 5 Offset 244
|
||||
MemberDecorate 234(UBO) 6 Offset 248
|
||||
MemberDecorate 234(UBO) 7 Offset 256
|
||||
Decorate 234(UBO) Block
|
||||
Decorate 256(ubo) DescriptorSet 0
|
||||
Decorate 256(ubo) Binding 0
|
||||
MemberDecorate 271(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 271(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 271(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 271(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 271(gl_PerVertex) Block
|
||||
Decorate 295(outViewVec) Location 2
|
||||
Decorate 303(outLightVec) Location 3
|
||||
Decorate 315(outWorldPos) Location 5
|
||||
Decorate 322(outEyePos) Location 4
|
||||
4: TypeVoid
|
||||
5: TypeFunction 4
|
||||
7: TypeInt 32 0
|
||||
|
|
@ -144,302 +144,303 @@ spv.debuginfo.glsl.tese
|
|||
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 56
|
||||
28: TypeFloat 32
|
||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 13 12
|
||||
31: TypeVector 28(float) 2
|
||||
32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 22
|
||||
33: TypePointer Function 31(fvec2)
|
||||
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 36 32 17 27 12 16 21
|
||||
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
39: TypeArray 31(fvec2) 10
|
||||
40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 32 10
|
||||
41: TypePointer Input 39
|
||||
42(inUV): 41(ptr) Variable Input
|
||||
45: 7(int) Constant 8
|
||||
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 44 40 17 27 12 19 44 42(inUV) 45
|
||||
46: TypeInt 32 1
|
||||
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 21 12
|
||||
49: 46(int) Constant 0
|
||||
50: TypePointer Input 31(fvec2)
|
||||
53: 46(int) Constant 1
|
||||
56: TypeVector 28(float) 3
|
||||
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 13
|
||||
58: TypePointer Input 56(fvec3)
|
||||
59(gl_TessCoord): 58(ptr) Variable Input
|
||||
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 61 57 17 27 12 19 61 59(gl_TessCoord) 45
|
||||
62: TypePointer Input 28(float)
|
||||
68: 7(int) Constant 57
|
||||
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 71 32 17 68 12 16 21
|
||||
73: 46(int) Constant 3
|
||||
76: 46(int) Constant 2
|
||||
84: 7(int) Constant 58
|
||||
85: TypePointer Output 31(fvec2)
|
||||
86(outUV): 85(ptr) Variable Output
|
||||
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 88 32 17 84 12 19 88 86(outUV) 45
|
||||
96: 7(int) Constant 60
|
||||
97: TypePointer Function 56(fvec3)
|
||||
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 100 57 17 96 12 16 21
|
||||
102: TypeArray 56(fvec3) 10
|
||||
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 57 10
|
||||
104: TypePointer Input 102
|
||||
105(inNormal): 104(ptr) Variable Input
|
||||
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 107 103 17 96 12 19 107 105(inNormal) 45
|
||||
117: 7(int) Constant 61
|
||||
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 57 17 117 12 16 21
|
||||
131: 7(int) Constant 62
|
||||
132: TypePointer Output 56(fvec3)
|
||||
133(outNormal): 132(ptr) Variable Output
|
||||
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 135 57 17 131 12 19 135 133(outNormal) 45
|
||||
143: 7(int) Constant 65
|
||||
144: TypeVector 28(float) 4
|
||||
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 21
|
||||
146: TypePointer Function 144(fvec4)
|
||||
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 149 145 17 143 12 16 21
|
||||
151: TypeArray 28(float) 20
|
||||
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 30 20
|
||||
153(gl_PerVertex): TypeStruct 144(fvec4) 28(float) 151 151
|
||||
156: 7(int) Constant 1756
|
||||
154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 145 17 20 156 12 12 13
|
||||
159: 7(int) Constant 1774
|
||||
157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 30 17 20 159 12 12 13
|
||||
162: 7(int) Constant 1817
|
||||
160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 162 12 12 13
|
||||
163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 162 12 12 13
|
||||
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 20 17 143 12 19 165 12 13 154 157 160 163
|
||||
166: TypeArray 153(gl_PerVertex) 10
|
||||
167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 164 10
|
||||
168: TypePointer Input 166
|
||||
169(gl_in): 168(ptr) Variable Input
|
||||
170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 171 167 17 143 12 19 171 169(gl_in) 45
|
||||
172: TypePointer Input 144(fvec4)
|
||||
182: 7(int) Constant 66
|
||||
184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 185 145 17 182 12 16 21
|
||||
196: 7(int) Constant 67
|
||||
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 199 145 17 196 12 16 21
|
||||
208: 7(int) Constant 69
|
||||
209: TypeImage 28(float) 2D sampled format:Unknown
|
||||
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
||||
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 211 12 17 208 12 19 212 213 13
|
||||
214: TypeSampledImage 209
|
||||
215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 216 12 17 208 12 19 217 213 13
|
||||
218: TypePointer UniformConstant 214
|
||||
219(displacementMap): 218(ptr) Variable UniformConstant
|
||||
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 221 215 17 208 12 19 221 219(displacementMap) 45
|
||||
224: 28(float) Constant 0
|
||||
227: TypeMatrix 144(fvec4) 4
|
||||
229: TypeBool
|
||||
230: 229(bool) ConstantTrue
|
||||
228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 145 21 230
|
||||
231: TypeArray 144(fvec4) 11
|
||||
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 145 11
|
||||
233(UBO): TypeStruct 227 227 144(fvec4) 231 28(float) 28(float) 31(fvec2) 28(float)
|
||||
236: 7(int) Constant 30
|
||||
237: 7(int) Constant 7
|
||||
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 228 17 236 237 12 12 13
|
||||
238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 228 17 236 237 12 12 13
|
||||
241: 7(int) Constant 31
|
||||
239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 240 145 17 241 237 12 12 13
|
||||
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 232 17 10 237 12 12 13
|
||||
246: 7(int) Constant 36
|
||||
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13
|
||||
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13
|
||||
250: 7(int) Constant 35
|
||||
248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 249 32 17 250 237 12 12 13
|
||||
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13
|
||||
252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 253 20 17 208 12 19 253 12 13 234 238 239 242 244 247 248 251
|
||||
254: TypePointer Uniform 233(UBO)
|
||||
255(ubo): 254(ptr) Variable Uniform
|
||||
256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 257 252 17 208 12 19 257 255(ubo) 45
|
||||
258: 46(int) Constant 4
|
||||
259: TypePointer Uniform 28(float)
|
||||
263: TypePointer Function 28(float)
|
||||
269: 7(int) Constant 71
|
||||
270(gl_PerVertex): TypeStruct 144(fvec4) 28(float) 151 151
|
||||
272: 7(int) Constant 165
|
||||
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 145 17 20 272 12 12 13
|
||||
274: 7(int) Constant 183
|
||||
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 30 17 20 274 12 12 13
|
||||
276: 7(int) Constant 226
|
||||
275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 276 12 12 13
|
||||
277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 276 12 12 13
|
||||
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 20 17 269 12 19 165 12 13 271 273 275 277
|
||||
279: TypePointer Output 270(gl_PerVertex)
|
||||
280: 279(ptr) Variable Output
|
||||
281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 278 17 269 12 19 1 280 45
|
||||
282: TypePointer Uniform 227
|
||||
290: TypePointer Output 144(fvec4)
|
||||
293: 7(int) Constant 74
|
||||
294(outViewVec): 132(ptr) Variable Output
|
||||
295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 296 57 17 293 12 19 296 294(outViewVec) 45
|
||||
301: 7(int) Constant 75
|
||||
302(outLightVec): 132(ptr) Variable Output
|
||||
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 304 57 17 301 12 19 304 302(outLightVec) 45
|
||||
305: TypePointer Uniform 144(fvec4)
|
||||
313: 7(int) Constant 76
|
||||
314(outWorldPos): 132(ptr) Variable Output
|
||||
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 316 57 17 313 12 19 316 314(outWorldPos) 45
|
||||
320: 7(int) Constant 77
|
||||
321(outEyePos): 132(ptr) Variable Output
|
||||
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 323 57 17 320 12 19 323 321(outEyePos) 45
|
||||
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
|
||||
20: 7(int) Constant 53
|
||||
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) 2
|
||||
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24
|
||||
34: TypePointer Function 32(fvec2)
|
||||
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 37 33 18 28 12 17 23
|
||||
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
40: TypeArray 32(fvec2) 10
|
||||
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 33 10
|
||||
42: TypePointer Input 40
|
||||
43(inUV): 42(ptr) Variable Input
|
||||
46: 7(int) Constant 8
|
||||
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 45 41 18 28 12 21 45 43(inUV) 46
|
||||
47: TypeInt 32 1
|
||||
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 23 12
|
||||
50: 47(int) Constant 0
|
||||
51: TypePointer Input 32(fvec2)
|
||||
54: 47(int) Constant 1
|
||||
57: TypeVector 29(float) 3
|
||||
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13
|
||||
59: TypePointer Input 57(fvec3)
|
||||
60(gl_TessCoord): 59(ptr) Variable Input
|
||||
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 28 12 21 62 60(gl_TessCoord) 46
|
||||
63: TypePointer Input 29(float)
|
||||
69: 7(int) Constant 57
|
||||
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 72 33 18 69 12 17 23
|
||||
74: 47(int) Constant 3
|
||||
77: 47(int) Constant 2
|
||||
85: 7(int) Constant 58
|
||||
86: TypePointer Output 32(fvec2)
|
||||
87(outUV): 86(ptr) Variable Output
|
||||
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 89 33 18 85 12 21 89 87(outUV) 46
|
||||
97: 7(int) Constant 60
|
||||
98: TypePointer Function 57(fvec3)
|
||||
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 101 58 18 97 12 17 23
|
||||
103: TypeArray 57(fvec3) 10
|
||||
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 58 10
|
||||
105: TypePointer Input 103
|
||||
106(inNormal): 105(ptr) Variable Input
|
||||
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 104 18 97 12 21 108 106(inNormal) 46
|
||||
118: 7(int) Constant 61
|
||||
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 58 18 118 12 17 23
|
||||
132: 7(int) Constant 62
|
||||
133: TypePointer Output 57(fvec3)
|
||||
134(outNormal): 133(ptr) Variable Output
|
||||
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 58 18 132 12 21 136 134(outNormal) 46
|
||||
144: 7(int) Constant 65
|
||||
145: TypeVector 29(float) 4
|
||||
146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
|
||||
147: TypePointer Function 145(fvec4)
|
||||
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 150 146 18 144 12 17 23
|
||||
152: TypeArray 29(float) 22
|
||||
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
|
||||
154(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152
|
||||
157: 7(int) Constant 1756
|
||||
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 157 12 12 13
|
||||
160: 7(int) Constant 1774
|
||||
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 160 12 12 13
|
||||
163: 7(int) Constant 1817
|
||||
161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13
|
||||
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13
|
||||
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 144 12 21 166 12 13 155 158 161 164
|
||||
167: TypeArray 154(gl_PerVertex) 10
|
||||
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 165 10
|
||||
169: TypePointer Input 167
|
||||
170(gl_in): 169(ptr) Variable Input
|
||||
171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 172 168 18 144 12 21 172 170(gl_in) 46
|
||||
173: TypePointer Input 145(fvec4)
|
||||
183: 7(int) Constant 66
|
||||
185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 186 146 18 183 12 17 23
|
||||
197: 7(int) Constant 67
|
||||
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 200 146 18 197 12 17 23
|
||||
209: 7(int) Constant 69
|
||||
210: TypeImage 29(float) 2D sampled format:Unknown
|
||||
214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
||||
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 212 12 18 209 12 21 213 214 13
|
||||
215: TypeSampledImage 210
|
||||
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 217 12 18 209 12 21 218 214 13
|
||||
219: TypePointer UniformConstant 215
|
||||
220(displacementMap): 219(ptr) Variable UniformConstant
|
||||
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 222 216 18 209 12 21 222 220(displacementMap) 46
|
||||
225: 29(float) Constant 0
|
||||
228: TypeMatrix 145(fvec4) 4
|
||||
230: TypeBool
|
||||
231: 230(bool) ConstantTrue
|
||||
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 231
|
||||
232: TypeArray 145(fvec4) 11
|
||||
233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11
|
||||
234(UBO): TypeStruct 228 228 145(fvec4) 232 29(float) 29(float) 32(fvec2) 29(float)
|
||||
237: 7(int) Constant 30
|
||||
238: 7(int) Constant 7
|
||||
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13
|
||||
239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13
|
||||
242: 7(int) Constant 31
|
||||
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 146 18 242 238 12 12 13
|
||||
243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 233 18 10 238 12 12 13
|
||||
247: 7(int) Constant 36
|
||||
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13
|
||||
248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13
|
||||
251: 7(int) Constant 35
|
||||
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 33 18 251 238 12 12 13
|
||||
252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13
|
||||
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 254 22 18 209 12 21 254 12 13 235 239 240 243 245 248 249 252
|
||||
255: TypePointer Uniform 234(UBO)
|
||||
256(ubo): 255(ptr) Variable Uniform
|
||||
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 253 18 209 12 21 258 256(ubo) 46
|
||||
259: 47(int) Constant 4
|
||||
260: TypePointer Uniform 29(float)
|
||||
264: TypePointer Function 29(float)
|
||||
270: 7(int) Constant 71
|
||||
271(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152
|
||||
273: 7(int) Constant 165
|
||||
272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 273 12 12 13
|
||||
275: 7(int) Constant 183
|
||||
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 275 12 12 13
|
||||
277: 7(int) Constant 226
|
||||
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13
|
||||
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13
|
||||
279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 270 12 21 166 12 13 272 274 276 278
|
||||
280: TypePointer Output 271(gl_PerVertex)
|
||||
281: 280(ptr) Variable Output
|
||||
282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 279 18 270 12 21 1 281 46
|
||||
283: TypePointer Uniform 228
|
||||
291: TypePointer Output 145(fvec4)
|
||||
294: 7(int) Constant 74
|
||||
295(outViewVec): 133(ptr) Variable Output
|
||||
296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 58 18 294 12 21 297 295(outViewVec) 46
|
||||
302: 7(int) Constant 75
|
||||
303(outLightVec): 133(ptr) Variable Output
|
||||
304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 305 58 18 302 12 21 305 303(outLightVec) 46
|
||||
306: TypePointer Uniform 145(fvec4)
|
||||
314: 7(int) Constant 76
|
||||
315(outWorldPos): 133(ptr) Variable Output
|
||||
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 58 18 314 12 21 317 315(outWorldPos) 46
|
||||
321: 7(int) Constant 77
|
||||
322(outEyePos): 133(ptr) Variable Output
|
||||
323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 324 58 18 321 12 21 324 322(outEyePos) 46
|
||||
Line 1 53 11
|
||||
14(main): 4 Function None 5
|
||||
23: Label
|
||||
34(uv1): 33(ptr) Variable Function
|
||||
69(uv2): 33(ptr) Variable Function
|
||||
98(n1): 97(ptr) Variable Function
|
||||
118(n2): 97(ptr) Variable Function
|
||||
147(pos1): 146(ptr) Variable Function
|
||||
183(pos2): 146(ptr) Variable Function
|
||||
197(pos): 146(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
|
||||
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 35 34(uv1) 38
|
||||
51: 50(ptr) AccessChain 42(inUV) 49
|
||||
52: 31(fvec2) Load 51
|
||||
54: 50(ptr) AccessChain 42(inUV) 53
|
||||
55: 31(fvec2) Load 54
|
||||
63: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
64: 28(float) Load 63
|
||||
65: 31(fvec2) CompositeConstruct 64 64
|
||||
66: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 52 55 65
|
||||
Store 34(uv1) 66
|
||||
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 68 68 12 12
|
||||
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 70 69(uv2) 38
|
||||
74: 50(ptr) AccessChain 42(inUV) 73
|
||||
75: 31(fvec2) Load 74
|
||||
77: 50(ptr) AccessChain 42(inUV) 76
|
||||
78: 31(fvec2) Load 77
|
||||
79: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
80: 28(float) Load 79
|
||||
81: 31(fvec2) CompositeConstruct 80 80
|
||||
82: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 75 78 81
|
||||
Store 69(uv2) 82
|
||||
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 84 84 12 12
|
||||
89: 31(fvec2) Load 34(uv1)
|
||||
90: 31(fvec2) Load 69(uv2)
|
||||
91: 62(ptr) AccessChain 59(gl_TessCoord) 20
|
||||
92: 28(float) Load 91
|
||||
93: 31(fvec2) CompositeConstruct 92 92
|
||||
94: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 89 90 93
|
||||
Store 86(outUV) 94
|
||||
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 96 96 12 12
|
||||
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 99 98(n1) 38
|
||||
108: 58(ptr) AccessChain 105(inNormal) 49
|
||||
109: 56(fvec3) Load 108
|
||||
110: 58(ptr) AccessChain 105(inNormal) 53
|
||||
111: 56(fvec3) Load 110
|
||||
112: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
113: 28(float) Load 112
|
||||
114: 56(fvec3) CompositeConstruct 113 113 113
|
||||
115: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 109 111 114
|
||||
Store 98(n1) 115
|
||||
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 117 117 12 12
|
||||
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(n2) 38
|
||||
122: 58(ptr) AccessChain 105(inNormal) 73
|
||||
123: 56(fvec3) Load 122
|
||||
124: 58(ptr) AccessChain 105(inNormal) 76
|
||||
125: 56(fvec3) Load 124
|
||||
126: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
127: 28(float) Load 126
|
||||
128: 56(fvec3) CompositeConstruct 127 127 127
|
||||
129: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 123 125 128
|
||||
Store 118(n2) 129
|
||||
130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 131 131 12 12
|
||||
136: 56(fvec3) Load 98(n1)
|
||||
137: 56(fvec3) Load 118(n2)
|
||||
138: 62(ptr) AccessChain 59(gl_TessCoord) 20
|
||||
139: 28(float) Load 138
|
||||
140: 56(fvec3) CompositeConstruct 139 139 139
|
||||
141: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 136 137 140
|
||||
Store 133(outNormal) 141
|
||||
142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 143 143 12 12
|
||||
150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 148 147(pos1) 38
|
||||
173: 172(ptr) AccessChain 169(gl_in) 49 49
|
||||
174: 144(fvec4) Load 173
|
||||
175: 172(ptr) AccessChain 169(gl_in) 53 49
|
||||
176: 144(fvec4) Load 175
|
||||
177: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
178: 28(float) Load 177
|
||||
179: 144(fvec4) CompositeConstruct 178 178 178 178
|
||||
180: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 174 176 179
|
||||
Store 147(pos1) 180
|
||||
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 182 182 12 12
|
||||
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 184 183(pos2) 38
|
||||
187: 172(ptr) AccessChain 169(gl_in) 73 49
|
||||
188: 144(fvec4) Load 187
|
||||
189: 172(ptr) AccessChain 169(gl_in) 76 49
|
||||
190: 144(fvec4) Load 189
|
||||
191: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
192: 28(float) Load 191
|
||||
193: 144(fvec4) CompositeConstruct 192 192 192 192
|
||||
194: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 188 190 193
|
||||
Store 183(pos2) 194
|
||||
195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 196 196 12 12
|
||||
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 198 197(pos) 38
|
||||
201: 144(fvec4) Load 147(pos1)
|
||||
202: 144(fvec4) Load 183(pos2)
|
||||
203: 62(ptr) AccessChain 59(gl_TessCoord) 20
|
||||
204: 28(float) Load 203
|
||||
205: 144(fvec4) CompositeConstruct 204 204 204 204
|
||||
206: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 201 202 205
|
||||
Store 197(pos) 206
|
||||
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 208 208 12 12
|
||||
222: 214 Load 219(displacementMap)
|
||||
223: 31(fvec2) Load 86(outUV)
|
||||
225: 144(fvec4) ImageSampleExplicitLod 222 223 Lod 224
|
||||
226: 28(float) CompositeExtract 225 0
|
||||
260: 259(ptr) AccessChain 255(ubo) 258
|
||||
261: 28(float) Load 260
|
||||
262: 28(float) FMul 226 261
|
||||
264: 263(ptr) AccessChain 197(pos) 20
|
||||
265: 28(float) Load 264
|
||||
266: 28(float) FSub 265 262
|
||||
267: 263(ptr) AccessChain 197(pos) 20
|
||||
Store 267 266
|
||||
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 269 269 12 12
|
||||
283: 282(ptr) AccessChain 255(ubo) 49
|
||||
284: 227 Load 283
|
||||
285: 282(ptr) AccessChain 255(ubo) 53
|
||||
286: 227 Load 285
|
||||
287: 227 MatrixTimesMatrix 284 286
|
||||
288: 144(fvec4) Load 197(pos)
|
||||
289: 144(fvec4) MatrixTimesVector 287 288
|
||||
291: 290(ptr) AccessChain 280 49
|
||||
Store 291 289
|
||||
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 293 293 12 12
|
||||
297: 144(fvec4) Load 197(pos)
|
||||
298: 56(fvec3) VectorShuffle 297 297 0 1 2
|
||||
299: 56(fvec3) FNegate 298
|
||||
Store 294(outViewVec) 299
|
||||
300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 301 301 12 12
|
||||
306: 305(ptr) AccessChain 255(ubo) 76
|
||||
307: 144(fvec4) Load 306
|
||||
308: 56(fvec3) VectorShuffle 307 307 0 1 2
|
||||
309: 56(fvec3) Load 294(outViewVec)
|
||||
310: 56(fvec3) FAdd 308 309
|
||||
311: 56(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 310
|
||||
Store 302(outLightVec) 311
|
||||
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 313 313 12 12
|
||||
317: 144(fvec4) Load 197(pos)
|
||||
318: 56(fvec3) VectorShuffle 317 317 0 1 2
|
||||
Store 314(outWorldPos) 318
|
||||
319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 320 320 12 12
|
||||
324: 282(ptr) AccessChain 255(ubo) 53
|
||||
325: 227 Load 324
|
||||
326: 144(fvec4) Load 197(pos)
|
||||
327: 144(fvec4) MatrixTimesVector 325 326
|
||||
328: 28(float) CompositeExtract 327 0
|
||||
329: 28(float) CompositeExtract 327 1
|
||||
330: 28(float) CompositeExtract 327 2
|
||||
331: 56(fvec3) CompositeConstruct 328 329 330
|
||||
Store 321(outEyePos) 331
|
||||
15: Label
|
||||
35(uv1): 34(ptr) Variable Function
|
||||
70(uv2): 34(ptr) Variable Function
|
||||
99(n1): 98(ptr) Variable Function
|
||||
119(n2): 98(ptr) Variable Function
|
||||
148(pos1): 147(ptr) Variable Function
|
||||
184(pos2): 147(ptr) Variable Function
|
||||
198(pos): 147(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(uv1) 39
|
||||
52: 51(ptr) AccessChain 43(inUV) 50
|
||||
53: 32(fvec2) Load 52
|
||||
55: 51(ptr) AccessChain 43(inUV) 54
|
||||
56: 32(fvec2) Load 55
|
||||
64: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||
65: 29(float) Load 64
|
||||
66: 32(fvec2) CompositeConstruct 65 65
|
||||
67: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 53 56 66
|
||||
Store 35(uv1) 67
|
||||
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12
|
||||
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 71 70(uv2) 39
|
||||
75: 51(ptr) AccessChain 43(inUV) 74
|
||||
76: 32(fvec2) Load 75
|
||||
78: 51(ptr) AccessChain 43(inUV) 77
|
||||
79: 32(fvec2) Load 78
|
||||
80: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||
81: 29(float) Load 80
|
||||
82: 32(fvec2) CompositeConstruct 81 81
|
||||
83: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 76 79 82
|
||||
Store 70(uv2) 83
|
||||
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 85 85 12 12
|
||||
90: 32(fvec2) Load 35(uv1)
|
||||
91: 32(fvec2) Load 70(uv2)
|
||||
92: 63(ptr) AccessChain 60(gl_TessCoord) 22
|
||||
93: 29(float) Load 92
|
||||
94: 32(fvec2) CompositeConstruct 93 93
|
||||
95: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 90 91 94
|
||||
Store 87(outUV) 95
|
||||
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 97 97 12 12
|
||||
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 100 99(n1) 39
|
||||
109: 59(ptr) AccessChain 106(inNormal) 50
|
||||
110: 57(fvec3) Load 109
|
||||
111: 59(ptr) AccessChain 106(inNormal) 54
|
||||
112: 57(fvec3) Load 111
|
||||
113: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||
114: 29(float) Load 113
|
||||
115: 57(fvec3) CompositeConstruct 114 114 114
|
||||
116: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 110 112 115
|
||||
Store 99(n1) 116
|
||||
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12
|
||||
122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(n2) 39
|
||||
123: 59(ptr) AccessChain 106(inNormal) 74
|
||||
124: 57(fvec3) Load 123
|
||||
125: 59(ptr) AccessChain 106(inNormal) 77
|
||||
126: 57(fvec3) Load 125
|
||||
127: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||
128: 29(float) Load 127
|
||||
129: 57(fvec3) CompositeConstruct 128 128 128
|
||||
130: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 124 126 129
|
||||
Store 119(n2) 130
|
||||
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 132 132 12 12
|
||||
137: 57(fvec3) Load 99(n1)
|
||||
138: 57(fvec3) Load 119(n2)
|
||||
139: 63(ptr) AccessChain 60(gl_TessCoord) 22
|
||||
140: 29(float) Load 139
|
||||
141: 57(fvec3) CompositeConstruct 140 140 140
|
||||
142: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 137 138 141
|
||||
Store 134(outNormal) 142
|
||||
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12
|
||||
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 149 148(pos1) 39
|
||||
174: 173(ptr) AccessChain 170(gl_in) 50 50
|
||||
175: 145(fvec4) Load 174
|
||||
176: 173(ptr) AccessChain 170(gl_in) 54 50
|
||||
177: 145(fvec4) Load 176
|
||||
178: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||
179: 29(float) Load 178
|
||||
180: 145(fvec4) CompositeConstruct 179 179 179 179
|
||||
181: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 175 177 180
|
||||
Store 148(pos1) 181
|
||||
182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 183 183 12 12
|
||||
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 185 184(pos2) 39
|
||||
188: 173(ptr) AccessChain 170(gl_in) 74 50
|
||||
189: 145(fvec4) Load 188
|
||||
190: 173(ptr) AccessChain 170(gl_in) 77 50
|
||||
191: 145(fvec4) Load 190
|
||||
192: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||
193: 29(float) Load 192
|
||||
194: 145(fvec4) CompositeConstruct 193 193 193 193
|
||||
195: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 189 191 194
|
||||
Store 184(pos2) 195
|
||||
196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 197 197 12 12
|
||||
201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 199 198(pos) 39
|
||||
202: 145(fvec4) Load 148(pos1)
|
||||
203: 145(fvec4) Load 184(pos2)
|
||||
204: 63(ptr) AccessChain 60(gl_TessCoord) 22
|
||||
205: 29(float) Load 204
|
||||
206: 145(fvec4) CompositeConstruct 205 205 205 205
|
||||
207: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 202 203 206
|
||||
Store 198(pos) 207
|
||||
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12
|
||||
223: 215 Load 220(displacementMap)
|
||||
224: 32(fvec2) Load 87(outUV)
|
||||
226: 145(fvec4) ImageSampleExplicitLod 223 224 Lod 225
|
||||
227: 29(float) CompositeExtract 226 0
|
||||
261: 260(ptr) AccessChain 256(ubo) 259
|
||||
262: 29(float) Load 261
|
||||
263: 29(float) FMul 227 262
|
||||
265: 264(ptr) AccessChain 198(pos) 22
|
||||
266: 29(float) Load 265
|
||||
267: 29(float) FSub 266 263
|
||||
268: 264(ptr) AccessChain 198(pos) 22
|
||||
Store 268 267
|
||||
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12
|
||||
284: 283(ptr) AccessChain 256(ubo) 50
|
||||
285: 228 Load 284
|
||||
286: 283(ptr) AccessChain 256(ubo) 54
|
||||
287: 228 Load 286
|
||||
288: 228 MatrixTimesMatrix 285 287
|
||||
289: 145(fvec4) Load 198(pos)
|
||||
290: 145(fvec4) MatrixTimesVector 288 289
|
||||
292: 291(ptr) AccessChain 281 50
|
||||
Store 292 290
|
||||
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 294 294 12 12
|
||||
298: 145(fvec4) Load 198(pos)
|
||||
299: 57(fvec3) VectorShuffle 298 298 0 1 2
|
||||
300: 57(fvec3) FNegate 299
|
||||
Store 295(outViewVec) 300
|
||||
301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 302 302 12 12
|
||||
307: 306(ptr) AccessChain 256(ubo) 77
|
||||
308: 145(fvec4) Load 307
|
||||
309: 57(fvec3) VectorShuffle 308 308 0 1 2
|
||||
310: 57(fvec3) Load 295(outViewVec)
|
||||
311: 57(fvec3) FAdd 309 310
|
||||
312: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 311
|
||||
Store 303(outLightVec) 312
|
||||
313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 314 314 12 12
|
||||
318: 145(fvec4) Load 198(pos)
|
||||
319: 57(fvec3) VectorShuffle 318 318 0 1 2
|
||||
Store 315(outWorldPos) 319
|
||||
320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 321 321 12 12
|
||||
325: 283(ptr) AccessChain 256(ubo) 54
|
||||
326: 228 Load 325
|
||||
327: 145(fvec4) Load 198(pos)
|
||||
328: 145(fvec4) MatrixTimesVector 326 327
|
||||
329: 29(float) CompositeExtract 328 0
|
||||
330: 29(float) CompositeExtract 328 1
|
||||
331: 29(float) CompositeExtract 328 2
|
||||
332: 57(fvec3) CompositeConstruct 329 330 331
|
||||
Store 322(outEyePos) 332
|
||||
Return
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue