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