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