
Previously, the type names in the nonsemantic shader debug info would be "int", "uint", or "float" for all numeric types. This change makes the correct names such as "int8_t" or "float16_t" get emitted.
1105 lines
70 KiB
Plaintext
1105 lines
70 KiB
Plaintext
spv.debuginfo.glsl.frag
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 859
|
|
|
|
Capability Shader
|
|
Capability ImageQuery
|
|
Extension "SPV_KHR_non_semantic_info"
|
|
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
|
3: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 14 "main" 478 533
|
|
ExecutionMode 14 OriginUpperLeft
|
|
1: String ""
|
|
8: String "uint"
|
|
15: String "main"
|
|
18: String "// OpModuleProcessed auto-map-locations
|
|
// OpModuleProcessed auto-map-bindings
|
|
// OpModuleProcessed client vulkan100
|
|
// OpModuleProcessed target-env vulkan1.0
|
|
// OpModuleProcessed keep-uncalled
|
|
// OpModuleProcessed entry-point main
|
|
#line 1
|
|
"
|
|
25: String "float"
|
|
40: String "textureProj"
|
|
46: String "P"
|
|
50: String "layer"
|
|
53: String "offset"
|
|
60: String "filterPCF"
|
|
66: String "sc"
|
|
78: String "shadow"
|
|
84: String "fragcolor"
|
|
87: String "fragpos"
|
|
93: String "int"
|
|
98: String "global_var"
|
|
113: String "shadowCoord"
|
|
138: String "bool"
|
|
157: String "dist"
|
|
161: String "type.2d.image"
|
|
162: String "@type.2d.image"
|
|
166: String "type.sampled.image"
|
|
167: String "@type.sampled.image"
|
|
171: String "samplerShadowMap"
|
|
221: String "texDim"
|
|
233: String "scale"
|
|
240: String "dx"
|
|
253: String "dy"
|
|
265: String "shadowFactor"
|
|
271: String "count"
|
|
277: String "range"
|
|
284: String "x"
|
|
306: String "y"
|
|
370: String "i"
|
|
390: String "shadowClip"
|
|
397: String "color"
|
|
403: String "viewMatrix"
|
|
406: String "Light"
|
|
412: String "lights"
|
|
415: String "debugDisplayTarget"
|
|
419: String "UBO"
|
|
423: String "ubo"
|
|
466: String "fragPos"
|
|
475: String "samplerposition"
|
|
480: String "inUV"
|
|
488: String "normal"
|
|
492: String "samplerNormal"
|
|
501: String "albedo"
|
|
505: String "samplerAlbedo"
|
|
535: String "outFragColor"
|
|
627: String "N"
|
|
653: String "L"
|
|
677: String "V"
|
|
692: String "lightCosInnerAngle"
|
|
699: String "lightCosOuterAngle"
|
|
706: String "lightRange"
|
|
713: String "dir"
|
|
729: String "cosDir"
|
|
738: String "spotEffect"
|
|
748: String "heightAttenuation"
|
|
757: String "NdotL"
|
|
767: String "diff"
|
|
775: String "R"
|
|
785: String "NdotR"
|
|
795: String "spec"
|
|
Name 14 "main"
|
|
Name 39 "textureProj(vf4;f1;vf2;"
|
|
Name 36 "P"
|
|
Name 37 "layer"
|
|
Name 38 "offset"
|
|
Name 59 "filterPCF(vf4;f1;"
|
|
Name 57 "sc"
|
|
Name 58 "layer"
|
|
Name 77 "shadow(vf3;vf3;"
|
|
Name 75 "fragcolor"
|
|
Name 76 "fragpos"
|
|
Name 96 "global_var"
|
|
Name 105 "shadow"
|
|
Name 111 "shadowCoord"
|
|
Name 155 "dist"
|
|
Name 169 "samplerShadowMap"
|
|
Name 219 "texDim"
|
|
Name 231 "scale"
|
|
Name 238 "dx"
|
|
Name 251 "dy"
|
|
Name 263 "shadowFactor"
|
|
Name 269 "count"
|
|
Name 275 "range"
|
|
Name 282 "x"
|
|
Name 304 "y"
|
|
Name 335 "param"
|
|
Name 337 "param"
|
|
Name 339 "param"
|
|
Name 368 "i"
|
|
Name 388 "shadowClip"
|
|
Name 395 "Light"
|
|
MemberName 395(Light) 0 "position"
|
|
MemberName 395(Light) 1 "target"
|
|
MemberName 395(Light) 2 "color"
|
|
MemberName 395(Light) 3 "viewMatrix"
|
|
Name 409 "UBO"
|
|
MemberName 409(UBO) 0 "viewPos"
|
|
MemberName 409(UBO) 1 "lights"
|
|
MemberName 409(UBO) 2 "useShadows"
|
|
MemberName 409(UBO) 3 "debugDisplayTarget"
|
|
Name 421 "ubo"
|
|
Name 436 "shadowFactor"
|
|
Name 441 "param"
|
|
Name 443 "param"
|
|
Name 464 "fragPos"
|
|
Name 473 "samplerposition"
|
|
Name 478 "inUV"
|
|
Name 486 "normal"
|
|
Name 490 "samplerNormal"
|
|
Name 499 "albedo"
|
|
Name 503 "samplerAlbedo"
|
|
Name 533 "outFragColor"
|
|
Name 537 "param"
|
|
Name 538 "param"
|
|
Name 616 "fragcolor"
|
|
Name 625 "N"
|
|
Name 633 "i"
|
|
Name 651 "L"
|
|
Name 664 "dist"
|
|
Name 675 "V"
|
|
Name 690 "lightCosInnerAngle"
|
|
Name 697 "lightCosOuterAngle"
|
|
Name 704 "lightRange"
|
|
Name 711 "dir"
|
|
Name 727 "cosDir"
|
|
Name 736 "spotEffect"
|
|
Name 746 "heightAttenuation"
|
|
Name 755 "NdotL"
|
|
Name 765 "diff"
|
|
Name 773 "R"
|
|
Name 783 "NdotR"
|
|
Name 793 "spec"
|
|
Name 846 "param"
|
|
Name 848 "param"
|
|
Decorate 169(samplerShadowMap) DescriptorSet 0
|
|
Decorate 169(samplerShadowMap) Binding 5
|
|
MemberDecorate 395(Light) 0 Offset 0
|
|
MemberDecorate 395(Light) 1 Offset 16
|
|
MemberDecorate 395(Light) 2 Offset 32
|
|
MemberDecorate 395(Light) 3 ColMajor
|
|
MemberDecorate 395(Light) 3 Offset 48
|
|
MemberDecorate 395(Light) 3 MatrixStride 16
|
|
Decorate 407 ArrayStride 112
|
|
MemberDecorate 409(UBO) 0 Offset 0
|
|
MemberDecorate 409(UBO) 1 Offset 16
|
|
MemberDecorate 409(UBO) 2 Offset 352
|
|
MemberDecorate 409(UBO) 3 Offset 356
|
|
Decorate 409(UBO) Block
|
|
Decorate 421(ubo) DescriptorSet 0
|
|
Decorate 421(ubo) Binding 4
|
|
Decorate 473(samplerposition) DescriptorSet 0
|
|
Decorate 473(samplerposition) Binding 1
|
|
Decorate 478(inUV) Location 0
|
|
Decorate 490(samplerNormal) DescriptorSet 0
|
|
Decorate 490(samplerNormal) Binding 2
|
|
Decorate 503(samplerAlbedo) DescriptorSet 0
|
|
Decorate 503(samplerAlbedo) Binding 3
|
|
Decorate 533(outFragColor) Location 0
|
|
4: TypeVoid
|
|
5: TypeFunction 4
|
|
7: TypeInt 32 0
|
|
10: 7(int) Constant 32
|
|
11: 7(int) Constant 6
|
|
12: 7(int) Constant 0
|
|
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
|
13: 7(int) Constant 3
|
|
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
|
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
|
|
24: TypeFloat 32
|
|
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 10 13 12
|
|
27: TypeVector 24(float) 4
|
|
28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 21
|
|
29: TypePointer Function 27(fvec4)
|
|
30: TypePointer Function 24(float)
|
|
31: TypeVector 24(float) 2
|
|
32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 22
|
|
33: TypePointer Function 31(fvec2)
|
|
34: TypeFunction 24(float) 29(ptr) 30(ptr) 33(ptr)
|
|
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 26 28 26 32
|
|
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 40 35 17 12 12 19 40 13 12
|
|
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 28 17 12 12 41 21 20
|
|
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
|
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 26 17 12 12 41 21 22
|
|
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 32 17 12 12 41 21 13
|
|
55: TypeFunction 24(float) 29(ptr) 30(ptr)
|
|
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 26 28 26
|
|
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 60 56 17 12 12 19 60 13 12
|
|
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 66 28 17 12 12 61 21 20
|
|
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 26 17 12 12 61 21 22
|
|
70: TypeVector 24(float) 3
|
|
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 13
|
|
72: TypePointer Function 70(fvec3)
|
|
73: TypeFunction 70(fvec3) 72(ptr) 72(ptr)
|
|
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 71 71 71
|
|
79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 78 74 17 12 12 19 78 13 12
|
|
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 84 71 17 12 12 79 21 20
|
|
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 71 17 12 12 79 21 22
|
|
91: 7(int) Constant 41
|
|
92: TypeInt 32 1
|
|
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 93 10 21 12
|
|
95: TypePointer Private 92(int)
|
|
96(global_var): 95(ptr) Variable Private
|
|
99: 7(int) Constant 8
|
|
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 98 94 17 91 12 19 98 96(global_var) 99
|
|
100: 92(int) Constant 0
|
|
104: 7(int) Constant 61
|
|
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 78 26 17 104 12 41 21
|
|
108: 24(float) Constant 1065353216
|
|
110: 7(int) Constant 62
|
|
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 113 28 17 110 12 41 21
|
|
121: 7(int) Constant 63
|
|
124: 24(float) Constant 1056964608
|
|
133: 7(int) Constant 65
|
|
134: TypeBool
|
|
137: 24(float) Constant 3212836864
|
|
139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
154: 7(int) Constant 67
|
|
156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 157 26 17 154 12 41 21
|
|
159: TypeImage 24(float) 2D array sampled format:Unknown
|
|
163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
|
160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 161 12 17 154 12 19 162 163 13
|
|
164: TypeSampledImage 159
|
|
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 12 17 154 12 19 167 163 13
|
|
168: TypePointer UniformConstant 164
|
|
169(samplerShadowMap): 168(ptr) Variable UniformConstant
|
|
170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 171 165 17 154 12 19 171 169(samplerShadowMap) 99
|
|
184: 7(int) Constant 68
|
|
187: 24(float) Constant 0
|
|
188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
204: 7(int) Constant 70
|
|
205: 24(float) Constant 1048576000
|
|
208: 7(int) Constant 73
|
|
215: 7(int) Constant 78
|
|
216: TypeVector 92(int) 2
|
|
217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 94 22
|
|
218: TypePointer Function 216(ivec2)
|
|
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 221 217 17 215 12 61 21
|
|
225: TypeVector 92(int) 3
|
|
226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 94 13
|
|
230: 7(int) Constant 79
|
|
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 233 26 17 230 12 61 21
|
|
235: 24(float) Constant 1069547520
|
|
237: 7(int) Constant 80
|
|
239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 240 26 17 237 12 61 21
|
|
244: TypePointer Function 92(int)
|
|
250: 7(int) Constant 81
|
|
252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 253 26 17 250 12 61 21
|
|
262: 7(int) Constant 83
|
|
264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 265 26 17 262 12 61 21
|
|
268: 7(int) Constant 84
|
|
270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 271 94 17 268 12 61 21
|
|
274: 7(int) Constant 85
|
|
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 277 94 17 274 12 61 21
|
|
279: 92(int) Constant 1
|
|
281: 7(int) Constant 87
|
|
283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 284 94 17 281 12 61 21
|
|
299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
303: 7(int) Constant 89
|
|
305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 94 17 303 12 61 21
|
|
321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
325: 7(int) Constant 91
|
|
344: 7(int) Constant 92
|
|
357: 7(int) Constant 96
|
|
367: 7(int) Constant 100
|
|
369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 370 94 17 367 12 79 21
|
|
382: 92(int) Constant 3
|
|
383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
387: 7(int) Constant 102
|
|
389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 390 28 17 387 12 79 21
|
|
392: TypeMatrix 27(fvec4) 4
|
|
394: 134(bool) ConstantTrue
|
|
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 28 21 394
|
|
395(Light): TypeStruct 27(fvec4) 27(fvec4) 27(fvec4) 392
|
|
398: 7(int) Constant 47
|
|
399: 7(int) Constant 7
|
|
396: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 397 28 17 398 399 12 12 13
|
|
400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 397 28 17 398 399 12 12 13
|
|
401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 397 28 17 398 399 12 12 13
|
|
404: 7(int) Constant 48
|
|
402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 403 393 17 404 399 12 12 13
|
|
405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 406 20 17 387 12 19 406 12 13 396 400 401 402
|
|
407: TypeArray 395(Light) 13
|
|
408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 405 13
|
|
409(UBO): TypeStruct 27(fvec4) 407 92(int) 92(int)
|
|
410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 397 28 17 398 399 12 12 13
|
|
413: 7(int) Constant 54
|
|
411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 412 408 17 413 99 12 12 13
|
|
416: 7(int) Constant 56
|
|
414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 415 94 17 416 11 12 12 13
|
|
417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 415 94 17 416 11 12 12 13
|
|
418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 419 20 17 387 12 19 419 12 13 410 411 414 417
|
|
420: TypePointer Uniform 409(UBO)
|
|
421(ubo): 420(ptr) Variable Uniform
|
|
422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 423 418 17 387 12 19 423 421(ubo) 99
|
|
425: TypePointer Uniform 392
|
|
435: 7(int) Constant 106
|
|
437: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 265 26 17 435 12 79 21
|
|
446: 7(int) Constant 111
|
|
456: 7(int) Constant 113
|
|
463: 7(int) Constant 119
|
|
465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 466 71 17 463 12 16 21
|
|
468: TypeImage 24(float) 2D sampled format:Unknown
|
|
469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 161 12 17 463 12 19 162 163 13
|
|
470: TypeSampledImage 468
|
|
471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 12 17 463 12 19 167 163 13
|
|
472: TypePointer UniformConstant 470
|
|
473(samplerposition): 472(ptr) Variable UniformConstant
|
|
474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 475 471 17 463 12 19 475 473(samplerposition) 99
|
|
477: TypePointer Input 31(fvec2)
|
|
478(inUV): 477(ptr) Variable Input
|
|
479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 480 32 17 463 12 19 480 478(inUV) 99
|
|
485: 7(int) Constant 120
|
|
487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 488 71 17 485 12 16 21
|
|
490(samplerNormal): 472(ptr) Variable UniformConstant
|
|
491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 492 471 17 485 12 19 492 490(samplerNormal) 99
|
|
498: 7(int) Constant 121
|
|
500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 501 28 17 498 12 16 21
|
|
503(samplerAlbedo): 472(ptr) Variable UniformConstant
|
|
504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 505 471 17 498 12 19 505 503(samplerAlbedo) 99
|
|
510: 7(int) Constant 124
|
|
511: TypePointer Uniform 92(int)
|
|
514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
520: 7(int) Constant 125
|
|
531: 7(int) Constant 127
|
|
532: TypePointer Output 27(fvec4)
|
|
533(outFragColor): 532(ptr) Variable Output
|
|
534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 535 28 17 531 12 19 535 533(outFragColor) 99
|
|
536: 70(fvec3) ConstantComposite 108 108 108
|
|
541: TypePointer Output 24(float)
|
|
549: 7(int) Constant 128
|
|
553: 7(int) Constant 130
|
|
562: 7(int) Constant 131
|
|
566: 7(int) Constant 133
|
|
575: 7(int) Constant 134
|
|
579: 7(int) Constant 136
|
|
589: 7(int) Constant 137
|
|
593: 7(int) Constant 139
|
|
603: 7(int) Constant 140
|
|
608: 7(int) Constant 142
|
|
611: 7(int) Constant 143
|
|
615: 7(int) Constant 147
|
|
617: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 84 71 17 615 12 16 21
|
|
621: 24(float) Constant 1036831949
|
|
624: 7(int) Constant 149
|
|
626: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 627 71 17 624 12 16 21
|
|
632: 7(int) Constant 151
|
|
634: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 370 94 17 632 12 16 21
|
|
646: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
650: 7(int) Constant 154
|
|
652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 653 71 17 650 12 16 21
|
|
656: TypePointer Uniform 27(fvec4)
|
|
663: 7(int) Constant 156
|
|
665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 157 26 17 663 12 16 21
|
|
670: 7(int) Constant 157
|
|
674: 7(int) Constant 160
|
|
676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 677 71 17 674 12 16 21
|
|
685: 7(int) Constant 161
|
|
689: 7(int) Constant 163
|
|
691: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 692 26 17 689 12 16 21
|
|
694: 24(float) Constant 1064781546
|
|
696: 7(int) Constant 164
|
|
698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 699 26 17 696 12 16 21
|
|
701: 24(float) Constant 1063781322
|
|
703: 7(int) Constant 165
|
|
705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 706 26 17 703 12 16 21
|
|
708: 24(float) Constant 1120403456
|
|
710: 7(int) Constant 168
|
|
712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 713 71 17 710 12 16 21
|
|
726: 7(int) Constant 171
|
|
728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 729 26 17 726 12 16 21
|
|
735: 7(int) Constant 172
|
|
737: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 738 26 17 735 12 16 21
|
|
745: 7(int) Constant 173
|
|
747: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 748 26 17 745 12 16 21
|
|
754: 7(int) Constant 176
|
|
756: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 757 26 17 754 12 16 21
|
|
764: 7(int) Constant 177
|
|
766: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 767 71 17 764 12 16 21
|
|
772: 7(int) Constant 180
|
|
774: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 775 71 17 772 12 16 21
|
|
782: 7(int) Constant 181
|
|
784: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 785 26 17 782 12 16 21
|
|
792: 7(int) Constant 182
|
|
794: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 795 71 17 792 12 16 21
|
|
798: 24(float) Constant 1098907648
|
|
803: 24(float) Constant 1075838976
|
|
807: 7(int) Constant 184
|
|
820: 92(int) Constant 2
|
|
836: 7(int) Constant 188
|
|
839: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12
|
|
845: 7(int) Constant 190
|
|
853: 7(int) Constant 193
|
|
Line 1 116 11
|
|
14(main): 4 Function None 5
|
|
23: Label
|
|
464(fragPos): 72(ptr) Variable Function
|
|
486(normal): 72(ptr) Variable Function
|
|
499(albedo): 29(ptr) Variable Function
|
|
537(param): 72(ptr) Variable Function
|
|
538(param): 72(ptr) Variable Function
|
|
616(fragcolor): 72(ptr) Variable Function
|
|
625(N): 72(ptr) Variable Function
|
|
633(i): 244(ptr) Variable Function
|
|
651(L): 72(ptr) Variable Function
|
|
664(dist): 30(ptr) Variable Function
|
|
675(V): 72(ptr) Variable Function
|
|
690(lightCosInnerAngle): 30(ptr) Variable Function
|
|
697(lightCosOuterAngle): 30(ptr) Variable Function
|
|
704(lightRange): 30(ptr) Variable Function
|
|
711(dir): 72(ptr) Variable Function
|
|
727(cosDir): 30(ptr) Variable Function
|
|
736(spotEffect): 30(ptr) Variable Function
|
|
746(heightAttenuation): 30(ptr) Variable Function
|
|
755(NdotL): 30(ptr) Variable Function
|
|
765(diff): 72(ptr) Variable Function
|
|
773(R): 72(ptr) Variable Function
|
|
783(NdotR): 30(ptr) Variable Function
|
|
793(spec): 72(ptr) Variable Function
|
|
846(param): 72(ptr) Variable Function
|
|
848(param): 72(ptr) Variable Function
|
|
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 19
|
|
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 91 91 12 12
|
|
Store 96(global_var) 100
|
|
460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main)
|
|
461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
462: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 463 463 12 12
|
|
467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 465 464(fragPos) 48
|
|
476: 470 Load 473(samplerposition)
|
|
481: 31(fvec2) Load 478(inUV)
|
|
482: 27(fvec4) ImageSampleImplicitLod 476 481
|
|
483: 70(fvec3) VectorShuffle 482 482 0 1 2
|
|
Store 464(fragPos) 483
|
|
484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 485 485 12 12
|
|
489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 487 486(normal) 48
|
|
493: 470 Load 490(samplerNormal)
|
|
494: 31(fvec2) Load 478(inUV)
|
|
495: 27(fvec4) ImageSampleImplicitLod 493 494
|
|
496: 70(fvec3) VectorShuffle 495 495 0 1 2
|
|
Store 486(normal) 496
|
|
497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 498 498 12 12
|
|
502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 500 499(albedo) 48
|
|
506: 470 Load 503(samplerAlbedo)
|
|
507: 31(fvec2) Load 478(inUV)
|
|
508: 27(fvec4) ImageSampleImplicitLod 506 507
|
|
Store 499(albedo) 508
|
|
509: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 510 510 12 12
|
|
512: 511(ptr) AccessChain 421(ubo) 382
|
|
513: 92(int) Load 512
|
|
515: 134(bool) SGreaterThan 513 100
|
|
SelectionMerge 517 None
|
|
BranchConditional 515 516 517
|
|
516: Label
|
|
518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
519: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 520 520 12 12
|
|
521: 511(ptr) AccessChain 421(ubo) 382
|
|
522: 92(int) Load 521
|
|
SelectionMerge 528 None
|
|
Switch 522 528
|
|
case 1: 523
|
|
case 2: 524
|
|
case 3: 525
|
|
case 4: 526
|
|
case 5: 527
|
|
523: Label
|
|
529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 531 531 12 12
|
|
Store 537(param) 536
|
|
539: 70(fvec3) Load 464(fragPos)
|
|
Store 538(param) 539
|
|
540: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 537(param) 538(param)
|
|
542: 541(ptr) AccessChain 533(outFragColor) 12
|
|
543: 24(float) CompositeExtract 540 0
|
|
Store 542 543
|
|
544: 541(ptr) AccessChain 533(outFragColor) 20
|
|
545: 24(float) CompositeExtract 540 1
|
|
Store 544 545
|
|
546: 541(ptr) AccessChain 533(outFragColor) 22
|
|
547: 24(float) CompositeExtract 540 2
|
|
Store 546 547
|
|
548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 549 549 12 12
|
|
Branch 528
|
|
524: Label
|
|
551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 553 553 12 12
|
|
554: 70(fvec3) Load 464(fragPos)
|
|
555: 541(ptr) AccessChain 533(outFragColor) 12
|
|
556: 24(float) CompositeExtract 554 0
|
|
Store 555 556
|
|
557: 541(ptr) AccessChain 533(outFragColor) 20
|
|
558: 24(float) CompositeExtract 554 1
|
|
Store 557 558
|
|
559: 541(ptr) AccessChain 533(outFragColor) 22
|
|
560: 24(float) CompositeExtract 554 2
|
|
Store 559 560
|
|
561: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 562 562 12 12
|
|
Branch 528
|
|
525: Label
|
|
564: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
565: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 566 566 12 12
|
|
567: 70(fvec3) Load 486(normal)
|
|
568: 541(ptr) AccessChain 533(outFragColor) 12
|
|
569: 24(float) CompositeExtract 567 0
|
|
Store 568 569
|
|
570: 541(ptr) AccessChain 533(outFragColor) 20
|
|
571: 24(float) CompositeExtract 567 1
|
|
Store 570 571
|
|
572: 541(ptr) AccessChain 533(outFragColor) 22
|
|
573: 24(float) CompositeExtract 567 2
|
|
Store 572 573
|
|
574: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 575 575 12 12
|
|
Branch 528
|
|
526: Label
|
|
577: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
578: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 579 579 12 12
|
|
580: 27(fvec4) Load 499(albedo)
|
|
581: 70(fvec3) VectorShuffle 580 580 0 1 2
|
|
582: 541(ptr) AccessChain 533(outFragColor) 12
|
|
583: 24(float) CompositeExtract 581 0
|
|
Store 582 583
|
|
584: 541(ptr) AccessChain 533(outFragColor) 20
|
|
585: 24(float) CompositeExtract 581 1
|
|
Store 584 585
|
|
586: 541(ptr) AccessChain 533(outFragColor) 22
|
|
587: 24(float) CompositeExtract 581 2
|
|
Store 586 587
|
|
588: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 589 589 12 12
|
|
Branch 528
|
|
527: Label
|
|
591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
592: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 593 593 12 12
|
|
594: 27(fvec4) Load 499(albedo)
|
|
595: 70(fvec3) VectorShuffle 594 594 3 3 3
|
|
596: 541(ptr) AccessChain 533(outFragColor) 12
|
|
597: 24(float) CompositeExtract 595 0
|
|
Store 596 597
|
|
598: 541(ptr) AccessChain 533(outFragColor) 20
|
|
599: 24(float) CompositeExtract 595 1
|
|
Store 598 599
|
|
600: 541(ptr) AccessChain 533(outFragColor) 22
|
|
601: 24(float) CompositeExtract 595 2
|
|
Store 600 601
|
|
602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 603 603 12 12
|
|
Branch 528
|
|
528: Label
|
|
606: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
607: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 608 608 12 12
|
|
609: 541(ptr) AccessChain 533(outFragColor) 13
|
|
Store 609 108
|
|
610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 611 611 12 12
|
|
Return
|
|
517: Label
|
|
613: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 615 615 12 12
|
|
618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 617 616(fragcolor) 48
|
|
619: 27(fvec4) Load 499(albedo)
|
|
620: 70(fvec3) VectorShuffle 619 619 0 1 2
|
|
622: 70(fvec3) VectorTimesScalar 620 621
|
|
Store 616(fragcolor) 622
|
|
623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 624 624 12 12
|
|
628: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 626 625(N) 48
|
|
629: 70(fvec3) Load 486(normal)
|
|
630: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 629
|
|
Store 625(N) 630
|
|
631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 632 632 12 12
|
|
635: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 634 633(i) 48
|
|
Store 633(i) 100
|
|
Branch 636
|
|
636: Label
|
|
640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 632 632 12 12
|
|
LoopMerge 638 639 None
|
|
Branch 642
|
|
642: Label
|
|
643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 632 632 12 12
|
|
645: 92(int) Load 633(i)
|
|
647: 134(bool) SLessThan 645 382
|
|
BranchConditional 647 637 638
|
|
637: Label
|
|
648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
649: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 650 650 12 12
|
|
654: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 652 651(L) 48
|
|
655: 92(int) Load 633(i)
|
|
657: 656(ptr) AccessChain 421(ubo) 279 655 100
|
|
658: 27(fvec4) Load 657
|
|
659: 70(fvec3) VectorShuffle 658 658 0 1 2
|
|
660: 70(fvec3) Load 464(fragPos)
|
|
661: 70(fvec3) FSub 659 660
|
|
Store 651(L) 661
|
|
662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 663 663 12 12
|
|
666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 665 664(dist) 48
|
|
667: 70(fvec3) Load 651(L)
|
|
668: 24(float) ExtInst 3(GLSL.std.450) 66(Length) 667
|
|
Store 664(dist) 668
|
|
669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 670 670 12 12
|
|
671: 70(fvec3) Load 651(L)
|
|
672: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 671
|
|
Store 651(L) 672
|
|
673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 674 674 12 12
|
|
678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 676 675(V) 48
|
|
679: 656(ptr) AccessChain 421(ubo) 100
|
|
680: 27(fvec4) Load 679
|
|
681: 70(fvec3) VectorShuffle 680 680 0 1 2
|
|
682: 70(fvec3) Load 464(fragPos)
|
|
683: 70(fvec3) FSub 681 682
|
|
Store 675(V) 683
|
|
684: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 685 685 12 12
|
|
686: 70(fvec3) Load 675(V)
|
|
687: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 686
|
|
Store 675(V) 687
|
|
688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 689 689 12 12
|
|
693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 691 690(lightCosInnerAngle) 48
|
|
Store 690(lightCosInnerAngle) 694
|
|
695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 696 696 12 12
|
|
700: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 698 697(lightCosOuterAngle) 48
|
|
Store 697(lightCosOuterAngle) 701
|
|
702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 703 703 12 12
|
|
707: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 705 704(lightRange) 48
|
|
Store 704(lightRange) 708
|
|
709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 710 710 12 12
|
|
714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 712 711(dir) 48
|
|
715: 92(int) Load 633(i)
|
|
716: 656(ptr) AccessChain 421(ubo) 279 715 100
|
|
717: 27(fvec4) Load 716
|
|
718: 70(fvec3) VectorShuffle 717 717 0 1 2
|
|
719: 92(int) Load 633(i)
|
|
720: 656(ptr) AccessChain 421(ubo) 279 719 279
|
|
721: 27(fvec4) Load 720
|
|
722: 70(fvec3) VectorShuffle 721 721 0 1 2
|
|
723: 70(fvec3) FSub 718 722
|
|
724: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 723
|
|
Store 711(dir) 724
|
|
725: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 726 726 12 12
|
|
730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 728 727(cosDir) 48
|
|
731: 70(fvec3) Load 651(L)
|
|
732: 70(fvec3) Load 711(dir)
|
|
733: 24(float) Dot 731 732
|
|
Store 727(cosDir) 733
|
|
734: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 735 735 12 12
|
|
739: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 737 736(spotEffect) 48
|
|
740: 24(float) Load 697(lightCosOuterAngle)
|
|
741: 24(float) Load 690(lightCosInnerAngle)
|
|
742: 24(float) Load 727(cosDir)
|
|
743: 24(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 740 741 742
|
|
Store 736(spotEffect) 743
|
|
744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 745 745 12 12
|
|
749: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 747 746(heightAttenuation) 48
|
|
750: 24(float) Load 704(lightRange)
|
|
751: 24(float) Load 664(dist)
|
|
752: 24(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 750 187 751
|
|
Store 746(heightAttenuation) 752
|
|
753: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 754 754 12 12
|
|
758: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 756 755(NdotL) 48
|
|
759: 70(fvec3) Load 625(N)
|
|
760: 70(fvec3) Load 651(L)
|
|
761: 24(float) Dot 759 760
|
|
762: 24(float) ExtInst 3(GLSL.std.450) 40(FMax) 187 761
|
|
Store 755(NdotL) 762
|
|
763: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 764 764 12 12
|
|
768: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 766 765(diff) 48
|
|
769: 24(float) Load 755(NdotL)
|
|
770: 70(fvec3) CompositeConstruct 769 769 769
|
|
Store 765(diff) 770
|
|
771: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 772 772 12 12
|
|
776: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 774 773(R) 48
|
|
777: 70(fvec3) Load 651(L)
|
|
778: 70(fvec3) FNegate 777
|
|
779: 70(fvec3) Load 625(N)
|
|
780: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 778 779
|
|
Store 773(R) 780
|
|
781: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 782 782 12 12
|
|
786: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 784 783(NdotR) 48
|
|
787: 70(fvec3) Load 773(R)
|
|
788: 70(fvec3) Load 675(V)
|
|
789: 24(float) Dot 787 788
|
|
790: 24(float) ExtInst 3(GLSL.std.450) 40(FMax) 187 789
|
|
Store 783(NdotR) 790
|
|
791: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 792 792 12 12
|
|
796: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 794 793(spec) 48
|
|
797: 24(float) Load 783(NdotR)
|
|
799: 24(float) ExtInst 3(GLSL.std.450) 26(Pow) 797 798
|
|
800: 30(ptr) AccessChain 499(albedo) 13
|
|
801: 24(float) Load 800
|
|
802: 24(float) FMul 799 801
|
|
804: 24(float) FMul 802 803
|
|
805: 70(fvec3) CompositeConstruct 804 804 804
|
|
Store 793(spec) 805
|
|
806: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 807 807 12 12
|
|
808: 70(fvec3) Load 765(diff)
|
|
809: 70(fvec3) Load 793(spec)
|
|
810: 70(fvec3) FAdd 808 809
|
|
811: 24(float) Load 736(spotEffect)
|
|
812: 70(fvec3) VectorTimesScalar 810 811
|
|
813: 24(float) Load 746(heightAttenuation)
|
|
814: 70(fvec3) VectorTimesScalar 812 813
|
|
815: 24(float) CompositeExtract 814 0
|
|
816: 24(float) CompositeExtract 814 1
|
|
817: 24(float) CompositeExtract 814 2
|
|
818: 70(fvec3) CompositeConstruct 815 816 817
|
|
819: 92(int) Load 633(i)
|
|
821: 656(ptr) AccessChain 421(ubo) 279 819 820
|
|
822: 27(fvec4) Load 821
|
|
823: 70(fvec3) VectorShuffle 822 822 0 1 2
|
|
824: 70(fvec3) FMul 818 823
|
|
825: 27(fvec4) Load 499(albedo)
|
|
826: 70(fvec3) VectorShuffle 825 825 0 1 2
|
|
827: 70(fvec3) FMul 824 826
|
|
828: 70(fvec3) Load 616(fragcolor)
|
|
829: 70(fvec3) FAdd 828 827
|
|
Store 616(fragcolor) 829
|
|
Branch 639
|
|
639: Label
|
|
830: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
831: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 632 632 12 12
|
|
832: 92(int) Load 633(i)
|
|
833: 92(int) IAdd 832 279
|
|
Store 633(i) 833
|
|
Branch 636
|
|
638: Label
|
|
834: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
835: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 836 836 12 12
|
|
837: 511(ptr) AccessChain 421(ubo) 820
|
|
838: 92(int) Load 837
|
|
840: 134(bool) SGreaterThan 838 100
|
|
SelectionMerge 842 None
|
|
BranchConditional 840 841 842
|
|
841: Label
|
|
843: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 845 845 12 12
|
|
847: 70(fvec3) Load 616(fragcolor)
|
|
Store 846(param) 847
|
|
849: 70(fvec3) Load 464(fragPos)
|
|
Store 848(param) 849
|
|
850: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 846(param) 848(param)
|
|
Store 616(fragcolor) 850
|
|
Branch 842
|
|
842: Label
|
|
851: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
852: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 853 853 12 12
|
|
854: 70(fvec3) Load 616(fragcolor)
|
|
855: 24(float) CompositeExtract 854 0
|
|
856: 24(float) CompositeExtract 854 1
|
|
857: 24(float) CompositeExtract 854 2
|
|
858: 27(fvec4) CompositeConstruct 855 856 857 108
|
|
Store 533(outFragColor) 858
|
|
Return
|
|
FunctionEnd
|
|
Line 1 59 51
|
|
39(textureProj(vf4;f1;vf2;): 24(float) Function None 34
|
|
36(P): 29(ptr) FunctionParameter
|
|
37(layer): 30(ptr) FunctionParameter
|
|
38(offset): 33(ptr) FunctionParameter
|
|
42: Label
|
|
105(shadow): 30(ptr) Variable Function
|
|
111(shadowCoord): 29(ptr) Variable Function
|
|
155(dist): 30(ptr) Variable Function
|
|
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41
|
|
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12
|
|
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 45 36(P) 48
|
|
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 37(layer) 48
|
|
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 38(offset) 48
|
|
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 41 39(textureProj(vf4;f1;vf2;)
|
|
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41
|
|
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 104 104 12 12
|
|
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 106 105(shadow) 48
|
|
Store 105(shadow) 108
|
|
109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 110 110 12 12
|
|
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 112 111(shadowCoord) 48
|
|
115: 27(fvec4) Load 36(P)
|
|
116: 30(ptr) AccessChain 36(P) 13
|
|
117: 24(float) Load 116
|
|
118: 27(fvec4) CompositeConstruct 117 117 117 117
|
|
119: 27(fvec4) FDiv 115 118
|
|
Store 111(shadowCoord) 119
|
|
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 121 121 12 12
|
|
122: 27(fvec4) Load 111(shadowCoord)
|
|
123: 31(fvec2) VectorShuffle 122 122 0 1
|
|
125: 31(fvec2) VectorTimesScalar 123 124
|
|
126: 31(fvec2) CompositeConstruct 124 124
|
|
127: 31(fvec2) FAdd 125 126
|
|
128: 30(ptr) AccessChain 111(shadowCoord) 12
|
|
129: 24(float) CompositeExtract 127 0
|
|
Store 128 129
|
|
130: 30(ptr) AccessChain 111(shadowCoord) 20
|
|
131: 24(float) CompositeExtract 127 1
|
|
Store 130 131
|
|
132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 133 133 12 12
|
|
135: 30(ptr) AccessChain 111(shadowCoord) 22
|
|
136: 24(float) Load 135
|
|
140: 134(bool) FOrdGreaterThan 136 137
|
|
SelectionMerge 142 None
|
|
BranchConditional 140 141 142
|
|
141: Label
|
|
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41
|
|
144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 133 133 12 12
|
|
145: 30(ptr) AccessChain 111(shadowCoord) 22
|
|
146: 24(float) Load 145
|
|
148: 134(bool) FOrdLessThan 146 108
|
|
Branch 142
|
|
142: Label
|
|
149: 134(bool) Phi 140 42 148 141
|
|
SelectionMerge 151 None
|
|
BranchConditional 149 150 151
|
|
150: Label
|
|
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41
|
|
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 154 154 12 12
|
|
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 156 155(dist) 48
|
|
172: 164 Load 169(samplerShadowMap)
|
|
173: 27(fvec4) Load 111(shadowCoord)
|
|
174: 31(fvec2) VectorShuffle 173 173 0 1
|
|
175: 31(fvec2) Load 38(offset)
|
|
176: 31(fvec2) FAdd 174 175
|
|
177: 24(float) Load 37(layer)
|
|
178: 24(float) CompositeExtract 176 0
|
|
179: 24(float) CompositeExtract 176 1
|
|
180: 70(fvec3) CompositeConstruct 178 179 177
|
|
181: 27(fvec4) ImageSampleImplicitLod 172 180
|
|
182: 24(float) CompositeExtract 181 0
|
|
Store 155(dist) 182
|
|
183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 184 184 12 12
|
|
185: 30(ptr) AccessChain 111(shadowCoord) 13
|
|
186: 24(float) Load 185
|
|
189: 134(bool) FOrdGreaterThan 186 187
|
|
SelectionMerge 191 None
|
|
BranchConditional 189 190 191
|
|
190: Label
|
|
192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41
|
|
193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 184 184 12 12
|
|
194: 24(float) Load 155(dist)
|
|
195: 30(ptr) AccessChain 111(shadowCoord) 22
|
|
196: 24(float) Load 195
|
|
198: 134(bool) FOrdLessThan 194 196
|
|
Branch 191
|
|
191: Label
|
|
199: 134(bool) Phi 189 150 198 190
|
|
SelectionMerge 201 None
|
|
BranchConditional 199 200 201
|
|
200: Label
|
|
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41
|
|
203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 204 204 12 12
|
|
Store 105(shadow) 205
|
|
Branch 201
|
|
201: Label
|
|
Branch 151
|
|
151: Label
|
|
206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41
|
|
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 208 208 12 12
|
|
209: 24(float) Load 105(shadow)
|
|
ReturnValue 209
|
|
FunctionEnd
|
|
Line 1 76 37
|
|
59(filterPCF(vf4;f1;): 24(float) Function None 55
|
|
57(sc): 29(ptr) FunctionParameter
|
|
58(layer): 30(ptr) FunctionParameter
|
|
62: Label
|
|
219(texDim): 218(ptr) Variable Function
|
|
231(scale): 30(ptr) Variable Function
|
|
238(dx): 30(ptr) Variable Function
|
|
251(dy): 30(ptr) Variable Function
|
|
263(shadowFactor): 30(ptr) Variable Function
|
|
269(count): 244(ptr) Variable Function
|
|
275(range): 244(ptr) Variable Function
|
|
282(x): 244(ptr) Variable Function
|
|
304(y): 244(ptr) Variable Function
|
|
335(param): 29(ptr) Variable Function
|
|
337(param): 30(ptr) Variable Function
|
|
339(param): 33(ptr) Variable Function
|
|
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12
|
|
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 65 57(sc) 48
|
|
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 68 58(layer) 48
|
|
212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 59(filterPCF(vf4;f1;)
|
|
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 215 215 12 12
|
|
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 220 219(texDim) 48
|
|
223: 164 Load 169(samplerShadowMap)
|
|
224: 159 Image 223
|
|
227: 225(ivec3) ImageQuerySizeLod 224 100
|
|
228: 216(ivec2) VectorShuffle 227 227 0 1
|
|
Store 219(texDim) 228
|
|
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 230 230 12 12
|
|
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 232 231(scale) 48
|
|
Store 231(scale) 235
|
|
236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 237 237 12 12
|
|
241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 239 238(dx) 48
|
|
242: 24(float) Load 231(scale)
|
|
243: 24(float) FMul 242 108
|
|
245: 244(ptr) AccessChain 219(texDim) 12
|
|
246: 92(int) Load 245
|
|
247: 24(float) ConvertSToF 246
|
|
248: 24(float) FDiv 243 247
|
|
Store 238(dx) 248
|
|
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 250 250 12 12
|
|
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 252 251(dy) 48
|
|
255: 24(float) Load 231(scale)
|
|
256: 24(float) FMul 255 108
|
|
257: 244(ptr) AccessChain 219(texDim) 20
|
|
258: 92(int) Load 257
|
|
259: 24(float) ConvertSToF 258
|
|
260: 24(float) FDiv 256 259
|
|
Store 251(dy) 260
|
|
261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 262 262 12 12
|
|
266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 264 263(shadowFactor) 48
|
|
Store 263(shadowFactor) 187
|
|
267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 268 268 12 12
|
|
272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 270 269(count) 48
|
|
Store 269(count) 100
|
|
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 274 274 12 12
|
|
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 276 275(range) 48
|
|
Store 275(range) 279
|
|
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 281 281 12 12
|
|
285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 283 282(x) 48
|
|
286: 92(int) Load 275(range)
|
|
287: 92(int) SNegate 286
|
|
Store 282(x) 287
|
|
Branch 288
|
|
288: Label
|
|
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 281 281 12 12
|
|
LoopMerge 290 291 None
|
|
Branch 294
|
|
294: Label
|
|
295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 281 281 12 12
|
|
297: 92(int) Load 282(x)
|
|
298: 92(int) Load 275(range)
|
|
300: 134(bool) SLessThanEqual 297 298
|
|
BranchConditional 300 289 290
|
|
289: Label
|
|
301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 303 303 12 12
|
|
307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(y) 48
|
|
308: 92(int) Load 275(range)
|
|
309: 92(int) SNegate 308
|
|
Store 304(y) 309
|
|
Branch 310
|
|
310: Label
|
|
314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 303 303 12 12
|
|
LoopMerge 312 313 None
|
|
Branch 316
|
|
316: Label
|
|
317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 303 303 12 12
|
|
319: 92(int) Load 304(y)
|
|
320: 92(int) Load 275(range)
|
|
322: 134(bool) SLessThanEqual 319 320
|
|
BranchConditional 322 311 312
|
|
311: Label
|
|
323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 325 325 12 12
|
|
326: 24(float) Load 238(dx)
|
|
327: 92(int) Load 282(x)
|
|
328: 24(float) ConvertSToF 327
|
|
329: 24(float) FMul 326 328
|
|
330: 24(float) Load 251(dy)
|
|
331: 92(int) Load 304(y)
|
|
332: 24(float) ConvertSToF 331
|
|
333: 24(float) FMul 330 332
|
|
334: 31(fvec2) CompositeConstruct 329 333
|
|
336: 27(fvec4) Load 57(sc)
|
|
Store 335(param) 336
|
|
338: 24(float) Load 58(layer)
|
|
Store 337(param) 338
|
|
Store 339(param) 334
|
|
340: 24(float) FunctionCall 39(textureProj(vf4;f1;vf2;) 335(param) 337(param) 339(param)
|
|
341: 24(float) Load 263(shadowFactor)
|
|
342: 24(float) FAdd 341 340
|
|
Store 263(shadowFactor) 342
|
|
343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 344 344 12 12
|
|
345: 92(int) Load 269(count)
|
|
346: 92(int) IAdd 345 279
|
|
Store 269(count) 346
|
|
Branch 313
|
|
313: Label
|
|
347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 303 303 12 12
|
|
349: 92(int) Load 304(y)
|
|
350: 92(int) IAdd 349 279
|
|
Store 304(y) 350
|
|
Branch 310
|
|
312: Label
|
|
Branch 291
|
|
291: Label
|
|
351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 281 281 12 12
|
|
353: 92(int) Load 282(x)
|
|
354: 92(int) IAdd 353 279
|
|
Store 282(x) 354
|
|
Branch 288
|
|
290: Label
|
|
355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61
|
|
356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 357 357 12 12
|
|
358: 24(float) Load 263(shadowFactor)
|
|
359: 92(int) Load 269(count)
|
|
360: 24(float) ConvertSToF 359
|
|
361: 24(float) FDiv 358 360
|
|
ReturnValue 361
|
|
FunctionEnd
|
|
Line 1 99 41
|
|
77(shadow(vf3;vf3;): 70(fvec3) Function None 73
|
|
75(fragcolor): 72(ptr) FunctionParameter
|
|
76(fragpos): 72(ptr) FunctionParameter
|
|
80: Label
|
|
368(i): 244(ptr) Variable Function
|
|
388(shadowClip): 29(ptr) Variable Function
|
|
436(shadowFactor): 30(ptr) Variable Function
|
|
441(param): 29(ptr) Variable Function
|
|
443(param): 30(ptr) Variable Function
|
|
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79
|
|
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12
|
|
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 83 75(fragcolor) 48
|
|
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 76(fragpos) 48
|
|
364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 79 77(shadow(vf3;vf3;)
|
|
365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79
|
|
366: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 367 367 12 12
|
|
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 369 368(i) 48
|
|
Store 368(i) 100
|
|
Branch 372
|
|
372: Label
|
|
376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79
|
|
377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 367 367 12 12
|
|
LoopMerge 374 375 None
|
|
Branch 378
|
|
378: Label
|
|
379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79
|
|
380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 367 367 12 12
|
|
381: 92(int) Load 368(i)
|
|
384: 134(bool) SLessThan 381 382
|
|
BranchConditional 384 373 374
|
|
373: Label
|
|
385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79
|
|
386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 387 387 12 12
|
|
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 389 388(shadowClip) 48
|
|
424: 92(int) Load 368(i)
|
|
426: 425(ptr) AccessChain 421(ubo) 279 424 382
|
|
427: 392 Load 426
|
|
428: 70(fvec3) Load 76(fragpos)
|
|
429: 24(float) CompositeExtract 428 0
|
|
430: 24(float) CompositeExtract 428 1
|
|
431: 24(float) CompositeExtract 428 2
|
|
432: 27(fvec4) CompositeConstruct 429 430 431 108
|
|
433: 27(fvec4) MatrixTimesVector 427 432
|
|
Store 388(shadowClip) 433
|
|
434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 435 435 12 12
|
|
438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 437 436(shadowFactor) 48
|
|
439: 92(int) Load 368(i)
|
|
440: 24(float) ConvertSToF 439
|
|
442: 27(fvec4) Load 388(shadowClip)
|
|
Store 441(param) 442
|
|
Store 443(param) 440
|
|
444: 24(float) FunctionCall 59(filterPCF(vf4;f1;) 441(param) 443(param)
|
|
Store 436(shadowFactor) 444
|
|
445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 446 446 12 12
|
|
447: 24(float) Load 436(shadowFactor)
|
|
448: 70(fvec3) Load 75(fragcolor)
|
|
449: 70(fvec3) VectorTimesScalar 448 447
|
|
Store 75(fragcolor) 449
|
|
Branch 375
|
|
375: Label
|
|
450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79
|
|
451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 367 367 12 12
|
|
452: 92(int) Load 368(i)
|
|
453: 92(int) IAdd 452 279
|
|
Store 368(i) 453
|
|
Branch 372
|
|
374: Label
|
|
454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79
|
|
455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 456 456 12 12
|
|
457: 70(fvec3) Load 75(fragcolor)
|
|
ReturnValue 457
|
|
FunctionEnd
|