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