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