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