Sanitize debug source location tracking for implicit branch and return
This patch tries to attach debug location of a branch/return instruction to its predecessor or the closing brace. If none could be found, no debug info should be emitted.
This commit is contained in:
parent
b1fac200c4
commit
a496a34b43
30 changed files with 4713 additions and 4253 deletions
|
|
@ -1,14 +1,14 @@
|
|||
spv.debuginfo.glsl.tesc
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 569
|
||||
// Id's are bound by 571
|
||||
|
||||
Capability Tessellation
|
||||
Extension "SPV_KHR_non_semantic_info"
|
||||
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
3: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint TessellationControl 14 "main" 260 265 294 383 399 516 532 542 557
|
||||
EntryPoint TessellationControl 14 "main" 262 267 296 385 401 516 532 542 557
|
||||
ExecutionMode 14 OutputVertices 4
|
||||
2: String "spv.debuginfo.glsl.tesc"
|
||||
8: String "uint"
|
||||
|
|
@ -180,22 +180,22 @@ void main()
|
|||
126: String "int"
|
||||
137: String "clip0"
|
||||
158: String "clip1"
|
||||
237: String "pos"
|
||||
245: String "gl_Position"
|
||||
248: String "gl_PointSize"
|
||||
251: String "gl_CullDistance"
|
||||
255: String "gl_PerVertex"
|
||||
262: String "gl_in"
|
||||
267: String "gl_InvocationID"
|
||||
275: String "type.2d.image"
|
||||
277: String "@type.2d.image"
|
||||
281: String "type.sampled.image"
|
||||
282: String "@type.sampled.image"
|
||||
287: String "samplerHeight"
|
||||
296: String "inUV"
|
||||
315: String "i"
|
||||
385: String "gl_TessLevelInner"
|
||||
401: String "gl_TessLevelOuter"
|
||||
239: String "pos"
|
||||
247: String "gl_Position"
|
||||
250: String "gl_PointSize"
|
||||
253: String "gl_CullDistance"
|
||||
257: String "gl_PerVertex"
|
||||
264: String "gl_in"
|
||||
269: String "gl_InvocationID"
|
||||
277: String "type.2d.image"
|
||||
279: String "@type.2d.image"
|
||||
283: String "type.sampled.image"
|
||||
284: String "@type.sampled.image"
|
||||
289: String "samplerHeight"
|
||||
298: String "inUV"
|
||||
317: String "i"
|
||||
387: String "gl_TessLevelInner"
|
||||
403: String "gl_TessLevelOuter"
|
||||
518: String "gl_out"
|
||||
534: String "outNormal"
|
||||
544: String "inNormal"
|
||||
|
|
@ -220,27 +220,27 @@ void main()
|
|||
Name 122 "ubo"
|
||||
Name 135 "clip0"
|
||||
Name 156 "clip1"
|
||||
Name 235 "pos"
|
||||
Name 243 "gl_PerVertex"
|
||||
MemberName 243(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 243(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 243(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 243(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 260 "gl_in"
|
||||
Name 265 "gl_InvocationID"
|
||||
Name 285 "samplerHeight"
|
||||
Name 294 "inUV"
|
||||
Name 313 "i"
|
||||
Name 383 "gl_TessLevelInner"
|
||||
Name 399 "gl_TessLevelOuter"
|
||||
Name 424 "param"
|
||||
Name 430 "param"
|
||||
Name 435 "param"
|
||||
Name 440 "param"
|
||||
Name 445 "param"
|
||||
Name 450 "param"
|
||||
Name 455 "param"
|
||||
Name 460 "param"
|
||||
Name 237 "pos"
|
||||
Name 245 "gl_PerVertex"
|
||||
MemberName 245(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 245(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 245(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 245(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 262 "gl_in"
|
||||
Name 267 "gl_InvocationID"
|
||||
Name 287 "samplerHeight"
|
||||
Name 296 "inUV"
|
||||
Name 315 "i"
|
||||
Name 385 "gl_TessLevelInner"
|
||||
Name 401 "gl_TessLevelOuter"
|
||||
Name 426 "param"
|
||||
Name 432 "param"
|
||||
Name 437 "param"
|
||||
Name 442 "param"
|
||||
Name 447 "param"
|
||||
Name 452 "param"
|
||||
Name 457 "param"
|
||||
Name 462 "param"
|
||||
Name 503 "gl_PerVertex"
|
||||
MemberName 503(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 503(gl_PerVertex) 1 "gl_PointSize"
|
||||
|
|
@ -266,19 +266,19 @@ void main()
|
|||
MemberDecorate 99(UBO) 7 Offset 256
|
||||
Decorate 122(ubo) Binding 0
|
||||
Decorate 122(ubo) DescriptorSet 0
|
||||
Decorate 243(gl_PerVertex) Block
|
||||
MemberDecorate 243(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 243(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 243(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 243(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 265(gl_InvocationID) BuiltIn InvocationId
|
||||
Decorate 285(samplerHeight) Binding 1
|
||||
Decorate 285(samplerHeight) DescriptorSet 0
|
||||
Decorate 294(inUV) Location 1
|
||||
Decorate 383(gl_TessLevelInner) BuiltIn TessLevelInner
|
||||
Decorate 383(gl_TessLevelInner) Patch
|
||||
Decorate 399(gl_TessLevelOuter) BuiltIn TessLevelOuter
|
||||
Decorate 399(gl_TessLevelOuter) Patch
|
||||
Decorate 245(gl_PerVertex) Block
|
||||
MemberDecorate 245(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 245(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 245(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 245(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 267(gl_InvocationID) BuiltIn InvocationId
|
||||
Decorate 287(samplerHeight) Binding 1
|
||||
Decorate 287(samplerHeight) DescriptorSet 0
|
||||
Decorate 296(inUV) Location 1
|
||||
Decorate 385(gl_TessLevelInner) BuiltIn TessLevelInner
|
||||
Decorate 385(gl_TessLevelInner) Patch
|
||||
Decorate 401(gl_TessLevelOuter) BuiltIn TessLevelOuter
|
||||
Decorate 401(gl_TessLevelOuter) Patch
|
||||
Decorate 503(gl_PerVertex) Block
|
||||
MemberDecorate 503(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 503(gl_PerVertex) 1 BuiltIn PointSize
|
||||
|
|
@ -387,107 +387,109 @@ void main()
|
|||
222: 125(int) Constant 5
|
||||
226: 16(float) Constant 1065353216
|
||||
227: 16(float) Constant 1115684864
|
||||
238: 7(int) Constant 85
|
||||
236: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 237 21 33 238 12 56 20
|
||||
241: TypeArray 16(float) 37
|
||||
242: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 37
|
||||
243(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 241 241
|
||||
246: 7(int) Constant 1756
|
||||
244: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 21 33 37 246 12 12 13
|
||||
249: 7(int) Constant 1774
|
||||
247: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 18 33 37 249 12 12 13
|
||||
252: 7(int) Constant 1817
|
||||
250: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 251 242 33 37 252 12 12 13
|
||||
253: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 251 242 33 37 252 12 12 13
|
||||
254: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 255 37 33 238 12 36 255 12 13 244 247 250 253
|
||||
256: TypeArray 243(gl_PerVertex) 10
|
||||
257: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 254 10
|
||||
258: TypePointer Input 256
|
||||
259: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 257 37 12
|
||||
260(gl_in): 258(ptr) Variable Input
|
||||
261: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 262 257 33 238 12 36 262 260(gl_in) 112
|
||||
263: TypePointer Input 125(int)
|
||||
264: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 127 37 12
|
||||
265(gl_InvocationID): 263(ptr) Variable Input
|
||||
266: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 267 127 33 238 12 36 267 265(gl_InvocationID) 112
|
||||
269: TypePointer Input 19(fvec4)
|
||||
270: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 37 12
|
||||
273: TypeImage 16(float) 2D sampled format:Unknown
|
||||
276: 7(int) Constant 86
|
||||
278: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
||||
274: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 275 12 33 276 12 36 277 278 13
|
||||
279: TypeSampledImage 273
|
||||
280: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 281 12 33 276 12 36 282 278 13
|
||||
283: TypePointer UniformConstant 279
|
||||
284: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 280 12 12
|
||||
285(samplerHeight): 283(ptr) Variable UniformConstant
|
||||
286: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 287 280 33 276 12 36 287 285(samplerHeight) 112
|
||||
290: TypeArray 97(fvec2) 10
|
||||
291: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 98 10
|
||||
292: TypePointer Input 290
|
||||
293: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 291 37 12
|
||||
294(inUV): 292(ptr) Variable Input
|
||||
295: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 296 291 33 276 12 36 296 294(inUV) 112
|
||||
297: TypePointer Input 97(fvec2)
|
||||
298: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 98 37 12
|
||||
303: 125(int) Constant 4
|
||||
311: TypePointer Function 125(int)
|
||||
312: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 127 23 12
|
||||
316: 7(int) Constant 89
|
||||
314: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 315 127 33 316 12 56 20
|
||||
333: 7(int) Constant 90
|
||||
334: 125(int) Constant 3
|
||||
336: TypePointer Uniform 19(fvec4)
|
||||
337: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 38 12
|
||||
341: 16(float) Constant 1090519040
|
||||
346: 48(bool) ConstantFalse
|
||||
349: 7(int) Constant 92
|
||||
233: 7(int) Constant 77
|
||||
240: 7(int) Constant 85
|
||||
238: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 239 21 33 240 12 56 20
|
||||
243: TypeArray 16(float) 37
|
||||
244: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 37
|
||||
245(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 243 243
|
||||
248: 7(int) Constant 1756
|
||||
246: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 247 21 33 37 248 12 12 13
|
||||
251: 7(int) Constant 1774
|
||||
249: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 18 33 37 251 12 12 13
|
||||
254: 7(int) Constant 1817
|
||||
252: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 253 244 33 37 254 12 12 13
|
||||
255: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 253 244 33 37 254 12 12 13
|
||||
256: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 257 37 33 240 12 36 257 12 13 246 249 252 255
|
||||
258: TypeArray 245(gl_PerVertex) 10
|
||||
259: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 256 10
|
||||
260: TypePointer Input 258
|
||||
261: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 259 37 12
|
||||
262(gl_in): 260(ptr) Variable Input
|
||||
263: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 264 259 33 240 12 36 264 262(gl_in) 112
|
||||
265: TypePointer Input 125(int)
|
||||
266: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 127 37 12
|
||||
267(gl_InvocationID): 265(ptr) Variable Input
|
||||
268: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 269 127 33 240 12 36 269 267(gl_InvocationID) 112
|
||||
271: TypePointer Input 19(fvec4)
|
||||
272: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 37 12
|
||||
275: TypeImage 16(float) 2D sampled format:Unknown
|
||||
278: 7(int) Constant 86
|
||||
280: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
||||
276: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 277 12 33 278 12 36 279 280 13
|
||||
281: TypeSampledImage 275
|
||||
282: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 283 12 33 278 12 36 284 280 13
|
||||
285: TypePointer UniformConstant 281
|
||||
286: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 282 12 12
|
||||
287(samplerHeight): 285(ptr) Variable UniformConstant
|
||||
288: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 289 282 33 278 12 36 289 287(samplerHeight) 112
|
||||
292: TypeArray 97(fvec2) 10
|
||||
293: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 98 10
|
||||
294: TypePointer Input 292
|
||||
295: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 293 37 12
|
||||
296(inUV): 294(ptr) Variable Input
|
||||
297: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 298 293 33 278 12 36 298 296(inUV) 112
|
||||
299: TypePointer Input 97(fvec2)
|
||||
300: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 98 37 12
|
||||
305: 125(int) Constant 4
|
||||
313: TypePointer Function 125(int)
|
||||
314: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 127 23 12
|
||||
318: 7(int) Constant 89
|
||||
316: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 317 127 33 318 12 56 20
|
||||
335: 7(int) Constant 90
|
||||
336: 125(int) Constant 3
|
||||
338: TypePointer Uniform 19(fvec4)
|
||||
339: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 38 12
|
||||
343: 16(float) Constant 1090519040
|
||||
348: 48(bool) ConstantFalse
|
||||
351: 7(int) Constant 92
|
||||
359: 7(int) Constant 95
|
||||
368: 7(int) Constant 100
|
||||
375: 7(int) Constant 102
|
||||
379: TypeArray 16(float) 38
|
||||
380: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 38
|
||||
381: TypePointer Output 379
|
||||
382: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 380 13 12
|
||||
383(gl_TessLevelInner): 381(ptr) Variable Output
|
||||
386: 7(int) Constant 104
|
||||
384: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 385 380 33 386 12 36 385 383(gl_TessLevelInner) 112
|
||||
387: TypePointer Output 16(float)
|
||||
388: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 13 12
|
||||
394: 7(int) Constant 105
|
||||
395: TypeArray 16(float) 20
|
||||
396: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
|
||||
397: TypePointer Output 395
|
||||
398: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 396 13 12
|
||||
399(gl_TessLevelOuter): 397(ptr) Variable Output
|
||||
402: 7(int) Constant 106
|
||||
400: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 401 396 33 402 12 36 401 399(gl_TessLevelOuter) 112
|
||||
407: 7(int) Constant 107
|
||||
408: 125(int) Constant 2
|
||||
411: 7(int) Constant 108
|
||||
414: 7(int) Constant 109
|
||||
419: 7(int) Constant 113
|
||||
428: 7(int) Constant 115
|
||||
438: 7(int) Constant 116
|
||||
448: 7(int) Constant 117
|
||||
458: 7(int) Constant 118
|
||||
467: 7(int) Constant 119
|
||||
475: 7(int) Constant 120
|
||||
485: 7(int) Constant 126
|
||||
488: 7(int) Constant 127
|
||||
491: 7(int) Constant 128
|
||||
494: 7(int) Constant 129
|
||||
497: 7(int) Constant 130
|
||||
500: 7(int) Constant 131
|
||||
503(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 241 241
|
||||
364: 7(int) Constant 96
|
||||
370: 7(int) Constant 100
|
||||
377: 7(int) Constant 102
|
||||
381: TypeArray 16(float) 38
|
||||
382: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 38
|
||||
383: TypePointer Output 381
|
||||
384: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 382 13 12
|
||||
385(gl_TessLevelInner): 383(ptr) Variable Output
|
||||
388: 7(int) Constant 104
|
||||
386: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 387 382 33 388 12 36 387 385(gl_TessLevelInner) 112
|
||||
389: TypePointer Output 16(float)
|
||||
390: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 13 12
|
||||
396: 7(int) Constant 105
|
||||
397: TypeArray 16(float) 20
|
||||
398: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
|
||||
399: TypePointer Output 397
|
||||
400: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 398 13 12
|
||||
401(gl_TessLevelOuter): 399(ptr) Variable Output
|
||||
404: 7(int) Constant 106
|
||||
402: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 403 398 33 404 12 36 403 401(gl_TessLevelOuter) 112
|
||||
409: 7(int) Constant 107
|
||||
410: 125(int) Constant 2
|
||||
413: 7(int) Constant 108
|
||||
416: 7(int) Constant 109
|
||||
421: 7(int) Constant 113
|
||||
430: 7(int) Constant 115
|
||||
440: 7(int) Constant 116
|
||||
450: 7(int) Constant 117
|
||||
460: 7(int) Constant 118
|
||||
469: 7(int) Constant 119
|
||||
477: 7(int) Constant 120
|
||||
487: 7(int) Constant 126
|
||||
490: 7(int) Constant 127
|
||||
493: 7(int) Constant 128
|
||||
496: 7(int) Constant 129
|
||||
499: 7(int) Constant 130
|
||||
502: 7(int) Constant 131
|
||||
503(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 243 243
|
||||
505: 7(int) Constant 110
|
||||
504: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 21 33 37 505 12 12 13
|
||||
506: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 18 33 37 491 12 12 13
|
||||
504: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 247 21 33 37 505 12 12 13
|
||||
506: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 18 33 37 493 12 12 13
|
||||
508: 7(int) Constant 171
|
||||
507: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 251 242 33 37 508 12 12 13
|
||||
509: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 251 242 33 37 508 12 12 13
|
||||
507: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 253 244 33 37 508 12 12 13
|
||||
509: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 253 244 33 37 508 12 12 13
|
||||
511: 7(int) Constant 137
|
||||
510: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 255 37 33 511 12 36 255 12 13 504 506 507 509
|
||||
510: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 257 37 33 511 12 36 257 12 13 504 506 507 509
|
||||
512: TypeArray 503(gl_PerVertex) 20
|
||||
513: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 510 20
|
||||
514: TypePointer Output 512
|
||||
|
|
@ -522,169 +524,169 @@ void main()
|
|||
558: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 559 554 33 560 12 36 559 557(outUV) 112
|
||||
566: TypePointer Output 97(fvec2)
|
||||
567: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 98 13 12
|
||||
570: 7(int) Constant 140
|
||||
14(main): 4 Function None 5
|
||||
15: Label
|
||||
424(param): 22(ptr) Variable Function
|
||||
430(param): 22(ptr) Variable Function
|
||||
435(param): 22(ptr) Variable Function
|
||||
440(param): 22(ptr) Variable Function
|
||||
445(param): 22(ptr) Variable Function
|
||||
450(param): 22(ptr) Variable Function
|
||||
455(param): 22(ptr) Variable Function
|
||||
460(param): 22(ptr) Variable Function
|
||||
364: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
365: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 60 60 12 12
|
||||
363: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 14(main)
|
||||
367: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 368 368 12 12
|
||||
366: 125(int) Load 265(gl_InvocationID)
|
||||
369: 48(bool) IEqual 366 141
|
||||
SelectionMerge 371 None
|
||||
BranchConditional 369 370 371
|
||||
370: Label
|
||||
373: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
374: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 375 375 12 12
|
||||
372: 48(bool) FunctionCall 53(frustumCheck()
|
||||
376: 48(bool) LogicalNot 372
|
||||
SelectionMerge 378 None
|
||||
BranchConditional 376 377 415
|
||||
377: Label
|
||||
390: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
391: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 386 386 12 12
|
||||
389: 387(ptr) AccessChain 383(gl_TessLevelInner) 141
|
||||
Store 389 148
|
||||
393: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 394 394 12 12
|
||||
392: 387(ptr) AccessChain 383(gl_TessLevelInner) 128
|
||||
Store 392 148
|
||||
404: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 402 402 12 12
|
||||
403: 387(ptr) AccessChain 399(gl_TessLevelOuter) 141
|
||||
Store 403 148
|
||||
406: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 407 407 12 12
|
||||
405: 387(ptr) AccessChain 399(gl_TessLevelOuter) 128
|
||||
426(param): 22(ptr) Variable Function
|
||||
432(param): 22(ptr) Variable Function
|
||||
437(param): 22(ptr) Variable Function
|
||||
442(param): 22(ptr) Variable Function
|
||||
447(param): 22(ptr) Variable Function
|
||||
452(param): 22(ptr) Variable Function
|
||||
457(param): 22(ptr) Variable Function
|
||||
462(param): 22(ptr) Variable Function
|
||||
366: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
367: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 60 60 12 12
|
||||
365: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 14(main)
|
||||
369: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 370 370 12 12
|
||||
368: 125(int) Load 267(gl_InvocationID)
|
||||
371: 48(bool) IEqual 368 141
|
||||
SelectionMerge 373 None
|
||||
BranchConditional 371 372 373
|
||||
372: Label
|
||||
375: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
376: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 377 377 12 12
|
||||
374: 48(bool) FunctionCall 53(frustumCheck()
|
||||
378: 48(bool) LogicalNot 374
|
||||
SelectionMerge 380 None
|
||||
BranchConditional 378 379 417
|
||||
379: Label
|
||||
392: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
393: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 388 388 12 12
|
||||
391: 389(ptr) AccessChain 385(gl_TessLevelInner) 141
|
||||
Store 391 148
|
||||
395: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 396 396 12 12
|
||||
394: 389(ptr) AccessChain 385(gl_TessLevelInner) 128
|
||||
Store 394 148
|
||||
406: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 404 404 12 12
|
||||
405: 389(ptr) AccessChain 401(gl_TessLevelOuter) 141
|
||||
Store 405 148
|
||||
410: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 411 411 12 12
|
||||
409: 387(ptr) AccessChain 399(gl_TessLevelOuter) 408
|
||||
Store 409 148
|
||||
413: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 414 414 12 12
|
||||
412: 387(ptr) AccessChain 399(gl_TessLevelOuter) 334
|
||||
Store 412 148
|
||||
Branch 378
|
||||
415: Label
|
||||
417: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
418: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 419 419 12 12
|
||||
416: 217(ptr) AccessChain 122(ubo) 222
|
||||
420: 16(float) Load 416
|
||||
421: 48(bool) FOrdGreaterThan 420 148
|
||||
SelectionMerge 423 None
|
||||
BranchConditional 421 422 481
|
||||
422: Label
|
||||
426: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
427: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 428 428 12 12
|
||||
425: 269(ptr) AccessChain 260(gl_in) 334 141
|
||||
429: 19(fvec4) Load 425
|
||||
Store 424(param) 429
|
||||
431: 269(ptr) AccessChain 260(gl_in) 141 141
|
||||
432: 19(fvec4) Load 431
|
||||
Store 430(param) 432
|
||||
433: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 424(param) 430(param)
|
||||
434: 387(ptr) AccessChain 399(gl_TessLevelOuter) 141
|
||||
Store 434 433
|
||||
437: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 438 438 12 12
|
||||
436: 269(ptr) AccessChain 260(gl_in) 141 141
|
||||
439: 19(fvec4) Load 436
|
||||
Store 435(param) 439
|
||||
441: 269(ptr) AccessChain 260(gl_in) 128 141
|
||||
442: 19(fvec4) Load 441
|
||||
Store 440(param) 442
|
||||
443: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 435(param) 440(param)
|
||||
444: 387(ptr) AccessChain 399(gl_TessLevelOuter) 128
|
||||
Store 444 443
|
||||
447: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 448 448 12 12
|
||||
446: 269(ptr) AccessChain 260(gl_in) 128 141
|
||||
449: 19(fvec4) Load 446
|
||||
Store 445(param) 449
|
||||
451: 269(ptr) AccessChain 260(gl_in) 408 141
|
||||
452: 19(fvec4) Load 451
|
||||
Store 450(param) 452
|
||||
453: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 445(param) 450(param)
|
||||
454: 387(ptr) AccessChain 399(gl_TessLevelOuter) 408
|
||||
Store 454 453
|
||||
457: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 458 458 12 12
|
||||
456: 269(ptr) AccessChain 260(gl_in) 408 141
|
||||
459: 19(fvec4) Load 456
|
||||
Store 455(param) 459
|
||||
461: 269(ptr) AccessChain 260(gl_in) 334 141
|
||||
462: 19(fvec4) Load 461
|
||||
Store 460(param) 462
|
||||
463: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 455(param) 460(param)
|
||||
464: 387(ptr) AccessChain 399(gl_TessLevelOuter) 334
|
||||
Store 464 463
|
||||
466: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 467 467 12 12
|
||||
465: 387(ptr) AccessChain 399(gl_TessLevelOuter) 141
|
||||
468: 16(float) Load 465
|
||||
469: 387(ptr) AccessChain 399(gl_TessLevelOuter) 334
|
||||
470: 16(float) Load 469
|
||||
471: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 468 470 68
|
||||
472: 387(ptr) AccessChain 383(gl_TessLevelInner) 141
|
||||
Store 472 471
|
||||
474: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 475 475 12 12
|
||||
473: 387(ptr) AccessChain 399(gl_TessLevelOuter) 408
|
||||
476: 16(float) Load 473
|
||||
477: 387(ptr) AccessChain 399(gl_TessLevelOuter) 128
|
||||
478: 16(float) Load 477
|
||||
479: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 476 478 68
|
||||
480: 387(ptr) AccessChain 383(gl_TessLevelInner) 128
|
||||
Store 480 479
|
||||
Branch 423
|
||||
481: Label
|
||||
483: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
484: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 485 485 12 12
|
||||
482: 387(ptr) AccessChain 383(gl_TessLevelInner) 141
|
||||
Store 482 226
|
||||
487: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 488 488 12 12
|
||||
486: 387(ptr) AccessChain 383(gl_TessLevelInner) 128
|
||||
Store 486 226
|
||||
490: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 491 491 12 12
|
||||
489: 387(ptr) AccessChain 399(gl_TessLevelOuter) 141
|
||||
Store 489 226
|
||||
493: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 494 494 12 12
|
||||
492: 387(ptr) AccessChain 399(gl_TessLevelOuter) 128
|
||||
Store 492 226
|
||||
496: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 497 497 12 12
|
||||
495: 387(ptr) AccessChain 399(gl_TessLevelOuter) 408
|
||||
Store 495 226
|
||||
499: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 500 500 12 12
|
||||
498: 387(ptr) AccessChain 399(gl_TessLevelOuter) 334
|
||||
Store 498 226
|
||||
Branch 423
|
||||
423: Label
|
||||
501: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
Branch 378
|
||||
378: Label
|
||||
502: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
Branch 371
|
||||
371: Label
|
||||
408: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 409 409 12 12
|
||||
407: 389(ptr) AccessChain 401(gl_TessLevelOuter) 128
|
||||
Store 407 148
|
||||
412: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 413 413 12 12
|
||||
411: 389(ptr) AccessChain 401(gl_TessLevelOuter) 410
|
||||
Store 411 148
|
||||
415: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 416 416 12 12
|
||||
414: 389(ptr) AccessChain 401(gl_TessLevelOuter) 336
|
||||
Store 414 148
|
||||
Branch 380
|
||||
417: Label
|
||||
419: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
420: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 421 421 12 12
|
||||
418: 217(ptr) AccessChain 122(ubo) 222
|
||||
422: 16(float) Load 418
|
||||
423: 48(bool) FOrdGreaterThan 422 148
|
||||
SelectionMerge 425 None
|
||||
BranchConditional 423 424 483
|
||||
424: Label
|
||||
428: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
429: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 430 430 12 12
|
||||
427: 271(ptr) AccessChain 262(gl_in) 336 141
|
||||
431: 19(fvec4) Load 427
|
||||
Store 426(param) 431
|
||||
433: 271(ptr) AccessChain 262(gl_in) 141 141
|
||||
434: 19(fvec4) Load 433
|
||||
Store 432(param) 434
|
||||
435: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 426(param) 432(param)
|
||||
436: 389(ptr) AccessChain 401(gl_TessLevelOuter) 141
|
||||
Store 436 435
|
||||
439: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 440 440 12 12
|
||||
438: 271(ptr) AccessChain 262(gl_in) 141 141
|
||||
441: 19(fvec4) Load 438
|
||||
Store 437(param) 441
|
||||
443: 271(ptr) AccessChain 262(gl_in) 128 141
|
||||
444: 19(fvec4) Load 443
|
||||
Store 442(param) 444
|
||||
445: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 437(param) 442(param)
|
||||
446: 389(ptr) AccessChain 401(gl_TessLevelOuter) 128
|
||||
Store 446 445
|
||||
449: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 450 450 12 12
|
||||
448: 271(ptr) AccessChain 262(gl_in) 128 141
|
||||
451: 19(fvec4) Load 448
|
||||
Store 447(param) 451
|
||||
453: 271(ptr) AccessChain 262(gl_in) 410 141
|
||||
454: 19(fvec4) Load 453
|
||||
Store 452(param) 454
|
||||
455: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 447(param) 452(param)
|
||||
456: 389(ptr) AccessChain 401(gl_TessLevelOuter) 410
|
||||
Store 456 455
|
||||
459: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 460 460 12 12
|
||||
458: 271(ptr) AccessChain 262(gl_in) 410 141
|
||||
461: 19(fvec4) Load 458
|
||||
Store 457(param) 461
|
||||
463: 271(ptr) AccessChain 262(gl_in) 336 141
|
||||
464: 19(fvec4) Load 463
|
||||
Store 462(param) 464
|
||||
465: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 457(param) 462(param)
|
||||
466: 389(ptr) AccessChain 401(gl_TessLevelOuter) 336
|
||||
Store 466 465
|
||||
468: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 469 469 12 12
|
||||
467: 389(ptr) AccessChain 401(gl_TessLevelOuter) 141
|
||||
470: 16(float) Load 467
|
||||
471: 389(ptr) AccessChain 401(gl_TessLevelOuter) 336
|
||||
472: 16(float) Load 471
|
||||
473: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 470 472 68
|
||||
474: 389(ptr) AccessChain 385(gl_TessLevelInner) 141
|
||||
Store 474 473
|
||||
476: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 477 477 12 12
|
||||
475: 389(ptr) AccessChain 401(gl_TessLevelOuter) 410
|
||||
478: 16(float) Load 475
|
||||
479: 389(ptr) AccessChain 401(gl_TessLevelOuter) 128
|
||||
480: 16(float) Load 479
|
||||
481: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 478 480 68
|
||||
482: 389(ptr) AccessChain 385(gl_TessLevelInner) 128
|
||||
Store 482 481
|
||||
Branch 425
|
||||
483: Label
|
||||
485: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
486: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 487 487 12 12
|
||||
484: 389(ptr) AccessChain 385(gl_TessLevelInner) 141
|
||||
Store 484 226
|
||||
489: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 490 490 12 12
|
||||
488: 389(ptr) AccessChain 385(gl_TessLevelInner) 128
|
||||
Store 488 226
|
||||
492: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 493 493 12 12
|
||||
491: 389(ptr) AccessChain 401(gl_TessLevelOuter) 141
|
||||
Store 491 226
|
||||
495: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 496 496 12 12
|
||||
494: 389(ptr) AccessChain 401(gl_TessLevelOuter) 128
|
||||
Store 494 226
|
||||
498: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 499 499 12 12
|
||||
497: 389(ptr) AccessChain 401(gl_TessLevelOuter) 410
|
||||
Store 497 226
|
||||
501: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 502 502 12 12
|
||||
500: 389(ptr) AccessChain 401(gl_TessLevelOuter) 336
|
||||
Store 500 226
|
||||
Branch 425
|
||||
425: Label
|
||||
Branch 380
|
||||
380: Label
|
||||
Branch 373
|
||||
373: Label
|
||||
520: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
||||
521: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 511 511 12 12
|
||||
519: 125(int) Load 265(gl_InvocationID)
|
||||
522: 125(int) Load 265(gl_InvocationID)
|
||||
523: 269(ptr) AccessChain 260(gl_in) 522 141
|
||||
519: 125(int) Load 267(gl_InvocationID)
|
||||
522: 125(int) Load 267(gl_InvocationID)
|
||||
523: 271(ptr) AccessChain 262(gl_in) 522 141
|
||||
524: 19(fvec4) Load 523
|
||||
527: 525(ptr) AccessChain 516(gl_out) 519 141
|
||||
Store 527 524
|
||||
537: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 535 535 12 12
|
||||
536: 125(int) Load 265(gl_InvocationID)
|
||||
545: 125(int) Load 265(gl_InvocationID)
|
||||
536: 125(int) Load 267(gl_InvocationID)
|
||||
545: 125(int) Load 267(gl_InvocationID)
|
||||
548: 546(ptr) AccessChain 542(inNormal) 545
|
||||
549: 146(fvec3) Load 548
|
||||
552: 550(ptr) AccessChain 532(outNormal) 536
|
||||
Store 552 549
|
||||
562: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 560 560 12 12
|
||||
561: 125(int) Load 265(gl_InvocationID)
|
||||
563: 125(int) Load 265(gl_InvocationID)
|
||||
564: 297(ptr) AccessChain 294(inUV) 563
|
||||
561: 125(int) Load 267(gl_InvocationID)
|
||||
563: 125(int) Load 267(gl_InvocationID)
|
||||
564: 299(ptr) AccessChain 296(inUV) 563
|
||||
565: 97(fvec2) Load 564
|
||||
568: 566(ptr) AccessChain 557(outUV) 561
|
||||
Store 568 565
|
||||
569: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 570 570 12 12
|
||||
Return
|
||||
FunctionEnd
|
||||
29(screenSpaceTessFactor(vf4;vf4;): 16(float) Function None 25
|
||||
|
|
@ -801,73 +803,72 @@ void main()
|
|||
FunctionEnd
|
||||
53(frustumCheck(): 48(bool) Function None 51
|
||||
54: Label
|
||||
235(pos): 22(ptr) Variable Function
|
||||
313(i): 311(ptr) Variable Function
|
||||
233: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
234: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 57 57 12 12
|
||||
232: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 56 53(frustumCheck()
|
||||
240: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 238 238 12 12
|
||||
239: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 236 235(pos) 42
|
||||
268: 125(int) Load 265(gl_InvocationID)
|
||||
271: 269(ptr) AccessChain 260(gl_in) 268 141
|
||||
272: 19(fvec4) Load 271
|
||||
Store 235(pos) 272
|
||||
289: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 276 276 12 12
|
||||
288: 279 Load 285(samplerHeight)
|
||||
299: 297(ptr) AccessChain 294(inUV) 141
|
||||
300: 97(fvec2) Load 299
|
||||
301: 19(fvec4) ImageSampleExplicitLod 288 300 Lod 148
|
||||
302: 16(float) CompositeExtract 301 0
|
||||
304: 217(ptr) AccessChain 122(ubo) 303
|
||||
305: 16(float) Load 304
|
||||
306: 16(float) FMul 302 305
|
||||
307: 73(ptr) AccessChain 235(pos) 37
|
||||
308: 16(float) Load 307
|
||||
309: 16(float) FSub 308 306
|
||||
310: 73(ptr) AccessChain 235(pos) 37
|
||||
Store 310 309
|
||||
318: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 316 316 12 12
|
||||
317: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 314 313(i) 42
|
||||
Store 313(i) 141
|
||||
Branch 319
|
||||
319: Label
|
||||
323: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
324: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 316 316 12 12
|
||||
LoopMerge 321 322 None
|
||||
Branch 325
|
||||
325: Label
|
||||
327: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
328: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 316 316 12 12
|
||||
326: 125(int) Load 313(i)
|
||||
329: 48(bool) SLessThan 326 186
|
||||
BranchConditional 329 320 321
|
||||
320: Label
|
||||
331: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
332: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 333 333 12 12
|
||||
330: 19(fvec4) Load 235(pos)
|
||||
335: 125(int) Load 313(i)
|
||||
338: 336(ptr) AccessChain 122(ubo) 334 335
|
||||
339: 19(fvec4) Load 338
|
||||
340: 16(float) Dot 330 339
|
||||
342: 16(float) FAdd 340 341
|
||||
343: 48(bool) FOrdLessThan 342 148
|
||||
SelectionMerge 345 None
|
||||
BranchConditional 343 344 345
|
||||
344: Label
|
||||
347: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
348: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 349 349 12 12
|
||||
ReturnValue 346
|
||||
345: Label
|
||||
352: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
Branch 322
|
||||
322: Label
|
||||
354: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
355: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 316 316 12 12
|
||||
353: 125(int) Load 313(i)
|
||||
356: 125(int) IAdd 353 128
|
||||
Store 313(i) 356
|
||||
Branch 319
|
||||
237(pos): 22(ptr) Variable Function
|
||||
315(i): 313(ptr) Variable Function
|
||||
235: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
236: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 57 57 12 12
|
||||
234: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 56 53(frustumCheck()
|
||||
242: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 240 240 12 12
|
||||
241: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 238 237(pos) 42
|
||||
270: 125(int) Load 267(gl_InvocationID)
|
||||
273: 271(ptr) AccessChain 262(gl_in) 270 141
|
||||
274: 19(fvec4) Load 273
|
||||
Store 237(pos) 274
|
||||
291: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 278 278 12 12
|
||||
290: 281 Load 287(samplerHeight)
|
||||
301: 299(ptr) AccessChain 296(inUV) 141
|
||||
302: 97(fvec2) Load 301
|
||||
303: 19(fvec4) ImageSampleExplicitLod 290 302 Lod 148
|
||||
304: 16(float) CompositeExtract 303 0
|
||||
306: 217(ptr) AccessChain 122(ubo) 305
|
||||
307: 16(float) Load 306
|
||||
308: 16(float) FMul 304 307
|
||||
309: 73(ptr) AccessChain 237(pos) 37
|
||||
310: 16(float) Load 309
|
||||
311: 16(float) FSub 310 308
|
||||
312: 73(ptr) AccessChain 237(pos) 37
|
||||
Store 312 311
|
||||
320: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 318 318 12 12
|
||||
319: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 316 315(i) 42
|
||||
Store 315(i) 141
|
||||
Branch 321
|
||||
321: Label
|
||||
325: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
326: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 318 318 12 12
|
||||
LoopMerge 323 324 None
|
||||
Branch 327
|
||||
327: Label
|
||||
329: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
330: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 318 318 12 12
|
||||
328: 125(int) Load 315(i)
|
||||
331: 48(bool) SLessThan 328 186
|
||||
BranchConditional 331 322 323
|
||||
322: Label
|
||||
333: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
334: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 335 335 12 12
|
||||
332: 19(fvec4) Load 237(pos)
|
||||
337: 125(int) Load 315(i)
|
||||
340: 338(ptr) AccessChain 122(ubo) 336 337
|
||||
341: 19(fvec4) Load 340
|
||||
342: 16(float) Dot 332 341
|
||||
344: 16(float) FAdd 342 343
|
||||
345: 48(bool) FOrdLessThan 344 148
|
||||
SelectionMerge 347 None
|
||||
BranchConditional 345 346 347
|
||||
346: Label
|
||||
349: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
350: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 351 351 12 12
|
||||
ReturnValue 348
|
||||
347: Label
|
||||
Branch 324
|
||||
324: Label
|
||||
354: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
355: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 318 318 12 12
|
||||
353: 125(int) Load 315(i)
|
||||
356: 125(int) IAdd 353 128
|
||||
Store 315(i) 356
|
||||
Branch 321
|
||||
323: Label
|
||||
357: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56
|
||||
358: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 359 359 12 12
|
||||
ReturnValue 94
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue