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