950 lines
55 KiB
Plaintext
950 lines
55 KiB
Plaintext
spv.debuginfo.glsl.frag
|
|
Validation failed
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000a
|
|
// Id's are bound by 716
|
|
|
|
Capability Shader
|
|
Capability ImageQuery
|
|
Extension "SPV_KHR_non_semantic_info"
|
|
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
|
2: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 13 "main" 406 452
|
|
ExecutionMode 13 OriginUpperLeft
|
|
8: String "uint"
|
|
14: String "main"
|
|
17: String ""
|
|
24: String "float"
|
|
39: String "textureProj"
|
|
45: String "P"
|
|
49: String "layer"
|
|
52: String "offset"
|
|
59: String "filterPCF"
|
|
65: String "sc"
|
|
77: String "shadow"
|
|
83: String "fragcolor"
|
|
86: String "fragpos"
|
|
96: String "shadowCoord"
|
|
118: String "bool"
|
|
132: String "dist"
|
|
136: String "type.2d.image"
|
|
137: String "@type.2d.image"
|
|
141: String "type.sampled.image"
|
|
142: String "@type.sampled.image"
|
|
146: String "samplerShadowMap"
|
|
182: String "int"
|
|
189: String "texDim"
|
|
201: String "scale"
|
|
207: String "dx"
|
|
219: String "dy"
|
|
230: String "shadowFactor"
|
|
235: String "count"
|
|
240: String "range"
|
|
246: String "x"
|
|
262: String "y"
|
|
312: String "i"
|
|
326: String "shadowClip"
|
|
333: String "color"
|
|
339: String "viewMatrix"
|
|
342: String "Light"
|
|
348: String "lights"
|
|
351: String "debugDisplayTarget"
|
|
355: String "UBO"
|
|
359: String "ubo"
|
|
394: String "fragPos"
|
|
403: String "samplerposition"
|
|
408: String "inUV"
|
|
415: String "normal"
|
|
419: String "samplerNormal"
|
|
427: String "albedo"
|
|
431: String "samplerAlbedo"
|
|
454: String "outFragColor"
|
|
516: String "N"
|
|
535: String "L"
|
|
556: String "V"
|
|
569: String "lightCosInnerAngle"
|
|
575: String "lightCosOuterAngle"
|
|
581: String "lightRange"
|
|
587: String "dir"
|
|
602: String "cosDir"
|
|
610: String "spotEffect"
|
|
619: String "heightAttenuation"
|
|
627: String "NdotL"
|
|
636: String "diff"
|
|
643: String "R"
|
|
652: String "NdotR"
|
|
661: String "spec"
|
|
Name 13 "main"
|
|
Name 38 "textureProj(vf4;f1;vf2;"
|
|
Name 35 "P"
|
|
Name 36 "layer"
|
|
Name 37 "offset"
|
|
Name 58 "filterPCF(vf4;f1;"
|
|
Name 56 "sc"
|
|
Name 57 "layer"
|
|
Name 76 "shadow(vf3;vf3;"
|
|
Name 74 "fragcolor"
|
|
Name 75 "fragpos"
|
|
Name 89 "shadow"
|
|
Name 94 "shadowCoord"
|
|
Name 130 "dist"
|
|
Name 144 "samplerShadowMap"
|
|
Name 187 "texDim"
|
|
Name 199 "scale"
|
|
Name 205 "dx"
|
|
Name 217 "dy"
|
|
Name 228 "shadowFactor"
|
|
Name 233 "count"
|
|
Name 238 "range"
|
|
Name 244 "x"
|
|
Name 260 "y"
|
|
Name 285 "param"
|
|
Name 287 "param"
|
|
Name 289 "param"
|
|
Name 310 "i"
|
|
Name 324 "shadowClip"
|
|
Name 331 "Light"
|
|
MemberName 331(Light) 0 "position"
|
|
MemberName 331(Light) 1 "target"
|
|
MemberName 331(Light) 2 "color"
|
|
MemberName 331(Light) 3 "viewMatrix"
|
|
Name 345 "UBO"
|
|
MemberName 345(UBO) 0 "viewPos"
|
|
MemberName 345(UBO) 1 "lights"
|
|
MemberName 345(UBO) 2 "useShadows"
|
|
MemberName 345(UBO) 3 "debugDisplayTarget"
|
|
Name 357 "ubo"
|
|
Name 371 "shadowFactor"
|
|
Name 376 "param"
|
|
Name 378 "param"
|
|
Name 392 "fragPos"
|
|
Name 401 "samplerposition"
|
|
Name 406 "inUV"
|
|
Name 413 "normal"
|
|
Name 417 "samplerNormal"
|
|
Name 425 "albedo"
|
|
Name 429 "samplerAlbedo"
|
|
Name 452 "outFragColor"
|
|
Name 457 "param"
|
|
Name 458 "param"
|
|
Name 506 "fragcolor"
|
|
Name 514 "N"
|
|
Name 521 "i"
|
|
Name 533 "L"
|
|
Name 545 "dist"
|
|
Name 554 "V"
|
|
Name 567 "lightCosInnerAngle"
|
|
Name 573 "lightCosOuterAngle"
|
|
Name 579 "lightRange"
|
|
Name 585 "dir"
|
|
Name 600 "cosDir"
|
|
Name 608 "spotEffect"
|
|
Name 617 "heightAttenuation"
|
|
Name 625 "NdotL"
|
|
Name 634 "diff"
|
|
Name 641 "R"
|
|
Name 650 "NdotR"
|
|
Name 659 "spec"
|
|
Name 705 "param"
|
|
Name 707 "param"
|
|
Decorate 144(samplerShadowMap) DescriptorSet 0
|
|
Decorate 144(samplerShadowMap) Binding 5
|
|
MemberDecorate 331(Light) 0 Offset 0
|
|
MemberDecorate 331(Light) 1 Offset 16
|
|
MemberDecorate 331(Light) 2 Offset 32
|
|
MemberDecorate 331(Light) 3 ColMajor
|
|
MemberDecorate 331(Light) 3 Offset 48
|
|
MemberDecorate 331(Light) 3 MatrixStride 16
|
|
Decorate 343 ArrayStride 112
|
|
MemberDecorate 345(UBO) 0 Offset 0
|
|
MemberDecorate 345(UBO) 1 Offset 16
|
|
MemberDecorate 345(UBO) 2 Offset 352
|
|
MemberDecorate 345(UBO) 3 Offset 356
|
|
Decorate 345(UBO) Block
|
|
Decorate 357(ubo) DescriptorSet 0
|
|
Decorate 357(ubo) Binding 4
|
|
Decorate 401(samplerposition) DescriptorSet 0
|
|
Decorate 401(samplerposition) Binding 1
|
|
Decorate 406(inUV) Location 0
|
|
Decorate 417(samplerNormal) DescriptorSet 0
|
|
Decorate 417(samplerNormal) Binding 2
|
|
Decorate 429(samplerAlbedo) DescriptorSet 0
|
|
Decorate 429(samplerAlbedo) Binding 3
|
|
Decorate 452(outFragColor) Location 0
|
|
3: TypeVoid
|
|
4: TypeFunction 3
|
|
6: TypeInt 32 0
|
|
9: 6(int) Constant 32
|
|
10: 6(int) Constant 6
|
|
11: 6(int) Constant 0
|
|
7: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 8 9 10 11
|
|
12: 6(int) Constant 3
|
|
5: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 3
|
|
16: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 17
|
|
19: 6(int) Constant 1
|
|
20: 6(int) Constant 4
|
|
21: 6(int) Constant 2
|
|
18: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 19 20 16 21
|
|
15: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 14 5 16 11 11 18 14 12 11
|
|
23: TypeFloat 32
|
|
25: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 24 9 12 11
|
|
26: TypeVector 23(float) 4
|
|
27: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 25 20
|
|
28: TypePointer Function 26(fvec4)
|
|
29: TypePointer Function 23(float)
|
|
30: TypeVector 23(float) 2
|
|
31: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 25 21
|
|
32: TypePointer Function 30(fvec2)
|
|
33: TypeFunction 23(float) 28(ptr) 29(ptr) 32(ptr)
|
|
34: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 25 27 25 31
|
|
40: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 39 34 16 11 11 18 39 12 11
|
|
44: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 45 27 16 11 11 40 20 19
|
|
47: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt)
|
|
48: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 49 25 16 11 11 40 20 21
|
|
51: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 52 31 16 11 11 40 20 12
|
|
54: TypeFunction 23(float) 28(ptr) 29(ptr)
|
|
55: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 25 27 25
|
|
60: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 59 55 16 11 11 18 59 12 11
|
|
64: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 65 27 16 11 11 60 20 19
|
|
67: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 49 25 16 11 11 60 20 21
|
|
69: TypeVector 23(float) 3
|
|
70: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 25 12
|
|
71: TypePointer Function 69(fvec3)
|
|
72: TypeFunction 69(fvec3) 71(ptr) 71(ptr)
|
|
73: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 70 70 70
|
|
78: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 77 73 16 11 11 18 77 12 11
|
|
82: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 83 70 16 11 11 78 20 19
|
|
85: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 86 70 16 11 11 78 20 21
|
|
91: 6(int) Constant 59
|
|
90: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 77 25 16 91 11 40 20
|
|
92: 23(float) Constant 1065353216
|
|
97: 6(int) Constant 60
|
|
95: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 96 27 16 97 11 40 20
|
|
106: 23(float) Constant 1056964608
|
|
114: TypeBool
|
|
117: 23(float) Constant 3212836864
|
|
119: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
125: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
133: 6(int) Constant 65
|
|
131: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 132 25 16 133 11 40 20
|
|
134: TypeImage 23(float) 2D array sampled format:Unknown
|
|
138: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(Unknown)
|
|
135: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 136 11 16 133 11 18 137 138 12
|
|
139: TypeSampledImage 134
|
|
140: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 141 11 16 133 11 18 142 138 12
|
|
143: TypePointer UniformConstant 139
|
|
144(samplerShadowMap): 143(ptr) Variable UniformConstant
|
|
147: 6(int) Constant 8
|
|
145: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 146 140 16 133 11 18 146 144(samplerShadowMap) 147
|
|
162: 23(float) Constant 0
|
|
163: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
170: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
175: 23(float) Constant 1048576000
|
|
181: TypeInt 32 1
|
|
183: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 182 9 20 11
|
|
184: TypeVector 181(int) 2
|
|
185: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 183 21
|
|
186: TypePointer Function 184(ivec2)
|
|
190: 6(int) Constant 76
|
|
188: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 189 185 16 190 11 60 20
|
|
192: 181(int) Constant 0
|
|
194: TypeVector 181(int) 3
|
|
195: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 183 12
|
|
202: 6(int) Constant 77
|
|
200: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 201 25 16 202 11 60 20
|
|
203: 23(float) Constant 1069547520
|
|
208: 6(int) Constant 78
|
|
206: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 207 25 16 208 11 60 20
|
|
211: TypePointer Function 181(int)
|
|
220: 6(int) Constant 79
|
|
218: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 219 25 16 220 11 60 20
|
|
231: 6(int) Constant 81
|
|
229: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 230 25 16 231 11 60 20
|
|
236: 6(int) Constant 82
|
|
234: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 235 183 16 236 11 60 20
|
|
241: 6(int) Constant 83
|
|
239: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 240 183 16 241 11 60 20
|
|
242: 181(int) Constant 1
|
|
247: 6(int) Constant 85
|
|
245: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 246 183 16 247 11 60 20
|
|
258: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
263: 6(int) Constant 87
|
|
261: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 262 183 16 263 11 60 20
|
|
274: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
313: 6(int) Constant 98
|
|
311: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 312 183 16 313 11 78 20
|
|
321: 181(int) Constant 3
|
|
322: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
327: 6(int) Constant 100
|
|
325: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 326 27 16 327 11 78 20
|
|
328: TypeMatrix 26(fvec4) 4
|
|
330: 114(bool) ConstantTrue
|
|
329: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 27 20 330
|
|
331(Light): TypeStruct 26(fvec4) 26(fvec4) 26(fvec4) 328
|
|
334: 6(int) Constant 45
|
|
335: 6(int) Constant 7
|
|
332: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 333 27 16 334 335 11 11 12
|
|
336: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 333 27 16 334 335 11 11 12
|
|
337: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 333 27 16 334 335 11 11 12
|
|
340: 6(int) Constant 46
|
|
338: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 339 329 16 340 335 11 11 12
|
|
341: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 342 19 16 327 11 18 342 11 12 332 336 337 338
|
|
343: TypeArray 331(Light) 12
|
|
344: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 341 12
|
|
345(UBO): TypeStruct 26(fvec4) 343 181(int) 181(int)
|
|
346: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 333 27 16 334 335 11 11 12
|
|
349: 6(int) Constant 52
|
|
347: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 348 344 16 349 147 11 11 12
|
|
352: 6(int) Constant 54
|
|
350: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 351 183 16 352 10 11 11 12
|
|
353: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 351 183 16 352 10 11 11 12
|
|
354: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 355 19 16 327 11 18 355 11 12 346 347 350 353
|
|
356: TypePointer Uniform 345(UBO)
|
|
357(ubo): 356(ptr) Variable Uniform
|
|
358: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 359 354 16 327 11 18 359 357(ubo) 147
|
|
361: TypePointer Uniform 328
|
|
373: 6(int) Constant 104
|
|
372: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 230 25 16 373 11 78 20
|
|
395: 6(int) Constant 117
|
|
393: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 394 70 16 395 11 15 20
|
|
396: TypeImage 23(float) 2D sampled format:Unknown
|
|
397: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 136 11 16 395 11 18 137 138 12
|
|
398: TypeSampledImage 396
|
|
399: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 141 11 16 395 11 18 142 138 12
|
|
400: TypePointer UniformConstant 398
|
|
401(samplerposition): 400(ptr) Variable UniformConstant
|
|
402: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 403 399 16 395 11 18 403 401(samplerposition) 147
|
|
405: TypePointer Input 30(fvec2)
|
|
406(inUV): 405(ptr) Variable Input
|
|
407: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 408 31 16 395 11 18 408 406(inUV) 147
|
|
416: 6(int) Constant 118
|
|
414: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 415 70 16 416 11 15 20
|
|
417(samplerNormal): 400(ptr) Variable UniformConstant
|
|
418: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 419 399 16 416 11 18 419 417(samplerNormal) 147
|
|
428: 6(int) Constant 119
|
|
426: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 427 27 16 428 11 15 20
|
|
429(samplerAlbedo): 400(ptr) Variable UniformConstant
|
|
430: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 431 399 16 428 11 18 431 429(samplerAlbedo) 147
|
|
436: TypePointer Uniform 181(int)
|
|
439: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
451: TypePointer Output 26(fvec4)
|
|
452(outFragColor): 451(ptr) Variable Output
|
|
455: 6(int) Constant 125
|
|
453: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 454 27 16 455 11 18 454 452(outFragColor) 147
|
|
456: 69(fvec3) ConstantComposite 92 92 92
|
|
461: TypePointer Output 23(float)
|
|
508: 6(int) Constant 145
|
|
507: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 83 70 16 508 11 15 20
|
|
511: 23(float) Constant 1036831949
|
|
517: 6(int) Constant 147
|
|
515: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 516 70 16 517 11 15 20
|
|
523: 6(int) Constant 149
|
|
522: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 312 183 16 523 11 15 20
|
|
531: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
536: 6(int) Constant 152
|
|
534: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 535 70 16 536 11 15 20
|
|
538: TypePointer Uniform 26(fvec4)
|
|
547: 6(int) Constant 154
|
|
546: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 132 25 16 547 11 15 20
|
|
557: 6(int) Constant 158
|
|
555: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 556 70 16 557 11 15 20
|
|
570: 6(int) Constant 161
|
|
568: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 569 25 16 570 11 15 20
|
|
571: 23(float) Constant 1064781546
|
|
576: 6(int) Constant 162
|
|
574: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 575 25 16 576 11 15 20
|
|
577: 23(float) Constant 1063781322
|
|
582: 6(int) Constant 163
|
|
580: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 581 25 16 582 11 15 20
|
|
583: 23(float) Constant 1120403456
|
|
588: 6(int) Constant 166
|
|
586: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 587 70 16 588 11 15 20
|
|
603: 6(int) Constant 169
|
|
601: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 602 25 16 603 11 15 20
|
|
611: 6(int) Constant 170
|
|
609: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 610 25 16 611 11 15 20
|
|
620: 6(int) Constant 171
|
|
618: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 619 25 16 620 11 15 20
|
|
628: 6(int) Constant 174
|
|
626: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 627 25 16 628 11 15 20
|
|
637: 6(int) Constant 175
|
|
635: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 636 70 16 637 11 15 20
|
|
644: 6(int) Constant 178
|
|
642: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 643 70 16 644 11 15 20
|
|
653: 6(int) Constant 179
|
|
651: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 652 25 16 653 11 15 20
|
|
662: 6(int) Constant 180
|
|
660: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 661 70 16 662 11 15 20
|
|
664: 23(float) Constant 1098907648
|
|
669: 23(float) Constant 1075838976
|
|
685: 181(int) Constant 2
|
|
701: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 118 9 21 11
|
|
13(main): 3 Function None 4
|
|
22: Label
|
|
392(fragPos): 71(ptr) Variable Function
|
|
413(normal): 71(ptr) Variable Function
|
|
425(albedo): 28(ptr) Variable Function
|
|
457(param): 71(ptr) Variable Function
|
|
458(param): 71(ptr) Variable Function
|
|
506(fragcolor): 71(ptr) Variable Function
|
|
514(N): 71(ptr) Variable Function
|
|
521(i): 211(ptr) Variable Function
|
|
533(L): 71(ptr) Variable Function
|
|
545(dist): 29(ptr) Variable Function
|
|
554(V): 71(ptr) Variable Function
|
|
567(lightCosInnerAngle): 29(ptr) Variable Function
|
|
573(lightCosOuterAngle): 29(ptr) Variable Function
|
|
579(lightRange): 29(ptr) Variable Function
|
|
585(dir): 71(ptr) Variable Function
|
|
600(cosDir): 29(ptr) Variable Function
|
|
608(spotEffect): 29(ptr) Variable Function
|
|
617(heightAttenuation): 29(ptr) Variable Function
|
|
625(NdotL): 29(ptr) Variable Function
|
|
634(diff): 71(ptr) Variable Function
|
|
641(R): 71(ptr) Variable Function
|
|
650(NdotR): 29(ptr) Variable Function
|
|
659(spec): 71(ptr) Variable Function
|
|
705(param): 71(ptr) Variable Function
|
|
707(param): 71(ptr) Variable Function
|
|
391: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 15 13(main)
|
|
404: 398 Load 401(samplerposition)
|
|
409: 30(fvec2) Load 406(inUV)
|
|
410: 26(fvec4) ImageSampleImplicitLod 404 409
|
|
411: 69(fvec3) VectorShuffle 410 410 0 1 2
|
|
Store 392(fragPos) 411
|
|
412: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 393 411 47
|
|
420: 398 Load 417(samplerNormal)
|
|
421: 30(fvec2) Load 406(inUV)
|
|
422: 26(fvec4) ImageSampleImplicitLod 420 421
|
|
423: 69(fvec3) VectorShuffle 422 422 0 1 2
|
|
Store 413(normal) 423
|
|
424: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 414 423 47
|
|
432: 398 Load 429(samplerAlbedo)
|
|
433: 30(fvec2) Load 406(inUV)
|
|
434: 26(fvec4) ImageSampleImplicitLod 432 433
|
|
Store 425(albedo) 434
|
|
435: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 426 434 47
|
|
437: 436(ptr) AccessChain 357(ubo) 321
|
|
438: 181(int) Load 437
|
|
440: 114(bool) SGreaterThan 438 192
|
|
SelectionMerge 442 None
|
|
BranchConditional 440 441 442
|
|
441: Label
|
|
443: 436(ptr) AccessChain 357(ubo) 321
|
|
444: 181(int) Load 443
|
|
SelectionMerge 450 None
|
|
Switch 444 450
|
|
case 1: 445
|
|
case 2: 446
|
|
case 3: 447
|
|
case 4: 448
|
|
case 5: 449
|
|
445: Label
|
|
Store 457(param) 456
|
|
459: 69(fvec3) Load 392(fragPos)
|
|
Store 458(param) 459
|
|
460: 69(fvec3) FunctionCall 76(shadow(vf3;vf3;) 457(param) 458(param)
|
|
462: 461(ptr) AccessChain 452(outFragColor) 11
|
|
463: 23(float) CompositeExtract 460 0
|
|
Store 462 463
|
|
464: 461(ptr) AccessChain 452(outFragColor) 19
|
|
465: 23(float) CompositeExtract 460 1
|
|
Store 464 465
|
|
466: 461(ptr) AccessChain 452(outFragColor) 21
|
|
467: 23(float) CompositeExtract 460 2
|
|
Store 466 467
|
|
Branch 450
|
|
446: Label
|
|
469: 69(fvec3) Load 392(fragPos)
|
|
470: 461(ptr) AccessChain 452(outFragColor) 11
|
|
471: 23(float) CompositeExtract 469 0
|
|
Store 470 471
|
|
472: 461(ptr) AccessChain 452(outFragColor) 19
|
|
473: 23(float) CompositeExtract 469 1
|
|
Store 472 473
|
|
474: 461(ptr) AccessChain 452(outFragColor) 21
|
|
475: 23(float) CompositeExtract 469 2
|
|
Store 474 475
|
|
Branch 450
|
|
447: Label
|
|
477: 69(fvec3) Load 413(normal)
|
|
478: 461(ptr) AccessChain 452(outFragColor) 11
|
|
479: 23(float) CompositeExtract 477 0
|
|
Store 478 479
|
|
480: 461(ptr) AccessChain 452(outFragColor) 19
|
|
481: 23(float) CompositeExtract 477 1
|
|
Store 480 481
|
|
482: 461(ptr) AccessChain 452(outFragColor) 21
|
|
483: 23(float) CompositeExtract 477 2
|
|
Store 482 483
|
|
Branch 450
|
|
448: Label
|
|
485: 26(fvec4) Load 425(albedo)
|
|
486: 69(fvec3) VectorShuffle 485 485 0 1 2
|
|
487: 461(ptr) AccessChain 452(outFragColor) 11
|
|
488: 23(float) CompositeExtract 486 0
|
|
Store 487 488
|
|
489: 461(ptr) AccessChain 452(outFragColor) 19
|
|
490: 23(float) CompositeExtract 486 1
|
|
Store 489 490
|
|
491: 461(ptr) AccessChain 452(outFragColor) 21
|
|
492: 23(float) CompositeExtract 486 2
|
|
Store 491 492
|
|
Branch 450
|
|
449: Label
|
|
494: 26(fvec4) Load 425(albedo)
|
|
495: 69(fvec3) VectorShuffle 494 494 3 3 3
|
|
496: 461(ptr) AccessChain 452(outFragColor) 11
|
|
497: 23(float) CompositeExtract 495 0
|
|
Store 496 497
|
|
498: 461(ptr) AccessChain 452(outFragColor) 19
|
|
499: 23(float) CompositeExtract 495 1
|
|
Store 498 499
|
|
500: 461(ptr) AccessChain 452(outFragColor) 21
|
|
501: 23(float) CompositeExtract 495 2
|
|
Store 500 501
|
|
Branch 450
|
|
450: Label
|
|
504: 461(ptr) AccessChain 452(outFragColor) 12
|
|
Store 504 92
|
|
Return
|
|
442: Label
|
|
509: 26(fvec4) Load 425(albedo)
|
|
510: 69(fvec3) VectorShuffle 509 509 0 1 2
|
|
512: 69(fvec3) VectorTimesScalar 510 511
|
|
Store 506(fragcolor) 512
|
|
513: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 507 512 47
|
|
518: 69(fvec3) Load 413(normal)
|
|
519: 69(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 518
|
|
Store 514(N) 519
|
|
520: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 515 519 47
|
|
Store 521(i) 192
|
|
524: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 522 192 47
|
|
Branch 525
|
|
525: Label
|
|
LoopMerge 527 528 None
|
|
Branch 529
|
|
529: Label
|
|
530: 181(int) Load 521(i)
|
|
532: 114(bool) SLessThan 530 321
|
|
BranchConditional 532 526 527
|
|
526: Label
|
|
537: 181(int) Load 521(i)
|
|
539: 538(ptr) AccessChain 357(ubo) 242 537 192
|
|
540: 26(fvec4) Load 539
|
|
541: 69(fvec3) VectorShuffle 540 540 0 1 2
|
|
542: 69(fvec3) Load 392(fragPos)
|
|
543: 69(fvec3) FSub 541 542
|
|
Store 533(L) 543
|
|
544: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 534 543 47
|
|
548: 69(fvec3) Load 533(L)
|
|
549: 23(float) ExtInst 2(GLSL.std.450) 66(Length) 548
|
|
Store 545(dist) 549
|
|
550: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 546 549 47
|
|
551: 69(fvec3) Load 533(L)
|
|
552: 69(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 551
|
|
Store 533(L) 552
|
|
553: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 534 552 47
|
|
558: 538(ptr) AccessChain 357(ubo) 192
|
|
559: 26(fvec4) Load 558
|
|
560: 69(fvec3) VectorShuffle 559 559 0 1 2
|
|
561: 69(fvec3) Load 392(fragPos)
|
|
562: 69(fvec3) FSub 560 561
|
|
Store 554(V) 562
|
|
563: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 555 562 47
|
|
564: 69(fvec3) Load 554(V)
|
|
565: 69(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 564
|
|
Store 554(V) 565
|
|
566: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 555 565 47
|
|
Store 567(lightCosInnerAngle) 571
|
|
572: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 568 571 47
|
|
Store 573(lightCosOuterAngle) 577
|
|
578: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 574 577 47
|
|
Store 579(lightRange) 583
|
|
584: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 580 583 47
|
|
589: 181(int) Load 521(i)
|
|
590: 538(ptr) AccessChain 357(ubo) 242 589 192
|
|
591: 26(fvec4) Load 590
|
|
592: 69(fvec3) VectorShuffle 591 591 0 1 2
|
|
593: 181(int) Load 521(i)
|
|
594: 538(ptr) AccessChain 357(ubo) 242 593 242
|
|
595: 26(fvec4) Load 594
|
|
596: 69(fvec3) VectorShuffle 595 595 0 1 2
|
|
597: 69(fvec3) FSub 592 596
|
|
598: 69(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 597
|
|
Store 585(dir) 598
|
|
599: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 586 598 47
|
|
604: 69(fvec3) Load 533(L)
|
|
605: 69(fvec3) Load 585(dir)
|
|
606: 23(float) Dot 604 605
|
|
Store 600(cosDir) 606
|
|
607: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 601 606 47
|
|
612: 23(float) Load 573(lightCosOuterAngle)
|
|
613: 23(float) Load 567(lightCosInnerAngle)
|
|
614: 23(float) Load 600(cosDir)
|
|
615: 23(float) ExtInst 2(GLSL.std.450) 49(SmoothStep) 612 613 614
|
|
Store 608(spotEffect) 615
|
|
616: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 609 615 47
|
|
621: 23(float) Load 579(lightRange)
|
|
622: 23(float) Load 545(dist)
|
|
623: 23(float) ExtInst 2(GLSL.std.450) 49(SmoothStep) 621 162 622
|
|
Store 617(heightAttenuation) 623
|
|
624: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 618 623 47
|
|
629: 69(fvec3) Load 514(N)
|
|
630: 69(fvec3) Load 533(L)
|
|
631: 23(float) Dot 629 630
|
|
632: 23(float) ExtInst 2(GLSL.std.450) 40(FMax) 162 631
|
|
Store 625(NdotL) 632
|
|
633: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 626 632 47
|
|
638: 23(float) Load 625(NdotL)
|
|
639: 69(fvec3) CompositeConstruct 638 638 638
|
|
Store 634(diff) 639
|
|
640: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 635 639 47
|
|
645: 69(fvec3) Load 533(L)
|
|
646: 69(fvec3) FNegate 645
|
|
647: 69(fvec3) Load 514(N)
|
|
648: 69(fvec3) ExtInst 2(GLSL.std.450) 71(Reflect) 646 647
|
|
Store 641(R) 648
|
|
649: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 642 648 47
|
|
654: 69(fvec3) Load 641(R)
|
|
655: 69(fvec3) Load 554(V)
|
|
656: 23(float) Dot 654 655
|
|
657: 23(float) ExtInst 2(GLSL.std.450) 40(FMax) 162 656
|
|
Store 650(NdotR) 657
|
|
658: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 651 657 47
|
|
663: 23(float) Load 650(NdotR)
|
|
665: 23(float) ExtInst 2(GLSL.std.450) 26(Pow) 663 664
|
|
666: 29(ptr) AccessChain 425(albedo) 12
|
|
667: 23(float) Load 666
|
|
668: 23(float) FMul 665 667
|
|
670: 23(float) FMul 668 669
|
|
671: 69(fvec3) CompositeConstruct 670 670 670
|
|
Store 659(spec) 671
|
|
672: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 660 671 47
|
|
673: 69(fvec3) Load 634(diff)
|
|
674: 69(fvec3) Load 659(spec)
|
|
675: 69(fvec3) FAdd 673 674
|
|
676: 23(float) Load 608(spotEffect)
|
|
677: 69(fvec3) VectorTimesScalar 675 676
|
|
678: 23(float) Load 617(heightAttenuation)
|
|
679: 69(fvec3) VectorTimesScalar 677 678
|
|
680: 23(float) CompositeExtract 679 0
|
|
681: 23(float) CompositeExtract 679 1
|
|
682: 23(float) CompositeExtract 679 2
|
|
683: 69(fvec3) CompositeConstruct 680 681 682
|
|
684: 181(int) Load 521(i)
|
|
686: 538(ptr) AccessChain 357(ubo) 242 684 685
|
|
687: 26(fvec4) Load 686
|
|
688: 69(fvec3) VectorShuffle 687 687 0 1 2
|
|
689: 69(fvec3) FMul 683 688
|
|
690: 26(fvec4) Load 425(albedo)
|
|
691: 69(fvec3) VectorShuffle 690 690 0 1 2
|
|
692: 69(fvec3) FMul 689 691
|
|
693: 69(fvec3) Load 506(fragcolor)
|
|
694: 69(fvec3) FAdd 693 692
|
|
Store 506(fragcolor) 694
|
|
695: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 507 694 47
|
|
Branch 528
|
|
528: Label
|
|
696: 181(int) Load 521(i)
|
|
697: 181(int) IAdd 696 242
|
|
Store 521(i) 697
|
|
698: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 522 697 47
|
|
Branch 525
|
|
527: Label
|
|
699: 436(ptr) AccessChain 357(ubo) 685
|
|
700: 181(int) Load 699
|
|
702: 114(bool) SGreaterThan 700 192
|
|
SelectionMerge 704 None
|
|
BranchConditional 702 703 704
|
|
703: Label
|
|
706: 69(fvec3) Load 506(fragcolor)
|
|
Store 705(param) 706
|
|
708: 69(fvec3) Load 392(fragPos)
|
|
Store 707(param) 708
|
|
709: 69(fvec3) FunctionCall 76(shadow(vf3;vf3;) 705(param) 707(param)
|
|
Store 506(fragcolor) 709
|
|
710: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 507 709 47
|
|
Branch 704
|
|
704: Label
|
|
711: 69(fvec3) Load 506(fragcolor)
|
|
712: 23(float) CompositeExtract 711 0
|
|
713: 23(float) CompositeExtract 711 1
|
|
714: 23(float) CompositeExtract 711 2
|
|
715: 26(fvec4) CompositeConstruct 712 713 714 92
|
|
Store 452(outFragColor) 715
|
|
Return
|
|
FunctionEnd
|
|
38(textureProj(vf4;f1;vf2;): 23(float) Function None 33
|
|
35(P): 28(ptr) FunctionParameter
|
|
36(layer): 29(ptr) FunctionParameter
|
|
37(offset): 32(ptr) FunctionParameter
|
|
41: Label
|
|
89(shadow): 29(ptr) Variable Function
|
|
94(shadowCoord): 28(ptr) Variable Function
|
|
130(dist): 29(ptr) Variable Function
|
|
42: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 40
|
|
43: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 16 11 11 11 11
|
|
46: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 44 35(P) 47
|
|
50: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 48 36(layer) 47
|
|
53: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 51 37(offset) 47
|
|
88: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 40 38(textureProj(vf4;f1;vf2;)
|
|
Store 89(shadow) 92
|
|
93: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 90 92 47
|
|
98: 26(fvec4) Load 35(P)
|
|
99: 29(ptr) AccessChain 35(P) 12
|
|
100: 23(float) Load 99
|
|
101: 26(fvec4) CompositeConstruct 100 100 100 100
|
|
102: 26(fvec4) FDiv 98 101
|
|
Store 94(shadowCoord) 102
|
|
103: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 95 102 47
|
|
104: 26(fvec4) Load 94(shadowCoord)
|
|
105: 30(fvec2) VectorShuffle 104 104 0 1
|
|
107: 30(fvec2) VectorTimesScalar 105 106
|
|
108: 30(fvec2) CompositeConstruct 106 106
|
|
109: 30(fvec2) FAdd 107 108
|
|
110: 29(ptr) AccessChain 94(shadowCoord) 11
|
|
111: 23(float) CompositeExtract 109 0
|
|
Store 110 111
|
|
112: 29(ptr) AccessChain 94(shadowCoord) 19
|
|
113: 23(float) CompositeExtract 109 1
|
|
Store 112 113
|
|
115: 29(ptr) AccessChain 94(shadowCoord) 21
|
|
116: 23(float) Load 115
|
|
120: 114(bool) FOrdGreaterThan 116 117
|
|
SelectionMerge 122 None
|
|
BranchConditional 120 121 122
|
|
121: Label
|
|
123: 29(ptr) AccessChain 94(shadowCoord) 21
|
|
124: 23(float) Load 123
|
|
126: 114(bool) FOrdLessThan 124 92
|
|
Branch 122
|
|
122: Label
|
|
127: 114(bool) Phi 120 41 126 121
|
|
SelectionMerge 129 None
|
|
BranchConditional 127 128 129
|
|
128: Label
|
|
148: 139 Load 144(samplerShadowMap)
|
|
149: 26(fvec4) Load 94(shadowCoord)
|
|
150: 30(fvec2) VectorShuffle 149 149 0 1
|
|
151: 30(fvec2) Load 37(offset)
|
|
152: 30(fvec2) FAdd 150 151
|
|
153: 23(float) Load 36(layer)
|
|
154: 23(float) CompositeExtract 152 0
|
|
155: 23(float) CompositeExtract 152 1
|
|
156: 69(fvec3) CompositeConstruct 154 155 153
|
|
157: 26(fvec4) ImageSampleImplicitLod 148 156
|
|
158: 23(float) CompositeExtract 157 0
|
|
Store 130(dist) 158
|
|
159: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 131 158 47
|
|
160: 29(ptr) AccessChain 94(shadowCoord) 12
|
|
161: 23(float) Load 160
|
|
164: 114(bool) FOrdGreaterThan 161 162
|
|
SelectionMerge 166 None
|
|
BranchConditional 164 165 166
|
|
165: Label
|
|
167: 23(float) Load 130(dist)
|
|
168: 29(ptr) AccessChain 94(shadowCoord) 21
|
|
169: 23(float) Load 168
|
|
171: 114(bool) FOrdLessThan 167 169
|
|
Branch 166
|
|
166: Label
|
|
172: 114(bool) Phi 164 128 171 165
|
|
SelectionMerge 174 None
|
|
BranchConditional 172 173 174
|
|
173: Label
|
|
Store 89(shadow) 175
|
|
176: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 90 175 47
|
|
Branch 174
|
|
174: Label
|
|
Branch 129
|
|
129: Label
|
|
177: 23(float) Load 89(shadow)
|
|
ReturnValue 177
|
|
FunctionEnd
|
|
58(filterPCF(vf4;f1;): 23(float) Function None 54
|
|
56(sc): 28(ptr) FunctionParameter
|
|
57(layer): 29(ptr) FunctionParameter
|
|
61: Label
|
|
187(texDim): 186(ptr) Variable Function
|
|
199(scale): 29(ptr) Variable Function
|
|
205(dx): 29(ptr) Variable Function
|
|
217(dy): 29(ptr) Variable Function
|
|
228(shadowFactor): 29(ptr) Variable Function
|
|
233(count): 211(ptr) Variable Function
|
|
238(range): 211(ptr) Variable Function
|
|
244(x): 211(ptr) Variable Function
|
|
260(y): 211(ptr) Variable Function
|
|
285(param): 28(ptr) Variable Function
|
|
287(param): 29(ptr) Variable Function
|
|
289(param): 32(ptr) Variable Function
|
|
62: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 60
|
|
63: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 16 11 11 11 11
|
|
66: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 64 56(sc) 47
|
|
68: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 67 57(layer) 47
|
|
180: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 60 58(filterPCF(vf4;f1;)
|
|
191: 139 Load 144(samplerShadowMap)
|
|
193: 134 Image 191
|
|
196: 194(ivec3) ImageQuerySizeLod 193 192
|
|
197: 184(ivec2) VectorShuffle 196 196 0 1
|
|
Store 187(texDim) 197
|
|
198: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 188 197 47
|
|
Store 199(scale) 203
|
|
204: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 200 203 47
|
|
209: 23(float) Load 199(scale)
|
|
210: 23(float) FMul 209 92
|
|
212: 211(ptr) AccessChain 187(texDim) 11
|
|
213: 181(int) Load 212
|
|
214: 23(float) ConvertSToF 213
|
|
215: 23(float) FDiv 210 214
|
|
Store 205(dx) 215
|
|
216: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 206 215 47
|
|
221: 23(float) Load 199(scale)
|
|
222: 23(float) FMul 221 92
|
|
223: 211(ptr) AccessChain 187(texDim) 19
|
|
224: 181(int) Load 223
|
|
225: 23(float) ConvertSToF 224
|
|
226: 23(float) FDiv 222 225
|
|
Store 217(dy) 226
|
|
227: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 218 226 47
|
|
Store 228(shadowFactor) 162
|
|
232: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 229 162 47
|
|
Store 233(count) 192
|
|
237: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 234 192 47
|
|
Store 238(range) 242
|
|
243: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 239 242 47
|
|
248: 181(int) Load 238(range)
|
|
249: 181(int) SNegate 248
|
|
Store 244(x) 249
|
|
250: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 245 249 47
|
|
Branch 251
|
|
251: Label
|
|
LoopMerge 253 254 None
|
|
Branch 255
|
|
255: Label
|
|
256: 181(int) Load 244(x)
|
|
257: 181(int) Load 238(range)
|
|
259: 114(bool) SLessThanEqual 256 257
|
|
BranchConditional 259 252 253
|
|
252: Label
|
|
264: 181(int) Load 238(range)
|
|
265: 181(int) SNegate 264
|
|
Store 260(y) 265
|
|
266: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 261 265 47
|
|
Branch 267
|
|
267: Label
|
|
LoopMerge 269 270 None
|
|
Branch 271
|
|
271: Label
|
|
272: 181(int) Load 260(y)
|
|
273: 181(int) Load 238(range)
|
|
275: 114(bool) SLessThanEqual 272 273
|
|
BranchConditional 275 268 269
|
|
268: Label
|
|
276: 23(float) Load 205(dx)
|
|
277: 181(int) Load 244(x)
|
|
278: 23(float) ConvertSToF 277
|
|
279: 23(float) FMul 276 278
|
|
280: 23(float) Load 217(dy)
|
|
281: 181(int) Load 260(y)
|
|
282: 23(float) ConvertSToF 281
|
|
283: 23(float) FMul 280 282
|
|
284: 30(fvec2) CompositeConstruct 279 283
|
|
286: 26(fvec4) Load 56(sc)
|
|
Store 285(param) 286
|
|
288: 23(float) Load 57(layer)
|
|
Store 287(param) 288
|
|
Store 289(param) 284
|
|
290: 23(float) FunctionCall 38(textureProj(vf4;f1;vf2;) 285(param) 287(param) 289(param)
|
|
291: 23(float) Load 228(shadowFactor)
|
|
292: 23(float) FAdd 291 290
|
|
Store 228(shadowFactor) 292
|
|
293: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 229 292 47
|
|
294: 181(int) Load 233(count)
|
|
295: 181(int) IAdd 294 242
|
|
Store 233(count) 295
|
|
296: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 234 295 47
|
|
Branch 270
|
|
270: Label
|
|
297: 181(int) Load 260(y)
|
|
298: 181(int) IAdd 297 242
|
|
Store 260(y) 298
|
|
299: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 261 298 47
|
|
Branch 267
|
|
269: Label
|
|
Branch 254
|
|
254: Label
|
|
300: 181(int) Load 244(x)
|
|
301: 181(int) IAdd 300 242
|
|
Store 244(x) 301
|
|
302: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 245 301 47
|
|
Branch 251
|
|
253: Label
|
|
303: 23(float) Load 228(shadowFactor)
|
|
304: 181(int) Load 233(count)
|
|
305: 23(float) ConvertSToF 304
|
|
306: 23(float) FDiv 303 305
|
|
ReturnValue 306
|
|
FunctionEnd
|
|
76(shadow(vf3;vf3;): 69(fvec3) Function None 72
|
|
74(fragcolor): 71(ptr) FunctionParameter
|
|
75(fragpos): 71(ptr) FunctionParameter
|
|
79: Label
|
|
310(i): 211(ptr) Variable Function
|
|
324(shadowClip): 28(ptr) Variable Function
|
|
371(shadowFactor): 29(ptr) Variable Function
|
|
376(param): 28(ptr) Variable Function
|
|
378(param): 29(ptr) Variable Function
|
|
80: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 78
|
|
81: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 16 11 11 11 11
|
|
84: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 82 74(fragcolor) 47
|
|
87: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 85 75(fragpos) 47
|
|
309: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 78 76(shadow(vf3;vf3;)
|
|
Store 310(i) 192
|
|
314: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 311 192 47
|
|
Branch 315
|
|
315: Label
|
|
LoopMerge 317 318 None
|
|
Branch 319
|
|
319: Label
|
|
320: 181(int) Load 310(i)
|
|
323: 114(bool) SLessThan 320 321
|
|
BranchConditional 323 316 317
|
|
316: Label
|
|
360: 181(int) Load 310(i)
|
|
362: 361(ptr) AccessChain 357(ubo) 242 360 321
|
|
363: 328 Load 362
|
|
364: 69(fvec3) Load 75(fragpos)
|
|
365: 23(float) CompositeExtract 364 0
|
|
366: 23(float) CompositeExtract 364 1
|
|
367: 23(float) CompositeExtract 364 2
|
|
368: 26(fvec4) CompositeConstruct 365 366 367 92
|
|
369: 26(fvec4) MatrixTimesVector 363 368
|
|
Store 324(shadowClip) 369
|
|
370: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 325 369 47
|
|
374: 181(int) Load 310(i)
|
|
375: 23(float) ConvertSToF 374
|
|
377: 26(fvec4) Load 324(shadowClip)
|
|
Store 376(param) 377
|
|
Store 378(param) 375
|
|
379: 23(float) FunctionCall 58(filterPCF(vf4;f1;) 376(param) 378(param)
|
|
Store 371(shadowFactor) 379
|
|
380: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 372 379 47
|
|
381: 23(float) Load 371(shadowFactor)
|
|
382: 69(fvec3) Load 74(fragcolor)
|
|
383: 69(fvec3) VectorTimesScalar 382 381
|
|
Store 74(fragcolor) 383
|
|
384: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 82 383 47
|
|
Branch 318
|
|
318: Label
|
|
385: 181(int) Load 310(i)
|
|
386: 181(int) IAdd 385 242
|
|
Store 310(i) 386
|
|
387: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(Exp2) 311 386 47
|
|
Branch 315
|
|
317: Label
|
|
388: 69(fvec3) Load 74(fragcolor)
|
|
ReturnValue 388
|
|
FunctionEnd
|