diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index b6ac812900..29a8c0a4e0 100755 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -4404,7 +4404,7 @@ spv::Id TGlslangToSpvTraverser::convertGlslangToSpvType(const glslang::TType& ty if (explicitLayout != glslang::ElpNone) spvType = builder.makeUintType(32); else - spvType = builder.makeBoolType(false); + spvType = builder.makeBoolType(); break; case glslang::EbtInt: spvType = builder.makeIntType(32); diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index 7586ecf59d..3e356e0383 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -182,7 +182,7 @@ Id Builder::makeVoidType() return type->getResultId(); } -Id Builder::makeBoolType(bool const compilerGenerated) +Id Builder::makeBoolType() { Instruction* type; if (groupedTypes[OpTypeBool].size() == 0) { @@ -193,7 +193,7 @@ Id Builder::makeBoolType(bool const compilerGenerated) } else type = groupedTypes[OpTypeBool].back(); - if (emitNonSemanticShaderDebugInfo && !compilerGenerated) + if (emitNonSemanticShaderDebugInfo) { auto const debugResultId = makeBoolDebugType(32); debugId[type->getResultId()] = debugResultId; diff --git a/SPIRV/SpvBuilder.h b/SPIRV/SpvBuilder.h index 1a85b1d673..bae512360a 100644 --- a/SPIRV/SpvBuilder.h +++ b/SPIRV/SpvBuilder.h @@ -185,7 +185,7 @@ class Builder { // For creating new types (will return old type if the requested one was already made). Id makeVoidType(); - Id makeBoolType(bool const compilerGenerated = true); + Id makeBoolType(); Id makePointer(StorageClass, Id pointee); Id makeForwardPointer(StorageClass); Id makePointerFromForwardPointer(StorageClass, Id forwardPointerType, Id pointee); diff --git a/Test/baseResults/spv.debuginfo.glsl.comp.out b/Test/baseResults/spv.debuginfo.glsl.comp.out index 6781ee8bff..4111316704 100644 --- a/Test/baseResults/spv.debuginfo.glsl.comp.out +++ b/Test/baseResults/spv.debuginfo.glsl.comp.out @@ -1,7 +1,7 @@ spv.debuginfo.glsl.comp // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 971 +// Id's are bound by 1001 Capability Shader Extension "SPV_KHR_non_semantic_info" @@ -37,24 +37,24 @@ spv.debuginfo.glsl.comp 128: String "gl_GlobalInvocationID" 135: String "index" 158: String "bool" - 172: String "normal" - 178: String "pinned" - 180: String "Particle" - 185: String "particleIn" - 189: String "ParticleIn" - 210: String "particleOut" - 213: String "ParticleOut" - 238: String "force" - 251: String "pos" - 261: String "vel" - 573: String "f" - 622: String "sphereDist" - 675: String "calculateNormals" - 678: String "PushConsts" - 682: String "pushConsts" - 719: String "a" - 732: String "b" - 749: String "c" + 173: String "normal" + 179: String "pinned" + 181: String "Particle" + 186: String "particleIn" + 190: String "ParticleIn" + 212: String "particleOut" + 215: String "ParticleOut" + 240: String "force" + 253: String "pos" + 263: String "vel" + 595: String "f" + 644: String "sphereDist" + 698: String "calculateNormals" + 701: String "PushConsts" + 705: String "pushConsts" + 745: String "a" + 758: String "b" + 775: String "c" Name 14 "main" Name 28 "springForce(vf3;vf3;f1;" Name 25 "p0" @@ -77,54 +77,54 @@ spv.debuginfo.glsl.comp Name 121 "id" Name 126 "gl_GlobalInvocationID" Name 133 "index" - Name 170 "Particle" - MemberName 170(Particle) 0 "pos" - MemberName 170(Particle) 1 "vel" - MemberName 170(Particle) 2 "uv" - MemberName 170(Particle) 3 "normal" - MemberName 170(Particle) 4 "pinned" - Name 183 "ParticleIn" - MemberName 183(ParticleIn) 0 "particleIn" - Name 191 "" - Name 208 "ParticleOut" - MemberName 208(ParticleOut) 0 "particleOut" - Name 215 "" - Name 236 "force" - Name 249 "pos" - Name 259 "vel" - Name 280 "param" - Name 284 "param" - Name 286 "param" - Name 310 "param" + Name 171 "Particle" + MemberName 171(Particle) 0 "pos" + MemberName 171(Particle) 1 "vel" + MemberName 171(Particle) 2 "uv" + MemberName 171(Particle) 3 "normal" + MemberName 171(Particle) 4 "pinned" + Name 184 "ParticleIn" + MemberName 184(ParticleIn) 0 "particleIn" + Name 192 "" + Name 210 "ParticleOut" + MemberName 210(ParticleOut) 0 "particleOut" + Name 217 "" + Name 238 "force" + Name 251 "pos" + Name 261 "vel" + Name 283 "param" + Name 287 "param" + Name 289 "param" Name 314 "param" - Name 316 "param" - Name 344 "param" - Name 348 "param" - Name 350 "param" - Name 373 "param" - Name 377 "param" + Name 318 "param" + Name 320 "param" + Name 349 "param" + Name 353 "param" + Name 355 "param" Name 379 "param" - Name 417 "param" - Name 421 "param" - Name 423 "param" - Name 456 "param" - Name 460 "param" - Name 462 "param" - Name 503 "param" - Name 507 "param" - Name 509 "param" - Name 546 "param" - Name 550 "param" - Name 552 "param" - Name 571 "f" - Name 620 "sphereDist" - Name 673 "PushConsts" - MemberName 673(PushConsts) 0 "calculateNormals" - Name 680 "pushConsts" - Name 693 "normal" - Name 717 "a" - Name 730 "b" - Name 747 "c" + Name 383 "param" + Name 385 "param" + Name 427 "param" + Name 431 "param" + Name 433 "param" + Name 470 "param" + Name 474 "param" + Name 476 "param" + Name 521 "param" + Name 525 "param" + Name 527 "param" + Name 568 "param" + Name 572 "param" + Name 574 "param" + Name 593 "f" + Name 642 "sphereDist" + Name 696 "PushConsts" + MemberName 696(PushConsts) 0 "calculateNormals" + Name 703 "pushConsts" + Name 717 "normal" + Name 743 "a" + Name 756 "b" + Name 773 "c" MemberDecorate 76(UBO) 0 Offset 0 MemberDecorate 76(UBO) 1 Offset 4 MemberDecorate 76(UBO) 2 Offset 8 @@ -140,24 +140,24 @@ spv.debuginfo.glsl.comp Decorate 99(params) DescriptorSet 0 Decorate 99(params) Binding 2 Decorate 126(gl_GlobalInvocationID) BuiltIn GlobalInvocationId - MemberDecorate 170(Particle) 0 Offset 0 - MemberDecorate 170(Particle) 1 Offset 16 - MemberDecorate 170(Particle) 2 Offset 32 - MemberDecorate 170(Particle) 3 Offset 48 - MemberDecorate 170(Particle) 4 Offset 64 - Decorate 181 ArrayStride 80 - MemberDecorate 183(ParticleIn) 0 Offset 0 - Decorate 183(ParticleIn) BufferBlock - Decorate 191 DescriptorSet 0 - Decorate 191 Binding 0 - Decorate 206 ArrayStride 80 - MemberDecorate 208(ParticleOut) 0 Offset 0 - Decorate 208(ParticleOut) BufferBlock - Decorate 215 DescriptorSet 0 - Decorate 215 Binding 1 - MemberDecorate 673(PushConsts) 0 Offset 0 - Decorate 673(PushConsts) Block - Decorate 970 BuiltIn WorkgroupSize + MemberDecorate 171(Particle) 0 Offset 0 + MemberDecorate 171(Particle) 1 Offset 16 + MemberDecorate 171(Particle) 2 Offset 32 + MemberDecorate 171(Particle) 3 Offset 48 + MemberDecorate 171(Particle) 4 Offset 64 + Decorate 182 ArrayStride 80 + MemberDecorate 184(ParticleIn) 0 Offset 0 + Decorate 184(ParticleIn) BufferBlock + Decorate 192 DescriptorSet 0 + Decorate 192 Binding 0 + Decorate 208 ArrayStride 80 + MemberDecorate 210(ParticleOut) 0 Offset 0 + Decorate 210(ParticleOut) BufferBlock + Decorate 217 DescriptorSet 0 + Decorate 217 Binding 1 + MemberDecorate 696(PushConsts) 0 Offset 0 + Decorate 696(PushConsts) Block + Decorate 1000 BuiltIn WorkgroupSize 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -236,184 +236,214 @@ spv.debuginfo.glsl.comp 149: 7(int) Constant 77 157: TypeBool 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 165: 7(int) Constant 78 - 169: 7(int) Constant 81 - 170(Particle): TypeStruct 69(fvec4) 69(fvec4) 69(fvec4) 69(fvec4) 16(float) - 173: 7(int) Constant 31 - 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 172 70 32 173 91 12 12 13 - 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 172 70 32 173 91 12 12 13 - 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 172 70 32 173 91 12 12 13 - 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 172 70 32 173 91 12 12 13 - 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 178 18 32 10 80 12 12 13 - 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 180 36 32 169 12 35 180 12 13 171 174 175 176 177 - 181: TypeRuntimeArray 170(Particle) - 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 179 12 - 183(ParticleIn): TypeStruct 181 - 186: 7(int) Constant 36 - 187: 7(int) Constant 11 - 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 185 182 32 186 187 12 12 13 - 188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 189 36 32 169 12 35 189 12 13 184 - 190: TypePointer Uniform 183(ParticleIn) - 191: 190(ptr) Variable Uniform - 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 188 32 169 12 35 1 191 80 - 193: 71(int) Constant 0 - 195: 71(int) Constant 4 - 198: 16(float) Constant 1065353216 - 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 205: 7(int) Constant 82 - 206: TypeRuntimeArray 170(Particle) - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 179 12 -208(ParticleOut): TypeStruct 206 - 211: 7(int) Constant 40 - 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 210 207 32 211 187 12 12 13 - 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 213 36 32 205 12 35 213 12 13 209 - 214: TypePointer Uniform 208(ParticleOut) - 215: 214(ptr) Variable Uniform - 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 212 32 205 12 35 1 215 80 - 219: TypePointer Uniform 69(fvec4) - 224: 7(int) Constant 83 - 226: 71(int) Constant 1 - 227: 16(float) Constant 0 - 228: 69(fvec4) ConstantComposite 227 227 227 227 - 231: 7(int) Constant 84 - 235: 7(int) Constant 88 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 238 20 32 235 12 52 37 - 240: 71(int) Constant 9 - 248: 7(int) Constant 90 - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 251 20 32 248 12 52 37 - 258: 7(int) Constant 91 - 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 261 20 32 258 12 52 37 - 268: 7(int) Constant 95 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 277: 7(int) Constant 96 - 294: 7(int) Constant 99 - 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 307: 7(int) Constant 100 - 324: 7(int) Constant 103 - 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 337: 7(int) Constant 104 - 343: 71(int) Constant 5 - 358: 7(int) Constant 107 - 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 367: 7(int) Constant 108 - 387: 7(int) Constant 111 - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 409: 7(int) Constant 112 - 416: 71(int) Constant 6 - 431: 7(int) Constant 115 - 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 166: 7(int) Constant 78 + 170: 7(int) Constant 81 + 171(Particle): TypeStruct 69(fvec4) 69(fvec4) 69(fvec4) 69(fvec4) 16(float) + 174: 7(int) Constant 31 + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 70 32 174 91 12 12 13 + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 70 32 174 91 12 12 13 + 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 70 32 174 91 12 12 13 + 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 70 32 174 91 12 12 13 + 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 179 18 32 10 80 12 12 13 + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 181 36 32 170 12 35 181 12 13 172 175 176 177 178 + 182: TypeRuntimeArray 171(Particle) + 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 180 12 + 184(ParticleIn): TypeStruct 182 + 187: 7(int) Constant 36 + 188: 7(int) Constant 11 + 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 186 183 32 187 188 12 12 13 + 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 190 36 32 170 12 35 190 12 13 185 + 191: TypePointer Uniform 184(ParticleIn) + 192: 191(ptr) Variable Uniform + 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 189 32 170 12 35 1 192 80 + 194: 71(int) Constant 0 + 196: 71(int) Constant 4 + 199: 16(float) Constant 1065353216 + 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 207: 7(int) Constant 82 + 208: TypeRuntimeArray 171(Particle) + 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 180 12 +210(ParticleOut): TypeStruct 208 + 213: 7(int) Constant 40 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 212 209 32 213 188 12 12 13 + 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 215 36 32 207 12 35 215 12 13 211 + 216: TypePointer Uniform 210(ParticleOut) + 217: 216(ptr) Variable Uniform + 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 214 32 207 12 35 1 217 80 + 221: TypePointer Uniform 69(fvec4) + 226: 7(int) Constant 83 + 228: 71(int) Constant 1 + 229: 16(float) Constant 0 + 230: 69(fvec4) ConstantComposite 229 229 229 229 + 233: 7(int) Constant 84 + 237: 7(int) Constant 88 + 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 240 20 32 237 12 52 37 + 242: 71(int) Constant 9 + 250: 7(int) Constant 90 + 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 253 20 32 250 12 52 37 + 260: 7(int) Constant 91 + 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 263 20 32 260 12 52 37 + 270: 7(int) Constant 95 + 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 280: 7(int) Constant 96 + 297: 7(int) Constant 99 + 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 311: 7(int) Constant 100 + 328: 7(int) Constant 103 + 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 342: 7(int) Constant 104 + 348: 71(int) Constant 5 + 363: 7(int) Constant 107 + 366: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 373: 7(int) Constant 108 + 393: 7(int) Constant 111 + 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 419: 7(int) Constant 112 + 426: 71(int) Constant 6 + 441: 7(int) Constant 115 442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 449: 7(int) Constant 116 - 470: 7(int) Constant 119 - 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 496: 7(int) Constant 120 - 517: 7(int) Constant 123 - 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 539: 7(int) Constant 124 - 560: 7(int) Constant 127 - 561: 71(int) Constant 3 - 570: 7(int) Constant 130 - 572: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 573 20 32 570 12 52 37 - 581: 7(int) Constant 131 - 589: 16(float) Constant 1056964608 - 605: 7(int) Constant 132 - 619: 7(int) Constant 135 - 621: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 622 20 32 619 12 52 37 - 628: 71(int) Constant 8 - 634: 7(int) Constant 136 - 637: 71(int) Constant 7 - 640: 16(float) Constant 1008981770 - 642: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 648: 7(int) Constant 138 - 667: 7(int) Constant 140 - 672: 7(int) Constant 144 - 673(PushConsts): TypeStruct 7(int) - 676: 7(int) Constant 63 - 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 675 9 32 676 91 12 12 13 - 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 678 36 32 672 12 35 678 12 13 674 - 679: TypePointer PushConstant 673(PushConsts) - 680(pushConsts): 679(ptr) Variable PushConstant - 681: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 682 677 32 672 12 35 682 680(pushConsts) 80 - 683: TypePointer PushConstant 7(int) - 686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 692: 7(int) Constant 145 - 694: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 20 32 692 12 52 37 - 696: 19(fvec3) ConstantComposite 227 227 227 - 698: 7(int) Constant 147 - 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 707: 7(int) Constant 148 - 710: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 716: 7(int) Constant 149 - 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 719 20 32 716 12 52 37 - 729: 7(int) Constant 150 - 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 732 20 32 729 12 52 37 - 746: 7(int) Constant 151 - 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 749 20 32 746 12 52 37 - 762: 7(int) Constant 152 - 774: 7(int) Constant 154 - 781: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 787: 7(int) Constant 155 - 799: 7(int) Constant 156 - 812: 7(int) Constant 157 - 821: 7(int) Constant 158 - 833: 7(int) Constant 161 - 840: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 846: 7(int) Constant 162 - 849: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 855: 7(int) Constant 163 - 867: 7(int) Constant 164 - 880: 7(int) Constant 165 - 889: 7(int) Constant 166 - 901: 7(int) Constant 168 - 908: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 - 914: 7(int) Constant 169 - 923: 7(int) Constant 170 - 936: 7(int) Constant 171 - 948: 7(int) Constant 172 - 960: 7(int) Constant 175 - 969: 7(int) Constant 10 - 970: 118(ivec3) ConstantComposite 969 969 36 + 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 458: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 463: 7(int) Constant 116 + 484: 7(int) Constant 119 + 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 492: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 507: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 509: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 514: 7(int) Constant 120 + 535: 7(int) Constant 123 + 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 543: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 554: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 561: 7(int) Constant 124 + 582: 7(int) Constant 127 + 583: 71(int) Constant 3 + 592: 7(int) Constant 130 + 594: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 595 20 32 592 12 52 37 + 603: 7(int) Constant 131 + 611: 16(float) Constant 1056964608 + 627: 7(int) Constant 132 + 641: 7(int) Constant 135 + 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 644 20 32 641 12 52 37 + 650: 71(int) Constant 8 + 656: 7(int) Constant 136 + 659: 71(int) Constant 7 + 662: 16(float) Constant 1008981770 + 664: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 671: 7(int) Constant 138 + 690: 7(int) Constant 140 + 695: 7(int) Constant 144 + 696(PushConsts): TypeStruct 7(int) + 699: 7(int) Constant 63 + 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 698 9 32 699 91 12 12 13 + 700: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 701 36 32 695 12 35 701 12 13 697 + 702: TypePointer PushConstant 696(PushConsts) + 703(pushConsts): 702(ptr) Variable PushConstant + 704: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 705 700 32 695 12 35 705 703(pushConsts) 80 + 706: TypePointer PushConstant 7(int) + 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 711: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 716: 7(int) Constant 145 + 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 173 20 32 716 12 52 37 + 720: 19(fvec3) ConstantComposite 229 229 229 + 722: 7(int) Constant 147 + 725: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 727: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 732: 7(int) Constant 148 + 735: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 737: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 742: 7(int) Constant 149 + 744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 745 20 32 742 12 52 37 + 755: 7(int) Constant 150 + 757: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 758 20 32 755 12 52 37 + 772: 7(int) Constant 151 + 774: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 775 20 32 772 12 52 37 + 788: 7(int) Constant 152 + 800: 7(int) Constant 154 + 807: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 809: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 814: 7(int) Constant 155 + 826: 7(int) Constant 156 + 839: 7(int) Constant 157 + 848: 7(int) Constant 158 + 860: 7(int) Constant 161 + 867: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 869: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 874: 7(int) Constant 162 + 877: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 879: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 884: 7(int) Constant 163 + 896: 7(int) Constant 164 + 909: 7(int) Constant 165 + 918: 7(int) Constant 166 + 930: 7(int) Constant 168 + 937: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 939: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 158 10 38 12 + 944: 7(int) Constant 169 + 953: 7(int) Constant 170 + 966: 7(int) Constant 171 + 978: 7(int) Constant 172 + 990: 7(int) Constant 175 + 999: 7(int) Constant 10 + 1000: 118(ivec3) ConstantComposite 999 999 36 Line 1 72 11 14(main): 4 Function None 5 15: Label 121(id): 120(ptr) Variable Function 133(index): 132(ptr) Variable Function - 236(force): 21(ptr) Variable Function - 249(pos): 21(ptr) Variable Function - 259(vel): 21(ptr) Variable Function - 280(param): 21(ptr) Variable Function - 284(param): 21(ptr) Variable Function - 286(param): 22(ptr) Variable Function - 310(param): 21(ptr) Variable Function + 238(force): 21(ptr) Variable Function + 251(pos): 21(ptr) Variable Function + 261(vel): 21(ptr) Variable Function + 283(param): 21(ptr) Variable Function + 287(param): 21(ptr) Variable Function + 289(param): 22(ptr) Variable Function 314(param): 21(ptr) Variable Function - 316(param): 22(ptr) Variable Function - 344(param): 21(ptr) Variable Function - 348(param): 21(ptr) Variable Function - 350(param): 22(ptr) Variable Function - 373(param): 21(ptr) Variable Function - 377(param): 21(ptr) Variable Function - 379(param): 22(ptr) Variable Function - 417(param): 21(ptr) Variable Function - 421(param): 21(ptr) Variable Function - 423(param): 22(ptr) Variable Function - 456(param): 21(ptr) Variable Function - 460(param): 21(ptr) Variable Function - 462(param): 22(ptr) Variable Function - 503(param): 21(ptr) Variable Function - 507(param): 21(ptr) Variable Function - 509(param): 22(ptr) Variable Function - 546(param): 21(ptr) Variable Function - 550(param): 21(ptr) Variable Function - 552(param): 22(ptr) Variable Function - 571(f): 21(ptr) Variable Function - 620(sphereDist): 21(ptr) Variable Function - 693(normal): 21(ptr) Variable Function - 717(a): 21(ptr) Variable Function - 730(b): 21(ptr) Variable Function - 747(c): 21(ptr) Variable Function + 318(param): 21(ptr) Variable Function + 320(param): 22(ptr) Variable Function + 349(param): 21(ptr) Variable Function + 353(param): 21(ptr) Variable Function + 355(param): 22(ptr) Variable Function + 379(param): 21(ptr) Variable Function + 383(param): 21(ptr) Variable Function + 385(param): 22(ptr) Variable Function + 427(param): 21(ptr) Variable Function + 431(param): 21(ptr) Variable Function + 433(param): 22(ptr) Variable Function + 470(param): 21(ptr) Variable Function + 474(param): 21(ptr) Variable Function + 476(param): 22(ptr) Variable Function + 521(param): 21(ptr) Variable Function + 525(param): 21(ptr) Variable Function + 527(param): 22(ptr) Variable Function + 568(param): 21(ptr) Variable Function + 572(param): 21(ptr) Variable Function + 574(param): 22(ptr) Variable Function + 593(f): 21(ptr) Variable Function + 642(sphereDist): 21(ptr) Variable Function + 717(normal): 21(ptr) Variable Function + 743(a): 21(ptr) Variable Function + 756(b): 21(ptr) Variable Function + 773(c): 21(ptr) Variable Function 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 52 14(main) 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 117 117 12 12 @@ -441,753 +471,753 @@ spv.debuginfo.glsl.comp 155: 71(int) IMul 152 154 156: 7(int) Bitcast 155 160: 157(bool) UGreaterThan 150 156 - SelectionMerge 162 None - BranchConditional 160 161 162 - 161: Label - 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 165 165 12 12 + SelectionMerge 163 None + BranchConditional 160 162 163 + 162: Label + 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 166 166 12 12 Return - 162: Label - 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 169 169 12 12 - 194: 7(int) Load 133(index) - 196: 103(ptr) AccessChain 191 193 194 195 - 197: 16(float) Load 196 - 200: 157(bool) FOrdEqual 197 198 - SelectionMerge 202 None - BranchConditional 200 201 202 - 201: Label - 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 205 205 12 12 - 217: 7(int) Load 133(index) - 218: 7(int) Load 133(index) - 220: 219(ptr) AccessChain 215 193 218 193 - 221: 69(fvec4) Load 220 - 222: 219(ptr) AccessChain 215 193 217 193 - Store 222 221 - 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 224 224 12 12 - 225: 7(int) Load 133(index) - 229: 219(ptr) AccessChain 215 193 225 226 - Store 229 228 - 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 231 231 12 12 + 163: Label + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 170 170 12 12 + 195: 7(int) Load 133(index) + 197: 103(ptr) AccessChain 192 194 195 196 + 198: 16(float) Load 197 + 201: 157(bool) FOrdEqual 198 199 + SelectionMerge 204 None + BranchConditional 201 203 204 + 203: Label + 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 207 207 12 12 + 219: 7(int) Load 133(index) + 220: 7(int) Load 133(index) + 222: 221(ptr) AccessChain 217 194 220 194 + 223: 69(fvec4) Load 222 + 224: 221(ptr) AccessChain 217 194 219 194 + Store 224 223 + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 226 226 12 12 + 227: 7(int) Load 133(index) + 231: 221(ptr) AccessChain 217 194 227 228 + Store 231 230 + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 233 233 12 12 Return - 202: Label - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 235 235 12 12 - 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 237 236(force) 44 - 241: 219(ptr) AccessChain 99(params) 240 - 242: 69(fvec4) Load 241 - 243: 19(fvec3) VectorShuffle 242 242 0 1 2 - 244: 103(ptr) AccessChain 99(params) 226 - 245: 16(float) Load 244 - 246: 19(fvec3) VectorTimesScalar 243 245 - Store 236(force) 246 - 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 248 248 12 12 - 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 250 249(pos) 44 - 253: 7(int) Load 133(index) - 254: 219(ptr) AccessChain 191 193 253 193 - 255: 69(fvec4) Load 254 - 256: 19(fvec3) VectorShuffle 255 255 0 1 2 - Store 249(pos) 256 - 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 258 258 12 12 - 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 260 259(vel) 44 - 263: 7(int) Load 133(index) - 264: 219(ptr) AccessChain 191 193 263 226 - 265: 69(fvec4) Load 264 - 266: 19(fvec3) VectorShuffle 265 265 0 1 2 - Store 259(vel) 266 - 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 268 268 12 12 - 269: 132(ptr) AccessChain 121(id) 12 - 270: 7(int) Load 269 - 272: 157(bool) UGreaterThan 270 12 - SelectionMerge 274 None - BranchConditional 272 273 274 - 273: Label - 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 277 277 12 12 - 278: 7(int) Load 133(index) - 279: 7(int) ISub 278 36 - 281: 219(ptr) AccessChain 191 193 279 193 - 282: 69(fvec4) Load 281 - 283: 19(fvec3) VectorShuffle 282 282 0 1 2 - Store 280(param) 283 - 285: 19(fvec3) Load 249(pos) - Store 284(param) 285 - 287: 103(ptr) AccessChain 99(params) 195 - 288: 16(float) Load 287 - Store 286(param) 288 - 289: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 280(param) 284(param) 286(param) - 290: 19(fvec3) Load 236(force) - 291: 19(fvec3) FAdd 290 289 - Store 236(force) 291 - Branch 274 - 274: Label - 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 294 294 12 12 - 295: 132(ptr) AccessChain 121(id) 12 - 296: 7(int) Load 295 - 297: 140(ptr) AccessChain 99(params) 139 12 - 298: 71(int) Load 297 - 299: 71(int) ISub 298 226 - 300: 7(int) Bitcast 299 - 302: 157(bool) ULessThan 296 300 - SelectionMerge 304 None - BranchConditional 302 303 304 - 303: Label - 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 307 307 12 12 - 308: 7(int) Load 133(index) - 309: 7(int) IAdd 308 36 - 311: 219(ptr) AccessChain 191 193 309 193 - 312: 69(fvec4) Load 311 - 313: 19(fvec3) VectorShuffle 312 312 0 1 2 - Store 310(param) 313 - 315: 19(fvec3) Load 249(pos) - Store 314(param) 315 - 317: 103(ptr) AccessChain 99(params) 195 - 318: 16(float) Load 317 - Store 316(param) 318 - 319: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 310(param) 314(param) 316(param) - 320: 19(fvec3) Load 236(force) - 321: 19(fvec3) FAdd 320 319 - Store 236(force) 321 - Branch 304 - 304: Label - 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 324 324 12 12 - 325: 132(ptr) AccessChain 121(id) 36 - 326: 7(int) Load 325 - 327: 140(ptr) AccessChain 99(params) 139 36 - 328: 71(int) Load 327 - 329: 71(int) ISub 328 226 - 330: 7(int) Bitcast 329 - 332: 157(bool) ULessThan 326 330 - SelectionMerge 334 None - BranchConditional 332 333 334 - 333: Label - 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 337 337 12 12 - 338: 7(int) Load 133(index) - 339: 140(ptr) AccessChain 99(params) 139 12 - 340: 71(int) Load 339 - 341: 7(int) Bitcast 340 - 342: 7(int) IAdd 338 341 - 345: 219(ptr) AccessChain 191 193 342 193 - 346: 69(fvec4) Load 345 - 347: 19(fvec3) VectorShuffle 346 346 0 1 2 - Store 344(param) 347 - 349: 19(fvec3) Load 249(pos) - Store 348(param) 349 - 351: 103(ptr) AccessChain 99(params) 343 - 352: 16(float) Load 351 - Store 350(param) 352 - 353: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 344(param) 348(param) 350(param) - 354: 19(fvec3) Load 236(force) - 355: 19(fvec3) FAdd 354 353 - Store 236(force) 355 - Branch 334 - 334: Label - 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 358 358 12 12 - 359: 132(ptr) AccessChain 121(id) 36 - 360: 7(int) Load 359 - 362: 157(bool) UGreaterThan 360 12 - SelectionMerge 364 None - BranchConditional 362 363 364 - 363: Label - 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 366: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 367 367 12 12 - 368: 7(int) Load 133(index) - 369: 140(ptr) AccessChain 99(params) 139 12 - 370: 71(int) Load 369 - 371: 7(int) Bitcast 370 - 372: 7(int) ISub 368 371 - 374: 219(ptr) AccessChain 191 193 372 193 - 375: 69(fvec4) Load 374 - 376: 19(fvec3) VectorShuffle 375 375 0 1 2 - Store 373(param) 376 - 378: 19(fvec3) Load 249(pos) - Store 377(param) 378 - 380: 103(ptr) AccessChain 99(params) 343 - 381: 16(float) Load 380 - Store 379(param) 381 - 382: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 373(param) 377(param) 379(param) - 383: 19(fvec3) Load 236(force) - 384: 19(fvec3) FAdd 383 382 - Store 236(force) 384 - Branch 364 - 364: Label - 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 387 387 12 12 - 388: 132(ptr) AccessChain 121(id) 12 - 389: 7(int) Load 388 - 391: 157(bool) UGreaterThan 389 12 - SelectionMerge 393 None - BranchConditional 391 392 393 - 392: Label - 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 387 387 12 12 - 396: 132(ptr) AccessChain 121(id) 36 - 397: 7(int) Load 396 - 398: 140(ptr) AccessChain 99(params) 139 36 - 399: 71(int) Load 398 - 400: 71(int) ISub 399 226 - 401: 7(int) Bitcast 400 - 403: 157(bool) ULessThan 397 401 - Branch 393 - 393: Label - 404: 157(bool) Phi 391 364 403 392 - SelectionMerge 406 None - BranchConditional 404 405 406 - 405: Label - 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 409 409 12 12 - 410: 7(int) Load 133(index) - 411: 140(ptr) AccessChain 99(params) 139 12 - 412: 71(int) Load 411 - 413: 7(int) Bitcast 412 - 414: 7(int) IAdd 410 413 - 415: 7(int) ISub 414 36 - 418: 219(ptr) AccessChain 191 193 415 193 - 419: 69(fvec4) Load 418 - 420: 19(fvec3) VectorShuffle 419 419 0 1 2 - Store 417(param) 420 - 422: 19(fvec3) Load 249(pos) - Store 421(param) 422 - 424: 103(ptr) AccessChain 99(params) 416 - 425: 16(float) Load 424 - Store 423(param) 425 - 426: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 417(param) 421(param) 423(param) - 427: 19(fvec3) Load 236(force) - 428: 19(fvec3) FAdd 427 426 - Store 236(force) 428 - Branch 406 - 406: Label - 429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 431 431 12 12 - 432: 132(ptr) AccessChain 121(id) 12 - 433: 7(int) Load 432 - 435: 157(bool) UGreaterThan 433 12 - SelectionMerge 437 None - BranchConditional 435 436 437 - 436: Label - 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 431 431 12 12 - 440: 132(ptr) AccessChain 121(id) 36 - 441: 7(int) Load 440 - 443: 157(bool) UGreaterThan 441 12 - Branch 437 - 437: Label - 444: 157(bool) Phi 435 406 443 436 - SelectionMerge 446 None - BranchConditional 444 445 446 - 445: Label - 447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 449 449 12 12 - 450: 7(int) Load 133(index) - 451: 140(ptr) AccessChain 99(params) 139 12 - 452: 71(int) Load 451 - 453: 7(int) Bitcast 452 - 454: 7(int) ISub 450 453 - 455: 7(int) ISub 454 36 - 457: 219(ptr) AccessChain 191 193 455 193 - 458: 69(fvec4) Load 457 - 459: 19(fvec3) VectorShuffle 458 458 0 1 2 - Store 456(param) 459 - 461: 19(fvec3) Load 249(pos) - Store 460(param) 461 - 463: 103(ptr) AccessChain 99(params) 416 - 464: 16(float) Load 463 - Store 462(param) 464 - 465: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 456(param) 460(param) 462(param) - 466: 19(fvec3) Load 236(force) - 467: 19(fvec3) FAdd 466 465 - Store 236(force) 467 - Branch 446 - 446: Label - 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 470 470 12 12 - 471: 132(ptr) AccessChain 121(id) 12 - 472: 7(int) Load 471 - 473: 140(ptr) AccessChain 99(params) 139 12 - 474: 71(int) Load 473 - 475: 71(int) ISub 474 226 - 476: 7(int) Bitcast 475 - 478: 157(bool) ULessThan 472 476 - SelectionMerge 480 None - BranchConditional 478 479 480 - 479: Label - 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 470 470 12 12 - 483: 132(ptr) AccessChain 121(id) 36 - 484: 7(int) Load 483 - 485: 140(ptr) AccessChain 99(params) 139 36 - 486: 71(int) Load 485 - 487: 71(int) ISub 486 226 - 488: 7(int) Bitcast 487 - 490: 157(bool) ULessThan 484 488 - Branch 480 - 480: Label - 491: 157(bool) Phi 478 446 490 479 - SelectionMerge 493 None - BranchConditional 491 492 493 - 492: Label - 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 496 496 12 12 - 497: 7(int) Load 133(index) - 498: 140(ptr) AccessChain 99(params) 139 12 - 499: 71(int) Load 498 - 500: 7(int) Bitcast 499 - 501: 7(int) IAdd 497 500 - 502: 7(int) IAdd 501 36 - 504: 219(ptr) AccessChain 191 193 502 193 - 505: 69(fvec4) Load 504 - 506: 19(fvec3) VectorShuffle 505 505 0 1 2 - Store 503(param) 506 - 508: 19(fvec3) Load 249(pos) - Store 507(param) 508 - 510: 103(ptr) AccessChain 99(params) 416 - 511: 16(float) Load 510 - Store 509(param) 511 - 512: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 503(param) 507(param) 509(param) - 513: 19(fvec3) Load 236(force) - 514: 19(fvec3) FAdd 513 512 - Store 236(force) 514 - Branch 493 - 493: Label - 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 517 517 12 12 - 518: 132(ptr) AccessChain 121(id) 12 - 519: 7(int) Load 518 - 520: 140(ptr) AccessChain 99(params) 139 12 - 521: 71(int) Load 520 - 522: 71(int) ISub 521 226 - 523: 7(int) Bitcast 522 - 525: 157(bool) ULessThan 519 523 - SelectionMerge 527 None - BranchConditional 525 526 527 - 526: Label - 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 517 517 12 12 - 530: 132(ptr) AccessChain 121(id) 36 - 531: 7(int) Load 530 - 533: 157(bool) UGreaterThan 531 12 - Branch 527 - 527: Label - 534: 157(bool) Phi 525 493 533 526 - SelectionMerge 536 None - BranchConditional 534 535 536 - 535: Label - 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 539 539 12 12 - 540: 7(int) Load 133(index) - 541: 140(ptr) AccessChain 99(params) 139 12 - 542: 71(int) Load 541 - 543: 7(int) Bitcast 542 - 544: 7(int) ISub 540 543 - 545: 7(int) IAdd 544 36 - 547: 219(ptr) AccessChain 191 193 545 193 - 548: 69(fvec4) Load 547 - 549: 19(fvec3) VectorShuffle 548 548 0 1 2 - Store 546(param) 549 - 551: 19(fvec3) Load 249(pos) - Store 550(param) 551 - 553: 103(ptr) AccessChain 99(params) 416 - 554: 16(float) Load 553 - Store 552(param) 554 - 555: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 546(param) 550(param) 552(param) - 556: 19(fvec3) Load 236(force) - 557: 19(fvec3) FAdd 556 555 - Store 236(force) 557 - Branch 536 - 536: Label - 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 560 560 12 12 - 562: 103(ptr) AccessChain 99(params) 561 - 563: 16(float) Load 562 - 564: 16(float) FNegate 563 - 565: 19(fvec3) Load 259(vel) - 566: 19(fvec3) VectorTimesScalar 565 564 - 567: 19(fvec3) Load 236(force) - 568: 19(fvec3) FAdd 567 566 - Store 236(force) 568 - 569: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 570 570 12 12 - 574: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 572 571(f) 44 - 575: 19(fvec3) Load 236(force) - 576: 103(ptr) AccessChain 99(params) 226 - 577: 16(float) Load 576 - 578: 16(float) FDiv 198 577 - 579: 19(fvec3) VectorTimesScalar 575 578 - Store 571(f) 579 - 580: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 581 581 12 12 - 582: 7(int) Load 133(index) - 583: 19(fvec3) Load 249(pos) - 584: 19(fvec3) Load 259(vel) - 585: 103(ptr) AccessChain 99(params) 193 - 586: 16(float) Load 585 - 587: 19(fvec3) VectorTimesScalar 584 586 - 588: 19(fvec3) FAdd 583 587 - 590: 19(fvec3) Load 571(f) - 591: 19(fvec3) VectorTimesScalar 590 589 - 592: 103(ptr) AccessChain 99(params) 193 - 593: 16(float) Load 592 - 594: 19(fvec3) VectorTimesScalar 591 593 - 595: 103(ptr) AccessChain 99(params) 193 - 596: 16(float) Load 595 - 597: 19(fvec3) VectorTimesScalar 594 596 - 598: 19(fvec3) FAdd 588 597 - 599: 16(float) CompositeExtract 598 0 - 600: 16(float) CompositeExtract 598 1 - 601: 16(float) CompositeExtract 598 2 - 602: 69(fvec4) CompositeConstruct 599 600 601 198 - 603: 219(ptr) AccessChain 215 193 582 193 - Store 603 602 - 604: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 605 605 12 12 - 606: 7(int) Load 133(index) - 607: 19(fvec3) Load 259(vel) - 608: 19(fvec3) Load 571(f) - 609: 103(ptr) AccessChain 99(params) 193 - 610: 16(float) Load 609 - 611: 19(fvec3) VectorTimesScalar 608 610 - 612: 19(fvec3) FAdd 607 611 - 613: 16(float) CompositeExtract 612 0 - 614: 16(float) CompositeExtract 612 1 - 615: 16(float) CompositeExtract 612 2 - 616: 69(fvec4) CompositeConstruct 613 614 615 227 - 617: 219(ptr) AccessChain 215 193 606 226 - Store 617 616 - 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 619 619 12 12 - 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 621 620(sphereDist) 44 - 624: 7(int) Load 133(index) - 625: 219(ptr) AccessChain 215 193 624 193 - 626: 69(fvec4) Load 625 - 627: 19(fvec3) VectorShuffle 626 626 0 1 2 - 629: 219(ptr) AccessChain 99(params) 628 - 630: 69(fvec4) Load 629 - 631: 19(fvec3) VectorShuffle 630 630 0 1 2 - 632: 19(fvec3) FSub 627 631 - Store 620(sphereDist) 632 - 633: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 634 634 12 12 - 635: 19(fvec3) Load 620(sphereDist) - 636: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 635 - 638: 103(ptr) AccessChain 99(params) 637 - 639: 16(float) Load 638 - 641: 16(float) FAdd 639 640 - 643: 157(bool) FOrdLessThan 636 641 - SelectionMerge 645 None - BranchConditional 643 644 645 - 644: Label - 646: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 648 648 12 12 - 649: 7(int) Load 133(index) - 650: 219(ptr) AccessChain 99(params) 628 - 651: 69(fvec4) Load 650 - 652: 19(fvec3) VectorShuffle 651 651 0 1 2 - 653: 19(fvec3) Load 620(sphereDist) - 654: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 653 - 655: 103(ptr) AccessChain 99(params) 637 - 656: 16(float) Load 655 - 657: 16(float) FAdd 656 640 - 658: 19(fvec3) VectorTimesScalar 654 657 - 659: 19(fvec3) FAdd 652 658 - 660: 103(ptr) AccessChain 215 193 649 193 12 - 661: 16(float) CompositeExtract 659 0 - Store 660 661 - 662: 103(ptr) AccessChain 215 193 649 193 36 - 663: 16(float) CompositeExtract 659 1 - Store 662 663 - 664: 103(ptr) AccessChain 215 193 649 193 38 - 665: 16(float) CompositeExtract 659 2 - Store 664 665 - 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 667 667 12 12 - 668: 7(int) Load 133(index) - 669: 219(ptr) AccessChain 215 193 668 226 - Store 669 228 - Branch 645 - 645: Label - 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 671: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 672 672 12 12 - 684: 683(ptr) AccessChain 680(pushConsts) 193 - 685: 7(int) Load 684 - 687: 157(bool) IEqual 685 36 - SelectionMerge 689 None - BranchConditional 687 688 689 - 688: Label - 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 691: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 692 692 12 12 - 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 694 693(normal) 44 - Store 693(normal) 696 - 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 698 698 12 12 - 699: 132(ptr) AccessChain 121(id) 36 - 700: 7(int) Load 699 - 702: 157(bool) UGreaterThan 700 12 - SelectionMerge 704 None - BranchConditional 702 703 704 - 703: Label - 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 706: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 707 707 12 12 - 708: 132(ptr) AccessChain 121(id) 12 - 709: 7(int) Load 708 - 711: 157(bool) UGreaterThan 709 12 - SelectionMerge 713 None - BranchConditional 711 712 713 - 712: Label - 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 715: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 716 716 12 12 - 720: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 718 717(a) 44 - 721: 7(int) Load 133(index) - 722: 7(int) ISub 721 36 - 723: 219(ptr) AccessChain 191 193 722 193 - 724: 69(fvec4) Load 723 - 725: 19(fvec3) VectorShuffle 724 724 0 1 2 - 726: 19(fvec3) Load 249(pos) - 727: 19(fvec3) FSub 725 726 - Store 717(a) 727 - 728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 729 729 12 12 - 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 731 730(b) 44 - 734: 7(int) Load 133(index) - 735: 140(ptr) AccessChain 99(params) 139 12 - 736: 71(int) Load 735 - 737: 7(int) Bitcast 736 - 738: 7(int) ISub 734 737 - 739: 7(int) ISub 738 36 - 740: 219(ptr) AccessChain 191 193 739 193 - 741: 69(fvec4) Load 740 - 742: 19(fvec3) VectorShuffle 741 741 0 1 2 - 743: 19(fvec3) Load 249(pos) - 744: 19(fvec3) FSub 742 743 - Store 730(b) 744 - 745: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 746 746 12 12 - 750: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 748 747(c) 44 - 751: 7(int) Load 133(index) - 752: 140(ptr) AccessChain 99(params) 139 12 - 753: 71(int) Load 752 - 754: 7(int) Bitcast 753 - 755: 7(int) ISub 751 754 - 756: 219(ptr) AccessChain 191 193 755 193 - 757: 69(fvec4) Load 756 - 758: 19(fvec3) VectorShuffle 757 757 0 1 2 - 759: 19(fvec3) Load 249(pos) - 760: 19(fvec3) FSub 758 759 - Store 747(c) 760 - 761: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 762 762 12 12 - 763: 19(fvec3) Load 717(a) - 764: 19(fvec3) Load 730(b) - 765: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 763 764 - 766: 19(fvec3) Load 730(b) - 767: 19(fvec3) Load 747(c) - 768: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 766 767 - 769: 19(fvec3) FAdd 765 768 - 770: 19(fvec3) Load 693(normal) - 771: 19(fvec3) FAdd 770 769 - Store 693(normal) 771 - Branch 713 - 713: Label - 772: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 773: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 774 774 12 12 - 775: 132(ptr) AccessChain 121(id) 12 - 776: 7(int) Load 775 - 777: 140(ptr) AccessChain 99(params) 139 12 - 778: 71(int) Load 777 - 779: 71(int) ISub 778 226 - 780: 7(int) Bitcast 779 - 782: 157(bool) ULessThan 776 780 - SelectionMerge 784 None - BranchConditional 782 783 784 - 783: Label - 785: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 786: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 787 787 12 12 - 788: 7(int) Load 133(index) - 789: 140(ptr) AccessChain 99(params) 139 12 - 790: 71(int) Load 789 - 791: 7(int) Bitcast 790 - 792: 7(int) ISub 788 791 - 793: 219(ptr) AccessChain 191 193 792 193 - 794: 69(fvec4) Load 793 - 795: 19(fvec3) VectorShuffle 794 794 0 1 2 - 796: 19(fvec3) Load 249(pos) - 797: 19(fvec3) FSub 795 796 - Store 717(a) 797 - 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 799 799 12 12 - 800: 7(int) Load 133(index) - 801: 140(ptr) AccessChain 99(params) 139 12 - 802: 71(int) Load 801 - 803: 7(int) Bitcast 802 - 804: 7(int) ISub 800 803 - 805: 7(int) IAdd 804 36 - 806: 219(ptr) AccessChain 191 193 805 193 - 807: 69(fvec4) Load 806 - 808: 19(fvec3) VectorShuffle 807 807 0 1 2 - 809: 19(fvec3) Load 249(pos) - 810: 19(fvec3) FSub 808 809 - Store 730(b) 810 - 811: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 812 812 12 12 - 813: 7(int) Load 133(index) - 814: 7(int) IAdd 813 36 - 815: 219(ptr) AccessChain 191 193 814 193 - 816: 69(fvec4) Load 815 - 817: 19(fvec3) VectorShuffle 816 816 0 1 2 - 818: 19(fvec3) Load 249(pos) - 819: 19(fvec3) FSub 817 818 - Store 747(c) 819 - 820: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 821 821 12 12 - 822: 19(fvec3) Load 717(a) - 823: 19(fvec3) Load 730(b) - 824: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 822 823 - 825: 19(fvec3) Load 730(b) - 826: 19(fvec3) Load 747(c) - 827: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 825 826 - 828: 19(fvec3) FAdd 824 827 - 829: 19(fvec3) Load 693(normal) - 830: 19(fvec3) FAdd 829 828 - Store 693(normal) 830 - Branch 784 - 784: Label - Branch 704 - 704: Label - 831: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 832: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 833 833 12 12 - 834: 132(ptr) AccessChain 121(id) 36 - 835: 7(int) Load 834 - 836: 140(ptr) AccessChain 99(params) 139 36 - 837: 71(int) Load 836 - 838: 71(int) ISub 837 226 - 839: 7(int) Bitcast 838 - 841: 157(bool) ULessThan 835 839 - SelectionMerge 843 None - BranchConditional 841 842 843 - 842: Label - 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 845: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 846 846 12 12 - 847: 132(ptr) AccessChain 121(id) 12 - 848: 7(int) Load 847 - 850: 157(bool) UGreaterThan 848 12 - SelectionMerge 852 None - BranchConditional 850 851 852 - 851: Label - 853: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 854: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 855 855 12 12 - 856: 7(int) Load 133(index) - 857: 140(ptr) AccessChain 99(params) 139 12 - 858: 71(int) Load 857 - 859: 7(int) Bitcast 858 - 860: 7(int) IAdd 856 859 - 861: 219(ptr) AccessChain 191 193 860 193 - 862: 69(fvec4) Load 861 - 863: 19(fvec3) VectorShuffle 862 862 0 1 2 - 864: 19(fvec3) Load 249(pos) - 865: 19(fvec3) FSub 863 864 - Store 717(a) 865 - 866: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 867 867 12 12 - 868: 7(int) Load 133(index) - 869: 140(ptr) AccessChain 99(params) 139 12 - 870: 71(int) Load 869 - 871: 7(int) Bitcast 870 - 872: 7(int) IAdd 868 871 - 873: 7(int) ISub 872 36 - 874: 219(ptr) AccessChain 191 193 873 193 - 875: 69(fvec4) Load 874 - 876: 19(fvec3) VectorShuffle 875 875 0 1 2 - 877: 19(fvec3) Load 249(pos) - 878: 19(fvec3) FSub 876 877 - Store 730(b) 878 - 879: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 880 880 12 12 - 881: 7(int) Load 133(index) - 882: 7(int) ISub 881 36 - 883: 219(ptr) AccessChain 191 193 882 193 - 884: 69(fvec4) Load 883 - 885: 19(fvec3) VectorShuffle 884 884 0 1 2 - 886: 19(fvec3) Load 249(pos) - 887: 19(fvec3) FSub 885 886 - Store 747(c) 887 - 888: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 889 889 12 12 - 890: 19(fvec3) Load 717(a) - 891: 19(fvec3) Load 730(b) - 892: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 890 891 - 893: 19(fvec3) Load 730(b) - 894: 19(fvec3) Load 747(c) - 895: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 893 894 - 896: 19(fvec3) FAdd 892 895 - 897: 19(fvec3) Load 693(normal) - 898: 19(fvec3) FAdd 897 896 - Store 693(normal) 898 - Branch 852 - 852: Label - 899: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 900: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 901 901 12 12 - 902: 132(ptr) AccessChain 121(id) 12 - 903: 7(int) Load 902 - 904: 140(ptr) AccessChain 99(params) 139 12 - 905: 71(int) Load 904 - 906: 71(int) ISub 905 226 - 907: 7(int) Bitcast 906 - 909: 157(bool) ULessThan 903 907 - SelectionMerge 911 None - BranchConditional 909 910 911 - 910: Label - 912: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 913: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 914 914 12 12 - 915: 7(int) Load 133(index) - 916: 7(int) IAdd 915 36 - 917: 219(ptr) AccessChain 191 193 916 193 - 918: 69(fvec4) Load 917 - 919: 19(fvec3) VectorShuffle 918 918 0 1 2 - 920: 19(fvec3) Load 249(pos) - 921: 19(fvec3) FSub 919 920 - Store 717(a) 921 - 922: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 923 923 12 12 - 924: 7(int) Load 133(index) - 925: 140(ptr) AccessChain 99(params) 139 12 - 926: 71(int) Load 925 - 927: 7(int) Bitcast 926 - 928: 7(int) IAdd 924 927 - 929: 7(int) IAdd 928 36 - 930: 219(ptr) AccessChain 191 193 929 193 - 931: 69(fvec4) Load 930 - 932: 19(fvec3) VectorShuffle 931 931 0 1 2 - 933: 19(fvec3) Load 249(pos) - 934: 19(fvec3) FSub 932 933 - Store 730(b) 934 - 935: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 936 936 12 12 - 937: 7(int) Load 133(index) - 938: 140(ptr) AccessChain 99(params) 139 12 - 939: 71(int) Load 938 - 940: 7(int) Bitcast 939 - 941: 7(int) IAdd 937 940 - 942: 219(ptr) AccessChain 191 193 941 193 - 943: 69(fvec4) Load 942 - 944: 19(fvec3) VectorShuffle 943 943 0 1 2 - 945: 19(fvec3) Load 249(pos) - 946: 19(fvec3) FSub 944 945 - Store 747(c) 946 - 947: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 948 948 12 12 - 949: 19(fvec3) Load 717(a) - 950: 19(fvec3) Load 730(b) - 951: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 949 950 - 952: 19(fvec3) Load 730(b) - 953: 19(fvec3) Load 747(c) - 954: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 952 953 - 955: 19(fvec3) FAdd 951 954 - 956: 19(fvec3) Load 693(normal) - 957: 19(fvec3) FAdd 956 955 - Store 693(normal) 957 - Branch 911 - 911: Label - Branch 843 - 843: Label - 958: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 959: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 960 960 12 12 - 961: 7(int) Load 133(index) - 962: 19(fvec3) Load 693(normal) - 963: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 962 - 964: 16(float) CompositeExtract 963 0 - 965: 16(float) CompositeExtract 963 1 - 966: 16(float) CompositeExtract 963 2 - 967: 69(fvec4) CompositeConstruct 964 965 966 227 - 968: 219(ptr) AccessChain 215 193 961 561 - Store 968 967 - Branch 689 - 689: Label + 204: Label + 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 237 237 12 12 + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 239 238(force) 44 + 243: 221(ptr) AccessChain 99(params) 242 + 244: 69(fvec4) Load 243 + 245: 19(fvec3) VectorShuffle 244 244 0 1 2 + 246: 103(ptr) AccessChain 99(params) 228 + 247: 16(float) Load 246 + 248: 19(fvec3) VectorTimesScalar 245 247 + Store 238(force) 248 + 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 250 250 12 12 + 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 252 251(pos) 44 + 255: 7(int) Load 133(index) + 256: 221(ptr) AccessChain 192 194 255 194 + 257: 69(fvec4) Load 256 + 258: 19(fvec3) VectorShuffle 257 257 0 1 2 + Store 251(pos) 258 + 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 260 260 12 12 + 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 262 261(vel) 44 + 265: 7(int) Load 133(index) + 266: 221(ptr) AccessChain 192 194 265 228 + 267: 69(fvec4) Load 266 + 268: 19(fvec3) VectorShuffle 267 267 0 1 2 + Store 261(vel) 268 + 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 270 270 12 12 + 271: 132(ptr) AccessChain 121(id) 12 + 272: 7(int) Load 271 + 274: 157(bool) UGreaterThan 272 12 + SelectionMerge 277 None + BranchConditional 274 276 277 + 276: Label + 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 280 280 12 12 + 281: 7(int) Load 133(index) + 282: 7(int) ISub 281 36 + 284: 221(ptr) AccessChain 192 194 282 194 + 285: 69(fvec4) Load 284 + 286: 19(fvec3) VectorShuffle 285 285 0 1 2 + Store 283(param) 286 + 288: 19(fvec3) Load 251(pos) + Store 287(param) 288 + 290: 103(ptr) AccessChain 99(params) 196 + 291: 16(float) Load 290 + Store 289(param) 291 + 292: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 283(param) 287(param) 289(param) + 293: 19(fvec3) Load 238(force) + 294: 19(fvec3) FAdd 293 292 + Store 238(force) 294 + Branch 277 + 277: Label + 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 297 297 12 12 + 298: 132(ptr) AccessChain 121(id) 12 + 299: 7(int) Load 298 + 300: 140(ptr) AccessChain 99(params) 139 12 + 301: 71(int) Load 300 + 302: 71(int) ISub 301 228 + 303: 7(int) Bitcast 302 + 305: 157(bool) ULessThan 299 303 + SelectionMerge 308 None + BranchConditional 305 307 308 + 307: Label + 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 311 311 12 12 + 312: 7(int) Load 133(index) + 313: 7(int) IAdd 312 36 + 315: 221(ptr) AccessChain 192 194 313 194 + 316: 69(fvec4) Load 315 + 317: 19(fvec3) VectorShuffle 316 316 0 1 2 + Store 314(param) 317 + 319: 19(fvec3) Load 251(pos) + Store 318(param) 319 + 321: 103(ptr) AccessChain 99(params) 196 + 322: 16(float) Load 321 + Store 320(param) 322 + 323: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 314(param) 318(param) 320(param) + 324: 19(fvec3) Load 238(force) + 325: 19(fvec3) FAdd 324 323 + Store 238(force) 325 + Branch 308 + 308: Label + 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 328 328 12 12 + 329: 132(ptr) AccessChain 121(id) 36 + 330: 7(int) Load 329 + 331: 140(ptr) AccessChain 99(params) 139 36 + 332: 71(int) Load 331 + 333: 71(int) ISub 332 228 + 334: 7(int) Bitcast 333 + 336: 157(bool) ULessThan 330 334 + SelectionMerge 339 None + BranchConditional 336 338 339 + 338: Label + 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 342 342 12 12 + 343: 7(int) Load 133(index) + 344: 140(ptr) AccessChain 99(params) 139 12 + 345: 71(int) Load 344 + 346: 7(int) Bitcast 345 + 347: 7(int) IAdd 343 346 + 350: 221(ptr) AccessChain 192 194 347 194 + 351: 69(fvec4) Load 350 + 352: 19(fvec3) VectorShuffle 351 351 0 1 2 + Store 349(param) 352 + 354: 19(fvec3) Load 251(pos) + Store 353(param) 354 + 356: 103(ptr) AccessChain 99(params) 348 + 357: 16(float) Load 356 + Store 355(param) 357 + 358: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 349(param) 353(param) 355(param) + 359: 19(fvec3) Load 238(force) + 360: 19(fvec3) FAdd 359 358 + Store 238(force) 360 + Branch 339 + 339: Label + 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 363 363 12 12 + 364: 132(ptr) AccessChain 121(id) 36 + 365: 7(int) Load 364 + 367: 157(bool) UGreaterThan 365 12 + SelectionMerge 370 None + BranchConditional 367 369 370 + 369: Label + 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 373 373 12 12 + 374: 7(int) Load 133(index) + 375: 140(ptr) AccessChain 99(params) 139 12 + 376: 71(int) Load 375 + 377: 7(int) Bitcast 376 + 378: 7(int) ISub 374 377 + 380: 221(ptr) AccessChain 192 194 378 194 + 381: 69(fvec4) Load 380 + 382: 19(fvec3) VectorShuffle 381 381 0 1 2 + Store 379(param) 382 + 384: 19(fvec3) Load 251(pos) + Store 383(param) 384 + 386: 103(ptr) AccessChain 99(params) 348 + 387: 16(float) Load 386 + Store 385(param) 387 + 388: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 379(param) 383(param) 385(param) + 389: 19(fvec3) Load 238(force) + 390: 19(fvec3) FAdd 389 388 + Store 238(force) 390 + Branch 370 + 370: Label + 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 393 393 12 12 + 395: 132(ptr) AccessChain 121(id) 12 + 396: 7(int) Load 395 + 398: 157(bool) UGreaterThan 396 12 + SelectionMerge 401 None + BranchConditional 398 400 401 + 400: Label + 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 393 393 12 12 + 404: 132(ptr) AccessChain 121(id) 36 + 405: 7(int) Load 404 + 406: 140(ptr) AccessChain 99(params) 139 36 + 407: 71(int) Load 406 + 408: 71(int) ISub 407 228 + 409: 7(int) Bitcast 408 + 411: 157(bool) ULessThan 405 409 + Branch 401 + 401: Label + 413: 157(bool) Phi 398 370 411 400 + SelectionMerge 416 None + BranchConditional 413 415 416 + 415: Label + 417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 419 419 12 12 + 420: 7(int) Load 133(index) + 421: 140(ptr) AccessChain 99(params) 139 12 + 422: 71(int) Load 421 + 423: 7(int) Bitcast 422 + 424: 7(int) IAdd 420 423 + 425: 7(int) ISub 424 36 + 428: 221(ptr) AccessChain 192 194 425 194 + 429: 69(fvec4) Load 428 + 430: 19(fvec3) VectorShuffle 429 429 0 1 2 + Store 427(param) 430 + 432: 19(fvec3) Load 251(pos) + Store 431(param) 432 + 434: 103(ptr) AccessChain 99(params) 426 + 435: 16(float) Load 434 + Store 433(param) 435 + 436: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 427(param) 431(param) 433(param) + 437: 19(fvec3) Load 238(force) + 438: 19(fvec3) FAdd 437 436 + Store 238(force) 438 + Branch 416 + 416: Label + 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 441 441 12 12 + 443: 132(ptr) AccessChain 121(id) 12 + 444: 7(int) Load 443 + 446: 157(bool) UGreaterThan 444 12 + SelectionMerge 449 None + BranchConditional 446 448 449 + 448: Label + 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 441 441 12 12 + 452: 132(ptr) AccessChain 121(id) 36 + 453: 7(int) Load 452 + 455: 157(bool) UGreaterThan 453 12 + Branch 449 + 449: Label + 457: 157(bool) Phi 446 416 455 448 + SelectionMerge 460 None + BranchConditional 457 459 460 + 459: Label + 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 462: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 463 463 12 12 + 464: 7(int) Load 133(index) + 465: 140(ptr) AccessChain 99(params) 139 12 + 466: 71(int) Load 465 + 467: 7(int) Bitcast 466 + 468: 7(int) ISub 464 467 + 469: 7(int) ISub 468 36 + 471: 221(ptr) AccessChain 192 194 469 194 + 472: 69(fvec4) Load 471 + 473: 19(fvec3) VectorShuffle 472 472 0 1 2 + Store 470(param) 473 + 475: 19(fvec3) Load 251(pos) + Store 474(param) 475 + 477: 103(ptr) AccessChain 99(params) 426 + 478: 16(float) Load 477 + Store 476(param) 478 + 479: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 470(param) 474(param) 476(param) + 480: 19(fvec3) Load 238(force) + 481: 19(fvec3) FAdd 480 479 + Store 238(force) 481 + Branch 460 + 460: Label + 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 484 484 12 12 + 486: 132(ptr) AccessChain 121(id) 12 + 487: 7(int) Load 486 + 488: 140(ptr) AccessChain 99(params) 139 12 + 489: 71(int) Load 488 + 490: 71(int) ISub 489 228 + 491: 7(int) Bitcast 490 + 493: 157(bool) ULessThan 487 491 + SelectionMerge 496 None + BranchConditional 493 495 496 + 495: Label + 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 498: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 484 484 12 12 + 499: 132(ptr) AccessChain 121(id) 36 + 500: 7(int) Load 499 + 501: 140(ptr) AccessChain 99(params) 139 36 + 502: 71(int) Load 501 + 503: 71(int) ISub 502 228 + 504: 7(int) Bitcast 503 + 506: 157(bool) ULessThan 500 504 + Branch 496 + 496: Label + 508: 157(bool) Phi 493 460 506 495 + SelectionMerge 511 None + BranchConditional 508 510 511 + 510: Label + 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 514 514 12 12 + 515: 7(int) Load 133(index) + 516: 140(ptr) AccessChain 99(params) 139 12 + 517: 71(int) Load 516 + 518: 7(int) Bitcast 517 + 519: 7(int) IAdd 515 518 + 520: 7(int) IAdd 519 36 + 522: 221(ptr) AccessChain 192 194 520 194 + 523: 69(fvec4) Load 522 + 524: 19(fvec3) VectorShuffle 523 523 0 1 2 + Store 521(param) 524 + 526: 19(fvec3) Load 251(pos) + Store 525(param) 526 + 528: 103(ptr) AccessChain 99(params) 426 + 529: 16(float) Load 528 + Store 527(param) 529 + 530: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 521(param) 525(param) 527(param) + 531: 19(fvec3) Load 238(force) + 532: 19(fvec3) FAdd 531 530 + Store 238(force) 532 + Branch 511 + 511: Label + 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 535 535 12 12 + 537: 132(ptr) AccessChain 121(id) 12 + 538: 7(int) Load 537 + 539: 140(ptr) AccessChain 99(params) 139 12 + 540: 71(int) Load 539 + 541: 71(int) ISub 540 228 + 542: 7(int) Bitcast 541 + 544: 157(bool) ULessThan 538 542 + SelectionMerge 547 None + BranchConditional 544 546 547 + 546: Label + 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 535 535 12 12 + 550: 132(ptr) AccessChain 121(id) 36 + 551: 7(int) Load 550 + 553: 157(bool) UGreaterThan 551 12 + Branch 547 + 547: Label + 555: 157(bool) Phi 544 511 553 546 + SelectionMerge 558 None + BranchConditional 555 557 558 + 557: Label + 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 560: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 561 561 12 12 + 562: 7(int) Load 133(index) + 563: 140(ptr) AccessChain 99(params) 139 12 + 564: 71(int) Load 563 + 565: 7(int) Bitcast 564 + 566: 7(int) ISub 562 565 + 567: 7(int) IAdd 566 36 + 569: 221(ptr) AccessChain 192 194 567 194 + 570: 69(fvec4) Load 569 + 571: 19(fvec3) VectorShuffle 570 570 0 1 2 + Store 568(param) 571 + 573: 19(fvec3) Load 251(pos) + Store 572(param) 573 + 575: 103(ptr) AccessChain 99(params) 426 + 576: 16(float) Load 575 + Store 574(param) 576 + 577: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 568(param) 572(param) 574(param) + 578: 19(fvec3) Load 238(force) + 579: 19(fvec3) FAdd 578 577 + Store 238(force) 579 + Branch 558 + 558: Label + 580: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 581: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 582 582 12 12 + 584: 103(ptr) AccessChain 99(params) 583 + 585: 16(float) Load 584 + 586: 16(float) FNegate 585 + 587: 19(fvec3) Load 261(vel) + 588: 19(fvec3) VectorTimesScalar 587 586 + 589: 19(fvec3) Load 238(force) + 590: 19(fvec3) FAdd 589 588 + Store 238(force) 590 + 591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 592 592 12 12 + 596: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 594 593(f) 44 + 597: 19(fvec3) Load 238(force) + 598: 103(ptr) AccessChain 99(params) 228 + 599: 16(float) Load 598 + 600: 16(float) FDiv 199 599 + 601: 19(fvec3) VectorTimesScalar 597 600 + Store 593(f) 601 + 602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 603 603 12 12 + 604: 7(int) Load 133(index) + 605: 19(fvec3) Load 251(pos) + 606: 19(fvec3) Load 261(vel) + 607: 103(ptr) AccessChain 99(params) 194 + 608: 16(float) Load 607 + 609: 19(fvec3) VectorTimesScalar 606 608 + 610: 19(fvec3) FAdd 605 609 + 612: 19(fvec3) Load 593(f) + 613: 19(fvec3) VectorTimesScalar 612 611 + 614: 103(ptr) AccessChain 99(params) 194 + 615: 16(float) Load 614 + 616: 19(fvec3) VectorTimesScalar 613 615 + 617: 103(ptr) AccessChain 99(params) 194 + 618: 16(float) Load 617 + 619: 19(fvec3) VectorTimesScalar 616 618 + 620: 19(fvec3) FAdd 610 619 + 621: 16(float) CompositeExtract 620 0 + 622: 16(float) CompositeExtract 620 1 + 623: 16(float) CompositeExtract 620 2 + 624: 69(fvec4) CompositeConstruct 621 622 623 199 + 625: 221(ptr) AccessChain 217 194 604 194 + Store 625 624 + 626: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 627 627 12 12 + 628: 7(int) Load 133(index) + 629: 19(fvec3) Load 261(vel) + 630: 19(fvec3) Load 593(f) + 631: 103(ptr) AccessChain 99(params) 194 + 632: 16(float) Load 631 + 633: 19(fvec3) VectorTimesScalar 630 632 + 634: 19(fvec3) FAdd 629 633 + 635: 16(float) CompositeExtract 634 0 + 636: 16(float) CompositeExtract 634 1 + 637: 16(float) CompositeExtract 634 2 + 638: 69(fvec4) CompositeConstruct 635 636 637 229 + 639: 221(ptr) AccessChain 217 194 628 228 + Store 639 638 + 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 641 641 12 12 + 645: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 643 642(sphereDist) 44 + 646: 7(int) Load 133(index) + 647: 221(ptr) AccessChain 217 194 646 194 + 648: 69(fvec4) Load 647 + 649: 19(fvec3) VectorShuffle 648 648 0 1 2 + 651: 221(ptr) AccessChain 99(params) 650 + 652: 69(fvec4) Load 651 + 653: 19(fvec3) VectorShuffle 652 652 0 1 2 + 654: 19(fvec3) FSub 649 653 + Store 642(sphereDist) 654 + 655: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 656 656 12 12 + 657: 19(fvec3) Load 642(sphereDist) + 658: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 657 + 660: 103(ptr) AccessChain 99(params) 659 + 661: 16(float) Load 660 + 663: 16(float) FAdd 661 662 + 665: 157(bool) FOrdLessThan 658 663 + SelectionMerge 668 None + BranchConditional 665 667 668 + 667: Label + 669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 671 671 12 12 + 672: 7(int) Load 133(index) + 673: 221(ptr) AccessChain 99(params) 650 + 674: 69(fvec4) Load 673 + 675: 19(fvec3) VectorShuffle 674 674 0 1 2 + 676: 19(fvec3) Load 642(sphereDist) + 677: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 676 + 678: 103(ptr) AccessChain 99(params) 659 + 679: 16(float) Load 678 + 680: 16(float) FAdd 679 662 + 681: 19(fvec3) VectorTimesScalar 677 680 + 682: 19(fvec3) FAdd 675 681 + 683: 103(ptr) AccessChain 217 194 672 194 12 + 684: 16(float) CompositeExtract 682 0 + Store 683 684 + 685: 103(ptr) AccessChain 217 194 672 194 36 + 686: 16(float) CompositeExtract 682 1 + Store 685 686 + 687: 103(ptr) AccessChain 217 194 672 194 38 + 688: 16(float) CompositeExtract 682 2 + Store 687 688 + 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 690 690 12 12 + 691: 7(int) Load 133(index) + 692: 221(ptr) AccessChain 217 194 691 228 + Store 692 230 + Branch 668 + 668: Label + 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 694: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 695 695 12 12 + 707: 706(ptr) AccessChain 703(pushConsts) 194 + 708: 7(int) Load 707 + 710: 157(bool) IEqual 708 36 + SelectionMerge 713 None + BranchConditional 710 712 713 + 712: Label + 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 715: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 716 716 12 12 + 719: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 718 717(normal) 44 + Store 717(normal) 720 + 721: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 722 722 12 12 + 723: 132(ptr) AccessChain 121(id) 36 + 724: 7(int) Load 723 + 726: 157(bool) UGreaterThan 724 12 + SelectionMerge 729 None + BranchConditional 726 728 729 + 728: Label + 730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 732 732 12 12 + 733: 132(ptr) AccessChain 121(id) 12 + 734: 7(int) Load 733 + 736: 157(bool) UGreaterThan 734 12 + SelectionMerge 739 None + BranchConditional 736 738 739 + 738: Label + 740: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 741: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 742 742 12 12 + 746: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 744 743(a) 44 + 747: 7(int) Load 133(index) + 748: 7(int) ISub 747 36 + 749: 221(ptr) AccessChain 192 194 748 194 + 750: 69(fvec4) Load 749 + 751: 19(fvec3) VectorShuffle 750 750 0 1 2 + 752: 19(fvec3) Load 251(pos) + 753: 19(fvec3) FSub 751 752 + Store 743(a) 753 + 754: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 755 755 12 12 + 759: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 757 756(b) 44 + 760: 7(int) Load 133(index) + 761: 140(ptr) AccessChain 99(params) 139 12 + 762: 71(int) Load 761 + 763: 7(int) Bitcast 762 + 764: 7(int) ISub 760 763 + 765: 7(int) ISub 764 36 + 766: 221(ptr) AccessChain 192 194 765 194 + 767: 69(fvec4) Load 766 + 768: 19(fvec3) VectorShuffle 767 767 0 1 2 + 769: 19(fvec3) Load 251(pos) + 770: 19(fvec3) FSub 768 769 + Store 756(b) 770 + 771: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 772 772 12 12 + 776: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 774 773(c) 44 + 777: 7(int) Load 133(index) + 778: 140(ptr) AccessChain 99(params) 139 12 + 779: 71(int) Load 778 + 780: 7(int) Bitcast 779 + 781: 7(int) ISub 777 780 + 782: 221(ptr) AccessChain 192 194 781 194 + 783: 69(fvec4) Load 782 + 784: 19(fvec3) VectorShuffle 783 783 0 1 2 + 785: 19(fvec3) Load 251(pos) + 786: 19(fvec3) FSub 784 785 + Store 773(c) 786 + 787: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 788 788 12 12 + 789: 19(fvec3) Load 743(a) + 790: 19(fvec3) Load 756(b) + 791: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 789 790 + 792: 19(fvec3) Load 756(b) + 793: 19(fvec3) Load 773(c) + 794: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 792 793 + 795: 19(fvec3) FAdd 791 794 + 796: 19(fvec3) Load 717(normal) + 797: 19(fvec3) FAdd 796 795 + Store 717(normal) 797 + Branch 739 + 739: Label + 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 799: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 800 800 12 12 + 801: 132(ptr) AccessChain 121(id) 12 + 802: 7(int) Load 801 + 803: 140(ptr) AccessChain 99(params) 139 12 + 804: 71(int) Load 803 + 805: 71(int) ISub 804 228 + 806: 7(int) Bitcast 805 + 808: 157(bool) ULessThan 802 806 + SelectionMerge 811 None + BranchConditional 808 810 811 + 810: Label + 812: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 813: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 814 814 12 12 + 815: 7(int) Load 133(index) + 816: 140(ptr) AccessChain 99(params) 139 12 + 817: 71(int) Load 816 + 818: 7(int) Bitcast 817 + 819: 7(int) ISub 815 818 + 820: 221(ptr) AccessChain 192 194 819 194 + 821: 69(fvec4) Load 820 + 822: 19(fvec3) VectorShuffle 821 821 0 1 2 + 823: 19(fvec3) Load 251(pos) + 824: 19(fvec3) FSub 822 823 + Store 743(a) 824 + 825: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 826 826 12 12 + 827: 7(int) Load 133(index) + 828: 140(ptr) AccessChain 99(params) 139 12 + 829: 71(int) Load 828 + 830: 7(int) Bitcast 829 + 831: 7(int) ISub 827 830 + 832: 7(int) IAdd 831 36 + 833: 221(ptr) AccessChain 192 194 832 194 + 834: 69(fvec4) Load 833 + 835: 19(fvec3) VectorShuffle 834 834 0 1 2 + 836: 19(fvec3) Load 251(pos) + 837: 19(fvec3) FSub 835 836 + Store 756(b) 837 + 838: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 839 839 12 12 + 840: 7(int) Load 133(index) + 841: 7(int) IAdd 840 36 + 842: 221(ptr) AccessChain 192 194 841 194 + 843: 69(fvec4) Load 842 + 844: 19(fvec3) VectorShuffle 843 843 0 1 2 + 845: 19(fvec3) Load 251(pos) + 846: 19(fvec3) FSub 844 845 + Store 773(c) 846 + 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 848 848 12 12 + 849: 19(fvec3) Load 743(a) + 850: 19(fvec3) Load 756(b) + 851: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 849 850 + 852: 19(fvec3) Load 756(b) + 853: 19(fvec3) Load 773(c) + 854: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 852 853 + 855: 19(fvec3) FAdd 851 854 + 856: 19(fvec3) Load 717(normal) + 857: 19(fvec3) FAdd 856 855 + Store 717(normal) 857 + Branch 811 + 811: Label + Branch 729 + 729: Label + 858: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 859: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 860 860 12 12 + 861: 132(ptr) AccessChain 121(id) 36 + 862: 7(int) Load 861 + 863: 140(ptr) AccessChain 99(params) 139 36 + 864: 71(int) Load 863 + 865: 71(int) ISub 864 228 + 866: 7(int) Bitcast 865 + 868: 157(bool) ULessThan 862 866 + SelectionMerge 871 None + BranchConditional 868 870 871 + 870: Label + 872: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 873: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 874 874 12 12 + 875: 132(ptr) AccessChain 121(id) 12 + 876: 7(int) Load 875 + 878: 157(bool) UGreaterThan 876 12 + SelectionMerge 881 None + BranchConditional 878 880 881 + 880: Label + 882: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 883: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 884 884 12 12 + 885: 7(int) Load 133(index) + 886: 140(ptr) AccessChain 99(params) 139 12 + 887: 71(int) Load 886 + 888: 7(int) Bitcast 887 + 889: 7(int) IAdd 885 888 + 890: 221(ptr) AccessChain 192 194 889 194 + 891: 69(fvec4) Load 890 + 892: 19(fvec3) VectorShuffle 891 891 0 1 2 + 893: 19(fvec3) Load 251(pos) + 894: 19(fvec3) FSub 892 893 + Store 743(a) 894 + 895: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 896 896 12 12 + 897: 7(int) Load 133(index) + 898: 140(ptr) AccessChain 99(params) 139 12 + 899: 71(int) Load 898 + 900: 7(int) Bitcast 899 + 901: 7(int) IAdd 897 900 + 902: 7(int) ISub 901 36 + 903: 221(ptr) AccessChain 192 194 902 194 + 904: 69(fvec4) Load 903 + 905: 19(fvec3) VectorShuffle 904 904 0 1 2 + 906: 19(fvec3) Load 251(pos) + 907: 19(fvec3) FSub 905 906 + Store 756(b) 907 + 908: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 909 909 12 12 + 910: 7(int) Load 133(index) + 911: 7(int) ISub 910 36 + 912: 221(ptr) AccessChain 192 194 911 194 + 913: 69(fvec4) Load 912 + 914: 19(fvec3) VectorShuffle 913 913 0 1 2 + 915: 19(fvec3) Load 251(pos) + 916: 19(fvec3) FSub 914 915 + Store 773(c) 916 + 917: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 918 918 12 12 + 919: 19(fvec3) Load 743(a) + 920: 19(fvec3) Load 756(b) + 921: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 919 920 + 922: 19(fvec3) Load 756(b) + 923: 19(fvec3) Load 773(c) + 924: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 922 923 + 925: 19(fvec3) FAdd 921 924 + 926: 19(fvec3) Load 717(normal) + 927: 19(fvec3) FAdd 926 925 + Store 717(normal) 927 + Branch 881 + 881: Label + 928: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 929: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 930 930 12 12 + 931: 132(ptr) AccessChain 121(id) 12 + 932: 7(int) Load 931 + 933: 140(ptr) AccessChain 99(params) 139 12 + 934: 71(int) Load 933 + 935: 71(int) ISub 934 228 + 936: 7(int) Bitcast 935 + 938: 157(bool) ULessThan 932 936 + SelectionMerge 941 None + BranchConditional 938 940 941 + 940: Label + 942: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 943: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 944 944 12 12 + 945: 7(int) Load 133(index) + 946: 7(int) IAdd 945 36 + 947: 221(ptr) AccessChain 192 194 946 194 + 948: 69(fvec4) Load 947 + 949: 19(fvec3) VectorShuffle 948 948 0 1 2 + 950: 19(fvec3) Load 251(pos) + 951: 19(fvec3) FSub 949 950 + Store 743(a) 951 + 952: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 953 953 12 12 + 954: 7(int) Load 133(index) + 955: 140(ptr) AccessChain 99(params) 139 12 + 956: 71(int) Load 955 + 957: 7(int) Bitcast 956 + 958: 7(int) IAdd 954 957 + 959: 7(int) IAdd 958 36 + 960: 221(ptr) AccessChain 192 194 959 194 + 961: 69(fvec4) Load 960 + 962: 19(fvec3) VectorShuffle 961 961 0 1 2 + 963: 19(fvec3) Load 251(pos) + 964: 19(fvec3) FSub 962 963 + Store 756(b) 964 + 965: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 966 966 12 12 + 967: 7(int) Load 133(index) + 968: 140(ptr) AccessChain 99(params) 139 12 + 969: 71(int) Load 968 + 970: 7(int) Bitcast 969 + 971: 7(int) IAdd 967 970 + 972: 221(ptr) AccessChain 192 194 971 194 + 973: 69(fvec4) Load 972 + 974: 19(fvec3) VectorShuffle 973 973 0 1 2 + 975: 19(fvec3) Load 251(pos) + 976: 19(fvec3) FSub 974 975 + Store 773(c) 976 + 977: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 978 978 12 12 + 979: 19(fvec3) Load 743(a) + 980: 19(fvec3) Load 756(b) + 981: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 979 980 + 982: 19(fvec3) Load 756(b) + 983: 19(fvec3) Load 773(c) + 984: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 982 983 + 985: 19(fvec3) FAdd 981 984 + 986: 19(fvec3) Load 717(normal) + 987: 19(fvec3) FAdd 986 985 + Store 717(normal) 987 + Branch 941 + 941: Label + Branch 871 + 871: Label + 988: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 + 989: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 990 990 12 12 + 991: 7(int) Load 133(index) + 992: 19(fvec3) Load 717(normal) + 993: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 992 + 994: 16(float) CompositeExtract 993 0 + 995: 16(float) CompositeExtract 993 1 + 996: 16(float) CompositeExtract 993 2 + 997: 69(fvec4) CompositeConstruct 994 995 996 229 + 998: 221(ptr) AccessChain 217 194 991 583 + Store 998 997 + Branch 713 + 713: Label Return FunctionEnd Line 1 66 50 diff --git a/Test/baseResults/spv.debuginfo.glsl.frag.out b/Test/baseResults/spv.debuginfo.glsl.frag.out index 35dfd13e74..d711a3cf65 100644 --- a/Test/baseResults/spv.debuginfo.glsl.frag.out +++ b/Test/baseResults/spv.debuginfo.glsl.frag.out @@ -1,7 +1,7 @@ spv.debuginfo.glsl.frag // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 863 +// Id's are bound by 878 Capability Shader Capability ImageQuery @@ -9,7 +9,7 @@ spv.debuginfo.glsl.frag 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Fragment 14 "main" 482 537 + EntryPoint Fragment 14 "main" 494 550 ExecutionMode 14 OriginUpperLeft 1: String "" 8: String "uint" @@ -35,54 +35,54 @@ spv.debuginfo.glsl.frag 97: String "int" 102: String "global_var" 117: String "shadowCoord" - 142: String "bool" - 161: String "dist" - 165: String "type.2d.image" - 166: String "@type.2d.image" - 170: String "type.sampled.image" - 171: String "@type.sampled.image" - 175: String "samplerShadowMap" - 225: String "texDim" - 237: String "scale" - 244: String "dx" - 257: String "dy" - 269: String "shadowFactor" - 275: String "count" - 281: String "range" - 288: String "x" - 310: String "y" - 374: String "i" - 394: String "shadowClip" - 401: String "color" - 407: String "viewMatrix" - 410: String "Light" - 416: String "lights" - 419: String "debugDisplayTarget" - 423: String "UBO" - 427: String "ubo" - 470: String "fragPos" - 479: String "samplerposition" - 484: String "inUV" - 492: String "normal" - 496: String "samplerNormal" - 505: String "albedo" - 509: String "samplerAlbedo" - 539: String "outFragColor" - 631: String "N" - 657: String "L" - 681: String "V" - 696: String "lightCosInnerAngle" - 703: String "lightCosOuterAngle" - 710: String "lightRange" - 717: String "dir" - 733: String "cosDir" - 742: String "spotEffect" - 752: String "heightAttenuation" - 761: String "NdotL" - 771: String "diff" - 779: String "R" - 789: String "NdotR" - 799: String "spec" + 139: String "bool" + 165: String "dist" + 169: String "type.2d.image" + 170: String "@type.2d.image" + 174: String "type.sampled.image" + 175: String "@type.sampled.image" + 179: String "samplerShadowMap" + 233: String "texDim" + 245: String "scale" + 252: String "dx" + 265: String "dy" + 277: String "shadowFactor" + 283: String "count" + 289: String "range" + 296: String "x" + 319: String "y" + 384: String "i" + 405: String "shadowClip" + 413: String "color" + 419: String "viewMatrix" + 422: String "Light" + 428: String "lights" + 431: String "debugDisplayTarget" + 435: String "UBO" + 439: String "ubo" + 482: String "fragPos" + 491: String "samplerposition" + 496: String "inUV" + 504: String "normal" + 508: String "samplerNormal" + 517: String "albedo" + 521: String "samplerAlbedo" + 552: String "outFragColor" + 644: String "N" + 671: String "L" + 695: String "V" + 710: String "lightCosInnerAngle" + 717: String "lightCosOuterAngle" + 724: String "lightRange" + 731: String "dir" + 747: String "cosDir" + 756: String "spotEffect" + 766: String "heightAttenuation" + 775: String "NdotL" + 785: String "diff" + 793: String "R" + 803: String "NdotR" + 813: String "spec" Name 14 "main" Name 33 "textureProj(vf4;f1;vf2;" Name 30 "P" @@ -97,90 +97,90 @@ spv.debuginfo.glsl.frag Name 100 "global_var" Name 109 "shadow" Name 115 "shadowCoord" - Name 159 "dist" - Name 173 "samplerShadowMap" - Name 223 "texDim" - Name 235 "scale" - Name 242 "dx" - Name 255 "dy" - Name 267 "shadowFactor" - Name 273 "count" - Name 279 "range" - Name 286 "x" - Name 308 "y" - Name 339 "param" - Name 341 "param" - Name 343 "param" - Name 372 "i" - Name 392 "shadowClip" - Name 399 "Light" - MemberName 399(Light) 0 "position" - MemberName 399(Light) 1 "target" - MemberName 399(Light) 2 "color" - MemberName 399(Light) 3 "viewMatrix" - Name 413 "UBO" - MemberName 413(UBO) 0 "viewPos" - MemberName 413(UBO) 1 "lights" - MemberName 413(UBO) 2 "useShadows" - MemberName 413(UBO) 3 "debugDisplayTarget" - Name 425 "ubo" - Name 440 "shadowFactor" - Name 445 "param" - Name 447 "param" - Name 468 "fragPos" - Name 477 "samplerposition" - Name 482 "inUV" - Name 490 "normal" - Name 494 "samplerNormal" - Name 503 "albedo" - Name 507 "samplerAlbedo" - Name 537 "outFragColor" - Name 541 "param" - Name 542 "param" - Name 620 "fragcolor" - Name 629 "N" - Name 637 "i" - Name 655 "L" - Name 668 "dist" - Name 679 "V" - Name 694 "lightCosInnerAngle" - Name 701 "lightCosOuterAngle" - Name 708 "lightRange" - Name 715 "dir" - Name 731 "cosDir" - Name 740 "spotEffect" - Name 750 "heightAttenuation" - Name 759 "NdotL" - Name 769 "diff" - Name 777 "R" - Name 787 "NdotR" - Name 797 "spec" - Name 850 "param" - Name 852 "param" - Decorate 173(samplerShadowMap) DescriptorSet 0 - Decorate 173(samplerShadowMap) Binding 5 - MemberDecorate 399(Light) 0 Offset 0 - MemberDecorate 399(Light) 1 Offset 16 - MemberDecorate 399(Light) 2 Offset 32 - MemberDecorate 399(Light) 3 ColMajor - MemberDecorate 399(Light) 3 Offset 48 - MemberDecorate 399(Light) 3 MatrixStride 16 - Decorate 411 ArrayStride 112 - MemberDecorate 413(UBO) 0 Offset 0 - MemberDecorate 413(UBO) 1 Offset 16 - MemberDecorate 413(UBO) 2 Offset 352 - MemberDecorate 413(UBO) 3 Offset 356 - Decorate 413(UBO) Block - Decorate 425(ubo) DescriptorSet 0 - Decorate 425(ubo) Binding 4 - Decorate 477(samplerposition) DescriptorSet 0 - Decorate 477(samplerposition) Binding 1 - Decorate 482(inUV) Location 0 - Decorate 494(samplerNormal) DescriptorSet 0 - Decorate 494(samplerNormal) Binding 2 - Decorate 507(samplerAlbedo) DescriptorSet 0 - Decorate 507(samplerAlbedo) Binding 3 - Decorate 537(outFragColor) Location 0 + Name 163 "dist" + Name 177 "samplerShadowMap" + Name 231 "texDim" + Name 243 "scale" + Name 250 "dx" + Name 263 "dy" + Name 275 "shadowFactor" + Name 281 "count" + Name 287 "range" + Name 294 "x" + Name 317 "y" + Name 349 "param" + Name 351 "param" + Name 353 "param" + Name 382 "i" + Name 403 "shadowClip" + Name 411 "Light" + MemberName 411(Light) 0 "position" + MemberName 411(Light) 1 "target" + MemberName 411(Light) 2 "color" + MemberName 411(Light) 3 "viewMatrix" + Name 425 "UBO" + MemberName 425(UBO) 0 "viewPos" + MemberName 425(UBO) 1 "lights" + MemberName 425(UBO) 2 "useShadows" + MemberName 425(UBO) 3 "debugDisplayTarget" + Name 437 "ubo" + Name 452 "shadowFactor" + Name 457 "param" + Name 459 "param" + Name 480 "fragPos" + Name 489 "samplerposition" + Name 494 "inUV" + Name 502 "normal" + Name 506 "samplerNormal" + Name 515 "albedo" + Name 519 "samplerAlbedo" + Name 550 "outFragColor" + Name 554 "param" + Name 555 "param" + Name 633 "fragcolor" + Name 642 "N" + Name 650 "i" + Name 669 "L" + Name 682 "dist" + Name 693 "V" + Name 708 "lightCosInnerAngle" + Name 715 "lightCosOuterAngle" + Name 722 "lightRange" + Name 729 "dir" + Name 745 "cosDir" + Name 754 "spotEffect" + Name 764 "heightAttenuation" + Name 773 "NdotL" + Name 783 "diff" + Name 791 "R" + Name 801 "NdotR" + Name 811 "spec" + Name 865 "param" + Name 867 "param" + Decorate 177(samplerShadowMap) DescriptorSet 0 + Decorate 177(samplerShadowMap) Binding 5 + MemberDecorate 411(Light) 0 Offset 0 + MemberDecorate 411(Light) 1 Offset 16 + MemberDecorate 411(Light) 2 Offset 32 + MemberDecorate 411(Light) 3 ColMajor + MemberDecorate 411(Light) 3 Offset 48 + MemberDecorate 411(Light) 3 MatrixStride 16 + Decorate 423 ArrayStride 112 + MemberDecorate 425(UBO) 0 Offset 0 + MemberDecorate 425(UBO) 1 Offset 16 + MemberDecorate 425(UBO) 2 Offset 352 + MemberDecorate 425(UBO) 3 Offset 356 + Decorate 425(UBO) Block + Decorate 437(ubo) DescriptorSet 0 + Decorate 437(ubo) Binding 4 + Decorate 489(samplerposition) DescriptorSet 0 + Decorate 489(samplerposition) Binding 1 + Decorate 494(inUV) Location 0 + Decorate 506(samplerNormal) DescriptorSet 0 + Decorate 506(samplerNormal) Binding 2 + Decorate 519(samplerAlbedo) DescriptorSet 0 + Decorate 519(samplerAlbedo) Binding 3 + Decorate 550(outFragColor) Location 0 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -246,539 +246,554 @@ spv.debuginfo.glsl.frag 128: 16(float) Constant 1056964608 137: 7(int) Constant 65 138: TypeBool - 141: 16(float) Constant 3212836864 - 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 158: 7(int) Constant 67 - 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 18 37 158 12 36 20 - 163: TypeImage 16(float) 2D array sampled format:Unknown - 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 12 37 158 12 40 166 167 13 - 168: TypeSampledImage 163 - 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 170 12 37 158 12 40 171 167 13 - 172: TypePointer UniformConstant 168 -173(samplerShadowMap): 172(ptr) Variable UniformConstant - 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 175 169 37 158 12 40 175 173(samplerShadowMap) 103 - 188: 7(int) Constant 68 - 191: 16(float) Constant 0 - 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 208: 7(int) Constant 70 - 209: 16(float) Constant 1048576000 - 212: 7(int) Constant 73 - 219: 7(int) Constant 78 - 220: TypeVector 96(int) 2 - 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 25 - 222: TypePointer Function 220(ivec2) - 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 225 221 37 219 12 61 20 - 229: TypeVector 96(int) 3 - 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 13 - 234: 7(int) Constant 79 - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 237 18 37 234 12 61 20 - 239: 16(float) Constant 1069547520 - 241: 7(int) Constant 80 - 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 244 18 37 241 12 61 20 - 248: TypePointer Function 96(int) - 254: 7(int) Constant 81 - 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 257 18 37 254 12 61 20 - 266: 7(int) Constant 83 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 269 18 37 266 12 61 20 - 272: 7(int) Constant 84 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 275 98 37 272 12 61 20 - 278: 7(int) Constant 85 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 281 98 37 278 12 61 20 - 283: 96(int) Constant 1 - 285: 7(int) Constant 87 - 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 288 98 37 285 12 61 20 - 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 307: 7(int) Constant 89 - 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 310 98 37 307 12 61 20 - 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 329: 7(int) Constant 91 - 348: 7(int) Constant 92 - 361: 7(int) Constant 96 - 371: 7(int) Constant 100 - 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 374 98 37 371 12 80 20 - 386: 96(int) Constant 3 - 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 391: 7(int) Constant 102 - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 394 21 37 391 12 80 20 - 396: TypeMatrix 19(fvec4) 4 - 398: 138(bool) ConstantTrue - 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 398 - 399(Light): TypeStruct 19(fvec4) 19(fvec4) 19(fvec4) 396 - 402: 7(int) Constant 47 - 403: 7(int) Constant 7 - 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 21 37 402 403 12 12 13 - 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 21 37 402 403 12 12 13 - 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 21 37 402 403 12 12 13 - 408: 7(int) Constant 48 - 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 407 397 37 408 403 12 12 13 - 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 410 41 37 391 12 40 410 12 13 400 404 405 406 - 411: TypeArray 399(Light) 13 - 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 409 13 - 413(UBO): TypeStruct 19(fvec4) 411 96(int) 96(int) - 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 21 37 402 403 12 12 13 - 417: 7(int) Constant 54 - 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 416 412 37 417 103 12 12 13 - 420: 7(int) Constant 56 - 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 419 98 37 420 11 12 12 13 - 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 419 98 37 420 11 12 12 13 - 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 423 41 37 391 12 40 423 12 13 414 415 418 421 - 424: TypePointer Uniform 413(UBO) - 425(ubo): 424(ptr) Variable Uniform - 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 427 422 37 391 12 40 427 425(ubo) 103 - 429: TypePointer Uniform 396 - 439: 7(int) Constant 106 - 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 269 18 37 439 12 80 20 - 450: 7(int) Constant 111 - 460: 7(int) Constant 113 - 467: 7(int) Constant 119 - 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 470 71 37 467 12 91 20 - 472: TypeImage 16(float) 2D sampled format:Unknown - 473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 12 37 467 12 40 166 167 13 - 474: TypeSampledImage 472 - 475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 170 12 37 467 12 40 171 167 13 - 476: TypePointer UniformConstant 474 -477(samplerposition): 476(ptr) Variable UniformConstant - 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 479 475 37 467 12 40 479 477(samplerposition) 103 - 481: TypePointer Input 24(fvec2) - 482(inUV): 481(ptr) Variable Input - 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 484 26 37 467 12 40 484 482(inUV) 103 - 489: 7(int) Constant 120 - 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 492 71 37 489 12 91 20 -494(samplerNormal): 476(ptr) Variable UniformConstant - 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 496 475 37 489 12 40 496 494(samplerNormal) 103 - 502: 7(int) Constant 121 - 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 505 21 37 502 12 91 20 -507(samplerAlbedo): 476(ptr) Variable UniformConstant - 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 509 475 37 502 12 40 509 507(samplerAlbedo) 103 - 514: 7(int) Constant 124 - 515: TypePointer Uniform 96(int) - 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 524: 7(int) Constant 125 - 535: 7(int) Constant 127 - 536: TypePointer Output 19(fvec4) -537(outFragColor): 536(ptr) Variable Output - 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 539 21 37 535 12 40 539 537(outFragColor) 103 - 540: 70(fvec3) ConstantComposite 112 112 112 - 545: TypePointer Output 16(float) - 553: 7(int) Constant 128 - 557: 7(int) Constant 130 - 566: 7(int) Constant 131 - 570: 7(int) Constant 133 - 579: 7(int) Constant 134 - 583: 7(int) Constant 136 - 593: 7(int) Constant 137 - 597: 7(int) Constant 139 - 607: 7(int) Constant 140 - 612: 7(int) Constant 142 - 615: 7(int) Constant 143 - 619: 7(int) Constant 147 - 621: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 37 619 12 91 20 - 625: 16(float) Constant 1036831949 - 628: 7(int) Constant 149 - 630: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 631 71 37 628 12 91 20 - 636: 7(int) Constant 151 - 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 374 98 37 636 12 91 20 - 650: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 654: 7(int) Constant 154 - 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 657 71 37 654 12 91 20 - 660: TypePointer Uniform 19(fvec4) - 667: 7(int) Constant 156 - 669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 18 37 667 12 91 20 - 674: 7(int) Constant 157 - 678: 7(int) Constant 160 - 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 681 71 37 678 12 91 20 - 689: 7(int) Constant 161 - 693: 7(int) Constant 163 - 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 696 18 37 693 12 91 20 - 698: 16(float) Constant 1064781546 - 700: 7(int) Constant 164 - 702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 703 18 37 700 12 91 20 - 705: 16(float) Constant 1063781322 - 707: 7(int) Constant 165 + 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 143: 16(float) Constant 3212836864 + 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 162: 7(int) Constant 67 + 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 165 18 37 162 12 36 20 + 167: TypeImage 16(float) 2D array sampled format:Unknown + 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 12 37 162 12 40 170 171 13 + 172: TypeSampledImage 167 + 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 174 12 37 162 12 40 175 171 13 + 176: TypePointer UniformConstant 172 +177(samplerShadowMap): 176(ptr) Variable UniformConstant + 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 179 173 37 162 12 40 179 177(samplerShadowMap) 103 + 192: 7(int) Constant 68 + 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 196: 16(float) Constant 0 + 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 216: 7(int) Constant 70 + 217: 16(float) Constant 1048576000 + 220: 7(int) Constant 73 + 227: 7(int) Constant 78 + 228: TypeVector 96(int) 2 + 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 25 + 230: TypePointer Function 228(ivec2) + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 233 229 37 227 12 61 20 + 237: TypeVector 96(int) 3 + 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 13 + 242: 7(int) Constant 79 + 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 245 18 37 242 12 61 20 + 247: 16(float) Constant 1069547520 + 249: 7(int) Constant 80 + 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 252 18 37 249 12 61 20 + 256: TypePointer Function 96(int) + 262: 7(int) Constant 81 + 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 265 18 37 262 12 61 20 + 274: 7(int) Constant 83 + 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 277 18 37 274 12 61 20 + 280: 7(int) Constant 84 + 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 283 98 37 280 12 61 20 + 286: 7(int) Constant 85 + 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 289 98 37 286 12 61 20 + 291: 96(int) Constant 1 + 293: 7(int) Constant 87 + 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 296 98 37 293 12 61 20 + 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 316: 7(int) Constant 89 + 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 319 98 37 316 12 61 20 + 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 339: 7(int) Constant 91 + 358: 7(int) Constant 92 + 371: 7(int) Constant 96 + 381: 7(int) Constant 100 + 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 384 98 37 381 12 80 20 + 396: 96(int) Constant 3 + 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 402: 7(int) Constant 102 + 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 405 21 37 402 12 80 20 + 407: TypeMatrix 19(fvec4) 4 + 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 410: 138(bool) ConstantTrue + 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 410 + 411(Light): TypeStruct 19(fvec4) 19(fvec4) 19(fvec4) 407 + 414: 7(int) Constant 47 + 415: 7(int) Constant 7 + 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 413 21 37 414 415 12 12 13 + 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 413 21 37 414 415 12 12 13 + 417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 413 21 37 414 415 12 12 13 + 420: 7(int) Constant 48 + 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 419 408 37 420 415 12 12 13 + 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 422 41 37 402 12 40 422 12 13 412 416 417 418 + 423: TypeArray 411(Light) 13 + 424: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 421 13 + 425(UBO): TypeStruct 19(fvec4) 423 96(int) 96(int) + 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 413 21 37 414 415 12 12 13 + 429: 7(int) Constant 54 + 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 428 424 37 429 103 12 12 13 + 432: 7(int) Constant 56 + 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 98 37 432 11 12 12 13 + 433: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 98 37 432 11 12 12 13 + 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 435 41 37 402 12 40 435 12 13 426 427 430 433 + 436: TypePointer Uniform 425(UBO) + 437(ubo): 436(ptr) Variable Uniform + 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 439 434 37 402 12 40 439 437(ubo) 103 + 441: TypePointer Uniform 407 + 451: 7(int) Constant 106 + 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 277 18 37 451 12 80 20 + 462: 7(int) Constant 111 + 472: 7(int) Constant 113 + 479: 7(int) Constant 119 + 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 482 71 37 479 12 91 20 + 484: TypeImage 16(float) 2D sampled format:Unknown + 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 12 37 479 12 40 170 171 13 + 486: TypeSampledImage 484 + 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 174 12 37 479 12 40 175 171 13 + 488: TypePointer UniformConstant 486 +489(samplerposition): 488(ptr) Variable UniformConstant + 490: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 491 487 37 479 12 40 491 489(samplerposition) 103 + 493: TypePointer Input 24(fvec2) + 494(inUV): 493(ptr) Variable Input + 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 496 26 37 479 12 40 496 494(inUV) 103 + 501: 7(int) Constant 120 + 503: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 504 71 37 501 12 91 20 +506(samplerNormal): 488(ptr) Variable UniformConstant + 507: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 508 487 37 501 12 40 508 506(samplerNormal) 103 + 514: 7(int) Constant 121 + 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 517 21 37 514 12 91 20 +519(samplerAlbedo): 488(ptr) Variable UniformConstant + 520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 521 487 37 514 12 40 521 519(samplerAlbedo) 103 + 526: 7(int) Constant 124 + 527: TypePointer Uniform 96(int) + 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 537: 7(int) Constant 125 + 548: 7(int) Constant 127 + 549: TypePointer Output 19(fvec4) +550(outFragColor): 549(ptr) Variable Output + 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 552 21 37 548 12 40 552 550(outFragColor) 103 + 553: 70(fvec3) ConstantComposite 112 112 112 + 558: TypePointer Output 16(float) + 566: 7(int) Constant 128 + 570: 7(int) Constant 130 + 579: 7(int) Constant 131 + 583: 7(int) Constant 133 + 592: 7(int) Constant 134 + 596: 7(int) Constant 136 + 606: 7(int) Constant 137 + 610: 7(int) Constant 139 + 620: 7(int) Constant 140 + 625: 7(int) Constant 142 + 628: 7(int) Constant 143 + 632: 7(int) Constant 147 + 634: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 37 632 12 91 20 + 638: 16(float) Constant 1036831949 + 641: 7(int) Constant 149 + 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 644 71 37 641 12 91 20 + 649: 7(int) Constant 151 + 651: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 384 98 37 649 12 91 20 + 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 668: 7(int) Constant 154 + 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 671 71 37 668 12 91 20 + 674: TypePointer Uniform 19(fvec4) + 681: 7(int) Constant 156 + 683: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 165 18 37 681 12 91 20 + 688: 7(int) Constant 157 + 692: 7(int) Constant 160 + 694: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 695 71 37 692 12 91 20 + 703: 7(int) Constant 161 + 707: 7(int) Constant 163 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 710 18 37 707 12 91 20 - 712: 16(float) Constant 1120403456 - 714: 7(int) Constant 168 - 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 717 71 37 714 12 91 20 - 730: 7(int) Constant 171 - 732: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 733 18 37 730 12 91 20 - 739: 7(int) Constant 172 - 741: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 742 18 37 739 12 91 20 - 749: 7(int) Constant 173 - 751: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 752 18 37 749 12 91 20 - 758: 7(int) Constant 176 - 760: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 761 18 37 758 12 91 20 - 768: 7(int) Constant 177 - 770: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 771 71 37 768 12 91 20 - 776: 7(int) Constant 180 - 778: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 779 71 37 776 12 91 20 - 786: 7(int) Constant 181 - 788: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 789 18 37 786 12 91 20 - 796: 7(int) Constant 182 - 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 799 71 37 796 12 91 20 - 802: 16(float) Constant 1098907648 - 807: 16(float) Constant 1075838976 - 811: 7(int) Constant 184 - 824: 96(int) Constant 2 - 840: 7(int) Constant 188 - 843: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 142 10 25 12 - 849: 7(int) Constant 190 - 857: 7(int) Constant 193 + 712: 16(float) Constant 1064781546 + 714: 7(int) Constant 164 + 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 717 18 37 714 12 91 20 + 719: 16(float) Constant 1063781322 + 721: 7(int) Constant 165 + 723: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 724 18 37 721 12 91 20 + 726: 16(float) Constant 1120403456 + 728: 7(int) Constant 168 + 730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 731 71 37 728 12 91 20 + 744: 7(int) Constant 171 + 746: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 747 18 37 744 12 91 20 + 753: 7(int) Constant 172 + 755: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 756 18 37 753 12 91 20 + 763: 7(int) Constant 173 + 765: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 766 18 37 763 12 91 20 + 772: 7(int) Constant 176 + 774: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 775 18 37 772 12 91 20 + 782: 7(int) Constant 177 + 784: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 785 71 37 782 12 91 20 + 790: 7(int) Constant 180 + 792: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 793 71 37 790 12 91 20 + 800: 7(int) Constant 181 + 802: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 803 18 37 800 12 91 20 + 810: 7(int) Constant 182 + 812: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 813 71 37 810 12 91 20 + 816: 16(float) Constant 1098907648 + 821: 16(float) Constant 1075838976 + 825: 7(int) Constant 184 + 838: 96(int) Constant 2 + 854: 7(int) Constant 188 + 857: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 859: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 + 864: 7(int) Constant 190 + 872: 7(int) Constant 193 Line 1 116 11 14(main): 4 Function None 5 15: Label - 468(fragPos): 72(ptr) Variable Function - 490(normal): 72(ptr) Variable Function - 503(albedo): 22(ptr) Variable Function - 541(param): 72(ptr) Variable Function - 542(param): 72(ptr) Variable Function - 620(fragcolor): 72(ptr) Variable Function - 629(N): 72(ptr) Variable Function - 637(i): 248(ptr) Variable Function - 655(L): 72(ptr) Variable Function - 668(dist): 23(ptr) Variable Function - 679(V): 72(ptr) Variable Function -694(lightCosInnerAngle): 23(ptr) Variable Function -701(lightCosOuterAngle): 23(ptr) Variable Function - 708(lightRange): 23(ptr) Variable Function - 715(dir): 72(ptr) Variable Function - 731(cosDir): 23(ptr) Variable Function - 740(spotEffect): 23(ptr) Variable Function -750(heightAttenuation): 23(ptr) Variable Function - 759(NdotL): 23(ptr) Variable Function - 769(diff): 72(ptr) Variable Function - 777(R): 72(ptr) Variable Function - 787(NdotR): 23(ptr) Variable Function - 797(spec): 72(ptr) Variable Function - 850(param): 72(ptr) Variable Function - 852(param): 72(ptr) Variable Function + 480(fragPos): 72(ptr) Variable Function + 502(normal): 72(ptr) Variable Function + 515(albedo): 22(ptr) Variable Function + 554(param): 72(ptr) Variable Function + 555(param): 72(ptr) Variable Function + 633(fragcolor): 72(ptr) Variable Function + 642(N): 72(ptr) Variable Function + 650(i): 256(ptr) Variable Function + 669(L): 72(ptr) Variable Function + 682(dist): 23(ptr) Variable Function + 693(V): 72(ptr) Variable Function +708(lightCosInnerAngle): 23(ptr) Variable Function +715(lightCosOuterAngle): 23(ptr) Variable Function + 722(lightRange): 23(ptr) Variable Function + 729(dir): 72(ptr) Variable Function + 745(cosDir): 23(ptr) Variable Function + 754(spotEffect): 23(ptr) Variable Function +764(heightAttenuation): 23(ptr) Variable Function + 773(NdotL): 23(ptr) Variable Function + 783(diff): 72(ptr) Variable Function + 791(R): 72(ptr) Variable Function + 801(NdotR): 23(ptr) Variable Function + 811(spec): 72(ptr) Variable Function + 865(param): 72(ptr) Variable Function + 867(param): 72(ptr) Variable Function 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 95 95 12 12 Store 100(global_var) 104 - 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 91 14(main) - 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 466: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 467 467 12 12 - 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 469 468(fragPos) 47 - 480: 474 Load 477(samplerposition) - 485: 24(fvec2) Load 482(inUV) - 486: 19(fvec4) ImageSampleImplicitLod 480 485 - 487: 70(fvec3) VectorShuffle 486 486 0 1 2 - Store 468(fragPos) 487 - 488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 489 489 12 12 - 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 491 490(normal) 47 - 497: 474 Load 494(samplerNormal) - 498: 24(fvec2) Load 482(inUV) - 499: 19(fvec4) ImageSampleImplicitLod 497 498 - 500: 70(fvec3) VectorShuffle 499 499 0 1 2 - Store 490(normal) 500 - 501: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 502 502 12 12 - 506: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 504 503(albedo) 47 - 510: 474 Load 507(samplerAlbedo) - 511: 24(fvec2) Load 482(inUV) - 512: 19(fvec4) ImageSampleImplicitLod 510 511 - Store 503(albedo) 512 + 476: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 91 14(main) + 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 479 479 12 12 + 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 481 480(fragPos) 47 + 492: 486 Load 489(samplerposition) + 497: 24(fvec2) Load 494(inUV) + 498: 19(fvec4) ImageSampleImplicitLod 492 497 + 499: 70(fvec3) VectorShuffle 498 498 0 1 2 + Store 480(fragPos) 499 + 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 501 501 12 12 + 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 503 502(normal) 47 + 509: 486 Load 506(samplerNormal) + 510: 24(fvec2) Load 494(inUV) + 511: 19(fvec4) ImageSampleImplicitLod 509 510 + 512: 70(fvec3) VectorShuffle 511 511 0 1 2 + Store 502(normal) 512 513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 514 514 12 12 - 516: 515(ptr) AccessChain 425(ubo) 386 - 517: 96(int) Load 516 - 519: 138(bool) SGreaterThan 517 104 - SelectionMerge 521 None - BranchConditional 519 520 521 - 520: Label - 522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 524 524 12 12 - 525: 515(ptr) AccessChain 425(ubo) 386 - 526: 96(int) Load 525 - SelectionMerge 532 None - Switch 526 532 - case 1: 527 - case 2: 528 - case 3: 529 - case 4: 530 - case 5: 531 - 527: Label - 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 535 535 12 12 - Store 541(param) 540 - 543: 70(fvec3) Load 468(fragPos) - Store 542(param) 543 - 544: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 541(param) 542(param) - 546: 545(ptr) AccessChain 537(outFragColor) 12 - 547: 16(float) CompositeExtract 544 0 - Store 546 547 - 548: 545(ptr) AccessChain 537(outFragColor) 41 - 549: 16(float) CompositeExtract 544 1 - Store 548 549 - 550: 545(ptr) AccessChain 537(outFragColor) 25 - 551: 16(float) CompositeExtract 544 2 - Store 550 551 - 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 553 553 12 12 - Branch 532 - 528: Label - 555: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 557 557 12 12 - 558: 70(fvec3) Load 468(fragPos) - 559: 545(ptr) AccessChain 537(outFragColor) 12 - 560: 16(float) CompositeExtract 558 0 + 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 516 515(albedo) 47 + 522: 486 Load 519(samplerAlbedo) + 523: 24(fvec2) Load 494(inUV) + 524: 19(fvec4) ImageSampleImplicitLod 522 523 + Store 515(albedo) 524 + 525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 526 526 12 12 + 528: 527(ptr) AccessChain 437(ubo) 396 + 529: 96(int) Load 528 + 531: 138(bool) SGreaterThan 529 104 + SelectionMerge 534 None + BranchConditional 531 533 534 + 533: Label + 535: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 537 537 12 12 + 538: 527(ptr) AccessChain 437(ubo) 396 + 539: 96(int) Load 538 + SelectionMerge 545 None + Switch 539 545 + case 1: 540 + case 2: 541 + case 3: 542 + case 4: 543 + case 5: 544 + 540: Label + 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 548 548 12 12 + Store 554(param) 553 + 556: 70(fvec3) Load 480(fragPos) + Store 555(param) 556 + 557: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 554(param) 555(param) + 559: 558(ptr) AccessChain 550(outFragColor) 12 + 560: 16(float) CompositeExtract 557 0 Store 559 560 - 561: 545(ptr) AccessChain 537(outFragColor) 41 - 562: 16(float) CompositeExtract 558 1 + 561: 558(ptr) AccessChain 550(outFragColor) 41 + 562: 16(float) CompositeExtract 557 1 Store 561 562 - 563: 545(ptr) AccessChain 537(outFragColor) 25 - 564: 16(float) CompositeExtract 558 2 + 563: 558(ptr) AccessChain 550(outFragColor) 25 + 564: 16(float) CompositeExtract 557 2 Store 563 564 565: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 566 566 12 12 - Branch 532 - 529: Label + Branch 545 + 541: Label 568: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 569: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 570 570 12 12 - 571: 70(fvec3) Load 490(normal) - 572: 545(ptr) AccessChain 537(outFragColor) 12 + 571: 70(fvec3) Load 480(fragPos) + 572: 558(ptr) AccessChain 550(outFragColor) 12 573: 16(float) CompositeExtract 571 0 Store 572 573 - 574: 545(ptr) AccessChain 537(outFragColor) 41 + 574: 558(ptr) AccessChain 550(outFragColor) 41 575: 16(float) CompositeExtract 571 1 Store 574 575 - 576: 545(ptr) AccessChain 537(outFragColor) 25 + 576: 558(ptr) AccessChain 550(outFragColor) 25 577: 16(float) CompositeExtract 571 2 Store 576 577 578: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 579 579 12 12 - Branch 532 - 530: Label + Branch 545 + 542: Label 581: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 582: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 583 583 12 12 - 584: 19(fvec4) Load 503(albedo) - 585: 70(fvec3) VectorShuffle 584 584 0 1 2 - 586: 545(ptr) AccessChain 537(outFragColor) 12 - 587: 16(float) CompositeExtract 585 0 - Store 586 587 - 588: 545(ptr) AccessChain 537(outFragColor) 41 - 589: 16(float) CompositeExtract 585 1 - Store 588 589 - 590: 545(ptr) AccessChain 537(outFragColor) 25 - 591: 16(float) CompositeExtract 585 2 - Store 590 591 - 592: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 593 593 12 12 - Branch 532 - 531: Label - 595: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 596: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 597 597 12 12 - 598: 19(fvec4) Load 503(albedo) - 599: 70(fvec3) VectorShuffle 598 598 3 3 3 - 600: 545(ptr) AccessChain 537(outFragColor) 12 - 601: 16(float) CompositeExtract 599 0 - Store 600 601 - 602: 545(ptr) AccessChain 537(outFragColor) 41 - 603: 16(float) CompositeExtract 599 1 - Store 602 603 - 604: 545(ptr) AccessChain 537(outFragColor) 25 - 605: 16(float) CompositeExtract 599 2 - Store 604 605 - 606: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 607 607 12 12 - Branch 532 - 532: Label - 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 611: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 612 612 12 12 - 613: 545(ptr) AccessChain 537(outFragColor) 13 - Store 613 112 - 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 615 615 12 12 + 584: 70(fvec3) Load 502(normal) + 585: 558(ptr) AccessChain 550(outFragColor) 12 + 586: 16(float) CompositeExtract 584 0 + Store 585 586 + 587: 558(ptr) AccessChain 550(outFragColor) 41 + 588: 16(float) CompositeExtract 584 1 + Store 587 588 + 589: 558(ptr) AccessChain 550(outFragColor) 25 + 590: 16(float) CompositeExtract 584 2 + Store 589 590 + 591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 592 592 12 12 + Branch 545 + 543: Label + 594: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 595: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 596 596 12 12 + 597: 19(fvec4) Load 515(albedo) + 598: 70(fvec3) VectorShuffle 597 597 0 1 2 + 599: 558(ptr) AccessChain 550(outFragColor) 12 + 600: 16(float) CompositeExtract 598 0 + Store 599 600 + 601: 558(ptr) AccessChain 550(outFragColor) 41 + 602: 16(float) CompositeExtract 598 1 + Store 601 602 + 603: 558(ptr) AccessChain 550(outFragColor) 25 + 604: 16(float) CompositeExtract 598 2 + Store 603 604 + 605: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 606 606 12 12 + Branch 545 + 544: Label + 608: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 609: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 610 610 12 12 + 611: 19(fvec4) Load 515(albedo) + 612: 70(fvec3) VectorShuffle 611 611 3 3 3 + 613: 558(ptr) AccessChain 550(outFragColor) 12 + 614: 16(float) CompositeExtract 612 0 + Store 613 614 + 615: 558(ptr) AccessChain 550(outFragColor) 41 + 616: 16(float) CompositeExtract 612 1 + Store 615 616 + 617: 558(ptr) AccessChain 550(outFragColor) 25 + 618: 16(float) CompositeExtract 612 2 + Store 617 618 + 619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 620 620 12 12 + Branch 545 + 545: Label + 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 624: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 625 625 12 12 + 626: 558(ptr) AccessChain 550(outFragColor) 13 + Store 626 112 + 627: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 628 628 12 12 Return - 521: Label - 617: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 619 619 12 12 - 622: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 621 620(fragcolor) 47 - 623: 19(fvec4) Load 503(albedo) - 624: 70(fvec3) VectorShuffle 623 623 0 1 2 - 626: 70(fvec3) VectorTimesScalar 624 625 - Store 620(fragcolor) 626 - 627: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 628 628 12 12 - 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 630 629(N) 47 - 633: 70(fvec3) Load 490(normal) - 634: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 633 - Store 629(N) 634 - 635: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 636 636 12 12 - 639: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 638 637(i) 47 - Store 637(i) 104 - Branch 640 - 640: Label - 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 645: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 636 636 12 12 - LoopMerge 642 643 None - Branch 646 - 646: Label - 647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 636 636 12 12 - 649: 96(int) Load 637(i) - 651: 138(bool) SLessThan 649 386 - BranchConditional 651 641 642 - 641: Label - 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 653: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 654 654 12 12 - 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 656 655(L) 47 - 659: 96(int) Load 637(i) - 661: 660(ptr) AccessChain 425(ubo) 283 659 104 - 662: 19(fvec4) Load 661 - 663: 70(fvec3) VectorShuffle 662 662 0 1 2 - 664: 70(fvec3) Load 468(fragPos) - 665: 70(fvec3) FSub 663 664 - Store 655(L) 665 - 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 667 667 12 12 - 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 669 668(dist) 47 - 671: 70(fvec3) Load 655(L) - 672: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 671 - Store 668(dist) 672 - 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 674 674 12 12 - 675: 70(fvec3) Load 655(L) - 676: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 675 - Store 655(L) 676 - 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 678 678 12 12 - 682: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 680 679(V) 47 - 683: 660(ptr) AccessChain 425(ubo) 104 - 684: 19(fvec4) Load 683 - 685: 70(fvec3) VectorShuffle 684 684 0 1 2 - 686: 70(fvec3) Load 468(fragPos) - 687: 70(fvec3) FSub 685 686 - Store 679(V) 687 - 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 689 689 12 12 - 690: 70(fvec3) Load 679(V) - 691: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 690 - Store 679(V) 691 - 692: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 693 693 12 12 - 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 695 694(lightCosInnerAngle) 47 - Store 694(lightCosInnerAngle) 698 - 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 700 700 12 12 - 704: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 702 701(lightCosOuterAngle) 47 - Store 701(lightCosOuterAngle) 705 + 534: Label + 630: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 632 632 12 12 + 635: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 634 633(fragcolor) 47 + 636: 19(fvec4) Load 515(albedo) + 637: 70(fvec3) VectorShuffle 636 636 0 1 2 + 639: 70(fvec3) VectorTimesScalar 637 638 + Store 633(fragcolor) 639 + 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 641 641 12 12 + 645: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 643 642(N) 47 + 646: 70(fvec3) Load 502(normal) + 647: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 646 + Store 642(N) 647 + 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 649 649 12 12 + 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 651 650(i) 47 + Store 650(i) 104 + Branch 653 + 653: Label + 657: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 649 649 12 12 + LoopMerge 655 656 None + Branch 659 + 659: Label + 660: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 661: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 649 649 12 12 + 662: 96(int) Load 650(i) + 664: 138(bool) SLessThan 662 396 + BranchConditional 664 654 655 + 654: Label + 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 668 668 12 12 + 672: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 670 669(L) 47 + 673: 96(int) Load 650(i) + 675: 674(ptr) AccessChain 437(ubo) 291 673 104 + 676: 19(fvec4) Load 675 + 677: 70(fvec3) VectorShuffle 676 676 0 1 2 + 678: 70(fvec3) Load 480(fragPos) + 679: 70(fvec3) FSub 677 678 + Store 669(L) 679 + 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 681 681 12 12 + 684: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 683 682(dist) 47 + 685: 70(fvec3) Load 669(L) + 686: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 685 + Store 682(dist) 686 + 687: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 688 688 12 12 + 689: 70(fvec3) Load 669(L) + 690: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 689 + Store 669(L) 690 + 691: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 692 692 12 12 + 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 694 693(V) 47 + 697: 674(ptr) AccessChain 437(ubo) 104 + 698: 19(fvec4) Load 697 + 699: 70(fvec3) VectorShuffle 698 698 0 1 2 + 700: 70(fvec3) Load 480(fragPos) + 701: 70(fvec3) FSub 699 700 + Store 693(V) 701 + 702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 703 703 12 12 + 704: 70(fvec3) Load 693(V) + 705: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 704 + Store 693(V) 705 706: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 707 707 12 12 - 711: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 709 708(lightRange) 47 - Store 708(lightRange) 712 + 711: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 709 708(lightCosInnerAngle) 47 + Store 708(lightCosInnerAngle) 712 713: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 714 714 12 12 - 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 716 715(dir) 47 - 719: 96(int) Load 637(i) - 720: 660(ptr) AccessChain 425(ubo) 283 719 104 - 721: 19(fvec4) Load 720 - 722: 70(fvec3) VectorShuffle 721 721 0 1 2 - 723: 96(int) Load 637(i) - 724: 660(ptr) AccessChain 425(ubo) 283 723 283 - 725: 19(fvec4) Load 724 - 726: 70(fvec3) VectorShuffle 725 725 0 1 2 - 727: 70(fvec3) FSub 722 726 - 728: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 727 - Store 715(dir) 728 - 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 730 730 12 12 - 734: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 732 731(cosDir) 47 - 735: 70(fvec3) Load 655(L) - 736: 70(fvec3) Load 715(dir) - 737: 16(float) Dot 735 736 - Store 731(cosDir) 737 - 738: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 739 739 12 12 - 743: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 741 740(spotEffect) 47 - 744: 16(float) Load 701(lightCosOuterAngle) - 745: 16(float) Load 694(lightCosInnerAngle) - 746: 16(float) Load 731(cosDir) - 747: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 744 745 746 - Store 740(spotEffect) 747 - 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 749 749 12 12 - 753: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 751 750(heightAttenuation) 47 - 754: 16(float) Load 708(lightRange) - 755: 16(float) Load 668(dist) - 756: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 754 191 755 - Store 750(heightAttenuation) 756 - 757: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 758 758 12 12 - 762: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 760 759(NdotL) 47 - 763: 70(fvec3) Load 629(N) - 764: 70(fvec3) Load 655(L) - 765: 16(float) Dot 763 764 - 766: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 191 765 - Store 759(NdotL) 766 - 767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 768 768 12 12 - 772: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 770 769(diff) 47 - 773: 16(float) Load 759(NdotL) - 774: 70(fvec3) CompositeConstruct 773 773 773 - Store 769(diff) 774 - 775: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 776 776 12 12 - 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 778 777(R) 47 - 781: 70(fvec3) Load 655(L) - 782: 70(fvec3) FNegate 781 - 783: 70(fvec3) Load 629(N) - 784: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 782 783 - Store 777(R) 784 - 785: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 786 786 12 12 - 790: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 788 787(NdotR) 47 - 791: 70(fvec3) Load 777(R) - 792: 70(fvec3) Load 679(V) - 793: 16(float) Dot 791 792 - 794: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 191 793 - Store 787(NdotR) 794 - 795: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 796 796 12 12 - 800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 798 797(spec) 47 - 801: 16(float) Load 787(NdotR) - 803: 16(float) ExtInst 3(GLSL.std.450) 26(Pow) 801 802 - 804: 23(ptr) AccessChain 503(albedo) 13 - 805: 16(float) Load 804 - 806: 16(float) FMul 803 805 - 808: 16(float) FMul 806 807 - 809: 70(fvec3) CompositeConstruct 808 808 808 - Store 797(spec) 809 - 810: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 811 811 12 12 - 812: 70(fvec3) Load 769(diff) - 813: 70(fvec3) Load 797(spec) - 814: 70(fvec3) FAdd 812 813 - 815: 16(float) Load 740(spotEffect) - 816: 70(fvec3) VectorTimesScalar 814 815 - 817: 16(float) Load 750(heightAttenuation) - 818: 70(fvec3) VectorTimesScalar 816 817 - 819: 16(float) CompositeExtract 818 0 - 820: 16(float) CompositeExtract 818 1 - 821: 16(float) CompositeExtract 818 2 - 822: 70(fvec3) CompositeConstruct 819 820 821 - 823: 96(int) Load 637(i) - 825: 660(ptr) AccessChain 425(ubo) 283 823 824 - 826: 19(fvec4) Load 825 - 827: 70(fvec3) VectorShuffle 826 826 0 1 2 - 828: 70(fvec3) FMul 822 827 - 829: 19(fvec4) Load 503(albedo) - 830: 70(fvec3) VectorShuffle 829 829 0 1 2 - 831: 70(fvec3) FMul 828 830 - 832: 70(fvec3) Load 620(fragcolor) - 833: 70(fvec3) FAdd 832 831 - Store 620(fragcolor) 833 - Branch 643 - 643: Label - 834: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 835: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 636 636 12 12 - 836: 96(int) Load 637(i) - 837: 96(int) IAdd 836 283 - Store 637(i) 837 - Branch 640 - 642: Label - 838: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 839: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 840 840 12 12 - 841: 515(ptr) AccessChain 425(ubo) 824 - 842: 96(int) Load 841 - 844: 138(bool) SGreaterThan 842 104 - SelectionMerge 846 None - BranchConditional 844 845 846 - 845: Label - 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 848: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 849 849 12 12 - 851: 70(fvec3) Load 620(fragcolor) - Store 850(param) 851 - 853: 70(fvec3) Load 468(fragPos) - Store 852(param) 853 - 854: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 850(param) 852(param) - Store 620(fragcolor) 854 - Branch 846 - 846: Label - 855: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 856: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 857 857 12 12 - 858: 70(fvec3) Load 620(fragcolor) - 859: 16(float) CompositeExtract 858 0 - 860: 16(float) CompositeExtract 858 1 - 861: 16(float) CompositeExtract 858 2 - 862: 19(fvec4) CompositeConstruct 859 860 861 112 - Store 537(outFragColor) 862 + 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 716 715(lightCosOuterAngle) 47 + Store 715(lightCosOuterAngle) 719 + 720: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 721 721 12 12 + 725: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 723 722(lightRange) 47 + Store 722(lightRange) 726 + 727: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 728 728 12 12 + 732: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 730 729(dir) 47 + 733: 96(int) Load 650(i) + 734: 674(ptr) AccessChain 437(ubo) 291 733 104 + 735: 19(fvec4) Load 734 + 736: 70(fvec3) VectorShuffle 735 735 0 1 2 + 737: 96(int) Load 650(i) + 738: 674(ptr) AccessChain 437(ubo) 291 737 291 + 739: 19(fvec4) Load 738 + 740: 70(fvec3) VectorShuffle 739 739 0 1 2 + 741: 70(fvec3) FSub 736 740 + 742: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 741 + Store 729(dir) 742 + 743: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 744 744 12 12 + 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 746 745(cosDir) 47 + 749: 70(fvec3) Load 669(L) + 750: 70(fvec3) Load 729(dir) + 751: 16(float) Dot 749 750 + Store 745(cosDir) 751 + 752: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 753 753 12 12 + 757: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 755 754(spotEffect) 47 + 758: 16(float) Load 715(lightCosOuterAngle) + 759: 16(float) Load 708(lightCosInnerAngle) + 760: 16(float) Load 745(cosDir) + 761: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 758 759 760 + Store 754(spotEffect) 761 + 762: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 763 763 12 12 + 767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 765 764(heightAttenuation) 47 + 768: 16(float) Load 722(lightRange) + 769: 16(float) Load 682(dist) + 770: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 768 196 769 + Store 764(heightAttenuation) 770 + 771: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 772 772 12 12 + 776: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 774 773(NdotL) 47 + 777: 70(fvec3) Load 642(N) + 778: 70(fvec3) Load 669(L) + 779: 16(float) Dot 777 778 + 780: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 196 779 + Store 773(NdotL) 780 + 781: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 782 782 12 12 + 786: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 784 783(diff) 47 + 787: 16(float) Load 773(NdotL) + 788: 70(fvec3) CompositeConstruct 787 787 787 + Store 783(diff) 788 + 789: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 790 790 12 12 + 794: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 792 791(R) 47 + 795: 70(fvec3) Load 669(L) + 796: 70(fvec3) FNegate 795 + 797: 70(fvec3) Load 642(N) + 798: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 796 797 + Store 791(R) 798 + 799: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 800 800 12 12 + 804: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 802 801(NdotR) 47 + 805: 70(fvec3) Load 791(R) + 806: 70(fvec3) Load 693(V) + 807: 16(float) Dot 805 806 + 808: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 196 807 + Store 801(NdotR) 808 + 809: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 810 810 12 12 + 814: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 812 811(spec) 47 + 815: 16(float) Load 801(NdotR) + 817: 16(float) ExtInst 3(GLSL.std.450) 26(Pow) 815 816 + 818: 23(ptr) AccessChain 515(albedo) 13 + 819: 16(float) Load 818 + 820: 16(float) FMul 817 819 + 822: 16(float) FMul 820 821 + 823: 70(fvec3) CompositeConstruct 822 822 822 + Store 811(spec) 823 + 824: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 825 825 12 12 + 826: 70(fvec3) Load 783(diff) + 827: 70(fvec3) Load 811(spec) + 828: 70(fvec3) FAdd 826 827 + 829: 16(float) Load 754(spotEffect) + 830: 70(fvec3) VectorTimesScalar 828 829 + 831: 16(float) Load 764(heightAttenuation) + 832: 70(fvec3) VectorTimesScalar 830 831 + 833: 16(float) CompositeExtract 832 0 + 834: 16(float) CompositeExtract 832 1 + 835: 16(float) CompositeExtract 832 2 + 836: 70(fvec3) CompositeConstruct 833 834 835 + 837: 96(int) Load 650(i) + 839: 674(ptr) AccessChain 437(ubo) 291 837 838 + 840: 19(fvec4) Load 839 + 841: 70(fvec3) VectorShuffle 840 840 0 1 2 + 842: 70(fvec3) FMul 836 841 + 843: 19(fvec4) Load 515(albedo) + 844: 70(fvec3) VectorShuffle 843 843 0 1 2 + 845: 70(fvec3) FMul 842 844 + 846: 70(fvec3) Load 633(fragcolor) + 847: 70(fvec3) FAdd 846 845 + Store 633(fragcolor) 847 + Branch 656 + 656: Label + 848: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 849: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 649 649 12 12 + 850: 96(int) Load 650(i) + 851: 96(int) IAdd 850 291 + Store 650(i) 851 + Branch 653 + 655: Label + 852: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 853: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 854 854 12 12 + 855: 527(ptr) AccessChain 437(ubo) 838 + 856: 96(int) Load 855 + 858: 138(bool) SGreaterThan 856 104 + SelectionMerge 861 None + BranchConditional 858 860 861 + 860: Label + 862: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 863: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 864 864 12 12 + 866: 70(fvec3) Load 633(fragcolor) + Store 865(param) 866 + 868: 70(fvec3) Load 480(fragPos) + Store 867(param) 868 + 869: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 865(param) 867(param) + Store 633(fragcolor) 869 + Branch 861 + 861: Label + 870: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 + 871: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 872 872 12 12 + 873: 70(fvec3) Load 633(fragcolor) + 874: 16(float) CompositeExtract 873 0 + 875: 16(float) CompositeExtract 873 1 + 876: 16(float) CompositeExtract 873 2 + 877: 19(fvec4) CompositeConstruct 874 875 876 112 + Store 550(outFragColor) 877 Return FunctionEnd Line 1 59 51 @@ -789,7 +804,7 @@ spv.debuginfo.glsl.frag 34: Label 109(shadow): 23(ptr) Variable Function 115(shadowCoord): 22(ptr) Variable Function - 159(dist): 23(ptr) Variable Function + 163(dist): 23(ptr) Variable Function 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 39 39 12 12 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 30(P) 47 @@ -821,288 +836,288 @@ spv.debuginfo.glsl.frag 135: 16(float) CompositeExtract 131 1 Store 134 135 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 137 137 12 12 - 139: 23(ptr) AccessChain 115(shadowCoord) 25 - 140: 16(float) Load 139 - 144: 138(bool) FOrdGreaterThan 140 141 - SelectionMerge 146 None - BranchConditional 144 145 146 - 145: Label - 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 137 137 12 12 - 149: 23(ptr) AccessChain 115(shadowCoord) 25 - 150: 16(float) Load 149 - 152: 138(bool) FOrdLessThan 150 112 - Branch 146 - 146: Label - 153: 138(bool) Phi 144 34 152 145 - SelectionMerge 155 None - BranchConditional 153 154 155 - 154: Label - 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 158 158 12 12 - 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(dist) 47 - 176: 168 Load 173(samplerShadowMap) - 177: 19(fvec4) Load 115(shadowCoord) - 178: 24(fvec2) VectorShuffle 177 177 0 1 - 179: 24(fvec2) Load 32(offset) - 180: 24(fvec2) FAdd 178 179 - 181: 16(float) Load 31(layer) - 182: 16(float) CompositeExtract 180 0 - 183: 16(float) CompositeExtract 180 1 - 184: 70(fvec3) CompositeConstruct 182 183 181 - 185: 19(fvec4) ImageSampleImplicitLod 176 184 - 186: 16(float) CompositeExtract 185 0 - Store 159(dist) 186 - 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 188 188 12 12 - 189: 23(ptr) AccessChain 115(shadowCoord) 13 - 190: 16(float) Load 189 - 193: 138(bool) FOrdGreaterThan 190 191 - SelectionMerge 195 None - BranchConditional 193 194 195 - 194: Label - 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 188 188 12 12 - 198: 16(float) Load 159(dist) - 199: 23(ptr) AccessChain 115(shadowCoord) 25 - 200: 16(float) Load 199 - 202: 138(bool) FOrdLessThan 198 200 - Branch 195 - 195: Label - 203: 138(bool) Phi 193 154 202 194 - SelectionMerge 205 None - BranchConditional 203 204 205 - 204: Label - 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 208 208 12 12 - Store 109(shadow) 209 - Branch 205 - 205: Label - Branch 155 - 155: Label - 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 212 212 12 12 - 213: 16(float) Load 109(shadow) - ReturnValue 213 + 141: 23(ptr) AccessChain 115(shadowCoord) 25 + 142: 16(float) Load 141 + 145: 138(bool) FOrdGreaterThan 142 143 + SelectionMerge 148 None + BranchConditional 145 147 148 + 147: Label + 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 + 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 137 137 12 12 + 151: 23(ptr) AccessChain 115(shadowCoord) 25 + 152: 16(float) Load 151 + 154: 138(bool) FOrdLessThan 152 112 + Branch 148 + 148: Label + 156: 138(bool) Phi 145 34 154 147 + SelectionMerge 159 None + BranchConditional 156 158 159 + 158: Label + 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 + 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 162 162 12 12 + 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 164 163(dist) 47 + 180: 172 Load 177(samplerShadowMap) + 181: 19(fvec4) Load 115(shadowCoord) + 182: 24(fvec2) VectorShuffle 181 181 0 1 + 183: 24(fvec2) Load 32(offset) + 184: 24(fvec2) FAdd 182 183 + 185: 16(float) Load 31(layer) + 186: 16(float) CompositeExtract 184 0 + 187: 16(float) CompositeExtract 184 1 + 188: 70(fvec3) CompositeConstruct 186 187 185 + 189: 19(fvec4) ImageSampleImplicitLod 180 188 + 190: 16(float) CompositeExtract 189 0 + Store 163(dist) 190 + 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 192 192 12 12 + 194: 23(ptr) AccessChain 115(shadowCoord) 13 + 195: 16(float) Load 194 + 198: 138(bool) FOrdGreaterThan 195 196 + SelectionMerge 201 None + BranchConditional 198 200 201 + 200: Label + 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 + 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 192 192 12 12 + 204: 16(float) Load 163(dist) + 205: 23(ptr) AccessChain 115(shadowCoord) 25 + 206: 16(float) Load 205 + 208: 138(bool) FOrdLessThan 204 206 + Branch 201 + 201: Label + 210: 138(bool) Phi 198 158 208 200 + SelectionMerge 213 None + BranchConditional 210 212 213 + 212: Label + 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 216 216 12 12 + Store 109(shadow) 217 + Branch 213 + 213: Label + Branch 159 + 159: Label + 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 + 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 220 220 12 12 + 221: 16(float) Load 109(shadow) + ReturnValue 221 FunctionEnd Line 1 76 37 58(filterPCF(vf4;f1;): 16(float) Function None 54 56(sc): 22(ptr) FunctionParameter 57(layer): 23(ptr) FunctionParameter 59: Label - 223(texDim): 222(ptr) Variable Function - 235(scale): 23(ptr) Variable Function - 242(dx): 23(ptr) Variable Function - 255(dy): 23(ptr) Variable Function -267(shadowFactor): 23(ptr) Variable Function - 273(count): 248(ptr) Variable Function - 279(range): 248(ptr) Variable Function - 286(x): 248(ptr) Variable Function - 308(y): 248(ptr) Variable Function - 339(param): 22(ptr) Variable Function - 341(param): 23(ptr) Variable Function - 343(param): 27(ptr) Variable Function + 231(texDim): 230(ptr) Variable Function + 243(scale): 23(ptr) Variable Function + 250(dx): 23(ptr) Variable Function + 263(dy): 23(ptr) Variable Function +275(shadowFactor): 23(ptr) Variable Function + 281(count): 256(ptr) Variable Function + 287(range): 256(ptr) Variable Function + 294(x): 256(ptr) Variable Function + 317(y): 256(ptr) Variable Function + 349(param): 22(ptr) Variable Function + 351(param): 23(ptr) Variable Function + 353(param): 27(ptr) Variable Function 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 62 62 12 12 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 - 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;) - 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 219 219 12 12 - 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 224 223(texDim) 47 - 227: 168 Load 173(samplerShadowMap) - 228: 163 Image 227 - 231: 229(ivec3) ImageQuerySizeLod 228 104 - 232: 220(ivec2) VectorShuffle 231 231 0 1 - Store 223(texDim) 232 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 234 234 12 12 - 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 236 235(scale) 47 - Store 235(scale) 239 - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 241 241 12 12 - 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 243 242(dx) 47 - 246: 16(float) Load 235(scale) - 247: 16(float) FMul 246 112 - 249: 248(ptr) AccessChain 223(texDim) 12 - 250: 96(int) Load 249 - 251: 16(float) ConvertSToF 250 - 252: 16(float) FDiv 247 251 - Store 242(dx) 252 - 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 254 254 12 12 - 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 256 255(dy) 47 - 259: 16(float) Load 235(scale) - 260: 16(float) FMul 259 112 - 261: 248(ptr) AccessChain 223(texDim) 41 - 262: 96(int) Load 261 - 263: 16(float) ConvertSToF 262 - 264: 16(float) FDiv 260 263 - Store 255(dy) 264 - 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 266 266 12 12 - 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 268 267(shadowFactor) 47 - Store 267(shadowFactor) 191 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 272 272 12 12 - 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 274 273(count) 47 - Store 273(count) 104 - 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 278 278 12 12 - 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 280 279(range) 47 - Store 279(range) 283 - 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 285 285 12 12 - 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 287 286(x) 47 - 290: 96(int) Load 279(range) - 291: 96(int) SNegate 290 - Store 286(x) 291 - Branch 292 - 292: Label - 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 285 285 12 12 - LoopMerge 294 295 None - Branch 298 - 298: Label - 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 285 285 12 12 - 301: 96(int) Load 286(x) - 302: 96(int) Load 279(range) - 304: 138(bool) SLessThanEqual 301 302 - BranchConditional 304 293 294 - 293: Label - 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 307 307 12 12 - 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 309 308(y) 47 - 312: 96(int) Load 279(range) - 313: 96(int) SNegate 312 - Store 308(y) 313 - Branch 314 - 314: Label - 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 307 307 12 12 - LoopMerge 316 317 None - Branch 320 - 320: Label - 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 307 307 12 12 - 323: 96(int) Load 308(y) - 324: 96(int) Load 279(range) - 326: 138(bool) SLessThanEqual 323 324 - BranchConditional 326 315 316 - 315: Label - 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 329 329 12 12 - 330: 16(float) Load 242(dx) - 331: 96(int) Load 286(x) - 332: 16(float) ConvertSToF 331 - 333: 16(float) FMul 330 332 - 334: 16(float) Load 255(dy) - 335: 96(int) Load 308(y) - 336: 16(float) ConvertSToF 335 - 337: 16(float) FMul 334 336 - 338: 24(fvec2) CompositeConstruct 333 337 - 340: 19(fvec4) Load 56(sc) - Store 339(param) 340 - 342: 16(float) Load 57(layer) - Store 341(param) 342 - Store 343(param) 338 - 344: 16(float) FunctionCall 33(textureProj(vf4;f1;vf2;) 339(param) 341(param) 343(param) - 345: 16(float) Load 267(shadowFactor) - 346: 16(float) FAdd 345 344 - Store 267(shadowFactor) 346 - 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 348 348 12 12 - 349: 96(int) Load 273(count) - 350: 96(int) IAdd 349 283 - Store 273(count) 350 - Branch 317 - 317: Label - 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 307 307 12 12 - 353: 96(int) Load 308(y) - 354: 96(int) IAdd 353 283 - Store 308(y) 354 - Branch 314 - 316: Label - Branch 295 - 295: Label - 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 285 285 12 12 - 357: 96(int) Load 286(x) - 358: 96(int) IAdd 357 283 - Store 286(x) 358 - Branch 292 - 294: Label - 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 361 361 12 12 - 362: 16(float) Load 267(shadowFactor) - 363: 96(int) Load 273(count) - 364: 16(float) ConvertSToF 363 - 365: 16(float) FDiv 362 364 - ReturnValue 365 + 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;) + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 227 227 12 12 + 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 232 231(texDim) 47 + 235: 172 Load 177(samplerShadowMap) + 236: 167 Image 235 + 239: 237(ivec3) ImageQuerySizeLod 236 104 + 240: 228(ivec2) VectorShuffle 239 239 0 1 + Store 231(texDim) 240 + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 242 242 12 12 + 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 244 243(scale) 47 + Store 243(scale) 247 + 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 249 249 12 12 + 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 251 250(dx) 47 + 254: 16(float) Load 243(scale) + 255: 16(float) FMul 254 112 + 257: 256(ptr) AccessChain 231(texDim) 12 + 258: 96(int) Load 257 + 259: 16(float) ConvertSToF 258 + 260: 16(float) FDiv 255 259 + Store 250(dx) 260 + 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 262 262 12 12 + 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 264 263(dy) 47 + 267: 16(float) Load 243(scale) + 268: 16(float) FMul 267 112 + 269: 256(ptr) AccessChain 231(texDim) 41 + 270: 96(int) Load 269 + 271: 16(float) ConvertSToF 270 + 272: 16(float) FDiv 268 271 + Store 263(dy) 272 + 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 274 274 12 12 + 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 276 275(shadowFactor) 47 + Store 275(shadowFactor) 196 + 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 280 280 12 12 + 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 282 281(count) 47 + Store 281(count) 104 + 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 286 286 12 12 + 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 288 287(range) 47 + Store 287(range) 291 + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 293 293 12 12 + 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 295 294(x) 47 + 298: 96(int) Load 287(range) + 299: 96(int) SNegate 298 + Store 294(x) 299 + Branch 300 + 300: Label + 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 293 293 12 12 + LoopMerge 302 303 None + Branch 306 + 306: Label + 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 293 293 12 12 + 309: 96(int) Load 294(x) + 310: 96(int) Load 287(range) + 312: 138(bool) SLessThanEqual 309 310 + BranchConditional 312 301 302 + 301: Label + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 316 316 12 12 + 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 318 317(y) 47 + 321: 96(int) Load 287(range) + 322: 96(int) SNegate 321 + Store 317(y) 322 + Branch 323 + 323: Label + 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 316 316 12 12 + LoopMerge 325 326 None + Branch 329 + 329: Label + 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 316 316 12 12 + 332: 96(int) Load 317(y) + 333: 96(int) Load 287(range) + 335: 138(bool) SLessThanEqual 332 333 + BranchConditional 335 324 325 + 324: Label + 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 339 339 12 12 + 340: 16(float) Load 250(dx) + 341: 96(int) Load 294(x) + 342: 16(float) ConvertSToF 341 + 343: 16(float) FMul 340 342 + 344: 16(float) Load 263(dy) + 345: 96(int) Load 317(y) + 346: 16(float) ConvertSToF 345 + 347: 16(float) FMul 344 346 + 348: 24(fvec2) CompositeConstruct 343 347 + 350: 19(fvec4) Load 56(sc) + Store 349(param) 350 + 352: 16(float) Load 57(layer) + Store 351(param) 352 + Store 353(param) 348 + 354: 16(float) FunctionCall 33(textureProj(vf4;f1;vf2;) 349(param) 351(param) 353(param) + 355: 16(float) Load 275(shadowFactor) + 356: 16(float) FAdd 355 354 + Store 275(shadowFactor) 356 + 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 358 358 12 12 + 359: 96(int) Load 281(count) + 360: 96(int) IAdd 359 291 + Store 281(count) 360 + Branch 326 + 326: Label + 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 316 316 12 12 + 363: 96(int) Load 317(y) + 364: 96(int) IAdd 363 291 + Store 317(y) 364 + Branch 323 + 325: Label + Branch 303 + 303: Label + 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 366: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 293 293 12 12 + 367: 96(int) Load 294(x) + 368: 96(int) IAdd 367 291 + Store 294(x) 368 + Branch 300 + 302: Label + 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 371 371 12 12 + 372: 16(float) Load 275(shadowFactor) + 373: 96(int) Load 281(count) + 374: 16(float) ConvertSToF 373 + 375: 16(float) FDiv 372 374 + ReturnValue 375 FunctionEnd Line 1 99 41 77(shadow(vf3;vf3;): 70(fvec3) Function None 73 75(fragcolor): 72(ptr) FunctionParameter 76(fragpos): 72(ptr) FunctionParameter 78: Label - 372(i): 248(ptr) Variable Function - 392(shadowClip): 22(ptr) Variable Function -440(shadowFactor): 23(ptr) Variable Function - 445(param): 22(ptr) Variable Function - 447(param): 23(ptr) Variable Function + 382(i): 256(ptr) Variable Function + 403(shadowClip): 22(ptr) Variable Function +452(shadowFactor): 23(ptr) Variable Function + 457(param): 22(ptr) Variable Function + 459(param): 23(ptr) Variable Function 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 81 81 12 12 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 - 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;) - 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 371 371 12 12 - 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 373 372(i) 47 - Store 372(i) 104 - Branch 376 - 376: Label - 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 371 371 12 12 - LoopMerge 378 379 None - Branch 382 - 382: Label - 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 371 371 12 12 - 385: 96(int) Load 372(i) - 388: 138(bool) SLessThan 385 386 - BranchConditional 388 377 378 - 377: Label - 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 391 391 12 12 - 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 393 392(shadowClip) 47 - 428: 96(int) Load 372(i) - 430: 429(ptr) AccessChain 425(ubo) 283 428 386 - 431: 396 Load 430 - 432: 70(fvec3) Load 76(fragpos) - 433: 16(float) CompositeExtract 432 0 - 434: 16(float) CompositeExtract 432 1 - 435: 16(float) CompositeExtract 432 2 - 436: 19(fvec4) CompositeConstruct 433 434 435 112 - 437: 19(fvec4) MatrixTimesVector 431 436 - Store 392(shadowClip) 437 - 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 439 439 12 12 - 442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 441 440(shadowFactor) 47 - 443: 96(int) Load 372(i) - 444: 16(float) ConvertSToF 443 - 446: 19(fvec4) Load 392(shadowClip) - Store 445(param) 446 - Store 447(param) 444 - 448: 16(float) FunctionCall 58(filterPCF(vf4;f1;) 445(param) 447(param) - Store 440(shadowFactor) 448 - 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 450 450 12 12 - 451: 16(float) Load 440(shadowFactor) - 452: 70(fvec3) Load 75(fragcolor) - 453: 70(fvec3) VectorTimesScalar 452 451 - Store 75(fragcolor) 453 - Branch 379 - 379: Label - 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 371 371 12 12 - 456: 96(int) Load 372(i) - 457: 96(int) IAdd 456 283 - Store 372(i) 457 - Branch 376 - 378: Label - 458: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 460 460 12 12 - 461: 70(fvec3) Load 75(fragcolor) - ReturnValue 461 + 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;) + 379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 381 381 12 12 + 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 383 382(i) 47 + Store 382(i) 104 + Branch 386 + 386: Label + 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 381 381 12 12 + LoopMerge 388 389 None + Branch 392 + 392: Label + 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 381 381 12 12 + 395: 96(int) Load 382(i) + 398: 138(bool) SLessThan 395 396 + BranchConditional 398 387 388 + 387: Label + 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 402 402 12 12 + 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 404 403(shadowClip) 47 + 440: 96(int) Load 382(i) + 442: 441(ptr) AccessChain 437(ubo) 291 440 396 + 443: 407 Load 442 + 444: 70(fvec3) Load 76(fragpos) + 445: 16(float) CompositeExtract 444 0 + 446: 16(float) CompositeExtract 444 1 + 447: 16(float) CompositeExtract 444 2 + 448: 19(fvec4) CompositeConstruct 445 446 447 112 + 449: 19(fvec4) MatrixTimesVector 443 448 + Store 403(shadowClip) 449 + 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 451 451 12 12 + 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 453 452(shadowFactor) 47 + 455: 96(int) Load 382(i) + 456: 16(float) ConvertSToF 455 + 458: 19(fvec4) Load 403(shadowClip) + Store 457(param) 458 + Store 459(param) 456 + 460: 16(float) FunctionCall 58(filterPCF(vf4;f1;) 457(param) 459(param) + Store 452(shadowFactor) 460 + 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 462 462 12 12 + 463: 16(float) Load 452(shadowFactor) + 464: 70(fvec3) Load 75(fragcolor) + 465: 70(fvec3) VectorTimesScalar 464 463 + Store 75(fragcolor) 465 + Branch 389 + 389: Label + 466: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 381 381 12 12 + 468: 96(int) Load 382(i) + 469: 96(int) IAdd 468 291 + Store 382(i) 469 + Branch 386 + 388: Label + 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 472 472 12 12 + 473: 70(fvec3) Load 75(fragcolor) + ReturnValue 473 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.geom.out b/Test/baseResults/spv.debuginfo.glsl.geom.out index 51a67155ab..6a075acdb0 100644 --- a/Test/baseResults/spv.debuginfo.glsl.geom.out +++ b/Test/baseResults/spv.debuginfo.glsl.geom.out @@ -1,7 +1,7 @@ spv.debuginfo.glsl.geom // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 257 +// Id's are bound by 260 Capability Geometry Capability MultiViewport @@ -9,7 +9,7 @@ spv.debuginfo.glsl.geom 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Geometry 14 "main" 63 95 114 124 127 158 197 206 223 235 241 244 + EntryPoint Geometry 14 "main" 64 97 117 127 130 161 200 209 226 238 244 247 ExecutionMode 14 Triangles ExecutionMode 14 Invocations 2 ExecutionMode 14 OutputTriangleStrip @@ -28,95 +28,95 @@ spv.debuginfo.glsl.geom 30: String "int" 35: String "i" 51: String "bool" - 58: String "float" - 65: String "outNormal" - 78: String "projection" - 82: String "modelview" - 85: String "lightPos" - 88: String "UBO" - 92: String "ubo" - 97: String "gl_InvocationID" - 116: String "inNormal" - 126: String "outColor" - 129: String "inColor" - 138: String "pos" - 144: String "gl_Position" - 147: String "gl_PointSize" - 150: String "gl_CullDistance" - 154: String "gl_PerVertex" - 160: String "gl_in" - 169: String "worldPos" - 181: String "lPos" - 199: String "outLightVec" - 208: String "outViewVec" - 237: String "gl_ViewportIndex" - 243: String "gl_PrimitiveID" - 246: String "gl_PrimitiveIDIn" + 59: String "float" + 66: String "outNormal" + 80: String "projection" + 84: String "modelview" + 87: String "lightPos" + 90: String "UBO" + 94: String "ubo" + 99: String "gl_InvocationID" + 119: String "inNormal" + 129: String "outColor" + 132: String "inColor" + 141: String "pos" + 147: String "gl_Position" + 150: String "gl_PointSize" + 153: String "gl_CullDistance" + 157: String "gl_PerVertex" + 163: String "gl_in" + 172: String "worldPos" + 184: String "lPos" + 202: String "outLightVec" + 211: String "outViewVec" + 240: String "gl_ViewportIndex" + 246: String "gl_PrimitiveID" + 249: String "gl_PrimitiveIDIn" SourceExtension "GL_ARB_viewport_array" Name 14 "main" Name 33 "i" - Name 63 "outNormal" - Name 76 "UBO" - MemberName 76(UBO) 0 "projection" - MemberName 76(UBO) 1 "modelview" - MemberName 76(UBO) 2 "lightPos" - Name 90 "ubo" - Name 95 "gl_InvocationID" - Name 114 "inNormal" - Name 124 "outColor" - Name 127 "inColor" - Name 136 "pos" - Name 142 "gl_PerVertex" - MemberName 142(gl_PerVertex) 0 "gl_Position" - MemberName 142(gl_PerVertex) 1 "gl_PointSize" - MemberName 142(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 142(gl_PerVertex) 3 "gl_CullDistance" - Name 158 "gl_in" - Name 167 "worldPos" - Name 179 "lPos" - Name 197 "outLightVec" - Name 206 "outViewVec" - Name 214 "gl_PerVertex" - MemberName 214(gl_PerVertex) 0 "gl_Position" - MemberName 214(gl_PerVertex) 1 "gl_PointSize" - MemberName 214(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 214(gl_PerVertex) 3 "gl_CullDistance" - Name 223 "" - Name 235 "gl_ViewportIndex" - Name 241 "gl_PrimitiveID" - Name 244 "gl_PrimitiveIDIn" - Decorate 63(outNormal) Location 0 - Decorate 72 ArrayStride 64 + Name 64 "outNormal" + Name 78 "UBO" + MemberName 78(UBO) 0 "projection" + MemberName 78(UBO) 1 "modelview" + MemberName 78(UBO) 2 "lightPos" + Name 92 "ubo" + Name 97 "gl_InvocationID" + Name 117 "inNormal" + Name 127 "outColor" + Name 130 "inColor" + Name 139 "pos" + Name 145 "gl_PerVertex" + MemberName 145(gl_PerVertex) 0 "gl_Position" + MemberName 145(gl_PerVertex) 1 "gl_PointSize" + MemberName 145(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 145(gl_PerVertex) 3 "gl_CullDistance" + Name 161 "gl_in" + Name 170 "worldPos" + Name 182 "lPos" + Name 200 "outLightVec" + Name 209 "outViewVec" + Name 217 "gl_PerVertex" + MemberName 217(gl_PerVertex) 0 "gl_Position" + MemberName 217(gl_PerVertex) 1 "gl_PointSize" + MemberName 217(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 217(gl_PerVertex) 3 "gl_CullDistance" + Name 226 "" + Name 238 "gl_ViewportIndex" + Name 244 "gl_PrimitiveID" + Name 247 "gl_PrimitiveIDIn" + Decorate 64(outNormal) Location 0 Decorate 74 ArrayStride 64 - MemberDecorate 76(UBO) 0 ColMajor - MemberDecorate 76(UBO) 0 Offset 0 - MemberDecorate 76(UBO) 0 MatrixStride 16 - MemberDecorate 76(UBO) 1 ColMajor - MemberDecorate 76(UBO) 1 Offset 128 - MemberDecorate 76(UBO) 1 MatrixStride 16 - MemberDecorate 76(UBO) 2 Offset 256 - Decorate 76(UBO) Block - Decorate 90(ubo) DescriptorSet 0 - Decorate 90(ubo) Binding 0 - Decorate 95(gl_InvocationID) BuiltIn InvocationId - Decorate 114(inNormal) Location 0 - Decorate 124(outColor) Location 1 - Decorate 127(inColor) Location 1 - MemberDecorate 142(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 142(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 142(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 142(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 142(gl_PerVertex) Block - Decorate 197(outLightVec) Location 3 - Decorate 206(outViewVec) Location 2 - MemberDecorate 214(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 214(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 214(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 214(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 214(gl_PerVertex) Block - Decorate 235(gl_ViewportIndex) BuiltIn ViewportIndex - Decorate 241(gl_PrimitiveID) BuiltIn PrimitiveId - Decorate 244(gl_PrimitiveIDIn) BuiltIn PrimitiveId + Decorate 76 ArrayStride 64 + MemberDecorate 78(UBO) 0 ColMajor + MemberDecorate 78(UBO) 0 Offset 0 + MemberDecorate 78(UBO) 0 MatrixStride 16 + MemberDecorate 78(UBO) 1 ColMajor + MemberDecorate 78(UBO) 1 Offset 128 + MemberDecorate 78(UBO) 1 MatrixStride 16 + MemberDecorate 78(UBO) 2 Offset 256 + Decorate 78(UBO) Block + Decorate 92(ubo) DescriptorSet 0 + Decorate 92(ubo) Binding 0 + Decorate 97(gl_InvocationID) BuiltIn InvocationId + Decorate 117(inNormal) Location 0 + Decorate 127(outColor) Location 1 + Decorate 130(inColor) Location 1 + MemberDecorate 145(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 145(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 145(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 145(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 145(gl_PerVertex) Block + Decorate 200(outLightVec) Location 3 + Decorate 209(outViewVec) Location 2 + MemberDecorate 217(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 217(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 217(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 217(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 217(gl_PerVertex) Block + Decorate 238(gl_ViewportIndex) BuiltIn ViewportIndex + Decorate 244(gl_PrimitiveID) BuiltIn PrimitiveId + Decorate 247(gl_PrimitiveIDIn) BuiltIn PrimitiveId 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -143,118 +143,121 @@ spv.debuginfo.glsl.geom 49: 29(int) Constant 3 50: TypeBool 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 24 12 - 56: 7(int) Constant 51 - 57: TypeFloat 32 - 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 58 10 13 12 - 60: TypeVector 57(float) 3 - 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 59 13 - 62: TypePointer Output 60(fvec3) - 63(outNormal): 62(ptr) Variable Output - 66: 7(int) Constant 8 - 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 65 61 18 56 12 21 65 63(outNormal) 66 - 67: TypeVector 57(float) 4 - 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 59 23 - 69: TypeMatrix 67(fvec4) 4 - 71: 50(bool) ConstantTrue - 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 68 23 71 - 72: TypeArray 69 24 - 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 70 24 - 74: TypeArray 69 24 - 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 70 24 - 76(UBO): TypeStruct 72 74 67(fvec4) - 79: 7(int) Constant 34 - 80: 7(int) Constant 7 - 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 73 18 79 80 12 12 13 - 83: 7(int) Constant 35 - 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 82 75 18 83 80 12 12 13 - 86: 7(int) Constant 36 - 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 85 68 18 86 80 12 12 13 - 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 88 22 18 56 12 21 88 12 13 77 81 84 - 89: TypePointer Uniform 76(UBO) - 90(ubo): 89(ptr) Variable Uniform - 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 92 87 18 56 12 21 92 90(ubo) 66 - 93: 29(int) Constant 1 - 94: TypePointer Input 29(int) -95(gl_InvocationID): 94(ptr) Variable Input - 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 97 31 18 56 12 21 97 95(gl_InvocationID) 66 - 99: TypePointer Uniform 69 - 102: TypeMatrix 60(fvec3) 3 - 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 61 13 71 - 111: TypeArray 60(fvec3) 13 - 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 61 13 - 113: TypePointer Input 111 - 114(inNormal): 113(ptr) Variable Input - 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 116 112 18 56 12 21 116 114(inNormal) 66 - 118: TypePointer Input 60(fvec3) - 123: 7(int) Constant 52 - 124(outColor): 62(ptr) Variable Output - 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 126 61 18 123 12 21 126 124(outColor) 66 - 127(inColor): 113(ptr) Variable Input - 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 129 112 18 123 12 21 129 127(inColor) 66 - 134: 7(int) Constant 54 - 135: TypePointer Function 67(fvec4) - 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 138 68 18 134 12 17 23 - 140: TypeArray 57(float) 22 - 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 59 22 -142(gl_PerVertex): TypeStruct 67(fvec4) 57(float) 140 140 - 145: 7(int) Constant 23 - 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 68 18 24 145 12 12 13 - 148: 7(int) Constant 41 - 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 147 59 18 24 148 12 12 13 - 151: 7(int) Constant 84 - 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 24 151 12 12 13 - 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 24 151 12 12 13 - 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 22 18 134 12 21 154 12 13 143 146 149 152 - 155: TypeArray 142(gl_PerVertex) 13 - 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 153 13 - 157: TypePointer Input 155 - 158(gl_in): 157(ptr) Variable Input - 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 160 156 18 134 12 21 160 158(gl_in) 66 - 162: TypePointer Input 67(fvec4) - 166: 7(int) Constant 55 - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 169 68 18 166 12 17 23 - 177: 7(int) Constant 57 - 178: TypePointer Function 60(fvec3) - 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 181 61 18 177 12 17 23 - 186: 29(int) Constant 2 - 187: TypePointer Uniform 67(fvec4) - 196: 7(int) Constant 58 -197(outLightVec): 62(ptr) Variable Output - 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 199 61 18 196 12 21 199 197(outLightVec) 66 - 205: 7(int) Constant 59 - 206(outViewVec): 62(ptr) Variable Output - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 208 61 18 205 12 21 208 206(outViewVec) 66 - 213: 7(int) Constant 61 -214(gl_PerVertex): TypeStruct 67(fvec4) 57(float) 140 140 - 216: 7(int) Constant 215 - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 68 18 24 216 12 12 13 - 218: 7(int) Constant 233 - 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 147 59 18 24 218 12 12 13 - 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 13 80 12 12 13 - 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 13 80 12 12 13 - 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 22 18 213 12 21 154 12 13 215 217 219 220 - 222: TypePointer Output 214(gl_PerVertex) - 223: 222(ptr) Variable Output - 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 221 18 213 12 21 1 223 66 - 230: TypePointer Output 67(fvec4) - 233: 7(int) Constant 64 - 234: TypePointer Output 29(int) -235(gl_ViewportIndex): 234(ptr) Variable Output - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 237 31 18 233 12 21 237 235(gl_ViewportIndex) 66 - 240: 7(int) Constant 65 -241(gl_PrimitiveID): 234(ptr) Variable Output - 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 243 31 18 240 12 21 243 241(gl_PrimitiveID) 66 -244(gl_PrimitiveIDIn): 94(ptr) Variable Input - 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 246 31 18 240 12 21 246 244(gl_PrimitiveIDIn) 66 - 249: 7(int) Constant 66 - 256: 7(int) Constant 68 + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 24 12 + 57: 7(int) Constant 51 + 58: TypeFloat 32 + 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 59 10 13 12 + 61: TypeVector 58(float) 3 + 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 60 13 + 63: TypePointer Output 61(fvec3) + 64(outNormal): 63(ptr) Variable Output + 67: 7(int) Constant 8 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 66 62 18 57 12 21 66 64(outNormal) 67 + 68: TypeVector 58(float) 4 + 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 60 23 + 70: TypeMatrix 68(fvec4) 4 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 24 12 + 73: 50(bool) ConstantTrue + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 69 23 73 + 74: TypeArray 70 24 + 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 71 24 + 76: TypeArray 70 24 + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 71 24 + 78(UBO): TypeStruct 74 76 68(fvec4) + 81: 7(int) Constant 34 + 82: 7(int) Constant 7 + 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 80 75 18 81 82 12 12 13 + 85: 7(int) Constant 35 + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 84 77 18 85 82 12 12 13 + 88: 7(int) Constant 36 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 87 69 18 88 82 12 12 13 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 90 22 18 57 12 21 90 12 13 79 83 86 + 91: TypePointer Uniform 78(UBO) + 92(ubo): 91(ptr) Variable Uniform + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 94 89 18 57 12 21 94 92(ubo) 67 + 95: 29(int) Constant 1 + 96: TypePointer Input 29(int) +97(gl_InvocationID): 96(ptr) Variable Input + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 99 31 18 57 12 21 99 97(gl_InvocationID) 67 + 101: TypePointer Uniform 70 + 104: TypeMatrix 61(fvec3) 3 + 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 24 12 + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 62 13 73 + 114: TypeArray 61(fvec3) 13 + 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 62 13 + 116: TypePointer Input 114 + 117(inNormal): 116(ptr) Variable Input + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 119 115 18 57 12 21 119 117(inNormal) 67 + 121: TypePointer Input 61(fvec3) + 126: 7(int) Constant 52 + 127(outColor): 63(ptr) Variable Output + 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 129 62 18 126 12 21 129 127(outColor) 67 + 130(inColor): 116(ptr) Variable Input + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 132 115 18 126 12 21 132 130(inColor) 67 + 137: 7(int) Constant 54 + 138: TypePointer Function 68(fvec4) + 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 141 69 18 137 12 17 23 + 143: TypeArray 58(float) 22 + 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 60 22 +145(gl_PerVertex): TypeStruct 68(fvec4) 58(float) 143 143 + 148: 7(int) Constant 23 + 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 147 69 18 24 148 12 12 13 + 151: 7(int) Constant 41 + 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 60 18 24 151 12 12 13 + 154: 7(int) Constant 84 + 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 153 144 18 24 154 12 12 13 + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 153 144 18 24 154 12 12 13 + 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 157 22 18 137 12 21 157 12 13 146 149 152 155 + 158: TypeArray 145(gl_PerVertex) 13 + 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 156 13 + 160: TypePointer Input 158 + 161(gl_in): 160(ptr) Variable Input + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 163 159 18 137 12 21 163 161(gl_in) 67 + 165: TypePointer Input 68(fvec4) + 169: 7(int) Constant 55 + 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 69 18 169 12 17 23 + 180: 7(int) Constant 57 + 181: TypePointer Function 61(fvec3) + 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 184 62 18 180 12 17 23 + 189: 29(int) Constant 2 + 190: TypePointer Uniform 68(fvec4) + 199: 7(int) Constant 58 +200(outLightVec): 63(ptr) Variable Output + 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 202 62 18 199 12 21 202 200(outLightVec) 67 + 208: 7(int) Constant 59 + 209(outViewVec): 63(ptr) Variable Output + 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 211 62 18 208 12 21 211 209(outViewVec) 67 + 216: 7(int) Constant 61 +217(gl_PerVertex): TypeStruct 68(fvec4) 58(float) 143 143 + 219: 7(int) Constant 215 + 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 147 69 18 24 219 12 12 13 + 221: 7(int) Constant 233 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 60 18 24 221 12 12 13 + 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 153 144 18 13 82 12 12 13 + 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 153 144 18 13 82 12 12 13 + 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 157 22 18 216 12 21 157 12 13 218 220 222 223 + 225: TypePointer Output 217(gl_PerVertex) + 226: 225(ptr) Variable Output + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 224 18 216 12 21 1 226 67 + 233: TypePointer Output 68(fvec4) + 236: 7(int) Constant 64 + 237: TypePointer Output 29(int) +238(gl_ViewportIndex): 237(ptr) Variable Output + 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 240 31 18 236 12 21 240 238(gl_ViewportIndex) 67 + 243: 7(int) Constant 65 +244(gl_PrimitiveID): 237(ptr) Variable Output + 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 246 31 18 243 12 21 246 244(gl_PrimitiveID) 67 +247(gl_PrimitiveIDIn): 96(ptr) Variable Input + 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 249 31 18 243 12 21 249 247(gl_PrimitiveIDIn) 67 + 252: 7(int) Constant 66 + 259: 7(int) Constant 68 Line 1 47 15 14(main): 4 Function None 5 15: Label 33(i): 32(ptr) Variable Function - 136(pos): 135(ptr) Variable Function - 167(worldPos): 135(ptr) Variable Function - 179(lPos): 178(ptr) Variable Function + 139(pos): 138(ptr) Variable Function + 170(worldPos): 138(ptr) Variable Function + 182(lPos): 181(ptr) Variable Function 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 @@ -273,93 +276,93 @@ spv.debuginfo.glsl.geom 53: 50(bool) SLessThan 48 49 BranchConditional 53 40 41 40: Label - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 - 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 56 56 12 12 - 98: 29(int) Load 95(gl_InvocationID) - 100: 99(ptr) AccessChain 90(ubo) 93 98 - 101: 69 Load 100 - 104: 67(fvec4) CompositeExtract 101 0 - 105: 60(fvec3) VectorShuffle 104 104 0 1 2 - 106: 67(fvec4) CompositeExtract 101 1 - 107: 60(fvec3) VectorShuffle 106 106 0 1 2 - 108: 67(fvec4) CompositeExtract 101 2 - 109: 60(fvec3) VectorShuffle 108 108 0 1 2 - 110: 102 CompositeConstruct 105 107 109 - 117: 29(int) Load 33(i) - 119: 118(ptr) AccessChain 114(inNormal) 117 - 120: 60(fvec3) Load 119 - 121: 60(fvec3) MatrixTimesVector 110 120 - Store 63(outNormal) 121 - 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 123 123 12 12 - 130: 29(int) Load 33(i) - 131: 118(ptr) AccessChain 127(inColor) 130 - 132: 60(fvec3) Load 131 - Store 124(outColor) 132 - 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 134 134 12 12 - 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 137 136(pos) 37 - 161: 29(int) Load 33(i) - 163: 162(ptr) AccessChain 158(gl_in) 161 38 - 164: 67(fvec4) Load 163 - Store 136(pos) 164 - 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12 - 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 168 167(worldPos) 37 - 171: 29(int) Load 95(gl_InvocationID) - 172: 99(ptr) AccessChain 90(ubo) 93 171 - 173: 69 Load 172 - 174: 67(fvec4) Load 136(pos) - 175: 67(fvec4) MatrixTimesVector 173 174 - Store 167(worldPos) 175 - 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 177 177 12 12 - 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 180 179(lPos) 37 - 183: 29(int) Load 95(gl_InvocationID) - 184: 99(ptr) AccessChain 90(ubo) 93 183 - 185: 69 Load 184 - 188: 187(ptr) AccessChain 90(ubo) 186 - 189: 67(fvec4) Load 188 - 190: 67(fvec4) MatrixTimesVector 185 189 - 191: 57(float) CompositeExtract 190 0 - 192: 57(float) CompositeExtract 190 1 - 193: 57(float) CompositeExtract 190 2 - 194: 60(fvec3) CompositeConstruct 191 192 193 - Store 179(lPos) 194 - 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 196 196 12 12 - 200: 60(fvec3) Load 179(lPos) - 201: 67(fvec4) Load 167(worldPos) - 202: 60(fvec3) VectorShuffle 201 201 0 1 2 - 203: 60(fvec3) FSub 200 202 - Store 197(outLightVec) 203 - 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 205 205 12 12 - 209: 67(fvec4) Load 167(worldPos) - 210: 60(fvec3) VectorShuffle 209 209 0 1 2 - 211: 60(fvec3) FNegate 210 - Store 206(outViewVec) 211 - 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 213 213 12 12 - 225: 29(int) Load 95(gl_InvocationID) - 226: 99(ptr) AccessChain 90(ubo) 38 225 - 227: 69 Load 226 - 228: 67(fvec4) Load 167(worldPos) - 229: 67(fvec4) MatrixTimesVector 227 228 - 231: 230(ptr) AccessChain 223 38 - Store 231 229 - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 233 233 12 12 - 238: 29(int) Load 95(gl_InvocationID) - Store 235(gl_ViewportIndex) 238 - 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 240 240 12 12 - 247: 29(int) Load 244(gl_PrimitiveIDIn) - Store 241(gl_PrimitiveID) 247 - 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 249 249 12 12 + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 57 57 12 12 + 100: 29(int) Load 97(gl_InvocationID) + 102: 101(ptr) AccessChain 92(ubo) 95 100 + 103: 70 Load 102 + 107: 68(fvec4) CompositeExtract 103 0 + 108: 61(fvec3) VectorShuffle 107 107 0 1 2 + 109: 68(fvec4) CompositeExtract 103 1 + 110: 61(fvec3) VectorShuffle 109 109 0 1 2 + 111: 68(fvec4) CompositeExtract 103 2 + 112: 61(fvec3) VectorShuffle 111 111 0 1 2 + 113: 104 CompositeConstruct 108 110 112 + 120: 29(int) Load 33(i) + 122: 121(ptr) AccessChain 117(inNormal) 120 + 123: 61(fvec3) Load 122 + 124: 61(fvec3) MatrixTimesVector 113 123 + Store 64(outNormal) 124 + 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 126 126 12 12 + 133: 29(int) Load 33(i) + 134: 121(ptr) AccessChain 130(inColor) 133 + 135: 61(fvec3) Load 134 + Store 127(outColor) 135 + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 137 137 12 12 + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 140 139(pos) 37 + 164: 29(int) Load 33(i) + 166: 165(ptr) AccessChain 161(gl_in) 164 38 + 167: 68(fvec4) Load 166 + Store 139(pos) 167 + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 169 169 12 12 + 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 171 170(worldPos) 37 + 174: 29(int) Load 97(gl_InvocationID) + 175: 101(ptr) AccessChain 92(ubo) 95 174 + 176: 70 Load 175 + 177: 68(fvec4) Load 139(pos) + 178: 68(fvec4) MatrixTimesVector 176 177 + Store 170(worldPos) 178 + 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 180 180 12 12 + 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 183 182(lPos) 37 + 186: 29(int) Load 97(gl_InvocationID) + 187: 101(ptr) AccessChain 92(ubo) 95 186 + 188: 70 Load 187 + 191: 190(ptr) AccessChain 92(ubo) 189 + 192: 68(fvec4) Load 191 + 193: 68(fvec4) MatrixTimesVector 188 192 + 194: 58(float) CompositeExtract 193 0 + 195: 58(float) CompositeExtract 193 1 + 196: 58(float) CompositeExtract 193 2 + 197: 61(fvec3) CompositeConstruct 194 195 196 + Store 182(lPos) 197 + 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 199 199 12 12 + 203: 61(fvec3) Load 182(lPos) + 204: 68(fvec4) Load 170(worldPos) + 205: 61(fvec3) VectorShuffle 204 204 0 1 2 + 206: 61(fvec3) FSub 203 205 + Store 200(outLightVec) 206 + 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 208 208 12 12 + 212: 68(fvec4) Load 170(worldPos) + 213: 61(fvec3) VectorShuffle 212 212 0 1 2 + 214: 61(fvec3) FNegate 213 + Store 209(outViewVec) 214 + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 216 216 12 12 + 228: 29(int) Load 97(gl_InvocationID) + 229: 101(ptr) AccessChain 92(ubo) 38 228 + 230: 70 Load 229 + 231: 68(fvec4) Load 170(worldPos) + 232: 68(fvec4) MatrixTimesVector 230 231 + 234: 233(ptr) AccessChain 226 38 + Store 234 232 + 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 236 236 12 12 + 241: 29(int) Load 97(gl_InvocationID) + Store 238(gl_ViewportIndex) 241 + 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 243 243 12 12 + 250: 29(int) Load 247(gl_PrimitiveIDIn) + Store 244(gl_PrimitiveID) 250 + 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 252 252 12 12 EmitVertex Branch 42 42: Label - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 - 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 - 252: 29(int) Load 33(i) - 253: 29(int) IAdd 252 93 - Store 33(i) 253 + 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 + 255: 29(int) Load 33(i) + 256: 29(int) IAdd 255 95 + Store 33(i) 256 Branch 39 41: Label - 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 - 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 256 256 12 12 + 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 259 259 12 12 EndPrimitive Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.tesc.out b/Test/baseResults/spv.debuginfo.glsl.tesc.out index 17ac15502b..b718ec1a51 100644 --- a/Test/baseResults/spv.debuginfo.glsl.tesc.out +++ b/Test/baseResults/spv.debuginfo.glsl.tesc.out @@ -1,14 +1,14 @@ spv.debuginfo.glsl.tesc // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 545 +// Id's are bound by 556 Capability Tessellation Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint TessellationControl 14 "main" 252 256 282 373 386 501 515 522 536 + EntryPoint TessellationControl 14 "main" 253 257 283 383 396 512 526 533 547 ExecutionMode 14 OutputVertices 4 1: String "" 8: String "uint" @@ -30,36 +30,36 @@ spv.debuginfo.glsl.tesc 65: String "midPoint" 77: String "radius" 88: String "v0" - 99: String "modelview" - 104: String "lightPos" - 107: String "frustumPlanes" - 109: String "tessellatedEdgeSize" - 114: String "viewportDim" - 118: String "UBO" - 122: String "ubo" - 124: String "int" - 136: String "clip0" - 157: String "clip1" - 232: String "pos" - 238: String "gl_Position" - 241: String "gl_PointSize" - 244: String "gl_CullDistance" - 248: String "gl_PerVertex" - 254: String "gl_in" - 258: String "gl_InvocationID" - 267: String "type.2d.image" - 268: String "@type.2d.image" - 272: String "type.sampled.image" - 273: String "@type.sampled.image" - 277: String "samplerHeight" - 284: String "inUV" - 303: String "i" - 375: String "gl_TessLevelInner" - 388: String "gl_TessLevelOuter" - 503: String "gl_out" - 517: String "outNormal" - 524: String "inNormal" - 538: String "outUV" + 100: String "modelview" + 105: String "lightPos" + 108: String "frustumPlanes" + 110: String "tessellatedEdgeSize" + 115: String "viewportDim" + 119: String "UBO" + 123: String "ubo" + 125: String "int" + 137: String "clip0" + 158: String "clip1" + 233: String "pos" + 239: String "gl_Position" + 242: String "gl_PointSize" + 245: String "gl_CullDistance" + 249: String "gl_PerVertex" + 255: String "gl_in" + 259: String "gl_InvocationID" + 268: String "type.2d.image" + 269: String "@type.2d.image" + 273: String "type.sampled.image" + 274: String "@type.sampled.image" + 278: String "samplerHeight" + 285: String "inUV" + 304: String "i" + 385: String "gl_TessLevelInner" + 398: String "gl_TessLevelOuter" + 514: String "gl_out" + 528: String "outNormal" + 535: String "inNormal" + 549: String "outUV" Name 14 "main" Name 27 "screenSpaceTessFactor(vf4;vf4;" Name 25 "p0" @@ -68,85 +68,85 @@ spv.debuginfo.glsl.tesc Name 63 "midPoint" Name 75 "radius" Name 86 "v0" - Name 97 "UBO" - MemberName 97(UBO) 0 "projection" - MemberName 97(UBO) 1 "modelview" - MemberName 97(UBO) 2 "lightPos" - MemberName 97(UBO) 3 "frustumPlanes" - MemberName 97(UBO) 4 "displacementFactor" - MemberName 97(UBO) 5 "tessellationFactor" - MemberName 97(UBO) 6 "viewportDim" - MemberName 97(UBO) 7 "tessellatedEdgeSize" - Name 120 "ubo" - Name 134 "clip0" - Name 155 "clip1" - Name 230 "pos" - Name 236 "gl_PerVertex" - MemberName 236(gl_PerVertex) 0 "gl_Position" - MemberName 236(gl_PerVertex) 1 "gl_PointSize" - MemberName 236(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 236(gl_PerVertex) 3 "gl_CullDistance" - Name 252 "gl_in" - Name 256 "gl_InvocationID" - Name 275 "samplerHeight" - Name 282 "inUV" - Name 301 "i" - Name 373 "gl_TessLevelInner" - Name 386 "gl_TessLevelOuter" - Name 413 "param" - Name 416 "param" - Name 423 "param" - Name 426 "param" - Name 433 "param" - Name 436 "param" - Name 443 "param" - Name 446 "param" - Name 490 "gl_PerVertex" - MemberName 490(gl_PerVertex) 0 "gl_Position" - MemberName 490(gl_PerVertex) 1 "gl_PointSize" - MemberName 490(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 490(gl_PerVertex) 3 "gl_CullDistance" - Name 501 "gl_out" - Name 515 "outNormal" - Name 522 "inNormal" - Name 536 "outUV" - Decorate 93 ArrayStride 16 - MemberDecorate 97(UBO) 0 ColMajor - MemberDecorate 97(UBO) 0 Offset 0 - MemberDecorate 97(UBO) 0 MatrixStride 16 - MemberDecorate 97(UBO) 1 ColMajor - MemberDecorate 97(UBO) 1 Offset 64 - MemberDecorate 97(UBO) 1 MatrixStride 16 - MemberDecorate 97(UBO) 2 Offset 128 - MemberDecorate 97(UBO) 3 Offset 144 - MemberDecorate 97(UBO) 4 Offset 240 - MemberDecorate 97(UBO) 5 Offset 244 - MemberDecorate 97(UBO) 6 Offset 248 - MemberDecorate 97(UBO) 7 Offset 256 - Decorate 97(UBO) Block - Decorate 120(ubo) DescriptorSet 0 - Decorate 120(ubo) Binding 0 - MemberDecorate 236(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 236(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 236(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 236(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 236(gl_PerVertex) Block - Decorate 256(gl_InvocationID) BuiltIn InvocationId - Decorate 275(samplerHeight) DescriptorSet 0 - Decorate 275(samplerHeight) Binding 1 - Decorate 282(inUV) Location 1 - Decorate 373(gl_TessLevelInner) Patch - Decorate 373(gl_TessLevelInner) BuiltIn TessLevelInner - Decorate 386(gl_TessLevelOuter) Patch - Decorate 386(gl_TessLevelOuter) BuiltIn TessLevelOuter - MemberDecorate 490(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 490(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 490(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 490(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 490(gl_PerVertex) Block - Decorate 515(outNormal) Location 0 - Decorate 522(inNormal) Location 0 - Decorate 536(outUV) Location 1 + Name 98 "UBO" + MemberName 98(UBO) 0 "projection" + MemberName 98(UBO) 1 "modelview" + MemberName 98(UBO) 2 "lightPos" + MemberName 98(UBO) 3 "frustumPlanes" + MemberName 98(UBO) 4 "displacementFactor" + MemberName 98(UBO) 5 "tessellationFactor" + MemberName 98(UBO) 6 "viewportDim" + MemberName 98(UBO) 7 "tessellatedEdgeSize" + Name 121 "ubo" + Name 135 "clip0" + Name 156 "clip1" + Name 231 "pos" + Name 237 "gl_PerVertex" + MemberName 237(gl_PerVertex) 0 "gl_Position" + MemberName 237(gl_PerVertex) 1 "gl_PointSize" + MemberName 237(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 237(gl_PerVertex) 3 "gl_CullDistance" + Name 253 "gl_in" + Name 257 "gl_InvocationID" + Name 276 "samplerHeight" + Name 283 "inUV" + Name 302 "i" + Name 383 "gl_TessLevelInner" + Name 396 "gl_TessLevelOuter" + Name 424 "param" + Name 427 "param" + Name 434 "param" + Name 437 "param" + Name 444 "param" + Name 447 "param" + Name 454 "param" + Name 457 "param" + Name 501 "gl_PerVertex" + MemberName 501(gl_PerVertex) 0 "gl_Position" + MemberName 501(gl_PerVertex) 1 "gl_PointSize" + MemberName 501(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 501(gl_PerVertex) 3 "gl_CullDistance" + Name 512 "gl_out" + Name 526 "outNormal" + Name 533 "inNormal" + Name 547 "outUV" + Decorate 94 ArrayStride 16 + MemberDecorate 98(UBO) 0 ColMajor + MemberDecorate 98(UBO) 0 Offset 0 + MemberDecorate 98(UBO) 0 MatrixStride 16 + MemberDecorate 98(UBO) 1 ColMajor + MemberDecorate 98(UBO) 1 Offset 64 + MemberDecorate 98(UBO) 1 MatrixStride 16 + MemberDecorate 98(UBO) 2 Offset 128 + MemberDecorate 98(UBO) 3 Offset 144 + MemberDecorate 98(UBO) 4 Offset 240 + MemberDecorate 98(UBO) 5 Offset 244 + MemberDecorate 98(UBO) 6 Offset 248 + MemberDecorate 98(UBO) 7 Offset 256 + Decorate 98(UBO) Block + Decorate 121(ubo) DescriptorSet 0 + Decorate 121(ubo) Binding 0 + MemberDecorate 237(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 237(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 237(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 237(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 237(gl_PerVertex) Block + Decorate 257(gl_InvocationID) BuiltIn InvocationId + Decorate 276(samplerHeight) DescriptorSet 0 + Decorate 276(samplerHeight) Binding 1 + Decorate 283(inUV) Location 1 + Decorate 383(gl_TessLevelInner) Patch + Decorate 383(gl_TessLevelInner) BuiltIn TessLevelInner + Decorate 396(gl_TessLevelOuter) Patch + Decorate 396(gl_TessLevelOuter) BuiltIn TessLevelOuter + MemberDecorate 501(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 501(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 501(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 501(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 501(gl_PerVertex) Block + Decorate 526(outNormal) Location 0 + Decorate 533(inNormal) Location 0 + Decorate 547(outUV) Location 1 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -191,341 +191,352 @@ spv.debuginfo.glsl.tesc 85: 7(int) Constant 59 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 21 31 85 12 30 20 90: TypeMatrix 19(fvec4) 4 - 92: 46(bool) ConstantTrue - 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 92 - 93: TypeArray 19(fvec4) 11 - 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 21 11 - 95: TypeVector 16(float) 2 - 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 36 - 97(UBO): TypeStruct 90 90 19(fvec4) 93 16(float) 16(float) 95(fvec2) 16(float) - 100: 7(int) Constant 30 - 101: 7(int) Constant 7 - 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 99 91 31 100 101 12 12 13 - 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 99 91 31 100 101 12 12 13 - 105: 7(int) Constant 31 - 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 104 21 31 105 101 12 12 13 - 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 107 94 31 10 101 12 12 13 - 110: 7(int) Constant 36 - 111: 7(int) Constant 8 - 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 18 31 110 111 12 12 13 - 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 18 31 110 111 12 12 13 - 115: 7(int) Constant 35 - 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 114 96 31 115 101 12 12 13 - 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 18 31 110 111 12 12 13 - 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 118 35 31 85 12 34 118 12 13 98 102 103 106 108 112 113 116 - 119: TypePointer Uniform 97(UBO) - 120(ubo): 119(ptr) Variable Uniform - 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 122 117 31 85 12 34 122 120(ubo) 111 - 123: TypeInt 32 1 - 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 124 10 20 12 - 126: 123(int) Constant 1 - 127: TypePointer Uniform 90 - 133: 7(int) Constant 62 - 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 136 21 31 133 12 30 20 - 138: 123(int) Constant 0 - 143: TypeVector 16(float) 3 - 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13 - 145: 16(float) Constant 0 - 146: 143(fvec3) ConstantComposite 145 145 145 - 154: 7(int) Constant 63 - 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 157 21 31 154 12 30 20 - 170: 7(int) Constant 66 - 177: 7(int) Constant 67 - 184: 7(int) Constant 70 - 185: 123(int) Constant 6 - 186: TypePointer Uniform 95(fvec2) - 197: 7(int) Constant 71 - 208: 7(int) Constant 76 - 212: 123(int) Constant 7 - 213: TypePointer Uniform 16(float) - 217: 123(int) Constant 5 - 221: 16(float) Constant 1065353216 - 222: 16(float) Constant 1115684864 - 229: 7(int) Constant 85 - 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 232 21 31 229 12 54 20 - 234: TypeArray 16(float) 35 - 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 35 -236(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234 - 239: 7(int) Constant 1756 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 239 12 12 13 - 242: 7(int) Constant 1774 - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 242 12 12 13 - 245: 7(int) Constant 1817 - 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 245 12 12 13 - 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 245 12 12 13 - 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 229 12 34 248 12 13 237 240 243 246 - 249: TypeArray 236(gl_PerVertex) 10 - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 247 10 - 251: TypePointer Input 249 - 252(gl_in): 251(ptr) Variable Input - 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 254 250 31 229 12 34 254 252(gl_in) 111 - 255: TypePointer Input 123(int) -256(gl_InvocationID): 255(ptr) Variable Input - 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 125 31 229 12 34 258 256(gl_InvocationID) 111 - 260: TypePointer Input 19(fvec4) - 264: 7(int) Constant 86 - 265: TypeImage 16(float) 2D sampled format:Unknown - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 267 12 31 264 12 34 268 269 13 - 270: TypeSampledImage 265 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 272 12 31 264 12 34 273 269 13 - 274: TypePointer UniformConstant 270 -275(samplerHeight): 274(ptr) Variable UniformConstant - 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 277 271 31 264 12 34 277 275(samplerHeight) 111 - 279: TypeArray 95(fvec2) 10 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 10 - 281: TypePointer Input 279 - 282(inUV): 281(ptr) Variable Input - 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 284 280 31 264 12 34 284 282(inUV) 111 - 285: TypePointer Input 95(fvec2) - 290: 123(int) Constant 4 - 299: 7(int) Constant 89 - 300: TypePointer Function 123(int) - 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 125 31 299 12 54 20 - 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 - 319: 7(int) Constant 90 - 321: 123(int) Constant 3 - 323: TypePointer Uniform 19(fvec4) - 327: 16(float) Constant 1090519040 - 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 93: 46(bool) ConstantTrue + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 93 + 94: TypeArray 19(fvec4) 11 + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 21 11 + 96: TypeVector 16(float) 2 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 36 + 98(UBO): TypeStruct 90 90 19(fvec4) 94 16(float) 16(float) 96(fvec2) 16(float) + 101: 7(int) Constant 30 + 102: 7(int) Constant 7 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 91 31 101 102 12 12 13 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 91 31 101 102 12 12 13 + 106: 7(int) Constant 31 + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 105 21 31 106 102 12 12 13 + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 108 95 31 10 102 12 12 13 + 111: 7(int) Constant 36 + 112: 7(int) Constant 8 + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 110 18 31 111 112 12 12 13 + 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 110 18 31 111 112 12 12 13 + 116: 7(int) Constant 35 + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 115 97 31 116 102 12 12 13 + 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 110 18 31 111 112 12 12 13 + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 119 35 31 85 12 34 119 12 13 99 103 104 107 109 113 114 117 + 120: TypePointer Uniform 98(UBO) + 121(ubo): 120(ptr) Variable Uniform + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 123 118 31 85 12 34 123 121(ubo) 112 + 124: TypeInt 32 1 + 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 125 10 20 12 + 127: 124(int) Constant 1 + 128: TypePointer Uniform 90 + 134: 7(int) Constant 62 + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 137 21 31 134 12 30 20 + 139: 124(int) Constant 0 + 144: TypeVector 16(float) 3 + 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13 + 146: 16(float) Constant 0 + 147: 144(fvec3) ConstantComposite 146 146 146 + 155: 7(int) Constant 63 + 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 158 21 31 155 12 30 20 + 171: 7(int) Constant 66 + 178: 7(int) Constant 67 + 185: 7(int) Constant 70 + 186: 124(int) Constant 6 + 187: TypePointer Uniform 96(fvec2) + 198: 7(int) Constant 71 + 209: 7(int) Constant 76 + 213: 124(int) Constant 7 + 214: TypePointer Uniform 16(float) + 218: 124(int) Constant 5 + 222: 16(float) Constant 1065353216 + 223: 16(float) Constant 1115684864 + 230: 7(int) Constant 85 + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 233 21 31 230 12 54 20 + 235: TypeArray 16(float) 35 + 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 35 +237(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 235 235 + 240: 7(int) Constant 1756 + 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 239 21 31 35 240 12 12 13 + 243: 7(int) Constant 1774 + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 242 18 31 35 243 12 12 13 + 246: 7(int) Constant 1817 + 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 236 31 35 246 12 12 13 + 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 236 31 35 246 12 12 13 + 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 249 35 31 230 12 34 249 12 13 238 241 244 247 + 250: TypeArray 237(gl_PerVertex) 10 + 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 248 10 + 252: TypePointer Input 250 + 253(gl_in): 252(ptr) Variable Input + 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 255 251 31 230 12 34 255 253(gl_in) 112 + 256: TypePointer Input 124(int) +257(gl_InvocationID): 256(ptr) Variable Input + 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 259 126 31 230 12 34 259 257(gl_InvocationID) 112 + 261: TypePointer Input 19(fvec4) + 265: 7(int) Constant 86 + 266: TypeImage 16(float) 2D sampled format:Unknown + 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 268 12 31 265 12 34 269 270 13 + 271: TypeSampledImage 266 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 273 12 31 265 12 34 274 270 13 + 275: TypePointer UniformConstant 271 +276(samplerHeight): 275(ptr) Variable UniformConstant + 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 278 272 31 265 12 34 278 276(samplerHeight) 112 + 280: TypeArray 96(fvec2) 10 + 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 97 10 + 282: TypePointer Input 280 + 283(inUV): 282(ptr) Variable Input + 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 285 281 31 265 12 34 285 283(inUV) 112 + 286: TypePointer Input 96(fvec2) + 291: 124(int) Constant 4 + 300: 7(int) Constant 89 + 301: TypePointer Function 124(int) + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 304 126 31 300 12 54 20 + 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 321: 7(int) Constant 90 + 323: 124(int) Constant 3 + 325: TypePointer Uniform 19(fvec4) + 329: 16(float) Constant 1090519040 + 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 - 334: 46(bool) ConstantFalse - 337: 7(int) Constant 92 - 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 - 346: 7(int) Constant 95 - 352: 7(int) Constant 100 - 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 - 360: 7(int) Constant 102 - 362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 338: 46(bool) ConstantFalse + 341: 7(int) Constant 92 + 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 352: 7(int) Constant 95 + 353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 359: 7(int) Constant 100 + 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 - 369: 7(int) Constant 104 - 370: TypeArray 16(float) 36 - 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36 - 372: TypePointer Output 370 -373(gl_TessLevelInner): 372(ptr) Variable Output - 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 371 31 369 12 34 375 373(gl_TessLevelInner) 111 - 376: TypePointer Output 16(float) - 379: 7(int) Constant 105 - 382: 7(int) Constant 106 - 383: TypeArray 16(float) 20 - 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20 - 385: TypePointer Output 383 -386(gl_TessLevelOuter): 385(ptr) Variable Output - 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 388 384 31 382 12 34 388 386(gl_TessLevelOuter) 111 - 391: 7(int) Constant 107 - 394: 7(int) Constant 108 - 395: 123(int) Constant 2 - 398: 7(int) Constant 109 - 403: 7(int) Constant 113 - 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 - 412: 7(int) Constant 115 - 422: 7(int) Constant 116 - 432: 7(int) Constant 117 - 442: 7(int) Constant 118 - 452: 7(int) Constant 119 - 460: 7(int) Constant 120 - 470: 7(int) Constant 126 - 473: 7(int) Constant 127 - 476: 7(int) Constant 128 - 479: 7(int) Constant 129 - 482: 7(int) Constant 130 - 485: 7(int) Constant 131 - 489: 7(int) Constant 137 -490(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234 - 492: 7(int) Constant 110 - 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 492 12 12 13 - 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 476 12 12 13 - 495: 7(int) Constant 171 - 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 495 12 12 13 - 496: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 495 12 12 13 - 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 489 12 34 248 12 13 491 493 494 496 - 498: TypeArray 490(gl_PerVertex) 20 - 499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 497 20 - 500: TypePointer Output 498 - 501(gl_out): 500(ptr) Variable Output - 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 503 499 31 489 12 34 503 501(gl_out) 111 - 508: TypePointer Output 19(fvec4) - 511: 7(int) Constant 138 - 512: TypeArray 143(fvec3) 20 - 513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20 - 514: TypePointer Output 512 - 515(outNormal): 514(ptr) Variable Output - 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 517 513 31 511 12 34 517 515(outNormal) 111 - 519: TypeArray 143(fvec3) 10 - 520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10 - 521: TypePointer Input 519 - 522(inNormal): 521(ptr) Variable Input - 523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 524 520 31 511 12 34 524 522(inNormal) 111 - 526: TypePointer Input 143(fvec3) - 529: TypePointer Output 143(fvec3) - 532: 7(int) Constant 139 - 533: TypeArray 95(fvec2) 20 - 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20 - 535: TypePointer Output 533 - 536(outUV): 535(ptr) Variable Output - 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 538 534 31 532 12 34 538 536(outUV) 111 - 543: TypePointer Output 95(fvec2) + 368: 7(int) Constant 102 + 370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 379: 7(int) Constant 104 + 380: TypeArray 16(float) 36 + 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36 + 382: TypePointer Output 380 +383(gl_TessLevelInner): 382(ptr) Variable Output + 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 385 381 31 379 12 34 385 383(gl_TessLevelInner) 112 + 386: TypePointer Output 16(float) + 389: 7(int) Constant 105 + 392: 7(int) Constant 106 + 393: TypeArray 16(float) 20 + 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20 + 395: TypePointer Output 393 +396(gl_TessLevelOuter): 395(ptr) Variable Output + 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 398 394 31 392 12 34 398 396(gl_TessLevelOuter) 112 + 401: 7(int) Constant 107 + 404: 7(int) Constant 108 + 405: 124(int) Constant 2 + 408: 7(int) Constant 109 + 413: 7(int) Constant 113 + 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 423: 7(int) Constant 115 + 433: 7(int) Constant 116 + 443: 7(int) Constant 117 + 453: 7(int) Constant 118 + 463: 7(int) Constant 119 + 471: 7(int) Constant 120 + 481: 7(int) Constant 126 + 484: 7(int) Constant 127 + 487: 7(int) Constant 128 + 490: 7(int) Constant 129 + 493: 7(int) Constant 130 + 496: 7(int) Constant 131 + 500: 7(int) Constant 137 +501(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 235 235 + 503: 7(int) Constant 110 + 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 239 21 31 35 503 12 12 13 + 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 242 18 31 35 487 12 12 13 + 506: 7(int) Constant 171 + 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 236 31 35 506 12 12 13 + 507: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 236 31 35 506 12 12 13 + 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 249 35 31 500 12 34 249 12 13 502 504 505 507 + 509: TypeArray 501(gl_PerVertex) 20 + 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 508 20 + 511: TypePointer Output 509 + 512(gl_out): 511(ptr) Variable Output + 513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 514 510 31 500 12 34 514 512(gl_out) 112 + 519: TypePointer Output 19(fvec4) + 522: 7(int) Constant 138 + 523: TypeArray 144(fvec3) 20 + 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 145 20 + 525: TypePointer Output 523 + 526(outNormal): 525(ptr) Variable Output + 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 528 524 31 522 12 34 528 526(outNormal) 112 + 530: TypeArray 144(fvec3) 10 + 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 145 10 + 532: TypePointer Input 530 + 533(inNormal): 532(ptr) Variable Input + 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 535 531 31 522 12 34 535 533(inNormal) 112 + 537: TypePointer Input 144(fvec3) + 540: TypePointer Output 144(fvec3) + 543: 7(int) Constant 139 + 544: TypeArray 96(fvec2) 20 + 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 97 20 + 546: TypePointer Output 544 + 547(outUV): 546(ptr) Variable Output + 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 549 545 31 543 12 34 549 547(outUV) 112 + 554: TypePointer Output 96(fvec2) Line 1 98 11 14(main): 4 Function None 5 15: Label - 413(param): 22(ptr) Variable Function - 416(param): 22(ptr) Variable Function - 423(param): 22(ptr) Variable Function - 426(param): 22(ptr) Variable Function - 433(param): 22(ptr) Variable Function - 436(param): 22(ptr) Variable Function - 443(param): 22(ptr) Variable Function - 446(param): 22(ptr) Variable Function - 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main) - 350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 352 352 12 12 - 353: 123(int) Load 256(gl_InvocationID) - 355: 46(bool) IEqual 353 138 - SelectionMerge 357 None - BranchConditional 355 356 357 - 356: Label - 358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 360 360 12 12 - 361: 46(bool) FunctionCall 51(frustumCheck() - 364: 46(bool) LogicalNot 361 - SelectionMerge 366 None - BranchConditional 364 365 400 - 365: Label - 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 369 369 12 12 - 377: 376(ptr) AccessChain 373(gl_TessLevelInner) 138 - Store 377 145 + 424(param): 22(ptr) Variable Function + 427(param): 22(ptr) Variable Function + 434(param): 22(ptr) Variable Function + 437(param): 22(ptr) Variable Function + 444(param): 22(ptr) Variable Function + 447(param): 22(ptr) Variable Function + 454(param): 22(ptr) Variable Function + 457(param): 22(ptr) Variable Function + 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main) + 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 + 358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 359 359 12 12 + 360: 124(int) Load 257(gl_InvocationID) + 362: 46(bool) IEqual 360 139 + SelectionMerge 365 None + BranchConditional 362 364 365 + 364: Label + 366: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 + 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 368 368 12 12 + 369: 46(bool) FunctionCall 51(frustumCheck() + 373: 46(bool) LogicalNot 369 + SelectionMerge 376 None + BranchConditional 373 375 410 + 375: Label + 377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 379 379 12 12 - 380: 376(ptr) AccessChain 373(gl_TessLevelInner) 126 - Store 380 145 - 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 382 382 12 12 - 389: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138 - Store 389 145 - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 391 391 12 12 - 392: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126 - Store 392 145 - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 394 394 12 12 - 396: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395 - Store 396 145 - 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 398 398 12 12 - 399: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321 - Store 399 145 - Branch 366 - 400: Label - 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 403 403 12 12 - 404: 213(ptr) AccessChain 120(ubo) 217 - 405: 16(float) Load 404 - 407: 46(bool) FOrdGreaterThan 405 145 - SelectionMerge 409 None - BranchConditional 407 408 467 - 408: Label - 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 412 412 12 12 - 414: 260(ptr) AccessChain 252(gl_in) 321 138 - 415: 19(fvec4) Load 414 - Store 413(param) 415 - 417: 260(ptr) AccessChain 252(gl_in) 138 138 - 418: 19(fvec4) Load 417 - Store 416(param) 418 - 419: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 413(param) 416(param) - 420: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138 - Store 420 419 - 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 422 422 12 12 - 424: 260(ptr) AccessChain 252(gl_in) 138 138 - 425: 19(fvec4) Load 424 - Store 423(param) 425 - 427: 260(ptr) AccessChain 252(gl_in) 126 138 - 428: 19(fvec4) Load 427 - Store 426(param) 428 - 429: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 423(param) 426(param) - 430: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126 - Store 430 429 - 431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 432 432 12 12 - 434: 260(ptr) AccessChain 252(gl_in) 126 138 - 435: 19(fvec4) Load 434 - Store 433(param) 435 - 437: 260(ptr) AccessChain 252(gl_in) 395 138 - 438: 19(fvec4) Load 437 - Store 436(param) 438 - 439: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 433(param) 436(param) - 440: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395 - Store 440 439 - 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 442 442 12 12 - 444: 260(ptr) AccessChain 252(gl_in) 395 138 - 445: 19(fvec4) Load 444 - Store 443(param) 445 - 447: 260(ptr) AccessChain 252(gl_in) 321 138 - 448: 19(fvec4) Load 447 - Store 446(param) 448 - 449: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 443(param) 446(param) - 450: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321 - Store 450 449 - 451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 452 452 12 12 - 453: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138 - 454: 16(float) Load 453 - 455: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321 - 456: 16(float) Load 455 - 457: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 454 456 67 - 458: 376(ptr) AccessChain 373(gl_TessLevelInner) 138 - Store 458 457 - 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 460 460 12 12 - 461: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395 - 462: 16(float) Load 461 - 463: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126 - 464: 16(float) Load 463 - 465: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 462 464 67 - 466: 376(ptr) AccessChain 373(gl_TessLevelInner) 126 - Store 466 465 - Branch 409 - 467: Label - 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 470 470 12 12 - 471: 376(ptr) AccessChain 373(gl_TessLevelInner) 138 - Store 471 221 - 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 473 473 12 12 - 474: 376(ptr) AccessChain 373(gl_TessLevelInner) 126 - Store 474 221 - 475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 476 476 12 12 - 477: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138 - Store 477 221 - 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 479 479 12 12 - 480: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126 - Store 480 221 - 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 482 482 12 12 - 483: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395 - Store 483 221 - 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 485 485 12 12 - 486: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321 - Store 486 221 - Branch 409 - 409: Label - Branch 366 - 366: Label - Branch 357 - 357: Label - 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 489 489 12 12 - 504: 123(int) Load 256(gl_InvocationID) - 505: 123(int) Load 256(gl_InvocationID) - 506: 260(ptr) AccessChain 252(gl_in) 505 138 - 507: 19(fvec4) Load 506 - 509: 508(ptr) AccessChain 501(gl_out) 504 138 - Store 509 507 - 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 511 511 12 12 - 518: 123(int) Load 256(gl_InvocationID) - 525: 123(int) Load 256(gl_InvocationID) - 527: 526(ptr) AccessChain 522(inNormal) 525 - 528: 143(fvec3) Load 527 - 530: 529(ptr) AccessChain 515(outNormal) 518 - Store 530 528 - 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 532 532 12 12 - 539: 123(int) Load 256(gl_InvocationID) - 540: 123(int) Load 256(gl_InvocationID) - 541: 285(ptr) AccessChain 282(inUV) 540 - 542: 95(fvec2) Load 541 - 544: 543(ptr) AccessChain 536(outUV) 539 - Store 544 542 + 387: 386(ptr) AccessChain 383(gl_TessLevelInner) 139 + Store 387 146 + 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 389 389 12 12 + 390: 386(ptr) AccessChain 383(gl_TessLevelInner) 127 + Store 390 146 + 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 392 392 12 12 + 399: 386(ptr) AccessChain 396(gl_TessLevelOuter) 139 + Store 399 146 + 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 401 401 12 12 + 402: 386(ptr) AccessChain 396(gl_TessLevelOuter) 127 + Store 402 146 + 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 404 404 12 12 + 406: 386(ptr) AccessChain 396(gl_TessLevelOuter) 405 + Store 406 146 + 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 408 408 12 12 + 409: 386(ptr) AccessChain 396(gl_TessLevelOuter) 323 + Store 409 146 + Branch 376 + 410: Label + 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 + 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 413 413 12 12 + 414: 214(ptr) AccessChain 121(ubo) 218 + 415: 16(float) Load 414 + 417: 46(bool) FOrdGreaterThan 415 146 + SelectionMerge 420 None + BranchConditional 417 419 478 + 419: Label + 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 + 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 423 423 12 12 + 425: 261(ptr) AccessChain 253(gl_in) 323 139 + 426: 19(fvec4) Load 425 + Store 424(param) 426 + 428: 261(ptr) AccessChain 253(gl_in) 139 139 + 429: 19(fvec4) Load 428 + Store 427(param) 429 + 430: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 424(param) 427(param) + 431: 386(ptr) AccessChain 396(gl_TessLevelOuter) 139 + Store 431 430 + 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 433 433 12 12 + 435: 261(ptr) AccessChain 253(gl_in) 139 139 + 436: 19(fvec4) Load 435 + Store 434(param) 436 + 438: 261(ptr) AccessChain 253(gl_in) 127 139 + 439: 19(fvec4) Load 438 + Store 437(param) 439 + 440: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 434(param) 437(param) + 441: 386(ptr) AccessChain 396(gl_TessLevelOuter) 127 + Store 441 440 + 442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 443 443 12 12 + 445: 261(ptr) AccessChain 253(gl_in) 127 139 + 446: 19(fvec4) Load 445 + Store 444(param) 446 + 448: 261(ptr) AccessChain 253(gl_in) 405 139 + 449: 19(fvec4) Load 448 + Store 447(param) 449 + 450: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 444(param) 447(param) + 451: 386(ptr) AccessChain 396(gl_TessLevelOuter) 405 + Store 451 450 + 452: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 453 453 12 12 + 455: 261(ptr) AccessChain 253(gl_in) 405 139 + 456: 19(fvec4) Load 455 + Store 454(param) 456 + 458: 261(ptr) AccessChain 253(gl_in) 323 139 + 459: 19(fvec4) Load 458 + Store 457(param) 459 + 460: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 454(param) 457(param) + 461: 386(ptr) AccessChain 396(gl_TessLevelOuter) 323 + Store 461 460 + 462: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 463 463 12 12 + 464: 386(ptr) AccessChain 396(gl_TessLevelOuter) 139 + 465: 16(float) Load 464 + 466: 386(ptr) AccessChain 396(gl_TessLevelOuter) 323 + 467: 16(float) Load 466 + 468: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 465 467 67 + 469: 386(ptr) AccessChain 383(gl_TessLevelInner) 139 + Store 469 468 + 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 471 471 12 12 + 472: 386(ptr) AccessChain 396(gl_TessLevelOuter) 405 + 473: 16(float) Load 472 + 474: 386(ptr) AccessChain 396(gl_TessLevelOuter) 127 + 475: 16(float) Load 474 + 476: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 473 475 67 + 477: 386(ptr) AccessChain 383(gl_TessLevelInner) 127 + Store 477 476 + Branch 420 + 478: Label + 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 + 480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 12 12 + 482: 386(ptr) AccessChain 383(gl_TessLevelInner) 139 + Store 482 222 + 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 484 484 12 12 + 485: 386(ptr) AccessChain 383(gl_TessLevelInner) 127 + Store 485 222 + 486: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 487 487 12 12 + 488: 386(ptr) AccessChain 396(gl_TessLevelOuter) 139 + Store 488 222 + 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 490 490 12 12 + 491: 386(ptr) AccessChain 396(gl_TessLevelOuter) 127 + Store 491 222 + 492: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 493 493 12 12 + 494: 386(ptr) AccessChain 396(gl_TessLevelOuter) 405 + Store 494 222 + 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 496 496 12 12 + 497: 386(ptr) AccessChain 396(gl_TessLevelOuter) 323 + Store 497 222 + Branch 420 + 420: Label + Branch 376 + 376: Label + Branch 365 + 365: Label + 498: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 + 499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 500 500 12 12 + 515: 124(int) Load 257(gl_InvocationID) + 516: 124(int) Load 257(gl_InvocationID) + 517: 261(ptr) AccessChain 253(gl_in) 516 139 + 518: 19(fvec4) Load 517 + 520: 519(ptr) AccessChain 512(gl_out) 515 139 + Store 520 518 + 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 522 522 12 12 + 529: 124(int) Load 257(gl_InvocationID) + 536: 124(int) Load 257(gl_InvocationID) + 538: 537(ptr) AccessChain 533(inNormal) 536 + 539: 144(fvec3) Load 538 + 541: 540(ptr) AccessChain 526(outNormal) 529 + Store 541 539 + 542: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 543 543 12 12 + 550: 124(int) Load 257(gl_InvocationID) + 551: 124(int) Load 257(gl_InvocationID) + 552: 286(ptr) AccessChain 283(inUV) 551 + 553: 96(fvec2) Load 552 + 555: 554(ptr) AccessChain 547(outUV) 550 + Store 555 553 Return FunctionEnd Line 1 51 45 @@ -536,8 +547,8 @@ spv.debuginfo.glsl.tesc 63(midPoint): 22(ptr) Variable Function 75(radius): 74(ptr) Variable Function 86(v0): 22(ptr) Variable Function - 134(clip0): 22(ptr) Variable Function - 155(clip1): 22(ptr) Variable Function + 135(clip0): 22(ptr) Variable Function + 156(clip1): 22(ptr) Variable Function 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 33 33 12 12 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 39 25(p0) 42 @@ -560,157 +571,157 @@ spv.debuginfo.glsl.tesc Store 75(radius) 83 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 85 85 12 12 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 87 86(v0) 42 - 128: 127(ptr) AccessChain 120(ubo) 126 - 129: 90 Load 128 - 130: 19(fvec4) Load 63(midPoint) - 131: 19(fvec4) MatrixTimesVector 129 130 - Store 86(v0) 131 - 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 133 133 12 12 - 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 135 134(clip0) 42 - 139: 127(ptr) AccessChain 120(ubo) 138 - 140: 90 Load 139 - 141: 19(fvec4) Load 86(v0) - 142: 16(float) Load 75(radius) - 147: 16(float) CompositeExtract 146 0 - 148: 16(float) CompositeExtract 146 1 - 149: 16(float) CompositeExtract 146 2 - 150: 19(fvec4) CompositeConstruct 142 147 148 149 - 151: 19(fvec4) FSub 141 150 - 152: 19(fvec4) MatrixTimesVector 140 151 - Store 134(clip0) 152 - 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 154 154 12 12 - 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 156 155(clip1) 42 - 159: 127(ptr) AccessChain 120(ubo) 138 - 160: 90 Load 159 - 161: 19(fvec4) Load 86(v0) - 162: 16(float) Load 75(radius) - 163: 16(float) CompositeExtract 146 0 - 164: 16(float) CompositeExtract 146 1 - 165: 16(float) CompositeExtract 146 2 - 166: 19(fvec4) CompositeConstruct 162 163 164 165 - 167: 19(fvec4) FAdd 161 166 - 168: 19(fvec4) MatrixTimesVector 160 167 - Store 155(clip1) 168 - 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 170 170 12 12 - 171: 74(ptr) AccessChain 134(clip0) 13 - 172: 16(float) Load 171 - 173: 19(fvec4) Load 134(clip0) - 174: 19(fvec4) CompositeConstruct 172 172 172 172 - 175: 19(fvec4) FDiv 173 174 - Store 134(clip0) 175 - 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 177 177 12 12 - 178: 74(ptr) AccessChain 155(clip1) 13 - 179: 16(float) Load 178 - 180: 19(fvec4) Load 155(clip1) - 181: 19(fvec4) CompositeConstruct 179 179 179 179 - 182: 19(fvec4) FDiv 180 181 - Store 155(clip1) 182 - 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 184 184 12 12 - 187: 186(ptr) AccessChain 120(ubo) 185 - 188: 95(fvec2) Load 187 - 189: 19(fvec4) Load 134(clip0) - 190: 95(fvec2) VectorShuffle 189 189 0 1 - 191: 95(fvec2) FMul 190 188 - 192: 74(ptr) AccessChain 134(clip0) 12 - 193: 16(float) CompositeExtract 191 0 - Store 192 193 - 194: 74(ptr) AccessChain 134(clip0) 35 - 195: 16(float) CompositeExtract 191 1 - Store 194 195 - 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 197 197 12 12 - 198: 186(ptr) AccessChain 120(ubo) 185 - 199: 95(fvec2) Load 198 - 200: 19(fvec4) Load 155(clip1) - 201: 95(fvec2) VectorShuffle 200 200 0 1 - 202: 95(fvec2) FMul 201 199 - 203: 74(ptr) AccessChain 155(clip1) 12 - 204: 16(float) CompositeExtract 202 0 - Store 203 204 - 205: 74(ptr) AccessChain 155(clip1) 35 - 206: 16(float) CompositeExtract 202 1 - Store 205 206 - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 208 208 12 12 - 209: 19(fvec4) Load 134(clip0) - 210: 19(fvec4) Load 155(clip1) - 211: 16(float) ExtInst 3(GLSL.std.450) 67(Distance) 209 210 - 214: 213(ptr) AccessChain 120(ubo) 212 - 215: 16(float) Load 214 - 216: 16(float) FDiv 211 215 - 218: 213(ptr) AccessChain 120(ubo) 217 - 219: 16(float) Load 218 - 220: 16(float) FMul 216 219 - 223: 16(float) ExtInst 3(GLSL.std.450) 43(FClamp) 220 221 222 - ReturnValue 223 + 129: 128(ptr) AccessChain 121(ubo) 127 + 130: 90 Load 129 + 131: 19(fvec4) Load 63(midPoint) + 132: 19(fvec4) MatrixTimesVector 130 131 + Store 86(v0) 132 + 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 134 134 12 12 + 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 135(clip0) 42 + 140: 128(ptr) AccessChain 121(ubo) 139 + 141: 90 Load 140 + 142: 19(fvec4) Load 86(v0) + 143: 16(float) Load 75(radius) + 148: 16(float) CompositeExtract 147 0 + 149: 16(float) CompositeExtract 147 1 + 150: 16(float) CompositeExtract 147 2 + 151: 19(fvec4) CompositeConstruct 143 148 149 150 + 152: 19(fvec4) FSub 142 151 + 153: 19(fvec4) MatrixTimesVector 141 152 + Store 135(clip0) 153 + 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 155 155 12 12 + 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 157 156(clip1) 42 + 160: 128(ptr) AccessChain 121(ubo) 139 + 161: 90 Load 160 + 162: 19(fvec4) Load 86(v0) + 163: 16(float) Load 75(radius) + 164: 16(float) CompositeExtract 147 0 + 165: 16(float) CompositeExtract 147 1 + 166: 16(float) CompositeExtract 147 2 + 167: 19(fvec4) CompositeConstruct 163 164 165 166 + 168: 19(fvec4) FAdd 162 167 + 169: 19(fvec4) MatrixTimesVector 161 168 + Store 156(clip1) 169 + 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 171 171 12 12 + 172: 74(ptr) AccessChain 135(clip0) 13 + 173: 16(float) Load 172 + 174: 19(fvec4) Load 135(clip0) + 175: 19(fvec4) CompositeConstruct 173 173 173 173 + 176: 19(fvec4) FDiv 174 175 + Store 135(clip0) 176 + 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 178 178 12 12 + 179: 74(ptr) AccessChain 156(clip1) 13 + 180: 16(float) Load 179 + 181: 19(fvec4) Load 156(clip1) + 182: 19(fvec4) CompositeConstruct 180 180 180 180 + 183: 19(fvec4) FDiv 181 182 + Store 156(clip1) 183 + 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 185 185 12 12 + 188: 187(ptr) AccessChain 121(ubo) 186 + 189: 96(fvec2) Load 188 + 190: 19(fvec4) Load 135(clip0) + 191: 96(fvec2) VectorShuffle 190 190 0 1 + 192: 96(fvec2) FMul 191 189 + 193: 74(ptr) AccessChain 135(clip0) 12 + 194: 16(float) CompositeExtract 192 0 + Store 193 194 + 195: 74(ptr) AccessChain 135(clip0) 35 + 196: 16(float) CompositeExtract 192 1 + Store 195 196 + 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 198 198 12 12 + 199: 187(ptr) AccessChain 121(ubo) 186 + 200: 96(fvec2) Load 199 + 201: 19(fvec4) Load 156(clip1) + 202: 96(fvec2) VectorShuffle 201 201 0 1 + 203: 96(fvec2) FMul 202 200 + 204: 74(ptr) AccessChain 156(clip1) 12 + 205: 16(float) CompositeExtract 203 0 + Store 204 205 + 206: 74(ptr) AccessChain 156(clip1) 35 + 207: 16(float) CompositeExtract 203 1 + Store 206 207 + 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 209 209 12 12 + 210: 19(fvec4) Load 135(clip0) + 211: 19(fvec4) Load 156(clip1) + 212: 16(float) ExtInst 3(GLSL.std.450) 67(Distance) 210 211 + 215: 214(ptr) AccessChain 121(ubo) 213 + 216: 16(float) Load 215 + 217: 16(float) FDiv 212 216 + 219: 214(ptr) AccessChain 121(ubo) 218 + 220: 16(float) Load 219 + 221: 16(float) FMul 217 220 + 224: 16(float) ExtInst 3(GLSL.std.450) 43(FClamp) 221 222 223 + ReturnValue 224 FunctionEnd Line 1 81 19 51(frustumCheck(): 46(bool) Function None 49 52: Label - 230(pos): 22(ptr) Variable Function - 301(i): 300(ptr) Variable Function - 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 54 51(frustumCheck() - 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 229 229 12 12 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 231 230(pos) 42 - 259: 123(int) Load 256(gl_InvocationID) - 261: 260(ptr) AccessChain 252(gl_in) 259 138 - 262: 19(fvec4) Load 261 - Store 230(pos) 262 - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 264 264 12 12 - 278: 270 Load 275(samplerHeight) - 286: 285(ptr) AccessChain 282(inUV) 138 - 287: 95(fvec2) Load 286 - 288: 19(fvec4) ImageSampleExplicitLod 278 287 Lod 145 - 289: 16(float) CompositeExtract 288 0 - 291: 213(ptr) AccessChain 120(ubo) 290 - 292: 16(float) Load 291 - 293: 16(float) FMul 289 292 - 294: 74(ptr) AccessChain 230(pos) 35 - 295: 16(float) Load 294 - 296: 16(float) FSub 295 293 - 297: 74(ptr) AccessChain 230(pos) 35 - Store 297 296 - 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 - 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 302 301(i) 42 - Store 301(i) 138 - Branch 305 - 305: Label - 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 - LoopMerge 307 308 None - Branch 311 - 311: Label - 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 - 314: 123(int) Load 301(i) - 316: 46(bool) SLessThan 314 185 - BranchConditional 316 306 307 - 306: Label - 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 319 319 12 12 - 320: 19(fvec4) Load 230(pos) - 322: 123(int) Load 301(i) - 324: 323(ptr) AccessChain 120(ubo) 321 322 - 325: 19(fvec4) Load 324 - 326: 16(float) Dot 320 325 - 328: 16(float) FAdd 326 327 - 330: 46(bool) FOrdLessThan 328 145 - SelectionMerge 332 None - BranchConditional 330 331 332 - 331: Label - 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 337 337 12 12 - ReturnValue 334 - 332: Label - Branch 308 - 308: Label - 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 - 341: 123(int) Load 301(i) - 342: 123(int) IAdd 341 126 - Store 301(i) 342 - Branch 305 - 307: Label - 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 346 346 12 12 - ReturnValue 92 + 231(pos): 22(ptr) Variable Function + 302(i): 301(ptr) Variable Function + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 54 51(frustumCheck() + 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 + 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 230 230 12 12 + 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 232 231(pos) 42 + 260: 124(int) Load 257(gl_InvocationID) + 262: 261(ptr) AccessChain 253(gl_in) 260 139 + 263: 19(fvec4) Load 262 + Store 231(pos) 263 + 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 265 265 12 12 + 279: 271 Load 276(samplerHeight) + 287: 286(ptr) AccessChain 283(inUV) 139 + 288: 96(fvec2) Load 287 + 289: 19(fvec4) ImageSampleExplicitLod 279 288 Lod 146 + 290: 16(float) CompositeExtract 289 0 + 292: 214(ptr) AccessChain 121(ubo) 291 + 293: 16(float) Load 292 + 294: 16(float) FMul 290 293 + 295: 74(ptr) AccessChain 231(pos) 35 + 296: 16(float) Load 295 + 297: 16(float) FSub 296 294 + 298: 74(ptr) AccessChain 231(pos) 35 + Store 298 297 + 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 300 300 12 12 + 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 303 302(i) 42 + Store 302(i) 139 + Branch 306 + 306: Label + 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 + 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 300 300 12 12 + LoopMerge 308 309 None + Branch 312 + 312: Label + 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 300 300 12 12 + 315: 124(int) Load 302(i) + 317: 46(bool) SLessThan 315 186 + BranchConditional 317 307 308 + 307: Label + 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 + 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 321 321 12 12 + 322: 19(fvec4) Load 231(pos) + 324: 124(int) Load 302(i) + 326: 325(ptr) AccessChain 121(ubo) 323 324 + 327: 19(fvec4) Load 326 + 328: 16(float) Dot 322 327 + 330: 16(float) FAdd 328 329 + 332: 46(bool) FOrdLessThan 330 146 + SelectionMerge 335 None + BranchConditional 332 334 335 + 334: Label + 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 + 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 341 341 12 12 + ReturnValue 338 + 335: Label + Branch 309 + 309: Label + 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 + 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 300 300 12 12 + 346: 124(int) Load 302(i) + 347: 124(int) IAdd 346 127 + Store 302(i) 347 + Branch 306 + 308: Label + 350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 + 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 352 352 12 12 + ReturnValue 93 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.tese.out b/Test/baseResults/spv.debuginfo.glsl.tese.out index 5f494598a0..1eec2ff659 100644 --- a/Test/baseResults/spv.debuginfo.glsl.tese.out +++ b/Test/baseResults/spv.debuginfo.glsl.tese.out @@ -1,14 +1,14 @@ spv.debuginfo.glsl.tese // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 333 +// Id's are bound by 335 Capability Tessellation Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 281 295 303 315 322 + EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 283 297 305 317 324 ExecutionMode 14 Quads ExecutionMode 14 SpacingEqual ExecutionMode 14 VertexOrderCw @@ -47,17 +47,18 @@ spv.debuginfo.glsl.tese 217: String "type.sampled.image" 218: String "@type.sampled.image" 222: String "displacementMap" - 236: String "modelview" - 241: String "lightPos" - 244: String "frustumPlanes" - 246: String "tessellatedEdgeSize" - 250: String "viewportDim" - 254: String "UBO" - 258: String "ubo" - 297: String "outViewVec" - 305: String "outLightVec" - 317: String "outWorldPos" - 324: String "outEyePos" + 231: String "bool" + 238: String "modelview" + 243: String "lightPos" + 246: String "frustumPlanes" + 248: String "tessellatedEdgeSize" + 252: String "viewportDim" + 256: String "UBO" + 260: String "ubo" + 299: String "outViewVec" + 307: String "outLightVec" + 319: String "outWorldPos" + 326: String "outEyePos" Name 14 "main" Name 35 "uv1" Name 43 "inUV" @@ -78,26 +79,26 @@ spv.debuginfo.glsl.tese Name 184 "pos2" Name 198 "pos" Name 220 "displacementMap" - Name 234 "UBO" - MemberName 234(UBO) 0 "projection" - MemberName 234(UBO) 1 "modelview" - MemberName 234(UBO) 2 "lightPos" - MemberName 234(UBO) 3 "frustumPlanes" - MemberName 234(UBO) 4 "displacementFactor" - MemberName 234(UBO) 5 "tessellationFactor" - MemberName 234(UBO) 6 "viewportDim" - MemberName 234(UBO) 7 "tessellatedEdgeSize" - Name 256 "ubo" - Name 271 "gl_PerVertex" - MemberName 271(gl_PerVertex) 0 "gl_Position" - MemberName 271(gl_PerVertex) 1 "gl_PointSize" - MemberName 271(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 271(gl_PerVertex) 3 "gl_CullDistance" - Name 281 "" - Name 295 "outViewVec" - Name 303 "outLightVec" - Name 315 "outWorldPos" - Name 322 "outEyePos" + Name 236 "UBO" + MemberName 236(UBO) 0 "projection" + MemberName 236(UBO) 1 "modelview" + MemberName 236(UBO) 2 "lightPos" + MemberName 236(UBO) 3 "frustumPlanes" + MemberName 236(UBO) 4 "displacementFactor" + MemberName 236(UBO) 5 "tessellationFactor" + MemberName 236(UBO) 6 "viewportDim" + MemberName 236(UBO) 7 "tessellatedEdgeSize" + Name 258 "ubo" + Name 273 "gl_PerVertex" + MemberName 273(gl_PerVertex) 0 "gl_Position" + MemberName 273(gl_PerVertex) 1 "gl_PointSize" + MemberName 273(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 273(gl_PerVertex) 3 "gl_CullDistance" + Name 283 "" + Name 297 "outViewVec" + Name 305 "outLightVec" + Name 317 "outWorldPos" + Name 324 "outEyePos" Decorate 43(inUV) Location 1 Decorate 60(gl_TessCoord) BuiltIn TessCoord Decorate 87(outUV) Location 1 @@ -110,31 +111,31 @@ spv.debuginfo.glsl.tese Decorate 154(gl_PerVertex) Block Decorate 220(displacementMap) DescriptorSet 0 Decorate 220(displacementMap) Binding 1 - Decorate 232 ArrayStride 16 - MemberDecorate 234(UBO) 0 ColMajor - MemberDecorate 234(UBO) 0 Offset 0 - MemberDecorate 234(UBO) 0 MatrixStride 16 - MemberDecorate 234(UBO) 1 ColMajor - MemberDecorate 234(UBO) 1 Offset 64 - MemberDecorate 234(UBO) 1 MatrixStride 16 - MemberDecorate 234(UBO) 2 Offset 128 - MemberDecorate 234(UBO) 3 Offset 144 - MemberDecorate 234(UBO) 4 Offset 240 - MemberDecorate 234(UBO) 5 Offset 244 - MemberDecorate 234(UBO) 6 Offset 248 - MemberDecorate 234(UBO) 7 Offset 256 - Decorate 234(UBO) Block - Decorate 256(ubo) DescriptorSet 0 - Decorate 256(ubo) Binding 0 - MemberDecorate 271(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 271(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 271(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 271(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 271(gl_PerVertex) Block - Decorate 295(outViewVec) Location 2 - Decorate 303(outLightVec) Location 3 - Decorate 315(outWorldPos) Location 5 - Decorate 322(outEyePos) Location 4 + Decorate 234 ArrayStride 16 + MemberDecorate 236(UBO) 0 ColMajor + MemberDecorate 236(UBO) 0 Offset 0 + MemberDecorate 236(UBO) 0 MatrixStride 16 + MemberDecorate 236(UBO) 1 ColMajor + MemberDecorate 236(UBO) 1 Offset 64 + MemberDecorate 236(UBO) 1 MatrixStride 16 + MemberDecorate 236(UBO) 2 Offset 128 + MemberDecorate 236(UBO) 3 Offset 144 + MemberDecorate 236(UBO) 4 Offset 240 + MemberDecorate 236(UBO) 5 Offset 244 + MemberDecorate 236(UBO) 6 Offset 248 + MemberDecorate 236(UBO) 7 Offset 256 + Decorate 236(UBO) Block + Decorate 258(ubo) DescriptorSet 0 + Decorate 258(ubo) Binding 0 + MemberDecorate 273(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 273(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 273(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 273(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 273(gl_PerVertex) Block + Decorate 297(outViewVec) Location 2 + Decorate 305(outLightVec) Location 3 + Decorate 317(outWorldPos) Location 5 + Decorate 324(outEyePos) Location 4 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -236,59 +237,60 @@ spv.debuginfo.glsl.tese 225: 29(float) Constant 0 228: TypeMatrix 145(fvec4) 4 230: TypeBool - 231: 230(bool) ConstantTrue - 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 231 - 232: TypeArray 145(fvec4) 11 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11 - 234(UBO): TypeStruct 228 228 145(fvec4) 232 29(float) 29(float) 32(fvec2) 29(float) - 237: 7(int) Constant 30 - 238: 7(int) Constant 7 - 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13 - 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13 - 242: 7(int) Constant 31 - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 146 18 242 238 12 12 13 - 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 233 18 10 238 12 12 13 - 247: 7(int) Constant 36 - 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13 - 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13 - 251: 7(int) Constant 35 - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 33 18 251 238 12 12 13 - 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13 - 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 254 22 18 209 12 21 254 12 13 235 239 240 243 245 248 249 252 - 255: TypePointer Uniform 234(UBO) - 256(ubo): 255(ptr) Variable Uniform - 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 253 18 209 12 21 258 256(ubo) 46 - 259: 47(int) Constant 4 - 260: TypePointer Uniform 29(float) - 264: TypePointer Function 29(float) - 270: 7(int) Constant 71 -271(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152 - 273: 7(int) Constant 165 - 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 273 12 12 13 - 275: 7(int) Constant 183 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 275 12 12 13 - 277: 7(int) Constant 226 - 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13 - 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13 - 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 270 12 21 166 12 13 272 274 276 278 - 280: TypePointer Output 271(gl_PerVertex) - 281: 280(ptr) Variable Output - 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 279 18 270 12 21 1 281 46 - 283: TypePointer Uniform 228 - 291: TypePointer Output 145(fvec4) - 294: 7(int) Constant 74 - 295(outViewVec): 133(ptr) Variable Output - 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 58 18 294 12 21 297 295(outViewVec) 46 - 302: 7(int) Constant 75 -303(outLightVec): 133(ptr) Variable Output - 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 305 58 18 302 12 21 305 303(outLightVec) 46 - 306: TypePointer Uniform 145(fvec4) - 314: 7(int) Constant 76 -315(outWorldPos): 133(ptr) Variable Output - 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 58 18 314 12 21 317 315(outWorldPos) 46 - 321: 7(int) Constant 77 - 322(outEyePos): 133(ptr) Variable Output - 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 324 58 18 321 12 21 324 322(outEyePos) 46 + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 231 10 24 12 + 233: 230(bool) ConstantTrue + 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 233 + 234: TypeArray 145(fvec4) 11 + 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11 + 236(UBO): TypeStruct 228 228 145(fvec4) 234 29(float) 29(float) 32(fvec2) 29(float) + 239: 7(int) Constant 30 + 240: 7(int) Constant 7 + 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13 + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13 + 244: 7(int) Constant 31 + 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 146 18 244 240 12 12 13 + 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 235 18 10 240 12 12 13 + 249: 7(int) Constant 36 + 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13 + 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13 + 253: 7(int) Constant 35 + 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 33 18 253 240 12 12 13 + 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13 + 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 256 22 18 209 12 21 256 12 13 237 241 242 245 247 250 251 254 + 257: TypePointer Uniform 236(UBO) + 258(ubo): 257(ptr) Variable Uniform + 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 260 255 18 209 12 21 260 258(ubo) 46 + 261: 47(int) Constant 4 + 262: TypePointer Uniform 29(float) + 266: TypePointer Function 29(float) + 272: 7(int) Constant 71 +273(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152 + 275: 7(int) Constant 165 + 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 275 12 12 13 + 277: 7(int) Constant 183 + 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 277 12 12 13 + 279: 7(int) Constant 226 + 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13 + 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13 + 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 272 12 21 166 12 13 274 276 278 280 + 282: TypePointer Output 273(gl_PerVertex) + 283: 282(ptr) Variable Output + 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 281 18 272 12 21 1 283 46 + 285: TypePointer Uniform 228 + 293: TypePointer Output 145(fvec4) + 296: 7(int) Constant 74 + 297(outViewVec): 133(ptr) Variable Output + 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 299 58 18 296 12 21 299 297(outViewVec) 46 + 304: 7(int) Constant 75 +305(outLightVec): 133(ptr) Variable Output + 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 307 58 18 304 12 21 307 305(outLightVec) 46 + 308: TypePointer Uniform 145(fvec4) + 316: 7(int) Constant 76 +317(outWorldPos): 133(ptr) Variable Output + 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 319 58 18 316 12 21 319 317(outWorldPos) 46 + 323: 7(int) Constant 77 + 324(outEyePos): 133(ptr) Variable Output + 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 326 58 18 323 12 21 326 324(outEyePos) 46 Line 1 53 11 14(main): 4 Function None 5 15: Label @@ -397,50 +399,50 @@ spv.debuginfo.glsl.tese 224: 32(fvec2) Load 87(outUV) 226: 145(fvec4) ImageSampleExplicitLod 223 224 Lod 225 227: 29(float) CompositeExtract 226 0 - 261: 260(ptr) AccessChain 256(ubo) 259 - 262: 29(float) Load 261 - 263: 29(float) FMul 227 262 - 265: 264(ptr) AccessChain 198(pos) 22 - 266: 29(float) Load 265 - 267: 29(float) FSub 266 263 - 268: 264(ptr) AccessChain 198(pos) 22 - Store 268 267 - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12 - 284: 283(ptr) AccessChain 256(ubo) 50 - 285: 228 Load 284 - 286: 283(ptr) AccessChain 256(ubo) 54 + 263: 262(ptr) AccessChain 258(ubo) 261 + 264: 29(float) Load 263 + 265: 29(float) FMul 227 264 + 267: 266(ptr) AccessChain 198(pos) 22 + 268: 29(float) Load 267 + 269: 29(float) FSub 268 265 + 270: 266(ptr) AccessChain 198(pos) 22 + Store 270 269 + 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12 + 286: 285(ptr) AccessChain 258(ubo) 50 287: 228 Load 286 - 288: 228 MatrixTimesMatrix 285 287 - 289: 145(fvec4) Load 198(pos) - 290: 145(fvec4) MatrixTimesVector 288 289 - 292: 291(ptr) AccessChain 281 50 - Store 292 290 - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 294 294 12 12 - 298: 145(fvec4) Load 198(pos) - 299: 57(fvec3) VectorShuffle 298 298 0 1 2 - 300: 57(fvec3) FNegate 299 - Store 295(outViewVec) 300 - 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 302 302 12 12 - 307: 306(ptr) AccessChain 256(ubo) 77 - 308: 145(fvec4) Load 307 - 309: 57(fvec3) VectorShuffle 308 308 0 1 2 - 310: 57(fvec3) Load 295(outViewVec) - 311: 57(fvec3) FAdd 309 310 - 312: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 311 - Store 303(outLightVec) 312 - 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 314 314 12 12 - 318: 145(fvec4) Load 198(pos) - 319: 57(fvec3) VectorShuffle 318 318 0 1 2 - Store 315(outWorldPos) 319 - 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 321 321 12 12 - 325: 283(ptr) AccessChain 256(ubo) 54 - 326: 228 Load 325 - 327: 145(fvec4) Load 198(pos) - 328: 145(fvec4) MatrixTimesVector 326 327 - 329: 29(float) CompositeExtract 328 0 - 330: 29(float) CompositeExtract 328 1 - 331: 29(float) CompositeExtract 328 2 - 332: 57(fvec3) CompositeConstruct 329 330 331 - Store 322(outEyePos) 332 + 288: 285(ptr) AccessChain 258(ubo) 54 + 289: 228 Load 288 + 290: 228 MatrixTimesMatrix 287 289 + 291: 145(fvec4) Load 198(pos) + 292: 145(fvec4) MatrixTimesVector 290 291 + 294: 293(ptr) AccessChain 283 50 + Store 294 292 + 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 296 296 12 12 + 300: 145(fvec4) Load 198(pos) + 301: 57(fvec3) VectorShuffle 300 300 0 1 2 + 302: 57(fvec3) FNegate 301 + Store 297(outViewVec) 302 + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 304 304 12 12 + 309: 308(ptr) AccessChain 258(ubo) 77 + 310: 145(fvec4) Load 309 + 311: 57(fvec3) VectorShuffle 310 310 0 1 2 + 312: 57(fvec3) Load 297(outViewVec) + 313: 57(fvec3) FAdd 311 312 + 314: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 313 + Store 305(outLightVec) 314 + 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 316 316 12 12 + 320: 145(fvec4) Load 198(pos) + 321: 57(fvec3) VectorShuffle 320 320 0 1 2 + Store 317(outWorldPos) 321 + 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12 + 327: 285(ptr) AccessChain 258(ubo) 54 + 328: 228 Load 327 + 329: 145(fvec4) Load 198(pos) + 330: 145(fvec4) MatrixTimesVector 328 329 + 331: 29(float) CompositeExtract 330 0 + 332: 29(float) CompositeExtract 330 1 + 333: 29(float) CompositeExtract 330 2 + 334: 57(fvec3) CompositeConstruct 331 332 333 + Store 324(outEyePos) 334 Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.vert.out b/Test/baseResults/spv.debuginfo.glsl.vert.out index 932ecc8f26..e9b40f1236 100644 --- a/Test/baseResults/spv.debuginfo.glsl.vert.out +++ b/Test/baseResults/spv.debuginfo.glsl.vert.out @@ -1,14 +1,14 @@ spv.debuginfo.glsl.vert // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 425 +// Id's are bound by 428 Capability Shader Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Vertex 14 "main" 35 40 46 52 60 76 290 308 313 338 354 371 410 419 + EntryPoint Vertex 14 "main" 35 40 46 52 60 76 293 311 316 341 357 374 413 422 1: String "" 8: String "uint" 16: String "main" @@ -29,31 +29,32 @@ spv.debuginfo.glsl.vert 62: String "instanceTexIndex" 73: String "s" 78: String "instanceRot" - 90: String "modelview" - 95: String "lightPos" - 98: String "globSpeed" - 102: String "UBO" - 106: String "ubo" - 117: String "c" - 132: String "mx" - 175: String "my" - 212: String "mz" - 233: String "rotMat" - 262: String "gRotMat" - 288: String "locPos" - 292: String "inPos" - 304: String "pos" - 310: String "instanceScale" - 315: String "instancePos" - 328: String "gl_Position" - 331: String "gl_PointSize" - 333: String "gl_CullDistance" - 336: String "gl_PerVertex" - 356: String "outNormal" - 373: String "inNormal" - 392: String "lPos" - 412: String "outLightVec" - 421: String "outViewVec" + 87: String "bool" + 92: String "modelview" + 97: String "lightPos" + 100: String "globSpeed" + 104: String "UBO" + 108: String "ubo" + 119: String "c" + 135: String "mx" + 178: String "my" + 215: String "mz" + 236: String "rotMat" + 265: String "gRotMat" + 291: String "locPos" + 295: String "inPos" + 307: String "pos" + 313: String "instanceScale" + 318: String "instancePos" + 331: String "gl_Position" + 334: String "gl_PointSize" + 336: String "gl_CullDistance" + 339: String "gl_PerVertex" + 359: String "outNormal" + 376: String "inNormal" + 395: String "lPos" + 415: String "outLightVec" + 424: String "outViewVec" Name 14 "main" Name 35 "outColor" Name 40 "inColor" @@ -62,65 +63,65 @@ spv.debuginfo.glsl.vert Name 60 "instanceTexIndex" Name 71 "s" Name 76 "instanceRot" - Name 88 "UBO" - MemberName 88(UBO) 0 "projection" - MemberName 88(UBO) 1 "modelview" - MemberName 88(UBO) 2 "lightPos" - MemberName 88(UBO) 3 "locSpeed" - MemberName 88(UBO) 4 "globSpeed" - Name 104 "ubo" - Name 115 "c" - Name 130 "mx" - Name 173 "my" - Name 210 "mz" - Name 231 "rotMat" - Name 260 "gRotMat" - Name 286 "locPos" - Name 290 "inPos" - Name 302 "pos" - Name 308 "instanceScale" - Name 313 "instancePos" - Name 326 "gl_PerVertex" - MemberName 326(gl_PerVertex) 0 "gl_Position" - MemberName 326(gl_PerVertex) 1 "gl_PointSize" - MemberName 326(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 326(gl_PerVertex) 3 "gl_CullDistance" - Name 338 "" - Name 354 "outNormal" - Name 371 "inNormal" - Name 390 "lPos" - Name 410 "outLightVec" - Name 419 "outViewVec" + Name 90 "UBO" + MemberName 90(UBO) 0 "projection" + MemberName 90(UBO) 1 "modelview" + MemberName 90(UBO) 2 "lightPos" + MemberName 90(UBO) 3 "locSpeed" + MemberName 90(UBO) 4 "globSpeed" + Name 106 "ubo" + Name 117 "c" + Name 133 "mx" + Name 176 "my" + Name 213 "mz" + Name 234 "rotMat" + Name 263 "gRotMat" + Name 289 "locPos" + Name 293 "inPos" + Name 305 "pos" + Name 311 "instanceScale" + Name 316 "instancePos" + Name 329 "gl_PerVertex" + MemberName 329(gl_PerVertex) 0 "gl_Position" + MemberName 329(gl_PerVertex) 1 "gl_PointSize" + MemberName 329(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 329(gl_PerVertex) 3 "gl_CullDistance" + Name 341 "" + Name 357 "outNormal" + Name 374 "inNormal" + Name 393 "lPos" + Name 413 "outLightVec" + Name 422 "outViewVec" Decorate 35(outColor) Location 1 Decorate 40(inColor) Location 3 Decorate 46(outUV) Location 2 Decorate 52(inUV) Location 2 Decorate 60(instanceTexIndex) Location 7 Decorate 76(instanceRot) Location 5 - MemberDecorate 88(UBO) 0 ColMajor - MemberDecorate 88(UBO) 0 Offset 0 - MemberDecorate 88(UBO) 0 MatrixStride 16 - MemberDecorate 88(UBO) 1 ColMajor - MemberDecorate 88(UBO) 1 Offset 64 - MemberDecorate 88(UBO) 1 MatrixStride 16 - MemberDecorate 88(UBO) 2 Offset 128 - MemberDecorate 88(UBO) 3 Offset 144 - MemberDecorate 88(UBO) 4 Offset 148 - Decorate 88(UBO) Block - Decorate 104(ubo) DescriptorSet 0 - Decorate 104(ubo) Binding 0 - Decorate 290(inPos) Location 0 - Decorate 308(instanceScale) Location 6 - Decorate 313(instancePos) Location 4 - MemberDecorate 326(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 326(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 326(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 326(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 326(gl_PerVertex) Block - Decorate 354(outNormal) Location 0 - Decorate 371(inNormal) Location 1 - Decorate 410(outLightVec) Location 4 - Decorate 419(outViewVec) Location 3 + MemberDecorate 90(UBO) 0 ColMajor + MemberDecorate 90(UBO) 0 Offset 0 + MemberDecorate 90(UBO) 0 MatrixStride 16 + MemberDecorate 90(UBO) 1 ColMajor + MemberDecorate 90(UBO) 1 Offset 64 + MemberDecorate 90(UBO) 1 MatrixStride 16 + MemberDecorate 90(UBO) 2 Offset 128 + MemberDecorate 90(UBO) 3 Offset 144 + MemberDecorate 90(UBO) 4 Offset 148 + Decorate 90(UBO) Block + Decorate 106(ubo) DescriptorSet 0 + Decorate 106(ubo) Binding 0 + Decorate 293(inPos) Location 0 + Decorate 311(instanceScale) Location 6 + Decorate 316(instancePos) Location 4 + MemberDecorate 329(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 329(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 329(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 329(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 329(gl_PerVertex) Block + Decorate 357(outNormal) Location 0 + Decorate 374(inNormal) Location 1 + Decorate 413(outLightVec) Location 4 + Decorate 422(outViewVec) Location 3 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -173,121 +174,123 @@ spv.debuginfo.glsl.vert 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23 84: TypeMatrix 82(fvec4) 4 86: TypeBool - 87: 86(bool) ConstantTrue - 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 87 - 88(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float) - 91: 7(int) Constant 42 - 92: 7(int) Constant 7 - 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13 - 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13 - 96: 7(int) Constant 43 - 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 83 18 96 92 12 12 13 - 99: 7(int) Constant 45 - 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 38 12 12 13 - 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 38 12 12 13 - 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 102 22 18 69 12 21 102 12 13 89 93 94 97 100 - 103: TypePointer Uniform 88(UBO) - 104(ubo): 103(ptr) Variable Uniform - 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 106 101 18 69 12 21 106 104(ubo) 38 - 107: 56(int) Constant 3 - 108: TypePointer Uniform 29(float) - 114: 7(int) Constant 63 - 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 117 31 18 114 12 17 23 - 126: 7(int) Constant 65 - 127: TypeMatrix 32(fvec3) 3 - 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 87 - 129: TypePointer Function 127 - 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 132 128 18 126 12 17 23 - 134: 56(int) Constant 0 - 137: 29(float) Constant 0 - 139: TypePointer Function 32(fvec3) - 142: 7(int) Constant 66 - 143: 56(int) Constant 1 - 150: 7(int) Constant 67 - 151: 56(int) Constant 2 - 152: 29(float) Constant 1065353216 - 153: 32(fvec3) ConstantComposite 137 137 152 - 156: 7(int) Constant 70 - 164: 7(int) Constant 71 - 172: 7(int) Constant 73 - 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 175 128 18 172 12 17 23 - 182: 7(int) Constant 74 - 183: 32(fvec3) ConstantComposite 137 152 137 - 186: 7(int) Constant 75 - 193: 7(int) Constant 78 - 201: 7(int) Constant 79 - 209: 7(int) Constant 81 - 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 212 128 18 209 12 17 23 - 214: 32(fvec3) ConstantComposite 152 137 137 - 217: 7(int) Constant 82 - 223: 7(int) Constant 83 - 230: 7(int) Constant 85 - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 233 128 18 230 12 17 23 - 241: 7(int) Constant 88 - 244: 56(int) Constant 4 - 250: 7(int) Constant 89 - 258: 7(int) Constant 90 - 259: TypePointer Function 84 - 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 262 85 18 258 12 17 23 - 267: TypePointer Function 82(fvec4) - 270: 7(int) Constant 91 - 271: 82(fvec4) ConstantComposite 137 152 137 137 - 274: 7(int) Constant 92 - 281: 7(int) Constant 93 - 282: 82(fvec4) ConstantComposite 137 137 137 152 - 285: 7(int) Constant 95 - 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 288 83 18 285 12 17 23 - 290(inPos): 39(ptr) Variable Input - 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 33 18 285 12 21 292 290(inPos) 38 - 301: 7(int) Constant 96 - 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 304 83 18 301 12 17 23 -308(instanceScale): 79(ptr) Variable Input - 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 310 31 18 301 12 21 310 308(instanceScale) 38 -313(instancePos): 39(ptr) Variable Input - 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 315 33 18 301 12 21 315 313(instancePos) 38 - 323: 7(int) Constant 98 - 324: TypeArray 29(float) 22 - 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22 -326(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 324 324 - 329: 7(int) Constant 24 - 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 328 83 18 22 329 12 12 13 - 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 331 31 18 22 91 12 12 13 - 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 325 18 22 230 12 12 13 - 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 325 18 22 230 12 12 13 - 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 336 22 18 323 12 21 336 12 13 327 330 332 334 - 337: TypePointer Output 326(gl_PerVertex) - 338: 337(ptr) Variable Output - 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 335 18 323 12 21 1 338 38 - 340: TypePointer Uniform 84 - 350: TypePointer Output 82(fvec4) - 353: 7(int) Constant 99 - 354(outNormal): 34(ptr) Variable Output - 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 356 33 18 353 12 21 356 354(outNormal) 38 - 371(inNormal): 39(ptr) Variable Input - 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 373 33 18 353 12 21 373 371(inNormal) 38 - 377: 7(int) Constant 101 - 389: 7(int) Constant 102 - 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 392 33 18 389 12 17 23 - 403: TypePointer Uniform 82(fvec4) - 409: 7(int) Constant 103 -410(outLightVec): 34(ptr) Variable Output - 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 412 33 18 409 12 21 412 410(outLightVec) 38 - 418: 7(int) Constant 104 - 419(outViewVec): 34(ptr) Variable Output - 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 421 33 18 418 12 21 421 419(outViewVec) 38 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 10 24 12 + 89: 86(bool) ConstantTrue + 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 89 + 90(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float) + 93: 7(int) Constant 42 + 94: 7(int) Constant 7 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13 + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13 + 98: 7(int) Constant 43 + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 97 83 18 98 94 12 12 13 + 101: 7(int) Constant 45 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13 + 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 104 22 18 69 12 21 104 12 13 91 95 96 99 102 + 105: TypePointer Uniform 90(UBO) + 106(ubo): 105(ptr) Variable Uniform + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 103 18 69 12 21 108 106(ubo) 38 + 109: 56(int) Constant 3 + 110: TypePointer Uniform 29(float) + 116: 7(int) Constant 63 + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 31 18 116 12 17 23 + 128: 7(int) Constant 65 + 129: TypeMatrix 32(fvec3) 3 + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 10 24 12 + 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 89 + 132: TypePointer Function 129 + 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 135 130 18 128 12 17 23 + 137: 56(int) Constant 0 + 140: 29(float) Constant 0 + 142: TypePointer Function 32(fvec3) + 145: 7(int) Constant 66 + 146: 56(int) Constant 1 + 153: 7(int) Constant 67 + 154: 56(int) Constant 2 + 155: 29(float) Constant 1065353216 + 156: 32(fvec3) ConstantComposite 140 140 155 + 159: 7(int) Constant 70 + 167: 7(int) Constant 71 + 175: 7(int) Constant 73 + 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 178 130 18 175 12 17 23 + 185: 7(int) Constant 74 + 186: 32(fvec3) ConstantComposite 140 155 140 + 189: 7(int) Constant 75 + 196: 7(int) Constant 78 + 204: 7(int) Constant 79 + 212: 7(int) Constant 81 + 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 215 130 18 212 12 17 23 + 217: 32(fvec3) ConstantComposite 155 140 140 + 220: 7(int) Constant 82 + 226: 7(int) Constant 83 + 233: 7(int) Constant 85 + 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 236 130 18 233 12 17 23 + 244: 7(int) Constant 88 + 247: 56(int) Constant 4 + 253: 7(int) Constant 89 + 261: 7(int) Constant 90 + 262: TypePointer Function 84 + 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 265 85 18 261 12 17 23 + 270: TypePointer Function 82(fvec4) + 273: 7(int) Constant 91 + 274: 82(fvec4) ConstantComposite 140 155 140 140 + 277: 7(int) Constant 92 + 284: 7(int) Constant 93 + 285: 82(fvec4) ConstantComposite 140 140 140 155 + 288: 7(int) Constant 95 + 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 291 83 18 288 12 17 23 + 293(inPos): 39(ptr) Variable Input + 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 295 33 18 288 12 21 295 293(inPos) 38 + 304: 7(int) Constant 96 + 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 307 83 18 304 12 17 23 +311(instanceScale): 79(ptr) Variable Input + 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 313 31 18 304 12 21 313 311(instanceScale) 38 +316(instancePos): 39(ptr) Variable Input + 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 318 33 18 304 12 21 318 316(instancePos) 38 + 326: 7(int) Constant 98 + 327: TypeArray 29(float) 22 + 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22 +329(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 327 327 + 332: 7(int) Constant 24 + 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 331 83 18 22 332 12 12 13 + 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 334 31 18 22 93 12 12 13 + 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 336 328 18 22 233 12 12 13 + 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 336 328 18 22 233 12 12 13 + 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 339 22 18 326 12 21 339 12 13 330 333 335 337 + 340: TypePointer Output 329(gl_PerVertex) + 341: 340(ptr) Variable Output + 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 338 18 326 12 21 1 341 38 + 343: TypePointer Uniform 84 + 353: TypePointer Output 82(fvec4) + 356: 7(int) Constant 99 + 357(outNormal): 34(ptr) Variable Output + 358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 359 33 18 356 12 21 359 357(outNormal) 38 + 374(inNormal): 39(ptr) Variable Input + 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 376 33 18 356 12 21 376 374(inNormal) 38 + 380: 7(int) Constant 101 + 392: 7(int) Constant 102 + 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 395 33 18 392 12 17 23 + 406: TypePointer Uniform 82(fvec4) + 412: 7(int) Constant 103 +413(outLightVec): 34(ptr) Variable Output + 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 415 33 18 412 12 21 415 413(outLightVec) 38 + 421: 7(int) Constant 104 + 422(outViewVec): 34(ptr) Variable Output + 423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 424 33 18 421 12 21 424 422(outViewVec) 38 Line 1 54 11 14(main): 4 Function None 5 15: Label 71(s): 70(ptr) Variable Function - 115(c): 70(ptr) Variable Function - 130(mx): 129(ptr) Variable Function - 173(my): 129(ptr) Variable Function - 210(mz): 129(ptr) Variable Function - 231(rotMat): 129(ptr) Variable Function - 260(gRotMat): 259(ptr) Variable Function - 286(locPos): 267(ptr) Variable Function - 302(pos): 267(ptr) Variable Function - 390(lPos): 139(ptr) Variable Function + 117(c): 70(ptr) Variable Function + 133(mx): 132(ptr) Variable Function + 176(my): 132(ptr) Variable Function + 213(mz): 132(ptr) Variable Function + 234(rotMat): 132(ptr) Variable Function + 263(gRotMat): 262(ptr) Variable Function + 289(locPos): 270(ptr) Variable Function + 305(pos): 270(ptr) Variable Function + 393(lPos): 142(ptr) Variable Function 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 @@ -305,238 +308,238 @@ spv.debuginfo.glsl.vert 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(s) 75 80: 79(ptr) AccessChain 76(instanceRot) 12 81: 29(float) Load 80 - 109: 108(ptr) AccessChain 104(ubo) 107 - 110: 29(float) Load 109 - 111: 29(float) FAdd 81 110 - 112: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 111 - Store 71(s) 112 - 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 114 114 12 12 - 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 116 115(c) 75 - 119: 79(ptr) AccessChain 76(instanceRot) 12 - 120: 29(float) Load 119 - 121: 108(ptr) AccessChain 104(ubo) 107 + 111: 110(ptr) AccessChain 106(ubo) 109 + 112: 29(float) Load 111 + 113: 29(float) FAdd 81 112 + 114: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 113 + Store 71(s) 114 + 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 116 116 12 12 + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(c) 75 + 121: 79(ptr) AccessChain 76(instanceRot) 12 122: 29(float) Load 121 - 123: 29(float) FAdd 120 122 - 124: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 123 - Store 115(c) 124 - 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 126 126 12 12 - 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 131 130(mx) 75 - 135: 29(float) Load 115(c) - 136: 29(float) Load 71(s) - 138: 32(fvec3) CompositeConstruct 135 136 137 - 140: 139(ptr) AccessChain 130(mx) 134 - Store 140 138 - 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 142 142 12 12 - 144: 29(float) Load 71(s) - 145: 29(float) FNegate 144 - 146: 29(float) Load 115(c) - 147: 32(fvec3) CompositeConstruct 145 146 137 - 148: 139(ptr) AccessChain 130(mx) 143 - Store 148 147 - 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 150 150 12 12 - 154: 139(ptr) AccessChain 130(mx) 151 - Store 154 153 - 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 156 156 12 12 - 157: 79(ptr) AccessChain 76(instanceRot) 22 - 158: 29(float) Load 157 - 159: 108(ptr) AccessChain 104(ubo) 107 - 160: 29(float) Load 159 - 161: 29(float) FAdd 158 160 - 162: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 161 - Store 71(s) 162 - 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 164 164 12 12 - 165: 79(ptr) AccessChain 76(instanceRot) 22 - 166: 29(float) Load 165 - 167: 108(ptr) AccessChain 104(ubo) 107 - 168: 29(float) Load 167 - 169: 29(float) FAdd 166 168 - 170: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 169 - Store 115(c) 170 - 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 172 172 12 12 - 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 174 173(my) 75 - 177: 29(float) Load 115(c) - 178: 29(float) Load 71(s) - 179: 32(fvec3) CompositeConstruct 177 137 178 - 180: 139(ptr) AccessChain 173(my) 134 - Store 180 179 - 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 182 182 12 12 - 184: 139(ptr) AccessChain 173(my) 143 - Store 184 183 - 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 186 186 12 12 - 187: 29(float) Load 71(s) - 188: 29(float) FNegate 187 - 189: 29(float) Load 115(c) - 190: 32(fvec3) CompositeConstruct 188 137 189 - 191: 139(ptr) AccessChain 173(my) 151 - Store 191 190 - 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 193 193 12 12 - 194: 79(ptr) AccessChain 76(instanceRot) 24 - 195: 29(float) Load 194 - 196: 108(ptr) AccessChain 104(ubo) 107 - 197: 29(float) Load 196 - 198: 29(float) FAdd 195 197 - 199: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 198 - Store 71(s) 199 - 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 201 201 12 12 - 202: 79(ptr) AccessChain 76(instanceRot) 24 - 203: 29(float) Load 202 - 204: 108(ptr) AccessChain 104(ubo) 107 - 205: 29(float) Load 204 - 206: 29(float) FAdd 203 205 - 207: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 206 - Store 115(c) 207 - 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12 - 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 211 210(mz) 75 - 215: 139(ptr) AccessChain 210(mz) 134 - Store 215 214 - 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 217 217 12 12 - 218: 29(float) Load 115(c) - 219: 29(float) Load 71(s) - 220: 32(fvec3) CompositeConstruct 137 218 219 - 221: 139(ptr) AccessChain 210(mz) 143 - Store 221 220 - 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 223 223 12 12 - 224: 29(float) Load 71(s) - 225: 29(float) FNegate 224 - 226: 29(float) Load 115(c) - 227: 32(fvec3) CompositeConstruct 137 225 226 - 228: 139(ptr) AccessChain 210(mz) 151 - Store 228 227 - 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 230 230 12 12 - 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 232 231(rotMat) 75 - 235: 127 Load 210(mz) - 236: 127 Load 173(my) - 237: 127 MatrixTimesMatrix 235 236 - 238: 127 Load 130(mx) - 239: 127 MatrixTimesMatrix 237 238 - Store 231(rotMat) 239 - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 241 241 12 12 - 242: 79(ptr) AccessChain 76(instanceRot) 22 - 243: 29(float) Load 242 - 245: 108(ptr) AccessChain 104(ubo) 244 + 123: 110(ptr) AccessChain 106(ubo) 109 + 124: 29(float) Load 123 + 125: 29(float) FAdd 122 124 + 126: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 125 + Store 117(c) 126 + 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12 + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 134 133(mx) 75 + 138: 29(float) Load 117(c) + 139: 29(float) Load 71(s) + 141: 32(fvec3) CompositeConstruct 138 139 140 + 143: 142(ptr) AccessChain 133(mx) 137 + Store 143 141 + 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 145 145 12 12 + 147: 29(float) Load 71(s) + 148: 29(float) FNegate 147 + 149: 29(float) Load 117(c) + 150: 32(fvec3) CompositeConstruct 148 149 140 + 151: 142(ptr) AccessChain 133(mx) 146 + Store 151 150 + 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 153 153 12 12 + 157: 142(ptr) AccessChain 133(mx) 154 + Store 157 156 + 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 159 159 12 12 + 160: 79(ptr) AccessChain 76(instanceRot) 22 + 161: 29(float) Load 160 + 162: 110(ptr) AccessChain 106(ubo) 109 + 163: 29(float) Load 162 + 164: 29(float) FAdd 161 163 + 165: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 164 + Store 71(s) 165 + 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 167 167 12 12 + 168: 79(ptr) AccessChain 76(instanceRot) 22 + 169: 29(float) Load 168 + 170: 110(ptr) AccessChain 106(ubo) 109 + 171: 29(float) Load 170 + 172: 29(float) FAdd 169 171 + 173: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 172 + Store 117(c) 173 + 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 175 175 12 12 + 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 177 176(my) 75 + 180: 29(float) Load 117(c) + 181: 29(float) Load 71(s) + 182: 32(fvec3) CompositeConstruct 180 140 181 + 183: 142(ptr) AccessChain 176(my) 137 + Store 183 182 + 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 185 185 12 12 + 187: 142(ptr) AccessChain 176(my) 146 + Store 187 186 + 188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 189 189 12 12 + 190: 29(float) Load 71(s) + 191: 29(float) FNegate 190 + 192: 29(float) Load 117(c) + 193: 32(fvec3) CompositeConstruct 191 140 192 + 194: 142(ptr) AccessChain 176(my) 154 + Store 194 193 + 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 196 196 12 12 + 197: 79(ptr) AccessChain 76(instanceRot) 24 + 198: 29(float) Load 197 + 199: 110(ptr) AccessChain 106(ubo) 109 + 200: 29(float) Load 199 + 201: 29(float) FAdd 198 200 + 202: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 201 + Store 71(s) 202 + 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 204 204 12 12 + 205: 79(ptr) AccessChain 76(instanceRot) 24 + 206: 29(float) Load 205 + 207: 110(ptr) AccessChain 106(ubo) 109 + 208: 29(float) Load 207 + 209: 29(float) FAdd 206 208 + 210: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 209 + Store 117(c) 210 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 212 212 12 12 + 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 214 213(mz) 75 + 218: 142(ptr) AccessChain 213(mz) 137 + Store 218 217 + 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 220 220 12 12 + 221: 29(float) Load 117(c) + 222: 29(float) Load 71(s) + 223: 32(fvec3) CompositeConstruct 140 221 222 + 224: 142(ptr) AccessChain 213(mz) 146 + Store 224 223 + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 226 226 12 12 + 227: 29(float) Load 71(s) + 228: 29(float) FNegate 227 + 229: 29(float) Load 117(c) + 230: 32(fvec3) CompositeConstruct 140 228 229 + 231: 142(ptr) AccessChain 213(mz) 154 + Store 231 230 + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 233 233 12 12 + 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 235 234(rotMat) 75 + 238: 129 Load 213(mz) + 239: 129 Load 176(my) + 240: 129 MatrixTimesMatrix 238 239 + 241: 129 Load 133(mx) + 242: 129 MatrixTimesMatrix 240 241 + Store 234(rotMat) 242 + 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 244 244 12 12 + 245: 79(ptr) AccessChain 76(instanceRot) 22 246: 29(float) Load 245 - 247: 29(float) FAdd 243 246 - 248: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 247 - Store 71(s) 248 - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 250 250 12 12 - 251: 79(ptr) AccessChain 76(instanceRot) 22 - 252: 29(float) Load 251 - 253: 108(ptr) AccessChain 104(ubo) 244 - 254: 29(float) Load 253 - 255: 29(float) FAdd 252 254 - 256: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 255 - Store 115(c) 256 - 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 258 258 12 12 - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 261 260(gRotMat) 75 - 264: 29(float) Load 115(c) - 265: 29(float) Load 71(s) - 266: 82(fvec4) CompositeConstruct 264 137 265 137 - 268: 267(ptr) AccessChain 260(gRotMat) 134 - Store 268 266 - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12 - 272: 267(ptr) AccessChain 260(gRotMat) 143 - Store 272 271 - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 274 274 12 12 - 275: 29(float) Load 71(s) - 276: 29(float) FNegate 275 - 277: 29(float) Load 115(c) - 278: 82(fvec4) CompositeConstruct 276 137 277 137 - 279: 267(ptr) AccessChain 260(gRotMat) 151 - Store 279 278 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 281 281 12 12 - 283: 267(ptr) AccessChain 260(gRotMat) 107 - Store 283 282 - 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 285 285 12 12 - 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 287 286(locPos) 75 - 293: 32(fvec3) Load 290(inPos) - 294: 127 Load 231(rotMat) - 295: 32(fvec3) VectorTimesMatrix 293 294 - 296: 29(float) CompositeExtract 295 0 - 297: 29(float) CompositeExtract 295 1 - 298: 29(float) CompositeExtract 295 2 - 299: 82(fvec4) CompositeConstruct 296 297 298 152 - Store 286(locPos) 299 - 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 301 301 12 12 - 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 303 302(pos) 75 - 306: 82(fvec4) Load 286(locPos) - 307: 32(fvec3) VectorShuffle 306 306 0 1 2 - 311: 29(float) Load 308(instanceScale) - 312: 32(fvec3) VectorTimesScalar 307 311 - 316: 32(fvec3) Load 313(instancePos) - 317: 32(fvec3) FAdd 312 316 - 318: 29(float) CompositeExtract 317 0 - 319: 29(float) CompositeExtract 317 1 - 320: 29(float) CompositeExtract 317 2 - 321: 82(fvec4) CompositeConstruct 318 319 320 152 - Store 302(pos) 321 - 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12 - 341: 340(ptr) AccessChain 104(ubo) 134 - 342: 84 Load 341 - 343: 340(ptr) AccessChain 104(ubo) 143 - 344: 84 Load 343 - 345: 84 MatrixTimesMatrix 342 344 - 346: 84 Load 260(gRotMat) - 347: 84 MatrixTimesMatrix 345 346 - 348: 82(fvec4) Load 302(pos) - 349: 82(fvec4) MatrixTimesVector 347 348 - 351: 350(ptr) AccessChain 338 134 - Store 351 349 - 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 353 353 12 12 - 357: 340(ptr) AccessChain 104(ubo) 143 - 358: 84 Load 357 - 359: 84 Load 260(gRotMat) - 360: 84 MatrixTimesMatrix 358 359 - 361: 82(fvec4) CompositeExtract 360 0 - 362: 32(fvec3) VectorShuffle 361 361 0 1 2 - 363: 82(fvec4) CompositeExtract 360 1 - 364: 32(fvec3) VectorShuffle 363 363 0 1 2 - 365: 82(fvec4) CompositeExtract 360 2 - 366: 32(fvec3) VectorShuffle 365 365 0 1 2 - 367: 127 CompositeConstruct 362 364 366 - 368: 127 Load 231(rotMat) - 369: 127 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 368 - 370: 127 MatrixTimesMatrix 367 369 - 374: 32(fvec3) Load 371(inNormal) - 375: 32(fvec3) MatrixTimesVector 370 374 - Store 354(outNormal) 375 - 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 377 377 12 12 - 378: 340(ptr) AccessChain 104(ubo) 143 - 379: 84 Load 378 - 380: 32(fvec3) Load 290(inPos) - 381: 32(fvec3) Load 313(instancePos) - 382: 32(fvec3) FAdd 380 381 - 383: 29(float) CompositeExtract 382 0 - 384: 29(float) CompositeExtract 382 1 - 385: 29(float) CompositeExtract 382 2 - 386: 82(fvec4) CompositeConstruct 383 384 385 152 - 387: 82(fvec4) MatrixTimesVector 379 386 - Store 302(pos) 387 - 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 389 389 12 12 - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 391 390(lPos) 75 - 394: 340(ptr) AccessChain 104(ubo) 143 - 395: 84 Load 394 - 396: 82(fvec4) CompositeExtract 395 0 - 397: 32(fvec3) VectorShuffle 396 396 0 1 2 - 398: 82(fvec4) CompositeExtract 395 1 - 399: 32(fvec3) VectorShuffle 398 398 0 1 2 - 400: 82(fvec4) CompositeExtract 395 2 - 401: 32(fvec3) VectorShuffle 400 400 0 1 2 - 402: 127 CompositeConstruct 397 399 401 - 404: 403(ptr) AccessChain 104(ubo) 151 - 405: 82(fvec4) Load 404 - 406: 32(fvec3) VectorShuffle 405 405 0 1 2 - 407: 32(fvec3) MatrixTimesVector 402 406 - Store 390(lPos) 407 - 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 409 409 12 12 - 413: 32(fvec3) Load 390(lPos) - 414: 82(fvec4) Load 302(pos) - 415: 32(fvec3) VectorShuffle 414 414 0 1 2 - 416: 32(fvec3) FSub 413 415 - Store 410(outLightVec) 416 - 417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 418 418 12 12 - 422: 82(fvec4) Load 302(pos) - 423: 32(fvec3) VectorShuffle 422 422 0 1 2 - 424: 32(fvec3) FNegate 423 - Store 419(outViewVec) 424 + 248: 110(ptr) AccessChain 106(ubo) 247 + 249: 29(float) Load 248 + 250: 29(float) FAdd 246 249 + 251: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 250 + Store 71(s) 251 + 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 253 253 12 12 + 254: 79(ptr) AccessChain 76(instanceRot) 22 + 255: 29(float) Load 254 + 256: 110(ptr) AccessChain 106(ubo) 247 + 257: 29(float) Load 256 + 258: 29(float) FAdd 255 257 + 259: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 258 + Store 117(c) 259 + 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 261 261 12 12 + 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 264 263(gRotMat) 75 + 267: 29(float) Load 117(c) + 268: 29(float) Load 71(s) + 269: 82(fvec4) CompositeConstruct 267 140 268 140 + 271: 270(ptr) AccessChain 263(gRotMat) 137 + Store 271 269 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 273 273 12 12 + 275: 270(ptr) AccessChain 263(gRotMat) 146 + Store 275 274 + 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 277 277 12 12 + 278: 29(float) Load 71(s) + 279: 29(float) FNegate 278 + 280: 29(float) Load 117(c) + 281: 82(fvec4) CompositeConstruct 279 140 280 140 + 282: 270(ptr) AccessChain 263(gRotMat) 154 + Store 282 281 + 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 284 284 12 12 + 286: 270(ptr) AccessChain 263(gRotMat) 109 + Store 286 285 + 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 288 288 12 12 + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 290 289(locPos) 75 + 296: 32(fvec3) Load 293(inPos) + 297: 129 Load 234(rotMat) + 298: 32(fvec3) VectorTimesMatrix 296 297 + 299: 29(float) CompositeExtract 298 0 + 300: 29(float) CompositeExtract 298 1 + 301: 29(float) CompositeExtract 298 2 + 302: 82(fvec4) CompositeConstruct 299 300 301 155 + Store 289(locPos) 302 + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 304 304 12 12 + 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 306 305(pos) 75 + 309: 82(fvec4) Load 289(locPos) + 310: 32(fvec3) VectorShuffle 309 309 0 1 2 + 314: 29(float) Load 311(instanceScale) + 315: 32(fvec3) VectorTimesScalar 310 314 + 319: 32(fvec3) Load 316(instancePos) + 320: 32(fvec3) FAdd 315 319 + 321: 29(float) CompositeExtract 320 0 + 322: 29(float) CompositeExtract 320 1 + 323: 29(float) CompositeExtract 320 2 + 324: 82(fvec4) CompositeConstruct 321 322 323 155 + Store 305(pos) 324 + 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 326 326 12 12 + 344: 343(ptr) AccessChain 106(ubo) 137 + 345: 84 Load 344 + 346: 343(ptr) AccessChain 106(ubo) 146 + 347: 84 Load 346 + 348: 84 MatrixTimesMatrix 345 347 + 349: 84 Load 263(gRotMat) + 350: 84 MatrixTimesMatrix 348 349 + 351: 82(fvec4) Load 305(pos) + 352: 82(fvec4) MatrixTimesVector 350 351 + 354: 353(ptr) AccessChain 341 137 + Store 354 352 + 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 356 356 12 12 + 360: 343(ptr) AccessChain 106(ubo) 146 + 361: 84 Load 360 + 362: 84 Load 263(gRotMat) + 363: 84 MatrixTimesMatrix 361 362 + 364: 82(fvec4) CompositeExtract 363 0 + 365: 32(fvec3) VectorShuffle 364 364 0 1 2 + 366: 82(fvec4) CompositeExtract 363 1 + 367: 32(fvec3) VectorShuffle 366 366 0 1 2 + 368: 82(fvec4) CompositeExtract 363 2 + 369: 32(fvec3) VectorShuffle 368 368 0 1 2 + 370: 129 CompositeConstruct 365 367 369 + 371: 129 Load 234(rotMat) + 372: 129 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 371 + 373: 129 MatrixTimesMatrix 370 372 + 377: 32(fvec3) Load 374(inNormal) + 378: 32(fvec3) MatrixTimesVector 373 377 + Store 357(outNormal) 378 + 379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 380 380 12 12 + 381: 343(ptr) AccessChain 106(ubo) 146 + 382: 84 Load 381 + 383: 32(fvec3) Load 293(inPos) + 384: 32(fvec3) Load 316(instancePos) + 385: 32(fvec3) FAdd 383 384 + 386: 29(float) CompositeExtract 385 0 + 387: 29(float) CompositeExtract 385 1 + 388: 29(float) CompositeExtract 385 2 + 389: 82(fvec4) CompositeConstruct 386 387 388 155 + 390: 82(fvec4) MatrixTimesVector 382 389 + Store 305(pos) 390 + 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 392 392 12 12 + 396: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 394 393(lPos) 75 + 397: 343(ptr) AccessChain 106(ubo) 146 + 398: 84 Load 397 + 399: 82(fvec4) CompositeExtract 398 0 + 400: 32(fvec3) VectorShuffle 399 399 0 1 2 + 401: 82(fvec4) CompositeExtract 398 1 + 402: 32(fvec3) VectorShuffle 401 401 0 1 2 + 403: 82(fvec4) CompositeExtract 398 2 + 404: 32(fvec3) VectorShuffle 403 403 0 1 2 + 405: 129 CompositeConstruct 400 402 404 + 407: 406(ptr) AccessChain 106(ubo) 154 + 408: 82(fvec4) Load 407 + 409: 32(fvec3) VectorShuffle 408 408 0 1 2 + 410: 32(fvec3) MatrixTimesVector 405 409 + Store 393(lPos) 410 + 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 412 412 12 12 + 416: 32(fvec3) Load 393(lPos) + 417: 82(fvec4) Load 305(pos) + 418: 32(fvec3) VectorShuffle 417 417 0 1 2 + 419: 32(fvec3) FSub 416 418 + Store 413(outLightVec) 419 + 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 421 421 12 12 + 425: 82(fvec4) Load 305(pos) + 426: 32(fvec3) VectorShuffle 425 425 0 1 2 + 427: 32(fvec3) FNegate 426 + Store 422(outViewVec) 427 Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.comp.out b/Test/baseResults/spv.debuginfo.hlsl.comp.out index 1845cfe075..5c0190a182 100644 --- a/Test/baseResults/spv.debuginfo.hlsl.comp.out +++ b/Test/baseResults/spv.debuginfo.hlsl.comp.out @@ -1,14 +1,14 @@ spv.debuginfo.hlsl.comp // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 978 +// Id's are bound by 1004 Capability Shader Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint GLCompute 6 "main" 973 + EntryPoint GLCompute 6 "main" 999 ExecutionMode 6 LocalSize 10 10 1 1: String "" 9: String "float" @@ -38,24 +38,24 @@ spv.debuginfo.hlsl.comp 117: String "ubo" 142: String "index" 165: String "bool" - 179: String "normal" - 186: String "pinned" - 190: String "Particle" - 195: String "@data" - 199: String "particleIn" - 221: String "particleOut" - 246: String "force" - 259: String "pos" - 269: String "vel" - 569: String "f" - 618: String "sphereDist" - 671: String "calculateNormals" - 675: String "PushConstants" - 678: String "pushConstants" - 681: String "$Global" - 721: String "a" - 734: String "b" - 751: String "c" + 180: String "normal" + 187: String "pinned" + 191: String "Particle" + 196: String "@data" + 200: String "particleIn" + 223: String "particleOut" + 248: String "force" + 261: String "pos" + 271: String "vel" + 587: String "f" + 636: String "sphereDist" + 690: String "calculateNormals" + 694: String "PushConstants" + 697: String "pushConstants" + 700: String "$Global" + 743: String "a" + 756: String "b" + 773: String "c" Name 6 "main" Name 27 "springForce(vf3;vf3;f1;" Name 24 "p0" @@ -80,59 +80,59 @@ spv.debuginfo.hlsl.comp MemberName 111(ubo) 0 "params" Name 119 "" Name 140 "index" - Name 177 "Particle" - MemberName 177(Particle) 0 "pos" - MemberName 177(Particle) 1 "vel" - MemberName 177(Particle) 2 "uv" - MemberName 177(Particle) 3 "normal" - MemberName 177(Particle) 4 "pinned" - Name 193 "particleIn" - MemberName 193(particleIn) 0 "@data" - Name 201 "particleIn" - Name 217 "particleOut" - MemberName 217(particleOut) 0 "@data" - Name 223 "particleOut" - Name 244 "force" - Name 257 "pos" - Name 267 "vel" - Name 288 "param" - Name 292 "param" - Name 294 "param" - Name 318 "param" + Name 178 "Particle" + MemberName 178(Particle) 0 "pos" + MemberName 178(Particle) 1 "vel" + MemberName 178(Particle) 2 "uv" + MemberName 178(Particle) 3 "normal" + MemberName 178(Particle) 4 "pinned" + Name 194 "particleIn" + MemberName 194(particleIn) 0 "@data" + Name 202 "particleIn" + Name 219 "particleOut" + MemberName 219(particleOut) 0 "@data" + Name 225 "particleOut" + Name 246 "force" + Name 259 "pos" + Name 269 "vel" + Name 291 "param" + Name 295 "param" + Name 297 "param" Name 322 "param" - Name 324 "param" - Name 352 "param" - Name 356 "param" - Name 358 "param" - Name 381 "param" - Name 385 "param" + Name 326 "param" + Name 328 "param" + Name 357 "param" + Name 361 "param" + Name 363 "param" Name 387 "param" - Name 422 "param" - Name 426 "param" - Name 428 "param" - Name 458 "param" - Name 462 "param" - Name 464 "param" - Name 502 "param" - Name 506 "param" - Name 508 "param" - Name 542 "param" - Name 546 "param" - Name 548 "param" - Name 567 "f" - Name 616 "sphereDist" - Name 669 "PushConstants" - MemberName 669(PushConstants) 0 "calculateNormals" - Name 676 "$Global" - MemberName 676($Global) 0 "pushConstants" - Name 683 "" - Name 695 "normal" - Name 719 "a" - Name 732 "b" - Name 749 "c" - Name 971 "id" - Name 973 "id" - Name 975 "param" + Name 391 "param" + Name 393 "param" + Name 431 "param" + Name 435 "param" + Name 437 "param" + Name 470 "param" + Name 474 "param" + Name 476 "param" + Name 517 "param" + Name 521 "param" + Name 523 "param" + Name 560 "param" + Name 564 "param" + Name 566 "param" + Name 585 "f" + Name 634 "sphereDist" + Name 688 "PushConstants" + MemberName 688(PushConstants) 0 "calculateNormals" + Name 695 "$Global" + MemberName 695($Global) 0 "pushConstants" + Name 702 "" + Name 715 "normal" + Name 741 "a" + Name 754 "b" + Name 771 "c" + Name 997 "id" + Name 999 "id" + Name 1001 "param" MemberDecorate 89(UBO) 0 Offset 0 MemberDecorate 89(UBO) 1 Offset 4 MemberDecorate 89(UBO) 2 Offset 8 @@ -148,28 +148,28 @@ spv.debuginfo.hlsl.comp Decorate 111(ubo) Block Decorate 119 DescriptorSet 0 Decorate 119 Binding 2 - MemberDecorate 177(Particle) 0 Offset 0 - MemberDecorate 177(Particle) 1 Offset 16 - MemberDecorate 177(Particle) 2 Offset 32 - MemberDecorate 177(Particle) 3 Offset 48 - MemberDecorate 177(Particle) 4 Offset 64 - Decorate 191 ArrayStride 80 - MemberDecorate 193(particleIn) 0 NonWritable - MemberDecorate 193(particleIn) 0 Offset 0 - Decorate 193(particleIn) BufferBlock - Decorate 201(particleIn) DescriptorSet 0 - Decorate 201(particleIn) Binding 0 - Decorate 215 ArrayStride 80 - MemberDecorate 217(particleOut) 0 Offset 0 - Decorate 217(particleOut) BufferBlock - Decorate 223(particleOut) DescriptorSet 0 - Decorate 223(particleOut) Binding 1 - MemberDecorate 669(PushConstants) 0 Offset 0 - MemberDecorate 676($Global) 0 Offset 0 - Decorate 676($Global) Block - Decorate 683 DescriptorSet 0 - Decorate 683 Binding 3 - Decorate 973(id) BuiltIn GlobalInvocationId + MemberDecorate 178(Particle) 0 Offset 0 + MemberDecorate 178(Particle) 1 Offset 16 + MemberDecorate 178(Particle) 2 Offset 32 + MemberDecorate 178(Particle) 3 Offset 48 + MemberDecorate 178(Particle) 4 Offset 64 + Decorate 192 ArrayStride 80 + MemberDecorate 194(particleIn) 0 NonWritable + MemberDecorate 194(particleIn) 0 Offset 0 + Decorate 194(particleIn) BufferBlock + Decorate 202(particleIn) DescriptorSet 0 + Decorate 202(particleIn) Binding 0 + Decorate 217 ArrayStride 80 + MemberDecorate 219(particleOut) 0 Offset 0 + Decorate 219(particleOut) BufferBlock + Decorate 225(particleOut) DescriptorSet 0 + Decorate 225(particleOut) Binding 1 + MemberDecorate 688(PushConstants) 0 Offset 0 + MemberDecorate 695($Global) 0 Offset 0 + Decorate 695($Global) Block + Decorate 702 DescriptorSet 0 + Decorate 702 Binding 3 + Decorate 999(id) BuiltIn GlobalInvocationId 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -253,168 +253,194 @@ spv.debuginfo.hlsl.comp 156: 11(int) Constant 84 164: TypeBool 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 172: 11(int) Constant 85 - 176: 11(int) Constant 88 - 177(Particle): TypeStruct 82(fvec4) 82(fvec4) 82(fvec4) 82(fvec4) 8(float) - 180: 11(int) Constant 30 - 181: 11(int) Constant 15 - 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 179 83 31 180 181 16 16 17 - 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 179 83 31 180 181 16 16 17 - 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 179 83 31 180 181 16 16 17 - 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 179 83 31 180 181 16 16 17 - 187: 11(int) Constant 31 - 188: 11(int) Constant 14 - 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 186 10 31 187 188 16 16 17 - 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 190 35 31 176 16 34 190 16 17 178 182 183 184 185 - 191: TypeRuntimeArray 177(Particle) - 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 189 16 - 193(particleIn): TypeStruct 191 - 196: 11(int) Constant 35 - 197: 11(int) Constant 28 - 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 195 192 31 196 197 16 16 17 - 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 199 35 31 176 16 34 199 16 17 194 - 200: TypePointer Uniform 193(particleIn) - 201(particleIn): 200(ptr) Variable Uniform - 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 199 198 31 176 16 34 199 201(particleIn) 121 - 204: 84(int) Constant 4 - 207: 8(float) Constant 1065353216 - 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 214: 11(int) Constant 89 - 215: TypeRuntimeArray 177(Particle) - 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 189 16 -217(particleOut): TypeStruct 215 - 219: 11(int) Constant 37 - 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 195 216 31 219 180 16 16 17 - 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 221 35 31 214 16 34 221 16 17 218 - 222: TypePointer Uniform 217(particleOut) -223(particleOut): 222(ptr) Variable Uniform - 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 221 220 31 214 16 34 221 223(particleOut) 121 - 227: TypePointer Uniform 82(fvec4) - 232: 11(int) Constant 90 - 234: 84(int) Constant 1 - 235: 8(float) Constant 0 - 236: 82(fvec4) ConstantComposite 235 235 235 235 - 239: 11(int) Constant 91 - 243: 11(int) Constant 95 - 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 246 19 31 243 16 60 36 - 248: 84(int) Constant 9 - 256: 11(int) Constant 97 - 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 259 19 31 256 16 60 36 - 266: 11(int) Constant 98 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 269 19 31 266 16 60 36 - 276: 11(int) Constant 102 - 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 285: 11(int) Constant 103 - 302: 11(int) Constant 106 - 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 315: 11(int) Constant 107 - 332: 11(int) Constant 110 - 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 345: 11(int) Constant 111 - 351: 84(int) Constant 5 - 366: 11(int) Constant 114 - 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 375: 11(int) Constant 115 - 395: 11(int) Constant 118 - 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 173: 11(int) Constant 85 + 177: 11(int) Constant 88 + 178(Particle): TypeStruct 82(fvec4) 82(fvec4) 82(fvec4) 82(fvec4) 8(float) + 181: 11(int) Constant 30 + 182: 11(int) Constant 15 + 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 83 31 181 182 16 16 17 + 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 83 31 181 182 16 16 17 + 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 83 31 181 182 16 16 17 + 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 83 31 181 182 16 16 17 + 188: 11(int) Constant 31 + 189: 11(int) Constant 14 + 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 187 10 31 188 189 16 16 17 + 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 191 35 31 177 16 34 191 16 17 179 183 184 185 186 + 192: TypeRuntimeArray 178(Particle) + 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 190 16 + 194(particleIn): TypeStruct 192 + 197: 11(int) Constant 35 + 198: 11(int) Constant 28 + 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 196 193 31 197 198 16 16 17 + 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 200 35 31 177 16 34 200 16 17 195 + 201: TypePointer Uniform 194(particleIn) + 202(particleIn): 201(ptr) Variable Uniform + 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 200 199 31 177 16 34 200 202(particleIn) 121 + 205: 84(int) Constant 4 + 208: 8(float) Constant 1065353216 + 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 216: 11(int) Constant 89 + 217: TypeRuntimeArray 178(Particle) + 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 190 16 +219(particleOut): TypeStruct 217 + 221: 11(int) Constant 37 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 196 218 31 221 181 16 16 17 + 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 223 35 31 216 16 34 223 16 17 220 + 224: TypePointer Uniform 219(particleOut) +225(particleOut): 224(ptr) Variable Uniform + 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 223 222 31 216 16 34 223 225(particleOut) 121 + 229: TypePointer Uniform 82(fvec4) + 234: 11(int) Constant 90 + 236: 84(int) Constant 1 + 237: 8(float) Constant 0 + 238: 82(fvec4) ConstantComposite 237 237 237 237 + 241: 11(int) Constant 91 + 245: 11(int) Constant 95 + 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 248 19 31 245 16 60 36 + 250: 84(int) Constant 9 + 258: 11(int) Constant 97 + 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 261 19 31 258 16 60 36 + 268: 11(int) Constant 98 + 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 271 19 31 268 16 60 36 + 278: 11(int) Constant 102 + 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 288: 11(int) Constant 103 + 305: 11(int) Constant 106 + 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 319: 11(int) Constant 107 + 336: 11(int) Constant 110 + 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 350: 11(int) Constant 111 + 356: 84(int) Constant 5 + 371: 11(int) Constant 114 + 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 381: 11(int) Constant 115 + 401: 11(int) Constant 118 + 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 414: 11(int) Constant 119 - 421: 84(int) Constant 6 - 436: 11(int) Constant 122 - 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 451: 11(int) Constant 123 - 472: 11(int) Constant 126 - 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 495: 11(int) Constant 127 - 516: 11(int) Constant 130 - 523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 535: 11(int) Constant 131 - 556: 11(int) Constant 134 - 557: 84(int) Constant 3 - 566: 11(int) Constant 137 - 568: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 569 19 31 566 16 60 36 - 577: 11(int) Constant 138 - 585: 8(float) Constant 1056964608 - 601: 11(int) Constant 139 - 615: 11(int) Constant 142 - 617: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 618 19 31 615 16 60 36 - 624: 84(int) Constant 8 - 630: 11(int) Constant 143 - 633: 84(int) Constant 7 - 636: 8(float) Constant 1008981770 - 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 644: 11(int) Constant 145 - 663: 11(int) Constant 147 - 668: 11(int) Constant 151 -669(PushConstants): TypeStruct 11(int) - 672: 11(int) Constant 67 - 673: 11(int) Constant 23 - 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 671 13 31 672 673 16 16 17 - 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 675 35 31 668 16 34 675 16 17 670 - 676($Global): TypeStruct 669(PushConstants) - 679: 11(int) Constant 71 - 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 678 674 31 679 181 16 16 17 - 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 681 35 31 668 16 34 681 16 17 677 - 682: TypePointer Uniform 676($Global) - 683: 682(ptr) Variable Uniform - 684: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 680 31 668 16 34 1 683 121 - 685: TypePointer Uniform 11(int) - 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 694: 11(int) Constant 152 - 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 19 31 694 16 60 36 - 698: 18(fvec3) ConstantComposite 235 235 235 - 700: 11(int) Constant 154 - 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 709: 11(int) Constant 155 - 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 718: 11(int) Constant 156 - 720: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 721 19 31 718 16 60 36 - 731: 11(int) Constant 157 - 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 734 19 31 731 16 60 36 - 748: 11(int) Constant 158 - 750: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 751 19 31 748 16 60 36 - 764: 11(int) Constant 159 - 776: 11(int) Constant 161 - 783: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 789: 11(int) Constant 162 - 801: 11(int) Constant 163 - 814: 11(int) Constant 164 - 823: 11(int) Constant 165 - 835: 11(int) Constant 168 - 842: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 848: 11(int) Constant 169 - 851: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 857: 11(int) Constant 170 - 869: 11(int) Constant 171 - 882: 11(int) Constant 172 - 891: 11(int) Constant 173 - 903: 11(int) Constant 175 - 910: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 - 916: 11(int) Constant 176 - 925: 11(int) Constant 177 - 938: 11(int) Constant 178 - 950: 11(int) Constant 179 - 962: 11(int) Constant 182 - 972: TypePointer Input 51(ivec3) - 973(id): 972(ptr) Variable Input + 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 423: 11(int) Constant 119 + 430: 84(int) Constant 6 + 445: 11(int) Constant 122 + 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 458: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 463: 11(int) Constant 123 + 484: 11(int) Constant 126 + 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 503: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 510: 11(int) Constant 127 + 531: 11(int) Constant 130 + 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 543: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 553: 11(int) Constant 131 + 574: 11(int) Constant 134 + 575: 84(int) Constant 3 + 584: 11(int) Constant 137 + 586: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 587 19 31 584 16 60 36 + 595: 11(int) Constant 138 + 603: 8(float) Constant 1056964608 + 619: 11(int) Constant 139 + 633: 11(int) Constant 142 + 635: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 636 19 31 633 16 60 36 + 642: 84(int) Constant 8 + 648: 11(int) Constant 143 + 651: 84(int) Constant 7 + 654: 8(float) Constant 1008981770 + 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 663: 11(int) Constant 145 + 682: 11(int) Constant 147 + 687: 11(int) Constant 151 +688(PushConstants): TypeStruct 11(int) + 691: 11(int) Constant 67 + 692: 11(int) Constant 23 + 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 690 13 31 691 692 16 16 17 + 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 694 35 31 687 16 34 694 16 17 689 + 695($Global): TypeStruct 688(PushConstants) + 698: 11(int) Constant 71 + 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 697 693 31 698 182 16 16 17 + 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 700 35 31 687 16 34 700 16 17 696 + 701: TypePointer Uniform 695($Global) + 702: 701(ptr) Variable Uniform + 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 699 31 687 16 34 1 702 121 + 704: TypePointer Uniform 11(int) + 707: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 714: 11(int) Constant 152 + 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 180 19 31 714 16 60 36 + 718: 18(fvec3) ConstantComposite 237 237 237 + 720: 11(int) Constant 154 + 723: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 725: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 730: 11(int) Constant 155 + 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 735: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 740: 11(int) Constant 156 + 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 743 19 31 740 16 60 36 + 753: 11(int) Constant 157 + 755: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 756 19 31 753 16 60 36 + 770: 11(int) Constant 158 + 772: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 773 19 31 770 16 60 36 + 786: 11(int) Constant 159 + 798: 11(int) Constant 161 + 805: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 807: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 812: 11(int) Constant 162 + 824: 11(int) Constant 163 + 837: 11(int) Constant 164 + 846: 11(int) Constant 165 + 858: 11(int) Constant 168 + 865: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 867: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 872: 11(int) Constant 169 + 875: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 877: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 882: 11(int) Constant 170 + 894: 11(int) Constant 171 + 907: 11(int) Constant 172 + 916: 11(int) Constant 173 + 928: 11(int) Constant 175 + 935: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 937: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 + 942: 11(int) Constant 176 + 951: 11(int) Constant 177 + 964: 11(int) Constant 178 + 976: 11(int) Constant 179 + 988: 11(int) Constant 182 + 998: TypePointer Input 51(ivec3) + 999(id): 998(ptr) Variable Input Line 1 82 1 6(main): 4 Function None 5 7: Label - 971(id): 53(ptr) Variable Function - 975(param): 53(ptr) Variable Function + 997(id): 53(ptr) Variable Function + 1001(param): 53(ptr) Variable Function Line 1 82 0 - 974: 51(ivec3) Load 973(id) - Store 971(id) 974 - 976: 51(ivec3) Load 971(id) - Store 975(param) 976 - 977: 4 FunctionCall 57(@main(vu3;) 975(param) + 1000: 51(ivec3) Load 999(id) + Store 997(id) 1000 + 1002: 51(ivec3) Load 997(id) + Store 1001(param) 1002 + 1003: 4 FunctionCall 57(@main(vu3;) 1001(param) Return FunctionEnd Line 1 75 1 @@ -455,39 +481,39 @@ spv.debuginfo.hlsl.comp 56(id): 53(ptr) FunctionParameter 58: Label 140(index): 139(ptr) Variable Function - 244(force): 20(ptr) Variable Function - 257(pos): 20(ptr) Variable Function - 267(vel): 20(ptr) Variable Function - 288(param): 20(ptr) Variable Function - 292(param): 20(ptr) Variable Function - 294(param): 21(ptr) Variable Function - 318(param): 20(ptr) Variable Function + 246(force): 20(ptr) Variable Function + 259(pos): 20(ptr) Variable Function + 269(vel): 20(ptr) Variable Function + 291(param): 20(ptr) Variable Function + 295(param): 20(ptr) Variable Function + 297(param): 21(ptr) Variable Function 322(param): 20(ptr) Variable Function - 324(param): 21(ptr) Variable Function - 352(param): 20(ptr) Variable Function - 356(param): 20(ptr) Variable Function - 358(param): 21(ptr) Variable Function - 381(param): 20(ptr) Variable Function - 385(param): 20(ptr) Variable Function - 387(param): 21(ptr) Variable Function - 422(param): 20(ptr) Variable Function - 426(param): 20(ptr) Variable Function - 428(param): 21(ptr) Variable Function - 458(param): 20(ptr) Variable Function - 462(param): 20(ptr) Variable Function - 464(param): 21(ptr) Variable Function - 502(param): 20(ptr) Variable Function - 506(param): 20(ptr) Variable Function - 508(param): 21(ptr) Variable Function - 542(param): 20(ptr) Variable Function - 546(param): 20(ptr) Variable Function - 548(param): 21(ptr) Variable Function - 567(f): 20(ptr) Variable Function - 616(sphereDist): 20(ptr) Variable Function - 695(normal): 20(ptr) Variable Function - 719(a): 20(ptr) Variable Function - 732(b): 20(ptr) Variable Function - 749(c): 20(ptr) Variable Function + 326(param): 20(ptr) Variable Function + 328(param): 21(ptr) Variable Function + 357(param): 20(ptr) Variable Function + 361(param): 20(ptr) Variable Function + 363(param): 21(ptr) Variable Function + 387(param): 20(ptr) Variable Function + 391(param): 20(ptr) Variable Function + 393(param): 21(ptr) Variable Function + 431(param): 20(ptr) Variable Function + 435(param): 20(ptr) Variable Function + 437(param): 21(ptr) Variable Function + 470(param): 20(ptr) Variable Function + 474(param): 20(ptr) Variable Function + 476(param): 21(ptr) Variable Function + 517(param): 20(ptr) Variable Function + 521(param): 20(ptr) Variable Function + 523(param): 21(ptr) Variable Function + 560(param): 20(ptr) Variable Function + 564(param): 20(ptr) Variable Function + 566(param): 21(ptr) Variable Function + 585(f): 20(ptr) Variable Function + 634(sphereDist): 20(ptr) Variable Function + 715(normal): 20(ptr) Variable Function + 741(a): 20(ptr) Variable Function + 754(b): 20(ptr) Variable Function + 771(c): 20(ptr) Variable Function 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 61 61 16 16 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 64 56(id) 43 @@ -514,724 +540,724 @@ spv.debuginfo.hlsl.comp 162: 84(int) IMul 159 161 163: 11(int) Bitcast 162 167: 164(bool) UGreaterThan 157 163 - SelectionMerge 169 None - BranchConditional 167 168 169 - 168: Label - 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 172 172 16 16 + SelectionMerge 170 None + BranchConditional 167 169 170 + 169: Label + 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 173 173 16 16 Return - 169: Label - 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 176 176 16 16 - 203: 11(int) Load 140(index) - 205: 124(ptr) AccessChain 201(particleIn) 122 203 204 - 206: 8(float) Load 205 - 209: 164(bool) FOrdEqual 206 207 - SelectionMerge 211 None - BranchConditional 209 210 211 - 210: Label - 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 214 214 16 16 - 225: 11(int) Load 140(index) - 226: 11(int) Load 140(index) - 228: 227(ptr) AccessChain 223(particleOut) 122 226 122 - 229: 82(fvec4) Load 228 - 230: 227(ptr) AccessChain 223(particleOut) 122 225 122 - Store 230 229 - 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 232 232 16 16 - 233: 11(int) Load 140(index) - 237: 227(ptr) AccessChain 223(particleOut) 122 233 234 - Store 237 236 - 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 239 239 16 16 + 170: Label + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 177 177 16 16 + 204: 11(int) Load 140(index) + 206: 124(ptr) AccessChain 202(particleIn) 122 204 205 + 207: 8(float) Load 206 + 210: 164(bool) FOrdEqual 207 208 + SelectionMerge 213 None + BranchConditional 210 212 213 + 212: Label + 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 216 216 16 16 + 227: 11(int) Load 140(index) + 228: 11(int) Load 140(index) + 230: 229(ptr) AccessChain 225(particleOut) 122 228 122 + 231: 82(fvec4) Load 230 + 232: 229(ptr) AccessChain 225(particleOut) 122 227 122 + Store 232 231 + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 234 234 16 16 + 235: 11(int) Load 140(index) + 239: 229(ptr) AccessChain 225(particleOut) 122 235 236 + Store 239 238 + 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 241 241 16 16 Return - 211: Label - 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 243 243 16 16 - 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 245 244(force) 43 - 249: 227(ptr) AccessChain 119 122 248 - 250: 82(fvec4) Load 249 - 251: 18(fvec3) VectorShuffle 250 250 0 1 2 - 252: 124(ptr) AccessChain 119 122 234 - 253: 8(float) Load 252 - 254: 18(fvec3) VectorTimesScalar 251 253 - Store 244(force) 254 - 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 256 256 16 16 - 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 258 257(pos) 43 - 261: 11(int) Load 140(index) - 262: 227(ptr) AccessChain 201(particleIn) 122 261 122 - 263: 82(fvec4) Load 262 - 264: 18(fvec3) VectorShuffle 263 263 0 1 2 - Store 257(pos) 264 - 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 266 266 16 16 - 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 268 267(vel) 43 - 271: 11(int) Load 140(index) - 272: 227(ptr) AccessChain 201(particleIn) 122 271 234 - 273: 82(fvec4) Load 272 - 274: 18(fvec3) VectorShuffle 273 273 0 1 2 - Store 267(vel) 274 - 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 276 276 16 16 - 277: 139(ptr) AccessChain 56(id) 16 - 278: 11(int) Load 277 - 280: 164(bool) UGreaterThan 278 16 - SelectionMerge 282 None - BranchConditional 280 281 282 - 281: Label - 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 285 285 16 16 - 286: 11(int) Load 140(index) - 287: 11(int) ISub 286 35 - 289: 227(ptr) AccessChain 201(particleIn) 122 287 122 - 290: 82(fvec4) Load 289 - 291: 18(fvec3) VectorShuffle 290 290 0 1 2 - Store 288(param) 291 - 293: 18(fvec3) Load 257(pos) - Store 292(param) 293 - 295: 124(ptr) AccessChain 119 122 204 - 296: 8(float) Load 295 - Store 294(param) 296 - 297: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 288(param) 292(param) 294(param) - 298: 18(fvec3) Load 244(force) - 299: 18(fvec3) FAdd 298 297 - Store 244(force) 299 - Branch 282 - 282: Label - 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 302 302 16 16 - 303: 139(ptr) AccessChain 56(id) 16 - 304: 11(int) Load 303 - 305: 147(ptr) AccessChain 119 122 146 16 - 306: 84(int) Load 305 - 307: 84(int) ISub 306 234 - 308: 11(int) Bitcast 307 - 310: 164(bool) ULessThan 304 308 - SelectionMerge 312 None - BranchConditional 310 311 312 - 311: Label - 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 315 315 16 16 - 316: 11(int) Load 140(index) - 317: 11(int) IAdd 316 35 - 319: 227(ptr) AccessChain 201(particleIn) 122 317 122 - 320: 82(fvec4) Load 319 - 321: 18(fvec3) VectorShuffle 320 320 0 1 2 - Store 318(param) 321 - 323: 18(fvec3) Load 257(pos) - Store 322(param) 323 - 325: 124(ptr) AccessChain 119 122 204 - 326: 8(float) Load 325 - Store 324(param) 326 - 327: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 318(param) 322(param) 324(param) - 328: 18(fvec3) Load 244(force) - 329: 18(fvec3) FAdd 328 327 - Store 244(force) 329 - Branch 312 - 312: Label - 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 332 332 16 16 - 333: 139(ptr) AccessChain 56(id) 35 - 334: 11(int) Load 333 - 335: 147(ptr) AccessChain 119 122 146 35 - 336: 84(int) Load 335 - 337: 84(int) ISub 336 234 - 338: 11(int) Bitcast 337 - 340: 164(bool) ULessThan 334 338 - SelectionMerge 342 None - BranchConditional 340 341 342 - 341: Label - 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 345 345 16 16 - 346: 11(int) Load 140(index) - 347: 147(ptr) AccessChain 119 122 146 16 - 348: 84(int) Load 347 - 349: 11(int) Bitcast 348 - 350: 11(int) IAdd 346 349 - 353: 227(ptr) AccessChain 201(particleIn) 122 350 122 - 354: 82(fvec4) Load 353 - 355: 18(fvec3) VectorShuffle 354 354 0 1 2 - Store 352(param) 355 - 357: 18(fvec3) Load 257(pos) - Store 356(param) 357 - 359: 124(ptr) AccessChain 119 122 351 - 360: 8(float) Load 359 - Store 358(param) 360 - 361: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 352(param) 356(param) 358(param) - 362: 18(fvec3) Load 244(force) - 363: 18(fvec3) FAdd 362 361 - Store 244(force) 363 - Branch 342 - 342: Label - 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 366 366 16 16 - 367: 139(ptr) AccessChain 56(id) 35 - 368: 11(int) Load 367 - 370: 164(bool) UGreaterThan 368 16 - SelectionMerge 372 None - BranchConditional 370 371 372 - 371: Label - 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 375 375 16 16 - 376: 11(int) Load 140(index) - 377: 147(ptr) AccessChain 119 122 146 16 - 378: 84(int) Load 377 - 379: 11(int) Bitcast 378 - 380: 11(int) ISub 376 379 - 382: 227(ptr) AccessChain 201(particleIn) 122 380 122 - 383: 82(fvec4) Load 382 - 384: 18(fvec3) VectorShuffle 383 383 0 1 2 - Store 381(param) 384 - 386: 18(fvec3) Load 257(pos) - Store 385(param) 386 - 388: 124(ptr) AccessChain 119 122 351 - 389: 8(float) Load 388 - Store 387(param) 389 - 390: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 381(param) 385(param) 387(param) - 391: 18(fvec3) Load 244(force) - 392: 18(fvec3) FAdd 391 390 - Store 244(force) 392 - Branch 372 - 372: Label - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 395 395 16 16 - 396: 139(ptr) AccessChain 56(id) 16 - 397: 11(int) Load 396 - 399: 164(bool) UGreaterThan 397 16 - 400: 139(ptr) AccessChain 56(id) 35 - 401: 11(int) Load 400 - 402: 147(ptr) AccessChain 119 122 146 35 - 403: 84(int) Load 402 - 404: 84(int) ISub 403 234 - 405: 11(int) Bitcast 404 - 407: 164(bool) ULessThan 401 405 - 409: 164(bool) LogicalAnd 399 407 - SelectionMerge 411 None - BranchConditional 409 410 411 - 410: Label - 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 414 414 16 16 - 415: 11(int) Load 140(index) - 416: 147(ptr) AccessChain 119 122 146 16 - 417: 84(int) Load 416 - 418: 11(int) Bitcast 417 - 419: 11(int) IAdd 415 418 - 420: 11(int) ISub 419 35 - 423: 227(ptr) AccessChain 201(particleIn) 122 420 122 - 424: 82(fvec4) Load 423 - 425: 18(fvec3) VectorShuffle 424 424 0 1 2 - Store 422(param) 425 - 427: 18(fvec3) Load 257(pos) - Store 426(param) 427 - 429: 124(ptr) AccessChain 119 122 421 - 430: 8(float) Load 429 - Store 428(param) 430 - 431: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 422(param) 426(param) 428(param) - 432: 18(fvec3) Load 244(force) - 433: 18(fvec3) FAdd 432 431 - Store 244(force) 433 - Branch 411 - 411: Label - 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 436 436 16 16 - 437: 139(ptr) AccessChain 56(id) 16 - 438: 11(int) Load 437 - 440: 164(bool) UGreaterThan 438 16 - 441: 139(ptr) AccessChain 56(id) 35 - 442: 11(int) Load 441 - 444: 164(bool) UGreaterThan 442 16 - 446: 164(bool) LogicalAnd 440 444 - SelectionMerge 448 None - BranchConditional 446 447 448 - 447: Label - 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 451 451 16 16 - 452: 11(int) Load 140(index) - 453: 147(ptr) AccessChain 119 122 146 16 - 454: 84(int) Load 453 - 455: 11(int) Bitcast 454 - 456: 11(int) ISub 452 455 - 457: 11(int) ISub 456 35 - 459: 227(ptr) AccessChain 201(particleIn) 122 457 122 - 460: 82(fvec4) Load 459 - 461: 18(fvec3) VectorShuffle 460 460 0 1 2 - Store 458(param) 461 - 463: 18(fvec3) Load 257(pos) - Store 462(param) 463 - 465: 124(ptr) AccessChain 119 122 421 - 466: 8(float) Load 465 - Store 464(param) 466 - 467: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 458(param) 462(param) 464(param) - 468: 18(fvec3) Load 244(force) - 469: 18(fvec3) FAdd 468 467 - Store 244(force) 469 - Branch 448 - 448: Label - 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 472 472 16 16 - 473: 139(ptr) AccessChain 56(id) 16 - 474: 11(int) Load 473 - 475: 147(ptr) AccessChain 119 122 146 16 - 476: 84(int) Load 475 - 477: 84(int) ISub 476 234 - 478: 11(int) Bitcast 477 - 480: 164(bool) ULessThan 474 478 - 481: 139(ptr) AccessChain 56(id) 35 - 482: 11(int) Load 481 - 483: 147(ptr) AccessChain 119 122 146 35 - 484: 84(int) Load 483 - 485: 84(int) ISub 484 234 - 486: 11(int) Bitcast 485 - 488: 164(bool) ULessThan 482 486 - 490: 164(bool) LogicalAnd 480 488 - SelectionMerge 492 None - BranchConditional 490 491 492 - 491: Label - 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 495 495 16 16 - 496: 11(int) Load 140(index) - 497: 147(ptr) AccessChain 119 122 146 16 - 498: 84(int) Load 497 - 499: 11(int) Bitcast 498 - 500: 11(int) IAdd 496 499 - 501: 11(int) IAdd 500 35 - 503: 227(ptr) AccessChain 201(particleIn) 122 501 122 - 504: 82(fvec4) Load 503 - 505: 18(fvec3) VectorShuffle 504 504 0 1 2 - Store 502(param) 505 - 507: 18(fvec3) Load 257(pos) - Store 506(param) 507 - 509: 124(ptr) AccessChain 119 122 421 - 510: 8(float) Load 509 - Store 508(param) 510 - 511: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 502(param) 506(param) 508(param) - 512: 18(fvec3) Load 244(force) - 513: 18(fvec3) FAdd 512 511 - Store 244(force) 513 - Branch 492 - 492: Label - 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 516 516 16 16 - 517: 139(ptr) AccessChain 56(id) 16 - 518: 11(int) Load 517 - 519: 147(ptr) AccessChain 119 122 146 16 - 520: 84(int) Load 519 - 521: 84(int) ISub 520 234 - 522: 11(int) Bitcast 521 - 524: 164(bool) ULessThan 518 522 - 525: 139(ptr) AccessChain 56(id) 35 - 526: 11(int) Load 525 - 528: 164(bool) UGreaterThan 526 16 - 530: 164(bool) LogicalAnd 524 528 - SelectionMerge 532 None - BranchConditional 530 531 532 - 531: Label - 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 535 535 16 16 - 536: 11(int) Load 140(index) - 537: 147(ptr) AccessChain 119 122 146 16 - 538: 84(int) Load 537 - 539: 11(int) Bitcast 538 - 540: 11(int) ISub 536 539 - 541: 11(int) IAdd 540 35 - 543: 227(ptr) AccessChain 201(particleIn) 122 541 122 - 544: 82(fvec4) Load 543 - 545: 18(fvec3) VectorShuffle 544 544 0 1 2 - Store 542(param) 545 - 547: 18(fvec3) Load 257(pos) - Store 546(param) 547 - 549: 124(ptr) AccessChain 119 122 421 - 550: 8(float) Load 549 - Store 548(param) 550 - 551: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 542(param) 546(param) 548(param) - 552: 18(fvec3) Load 244(force) - 553: 18(fvec3) FAdd 552 551 - Store 244(force) 553 - Branch 532 - 532: Label - 554: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 555: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 556 556 16 16 - 558: 124(ptr) AccessChain 119 122 557 - 559: 8(float) Load 558 - 560: 8(float) FNegate 559 - 561: 18(fvec3) Load 267(vel) - 562: 18(fvec3) VectorTimesScalar 561 560 - 563: 18(fvec3) Load 244(force) - 564: 18(fvec3) FAdd 563 562 - Store 244(force) 564 - 565: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 566 566 16 16 - 570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 568 567(f) 43 - 571: 18(fvec3) Load 244(force) - 572: 124(ptr) AccessChain 119 122 234 - 573: 8(float) Load 572 - 574: 8(float) FDiv 207 573 - 575: 18(fvec3) VectorTimesScalar 571 574 - Store 567(f) 575 - 576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 577 577 16 16 - 578: 11(int) Load 140(index) - 579: 18(fvec3) Load 257(pos) - 580: 18(fvec3) Load 267(vel) - 581: 124(ptr) AccessChain 119 122 122 - 582: 8(float) Load 581 - 583: 18(fvec3) VectorTimesScalar 580 582 - 584: 18(fvec3) FAdd 579 583 - 586: 18(fvec3) Load 567(f) - 587: 18(fvec3) VectorTimesScalar 586 585 - 588: 124(ptr) AccessChain 119 122 122 - 589: 8(float) Load 588 - 590: 18(fvec3) VectorTimesScalar 587 589 - 591: 124(ptr) AccessChain 119 122 122 - 592: 8(float) Load 591 - 593: 18(fvec3) VectorTimesScalar 590 592 - 594: 18(fvec3) FAdd 584 593 - 595: 8(float) CompositeExtract 594 0 - 596: 8(float) CompositeExtract 594 1 - 597: 8(float) CompositeExtract 594 2 - 598: 82(fvec4) CompositeConstruct 595 596 597 207 - 599: 227(ptr) AccessChain 223(particleOut) 122 578 122 - Store 599 598 - 600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 601 601 16 16 - 602: 11(int) Load 140(index) - 603: 18(fvec3) Load 267(vel) - 604: 18(fvec3) Load 567(f) - 605: 124(ptr) AccessChain 119 122 122 - 606: 8(float) Load 605 - 607: 18(fvec3) VectorTimesScalar 604 606 - 608: 18(fvec3) FAdd 603 607 - 609: 8(float) CompositeExtract 608 0 - 610: 8(float) CompositeExtract 608 1 - 611: 8(float) CompositeExtract 608 2 - 612: 82(fvec4) CompositeConstruct 609 610 611 235 - 613: 227(ptr) AccessChain 223(particleOut) 122 602 234 - Store 613 612 - 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 615 615 16 16 - 619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 617 616(sphereDist) 43 + 213: Label + 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 245 245 16 16 + 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 247 246(force) 43 + 251: 229(ptr) AccessChain 119 122 250 + 252: 82(fvec4) Load 251 + 253: 18(fvec3) VectorShuffle 252 252 0 1 2 + 254: 124(ptr) AccessChain 119 122 236 + 255: 8(float) Load 254 + 256: 18(fvec3) VectorTimesScalar 253 255 + Store 246(force) 256 + 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 258 258 16 16 + 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 260 259(pos) 43 + 263: 11(int) Load 140(index) + 264: 229(ptr) AccessChain 202(particleIn) 122 263 122 + 265: 82(fvec4) Load 264 + 266: 18(fvec3) VectorShuffle 265 265 0 1 2 + Store 259(pos) 266 + 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 268 268 16 16 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 270 269(vel) 43 + 273: 11(int) Load 140(index) + 274: 229(ptr) AccessChain 202(particleIn) 122 273 236 + 275: 82(fvec4) Load 274 + 276: 18(fvec3) VectorShuffle 275 275 0 1 2 + Store 269(vel) 276 + 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 278 278 16 16 + 279: 139(ptr) AccessChain 56(id) 16 + 280: 11(int) Load 279 + 282: 164(bool) UGreaterThan 280 16 + SelectionMerge 285 None + BranchConditional 282 284 285 + 284: Label + 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 288 288 16 16 + 289: 11(int) Load 140(index) + 290: 11(int) ISub 289 35 + 292: 229(ptr) AccessChain 202(particleIn) 122 290 122 + 293: 82(fvec4) Load 292 + 294: 18(fvec3) VectorShuffle 293 293 0 1 2 + Store 291(param) 294 + 296: 18(fvec3) Load 259(pos) + Store 295(param) 296 + 298: 124(ptr) AccessChain 119 122 205 + 299: 8(float) Load 298 + Store 297(param) 299 + 300: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 291(param) 295(param) 297(param) + 301: 18(fvec3) Load 246(force) + 302: 18(fvec3) FAdd 301 300 + Store 246(force) 302 + Branch 285 + 285: Label + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 305 305 16 16 + 306: 139(ptr) AccessChain 56(id) 16 + 307: 11(int) Load 306 + 308: 147(ptr) AccessChain 119 122 146 16 + 309: 84(int) Load 308 + 310: 84(int) ISub 309 236 + 311: 11(int) Bitcast 310 + 313: 164(bool) ULessThan 307 311 + SelectionMerge 316 None + BranchConditional 313 315 316 + 315: Label + 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 319 319 16 16 + 320: 11(int) Load 140(index) + 321: 11(int) IAdd 320 35 + 323: 229(ptr) AccessChain 202(particleIn) 122 321 122 + 324: 82(fvec4) Load 323 + 325: 18(fvec3) VectorShuffle 324 324 0 1 2 + Store 322(param) 325 + 327: 18(fvec3) Load 259(pos) + Store 326(param) 327 + 329: 124(ptr) AccessChain 119 122 205 + 330: 8(float) Load 329 + Store 328(param) 330 + 331: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 322(param) 326(param) 328(param) + 332: 18(fvec3) Load 246(force) + 333: 18(fvec3) FAdd 332 331 + Store 246(force) 333 + Branch 316 + 316: Label + 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 336 336 16 16 + 337: 139(ptr) AccessChain 56(id) 35 + 338: 11(int) Load 337 + 339: 147(ptr) AccessChain 119 122 146 35 + 340: 84(int) Load 339 + 341: 84(int) ISub 340 236 + 342: 11(int) Bitcast 341 + 344: 164(bool) ULessThan 338 342 + SelectionMerge 347 None + BranchConditional 344 346 347 + 346: Label + 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 350 350 16 16 + 351: 11(int) Load 140(index) + 352: 147(ptr) AccessChain 119 122 146 16 + 353: 84(int) Load 352 + 354: 11(int) Bitcast 353 + 355: 11(int) IAdd 351 354 + 358: 229(ptr) AccessChain 202(particleIn) 122 355 122 + 359: 82(fvec4) Load 358 + 360: 18(fvec3) VectorShuffle 359 359 0 1 2 + Store 357(param) 360 + 362: 18(fvec3) Load 259(pos) + Store 361(param) 362 + 364: 124(ptr) AccessChain 119 122 356 + 365: 8(float) Load 364 + Store 363(param) 365 + 366: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 357(param) 361(param) 363(param) + 367: 18(fvec3) Load 246(force) + 368: 18(fvec3) FAdd 367 366 + Store 246(force) 368 + Branch 347 + 347: Label + 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 371 371 16 16 + 372: 139(ptr) AccessChain 56(id) 35 + 373: 11(int) Load 372 + 375: 164(bool) UGreaterThan 373 16 + SelectionMerge 378 None + BranchConditional 375 377 378 + 377: Label + 379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 381 381 16 16 + 382: 11(int) Load 140(index) + 383: 147(ptr) AccessChain 119 122 146 16 + 384: 84(int) Load 383 + 385: 11(int) Bitcast 384 + 386: 11(int) ISub 382 385 + 388: 229(ptr) AccessChain 202(particleIn) 122 386 122 + 389: 82(fvec4) Load 388 + 390: 18(fvec3) VectorShuffle 389 389 0 1 2 + Store 387(param) 390 + 392: 18(fvec3) Load 259(pos) + Store 391(param) 392 + 394: 124(ptr) AccessChain 119 122 356 + 395: 8(float) Load 394 + Store 393(param) 395 + 396: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 387(param) 391(param) 393(param) + 397: 18(fvec3) Load 246(force) + 398: 18(fvec3) FAdd 397 396 + Store 246(force) 398 + Branch 378 + 378: Label + 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 401 401 16 16 + 402: 139(ptr) AccessChain 56(id) 16 + 403: 11(int) Load 402 + 405: 164(bool) UGreaterThan 403 16 + 407: 139(ptr) AccessChain 56(id) 35 + 408: 11(int) Load 407 + 409: 147(ptr) AccessChain 119 122 146 35 + 410: 84(int) Load 409 + 411: 84(int) ISub 410 236 + 412: 11(int) Bitcast 411 + 414: 164(bool) ULessThan 408 412 + 417: 164(bool) LogicalAnd 405 414 + SelectionMerge 420 None + BranchConditional 417 419 420 + 419: Label + 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 423 423 16 16 + 424: 11(int) Load 140(index) + 425: 147(ptr) AccessChain 119 122 146 16 + 426: 84(int) Load 425 + 427: 11(int) Bitcast 426 + 428: 11(int) IAdd 424 427 + 429: 11(int) ISub 428 35 + 432: 229(ptr) AccessChain 202(particleIn) 122 429 122 + 433: 82(fvec4) Load 432 + 434: 18(fvec3) VectorShuffle 433 433 0 1 2 + Store 431(param) 434 + 436: 18(fvec3) Load 259(pos) + Store 435(param) 436 + 438: 124(ptr) AccessChain 119 122 430 + 439: 8(float) Load 438 + Store 437(param) 439 + 440: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 431(param) 435(param) 437(param) + 441: 18(fvec3) Load 246(force) + 442: 18(fvec3) FAdd 441 440 + Store 246(force) 442 + Branch 420 + 420: Label + 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 445 445 16 16 + 446: 139(ptr) AccessChain 56(id) 16 + 447: 11(int) Load 446 + 449: 164(bool) UGreaterThan 447 16 + 451: 139(ptr) AccessChain 56(id) 35 + 452: 11(int) Load 451 + 454: 164(bool) UGreaterThan 452 16 + 457: 164(bool) LogicalAnd 449 454 + SelectionMerge 460 None + BranchConditional 457 459 460 + 459: Label + 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 462: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 463 463 16 16 + 464: 11(int) Load 140(index) + 465: 147(ptr) AccessChain 119 122 146 16 + 466: 84(int) Load 465 + 467: 11(int) Bitcast 466 + 468: 11(int) ISub 464 467 + 469: 11(int) ISub 468 35 + 471: 229(ptr) AccessChain 202(particleIn) 122 469 122 + 472: 82(fvec4) Load 471 + 473: 18(fvec3) VectorShuffle 472 472 0 1 2 + Store 470(param) 473 + 475: 18(fvec3) Load 259(pos) + Store 474(param) 475 + 477: 124(ptr) AccessChain 119 122 430 + 478: 8(float) Load 477 + Store 476(param) 478 + 479: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 470(param) 474(param) 476(param) + 480: 18(fvec3) Load 246(force) + 481: 18(fvec3) FAdd 480 479 + Store 246(force) 481 + Branch 460 + 460: Label + 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 484 484 16 16 + 485: 139(ptr) AccessChain 56(id) 16 + 486: 11(int) Load 485 + 487: 147(ptr) AccessChain 119 122 146 16 + 488: 84(int) Load 487 + 489: 84(int) ISub 488 236 + 490: 11(int) Bitcast 489 + 492: 164(bool) ULessThan 486 490 + 494: 139(ptr) AccessChain 56(id) 35 + 495: 11(int) Load 494 + 496: 147(ptr) AccessChain 119 122 146 35 + 497: 84(int) Load 496 + 498: 84(int) ISub 497 236 + 499: 11(int) Bitcast 498 + 501: 164(bool) ULessThan 495 499 + 504: 164(bool) LogicalAnd 492 501 + SelectionMerge 507 None + BranchConditional 504 506 507 + 506: Label + 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 509: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 510 510 16 16 + 511: 11(int) Load 140(index) + 512: 147(ptr) AccessChain 119 122 146 16 + 513: 84(int) Load 512 + 514: 11(int) Bitcast 513 + 515: 11(int) IAdd 511 514 + 516: 11(int) IAdd 515 35 + 518: 229(ptr) AccessChain 202(particleIn) 122 516 122 + 519: 82(fvec4) Load 518 + 520: 18(fvec3) VectorShuffle 519 519 0 1 2 + Store 517(param) 520 + 522: 18(fvec3) Load 259(pos) + Store 521(param) 522 + 524: 124(ptr) AccessChain 119 122 430 + 525: 8(float) Load 524 + Store 523(param) 525 + 526: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 517(param) 521(param) 523(param) + 527: 18(fvec3) Load 246(force) + 528: 18(fvec3) FAdd 527 526 + Store 246(force) 528 + Branch 507 + 507: Label + 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 531 531 16 16 + 532: 139(ptr) AccessChain 56(id) 16 + 533: 11(int) Load 532 + 534: 147(ptr) AccessChain 119 122 146 16 + 535: 84(int) Load 534 + 536: 84(int) ISub 535 236 + 537: 11(int) Bitcast 536 + 539: 164(bool) ULessThan 533 537 + 541: 139(ptr) AccessChain 56(id) 35 + 542: 11(int) Load 541 + 544: 164(bool) UGreaterThan 542 16 + 547: 164(bool) LogicalAnd 539 544 + SelectionMerge 550 None + BranchConditional 547 549 550 + 549: Label + 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 553 553 16 16 + 554: 11(int) Load 140(index) + 555: 147(ptr) AccessChain 119 122 146 16 + 556: 84(int) Load 555 + 557: 11(int) Bitcast 556 + 558: 11(int) ISub 554 557 + 559: 11(int) IAdd 558 35 + 561: 229(ptr) AccessChain 202(particleIn) 122 559 122 + 562: 82(fvec4) Load 561 + 563: 18(fvec3) VectorShuffle 562 562 0 1 2 + Store 560(param) 563 + 565: 18(fvec3) Load 259(pos) + Store 564(param) 565 + 567: 124(ptr) AccessChain 119 122 430 + 568: 8(float) Load 567 + Store 566(param) 568 + 569: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 560(param) 564(param) 566(param) + 570: 18(fvec3) Load 246(force) + 571: 18(fvec3) FAdd 570 569 + Store 246(force) 571 + Branch 550 + 550: Label + 572: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 573: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 574 574 16 16 + 576: 124(ptr) AccessChain 119 122 575 + 577: 8(float) Load 576 + 578: 8(float) FNegate 577 + 579: 18(fvec3) Load 269(vel) + 580: 18(fvec3) VectorTimesScalar 579 578 + 581: 18(fvec3) Load 246(force) + 582: 18(fvec3) FAdd 581 580 + Store 246(force) 582 + 583: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 584 584 16 16 + 588: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 586 585(f) 43 + 589: 18(fvec3) Load 246(force) + 590: 124(ptr) AccessChain 119 122 236 + 591: 8(float) Load 590 + 592: 8(float) FDiv 208 591 + 593: 18(fvec3) VectorTimesScalar 589 592 + Store 585(f) 593 + 594: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 595 595 16 16 + 596: 11(int) Load 140(index) + 597: 18(fvec3) Load 259(pos) + 598: 18(fvec3) Load 269(vel) + 599: 124(ptr) AccessChain 119 122 122 + 600: 8(float) Load 599 + 601: 18(fvec3) VectorTimesScalar 598 600 + 602: 18(fvec3) FAdd 597 601 + 604: 18(fvec3) Load 585(f) + 605: 18(fvec3) VectorTimesScalar 604 603 + 606: 124(ptr) AccessChain 119 122 122 + 607: 8(float) Load 606 + 608: 18(fvec3) VectorTimesScalar 605 607 + 609: 124(ptr) AccessChain 119 122 122 + 610: 8(float) Load 609 + 611: 18(fvec3) VectorTimesScalar 608 610 + 612: 18(fvec3) FAdd 602 611 + 613: 8(float) CompositeExtract 612 0 + 614: 8(float) CompositeExtract 612 1 + 615: 8(float) CompositeExtract 612 2 + 616: 82(fvec4) CompositeConstruct 613 614 615 208 + 617: 229(ptr) AccessChain 225(particleOut) 122 596 122 + Store 617 616 + 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 619 619 16 16 620: 11(int) Load 140(index) - 621: 227(ptr) AccessChain 223(particleOut) 122 620 122 - 622: 82(fvec4) Load 621 - 623: 18(fvec3) VectorShuffle 622 622 0 1 2 - 625: 227(ptr) AccessChain 119 122 624 - 626: 82(fvec4) Load 625 - 627: 18(fvec3) VectorShuffle 626 626 0 1 2 - 628: 18(fvec3) FSub 623 627 - Store 616(sphereDist) 628 - 629: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 630 630 16 16 - 631: 18(fvec3) Load 616(sphereDist) - 632: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 631 - 634: 124(ptr) AccessChain 119 122 633 - 635: 8(float) Load 634 - 637: 8(float) FAdd 635 636 - 639: 164(bool) FOrdLessThan 632 637 - SelectionMerge 641 None - BranchConditional 639 640 641 - 640: Label - 642: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 644 644 16 16 - 645: 11(int) Load 140(index) - 646: 227(ptr) AccessChain 119 122 624 - 647: 82(fvec4) Load 646 - 648: 18(fvec3) VectorShuffle 647 647 0 1 2 - 649: 18(fvec3) Load 616(sphereDist) - 650: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 649 - 651: 124(ptr) AccessChain 119 122 633 - 652: 8(float) Load 651 - 653: 8(float) FAdd 652 636 - 654: 18(fvec3) VectorTimesScalar 650 653 - 655: 18(fvec3) FAdd 648 654 - 656: 124(ptr) AccessChain 223(particleOut) 122 645 122 16 - 657: 8(float) CompositeExtract 655 0 - Store 656 657 - 658: 124(ptr) AccessChain 223(particleOut) 122 645 122 35 - 659: 8(float) CompositeExtract 655 1 - Store 658 659 - 660: 124(ptr) AccessChain 223(particleOut) 122 645 122 46 - 661: 8(float) CompositeExtract 655 2 - Store 660 661 + 621: 18(fvec3) Load 269(vel) + 622: 18(fvec3) Load 585(f) + 623: 124(ptr) AccessChain 119 122 122 + 624: 8(float) Load 623 + 625: 18(fvec3) VectorTimesScalar 622 624 + 626: 18(fvec3) FAdd 621 625 + 627: 8(float) CompositeExtract 626 0 + 628: 8(float) CompositeExtract 626 1 + 629: 8(float) CompositeExtract 626 2 + 630: 82(fvec4) CompositeConstruct 627 628 629 237 + 631: 229(ptr) AccessChain 225(particleOut) 122 620 236 + Store 631 630 + 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 633 633 16 16 + 637: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 635 634(sphereDist) 43 + 638: 11(int) Load 140(index) + 639: 229(ptr) AccessChain 225(particleOut) 122 638 122 + 640: 82(fvec4) Load 639 + 641: 18(fvec3) VectorShuffle 640 640 0 1 2 + 643: 229(ptr) AccessChain 119 122 642 + 644: 82(fvec4) Load 643 + 645: 18(fvec3) VectorShuffle 644 644 0 1 2 + 646: 18(fvec3) FSub 641 645 + Store 634(sphereDist) 646 + 647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 648 648 16 16 + 649: 18(fvec3) Load 634(sphereDist) + 650: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 649 + 652: 124(ptr) AccessChain 119 122 651 + 653: 8(float) Load 652 + 655: 8(float) FAdd 653 654 + 657: 164(bool) FOrdLessThan 650 655 + SelectionMerge 660 None + BranchConditional 657 659 660 + 659: Label + 661: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 663 663 16 16 664: 11(int) Load 140(index) - 665: 227(ptr) AccessChain 223(particleOut) 122 664 234 - Store 665 236 - Branch 641 - 641: Label - 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 668 668 16 16 - 686: 685(ptr) AccessChain 683 122 122 - 687: 11(int) Load 686 - 689: 164(bool) IEqual 687 35 - SelectionMerge 691 None - BranchConditional 689 690 691 - 690: Label - 692: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 694 694 16 16 - 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 696 695(normal) 43 - Store 695(normal) 698 - 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 700 700 16 16 - 701: 139(ptr) AccessChain 56(id) 35 - 702: 11(int) Load 701 - 704: 164(bool) UGreaterThan 702 16 - SelectionMerge 706 None - BranchConditional 704 705 706 - 705: Label - 707: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 709 709 16 16 - 710: 139(ptr) AccessChain 56(id) 16 - 711: 11(int) Load 710 - 713: 164(bool) UGreaterThan 711 16 - SelectionMerge 715 None - BranchConditional 713 714 715 - 714: Label - 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 717: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 718 718 16 16 - 722: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 720 719(a) 43 - 723: 11(int) Load 140(index) - 724: 11(int) ISub 723 35 - 725: 227(ptr) AccessChain 201(particleIn) 122 724 122 - 726: 82(fvec4) Load 725 - 727: 18(fvec3) VectorShuffle 726 726 0 1 2 - 728: 18(fvec3) Load 257(pos) - 729: 18(fvec3) FSub 727 728 - Store 719(a) 729 - 730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 731 731 16 16 - 735: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 733 732(b) 43 - 736: 11(int) Load 140(index) - 737: 147(ptr) AccessChain 119 122 146 16 - 738: 84(int) Load 737 - 739: 11(int) Bitcast 738 - 740: 11(int) ISub 736 739 - 741: 11(int) ISub 740 35 - 742: 227(ptr) AccessChain 201(particleIn) 122 741 122 - 743: 82(fvec4) Load 742 - 744: 18(fvec3) VectorShuffle 743 743 0 1 2 - 745: 18(fvec3) Load 257(pos) - 746: 18(fvec3) FSub 744 745 - Store 732(b) 746 - 747: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 748 748 16 16 - 752: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 750 749(c) 43 - 753: 11(int) Load 140(index) - 754: 147(ptr) AccessChain 119 122 146 16 - 755: 84(int) Load 754 - 756: 11(int) Bitcast 755 - 757: 11(int) ISub 753 756 - 758: 227(ptr) AccessChain 201(particleIn) 122 757 122 - 759: 82(fvec4) Load 758 - 760: 18(fvec3) VectorShuffle 759 759 0 1 2 - 761: 18(fvec3) Load 257(pos) - 762: 18(fvec3) FSub 760 761 - Store 749(c) 762 - 763: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 764 764 16 16 - 765: 18(fvec3) Load 719(a) - 766: 18(fvec3) Load 732(b) - 767: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 765 766 - 768: 18(fvec3) Load 732(b) - 769: 18(fvec3) Load 749(c) - 770: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 768 769 - 771: 18(fvec3) FAdd 767 770 - 772: 18(fvec3) Load 695(normal) - 773: 18(fvec3) FAdd 772 771 - Store 695(normal) 773 - Branch 715 - 715: Label - 774: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 775: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 776 776 16 16 - 777: 139(ptr) AccessChain 56(id) 16 - 778: 11(int) Load 777 - 779: 147(ptr) AccessChain 119 122 146 16 - 780: 84(int) Load 779 - 781: 84(int) ISub 780 234 - 782: 11(int) Bitcast 781 - 784: 164(bool) ULessThan 778 782 - SelectionMerge 786 None - BranchConditional 784 785 786 - 785: Label - 787: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 788: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 789 789 16 16 - 790: 11(int) Load 140(index) - 791: 147(ptr) AccessChain 119 122 146 16 - 792: 84(int) Load 791 - 793: 11(int) Bitcast 792 - 794: 11(int) ISub 790 793 - 795: 227(ptr) AccessChain 201(particleIn) 122 794 122 - 796: 82(fvec4) Load 795 - 797: 18(fvec3) VectorShuffle 796 796 0 1 2 - 798: 18(fvec3) Load 257(pos) - 799: 18(fvec3) FSub 797 798 - Store 719(a) 799 - 800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 801 801 16 16 - 802: 11(int) Load 140(index) - 803: 147(ptr) AccessChain 119 122 146 16 - 804: 84(int) Load 803 - 805: 11(int) Bitcast 804 - 806: 11(int) ISub 802 805 - 807: 11(int) IAdd 806 35 - 808: 227(ptr) AccessChain 201(particleIn) 122 807 122 - 809: 82(fvec4) Load 808 - 810: 18(fvec3) VectorShuffle 809 809 0 1 2 - 811: 18(fvec3) Load 257(pos) - 812: 18(fvec3) FSub 810 811 - Store 732(b) 812 - 813: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 814 814 16 16 - 815: 11(int) Load 140(index) - 816: 11(int) IAdd 815 35 - 817: 227(ptr) AccessChain 201(particleIn) 122 816 122 - 818: 82(fvec4) Load 817 - 819: 18(fvec3) VectorShuffle 818 818 0 1 2 - 820: 18(fvec3) Load 257(pos) - 821: 18(fvec3) FSub 819 820 - Store 749(c) 821 - 822: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 823 823 16 16 - 824: 18(fvec3) Load 719(a) - 825: 18(fvec3) Load 732(b) - 826: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 824 825 - 827: 18(fvec3) Load 732(b) - 828: 18(fvec3) Load 749(c) - 829: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 827 828 - 830: 18(fvec3) FAdd 826 829 - 831: 18(fvec3) Load 695(normal) - 832: 18(fvec3) FAdd 831 830 - Store 695(normal) 832 - Branch 786 - 786: Label - Branch 706 - 706: Label - 833: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 834: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 835 835 16 16 - 836: 139(ptr) AccessChain 56(id) 35 - 837: 11(int) Load 836 - 838: 147(ptr) AccessChain 119 122 146 35 - 839: 84(int) Load 838 - 840: 84(int) ISub 839 234 - 841: 11(int) Bitcast 840 - 843: 164(bool) ULessThan 837 841 - SelectionMerge 845 None - BranchConditional 843 844 845 - 844: Label - 846: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 848 848 16 16 - 849: 139(ptr) AccessChain 56(id) 16 - 850: 11(int) Load 849 - 852: 164(bool) UGreaterThan 850 16 - SelectionMerge 854 None - BranchConditional 852 853 854 - 853: Label - 855: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 856: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 857 857 16 16 - 858: 11(int) Load 140(index) - 859: 147(ptr) AccessChain 119 122 146 16 - 860: 84(int) Load 859 - 861: 11(int) Bitcast 860 - 862: 11(int) IAdd 858 861 - 863: 227(ptr) AccessChain 201(particleIn) 122 862 122 - 864: 82(fvec4) Load 863 - 865: 18(fvec3) VectorShuffle 864 864 0 1 2 - 866: 18(fvec3) Load 257(pos) - 867: 18(fvec3) FSub 865 866 - Store 719(a) 867 - 868: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 869 869 16 16 - 870: 11(int) Load 140(index) - 871: 147(ptr) AccessChain 119 122 146 16 - 872: 84(int) Load 871 - 873: 11(int) Bitcast 872 - 874: 11(int) IAdd 870 873 - 875: 11(int) ISub 874 35 - 876: 227(ptr) AccessChain 201(particleIn) 122 875 122 - 877: 82(fvec4) Load 876 - 878: 18(fvec3) VectorShuffle 877 877 0 1 2 - 879: 18(fvec3) Load 257(pos) - 880: 18(fvec3) FSub 878 879 - Store 732(b) 880 + 665: 229(ptr) AccessChain 119 122 642 + 666: 82(fvec4) Load 665 + 667: 18(fvec3) VectorShuffle 666 666 0 1 2 + 668: 18(fvec3) Load 634(sphereDist) + 669: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 668 + 670: 124(ptr) AccessChain 119 122 651 + 671: 8(float) Load 670 + 672: 8(float) FAdd 671 654 + 673: 18(fvec3) VectorTimesScalar 669 672 + 674: 18(fvec3) FAdd 667 673 + 675: 124(ptr) AccessChain 225(particleOut) 122 664 122 16 + 676: 8(float) CompositeExtract 674 0 + Store 675 676 + 677: 124(ptr) AccessChain 225(particleOut) 122 664 122 35 + 678: 8(float) CompositeExtract 674 1 + Store 677 678 + 679: 124(ptr) AccessChain 225(particleOut) 122 664 122 46 + 680: 8(float) CompositeExtract 674 2 + Store 679 680 + 681: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 682 682 16 16 + 683: 11(int) Load 140(index) + 684: 229(ptr) AccessChain 225(particleOut) 122 683 236 + Store 684 238 + Branch 660 + 660: Label + 685: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 687 687 16 16 + 705: 704(ptr) AccessChain 702 122 122 + 706: 11(int) Load 705 + 708: 164(bool) IEqual 706 35 + SelectionMerge 711 None + BranchConditional 708 710 711 + 710: Label + 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 713: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 714 714 16 16 + 717: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 716 715(normal) 43 + Store 715(normal) 718 + 719: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 720 720 16 16 + 721: 139(ptr) AccessChain 56(id) 35 + 722: 11(int) Load 721 + 724: 164(bool) UGreaterThan 722 16 + SelectionMerge 727 None + BranchConditional 724 726 727 + 726: Label + 728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 730 730 16 16 + 731: 139(ptr) AccessChain 56(id) 16 + 732: 11(int) Load 731 + 734: 164(bool) UGreaterThan 732 16 + SelectionMerge 737 None + BranchConditional 734 736 737 + 736: Label + 738: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 739: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 740 740 16 16 + 744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 742 741(a) 43 + 745: 11(int) Load 140(index) + 746: 11(int) ISub 745 35 + 747: 229(ptr) AccessChain 202(particleIn) 122 746 122 + 748: 82(fvec4) Load 747 + 749: 18(fvec3) VectorShuffle 748 748 0 1 2 + 750: 18(fvec3) Load 259(pos) + 751: 18(fvec3) FSub 749 750 + Store 741(a) 751 + 752: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 753 753 16 16 + 757: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 755 754(b) 43 + 758: 11(int) Load 140(index) + 759: 147(ptr) AccessChain 119 122 146 16 + 760: 84(int) Load 759 + 761: 11(int) Bitcast 760 + 762: 11(int) ISub 758 761 + 763: 11(int) ISub 762 35 + 764: 229(ptr) AccessChain 202(particleIn) 122 763 122 + 765: 82(fvec4) Load 764 + 766: 18(fvec3) VectorShuffle 765 765 0 1 2 + 767: 18(fvec3) Load 259(pos) + 768: 18(fvec3) FSub 766 767 + Store 754(b) 768 + 769: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 770 770 16 16 + 774: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 772 771(c) 43 + 775: 11(int) Load 140(index) + 776: 147(ptr) AccessChain 119 122 146 16 + 777: 84(int) Load 776 + 778: 11(int) Bitcast 777 + 779: 11(int) ISub 775 778 + 780: 229(ptr) AccessChain 202(particleIn) 122 779 122 + 781: 82(fvec4) Load 780 + 782: 18(fvec3) VectorShuffle 781 781 0 1 2 + 783: 18(fvec3) Load 259(pos) + 784: 18(fvec3) FSub 782 783 + Store 771(c) 784 + 785: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 786 786 16 16 + 787: 18(fvec3) Load 741(a) + 788: 18(fvec3) Load 754(b) + 789: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 787 788 + 790: 18(fvec3) Load 754(b) + 791: 18(fvec3) Load 771(c) + 792: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 790 791 + 793: 18(fvec3) FAdd 789 792 + 794: 18(fvec3) Load 715(normal) + 795: 18(fvec3) FAdd 794 793 + Store 715(normal) 795 + Branch 737 + 737: Label + 796: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 797: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 798 798 16 16 + 799: 139(ptr) AccessChain 56(id) 16 + 800: 11(int) Load 799 + 801: 147(ptr) AccessChain 119 122 146 16 + 802: 84(int) Load 801 + 803: 84(int) ISub 802 236 + 804: 11(int) Bitcast 803 + 806: 164(bool) ULessThan 800 804 + SelectionMerge 809 None + BranchConditional 806 808 809 + 808: Label + 810: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 811: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 812 812 16 16 + 813: 11(int) Load 140(index) + 814: 147(ptr) AccessChain 119 122 146 16 + 815: 84(int) Load 814 + 816: 11(int) Bitcast 815 + 817: 11(int) ISub 813 816 + 818: 229(ptr) AccessChain 202(particleIn) 122 817 122 + 819: 82(fvec4) Load 818 + 820: 18(fvec3) VectorShuffle 819 819 0 1 2 + 821: 18(fvec3) Load 259(pos) + 822: 18(fvec3) FSub 820 821 + Store 741(a) 822 + 823: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 824 824 16 16 + 825: 11(int) Load 140(index) + 826: 147(ptr) AccessChain 119 122 146 16 + 827: 84(int) Load 826 + 828: 11(int) Bitcast 827 + 829: 11(int) ISub 825 828 + 830: 11(int) IAdd 829 35 + 831: 229(ptr) AccessChain 202(particleIn) 122 830 122 + 832: 82(fvec4) Load 831 + 833: 18(fvec3) VectorShuffle 832 832 0 1 2 + 834: 18(fvec3) Load 259(pos) + 835: 18(fvec3) FSub 833 834 + Store 754(b) 835 + 836: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 837 837 16 16 + 838: 11(int) Load 140(index) + 839: 11(int) IAdd 838 35 + 840: 229(ptr) AccessChain 202(particleIn) 122 839 122 + 841: 82(fvec4) Load 840 + 842: 18(fvec3) VectorShuffle 841 841 0 1 2 + 843: 18(fvec3) Load 259(pos) + 844: 18(fvec3) FSub 842 843 + Store 771(c) 844 + 845: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 846 846 16 16 + 847: 18(fvec3) Load 741(a) + 848: 18(fvec3) Load 754(b) + 849: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 847 848 + 850: 18(fvec3) Load 754(b) + 851: 18(fvec3) Load 771(c) + 852: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 850 851 + 853: 18(fvec3) FAdd 849 852 + 854: 18(fvec3) Load 715(normal) + 855: 18(fvec3) FAdd 854 853 + Store 715(normal) 855 + Branch 809 + 809: Label + Branch 727 + 727: Label + 856: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 857: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 858 858 16 16 + 859: 139(ptr) AccessChain 56(id) 35 + 860: 11(int) Load 859 + 861: 147(ptr) AccessChain 119 122 146 35 + 862: 84(int) Load 861 + 863: 84(int) ISub 862 236 + 864: 11(int) Bitcast 863 + 866: 164(bool) ULessThan 860 864 + SelectionMerge 869 None + BranchConditional 866 868 869 + 868: Label + 870: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 871: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 872 872 16 16 + 873: 139(ptr) AccessChain 56(id) 16 + 874: 11(int) Load 873 + 876: 164(bool) UGreaterThan 874 16 + SelectionMerge 879 None + BranchConditional 876 878 879 + 878: Label + 880: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 881: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 882 882 16 16 883: 11(int) Load 140(index) - 884: 11(int) ISub 883 35 - 885: 227(ptr) AccessChain 201(particleIn) 122 884 122 - 886: 82(fvec4) Load 885 - 887: 18(fvec3) VectorShuffle 886 886 0 1 2 - 888: 18(fvec3) Load 257(pos) - 889: 18(fvec3) FSub 887 888 - Store 749(c) 889 - 890: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 891 891 16 16 - 892: 18(fvec3) Load 719(a) - 893: 18(fvec3) Load 732(b) - 894: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 892 893 - 895: 18(fvec3) Load 732(b) - 896: 18(fvec3) Load 749(c) - 897: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 895 896 - 898: 18(fvec3) FAdd 894 897 - 899: 18(fvec3) Load 695(normal) - 900: 18(fvec3) FAdd 899 898 - Store 695(normal) 900 - Branch 854 - 854: Label - 901: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 902: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 903 903 16 16 - 904: 139(ptr) AccessChain 56(id) 16 - 905: 11(int) Load 904 - 906: 147(ptr) AccessChain 119 122 146 16 - 907: 84(int) Load 906 - 908: 84(int) ISub 907 234 - 909: 11(int) Bitcast 908 - 911: 164(bool) ULessThan 905 909 - SelectionMerge 913 None - BranchConditional 911 912 913 - 912: Label - 914: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 884: 147(ptr) AccessChain 119 122 146 16 + 885: 84(int) Load 884 + 886: 11(int) Bitcast 885 + 887: 11(int) IAdd 883 886 + 888: 229(ptr) AccessChain 202(particleIn) 122 887 122 + 889: 82(fvec4) Load 888 + 890: 18(fvec3) VectorShuffle 889 889 0 1 2 + 891: 18(fvec3) Load 259(pos) + 892: 18(fvec3) FSub 890 891 + Store 741(a) 892 + 893: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 894 894 16 16 + 895: 11(int) Load 140(index) + 896: 147(ptr) AccessChain 119 122 146 16 + 897: 84(int) Load 896 + 898: 11(int) Bitcast 897 + 899: 11(int) IAdd 895 898 + 900: 11(int) ISub 899 35 + 901: 229(ptr) AccessChain 202(particleIn) 122 900 122 + 902: 82(fvec4) Load 901 + 903: 18(fvec3) VectorShuffle 902 902 0 1 2 + 904: 18(fvec3) Load 259(pos) + 905: 18(fvec3) FSub 903 904 + Store 754(b) 905 + 906: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 907 907 16 16 + 908: 11(int) Load 140(index) + 909: 11(int) ISub 908 35 + 910: 229(ptr) AccessChain 202(particleIn) 122 909 122 + 911: 82(fvec4) Load 910 + 912: 18(fvec3) VectorShuffle 911 911 0 1 2 + 913: 18(fvec3) Load 259(pos) + 914: 18(fvec3) FSub 912 913 + Store 771(c) 914 915: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 916 916 16 16 - 917: 11(int) Load 140(index) - 918: 11(int) IAdd 917 35 - 919: 227(ptr) AccessChain 201(particleIn) 122 918 122 - 920: 82(fvec4) Load 919 - 921: 18(fvec3) VectorShuffle 920 920 0 1 2 - 922: 18(fvec3) Load 257(pos) - 923: 18(fvec3) FSub 921 922 - Store 719(a) 923 - 924: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 925 925 16 16 - 926: 11(int) Load 140(index) - 927: 147(ptr) AccessChain 119 122 146 16 - 928: 84(int) Load 927 - 929: 11(int) Bitcast 928 - 930: 11(int) IAdd 926 929 - 931: 11(int) IAdd 930 35 - 932: 227(ptr) AccessChain 201(particleIn) 122 931 122 - 933: 82(fvec4) Load 932 - 934: 18(fvec3) VectorShuffle 933 933 0 1 2 - 935: 18(fvec3) Load 257(pos) - 936: 18(fvec3) FSub 934 935 - Store 732(b) 936 - 937: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 938 938 16 16 - 939: 11(int) Load 140(index) - 940: 147(ptr) AccessChain 119 122 146 16 - 941: 84(int) Load 940 - 942: 11(int) Bitcast 941 - 943: 11(int) IAdd 939 942 - 944: 227(ptr) AccessChain 201(particleIn) 122 943 122 - 945: 82(fvec4) Load 944 - 946: 18(fvec3) VectorShuffle 945 945 0 1 2 - 947: 18(fvec3) Load 257(pos) - 948: 18(fvec3) FSub 946 947 - Store 749(c) 948 - 949: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 950 950 16 16 - 951: 18(fvec3) Load 719(a) - 952: 18(fvec3) Load 732(b) - 953: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 951 952 - 954: 18(fvec3) Load 732(b) - 955: 18(fvec3) Load 749(c) - 956: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 954 955 - 957: 18(fvec3) FAdd 953 956 - 958: 18(fvec3) Load 695(normal) - 959: 18(fvec3) FAdd 958 957 - Store 695(normal) 959 - Branch 913 - 913: Label - Branch 845 - 845: Label - 960: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 961: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 962 962 16 16 - 963: 11(int) Load 140(index) - 964: 18(fvec3) Load 695(normal) - 965: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 964 - 966: 8(float) CompositeExtract 965 0 - 967: 8(float) CompositeExtract 965 1 - 968: 8(float) CompositeExtract 965 2 - 969: 82(fvec4) CompositeConstruct 966 967 968 235 - 970: 227(ptr) AccessChain 223(particleOut) 122 963 557 - Store 970 969 - Branch 691 - 691: Label + 917: 18(fvec3) Load 741(a) + 918: 18(fvec3) Load 754(b) + 919: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 917 918 + 920: 18(fvec3) Load 754(b) + 921: 18(fvec3) Load 771(c) + 922: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 920 921 + 923: 18(fvec3) FAdd 919 922 + 924: 18(fvec3) Load 715(normal) + 925: 18(fvec3) FAdd 924 923 + Store 715(normal) 925 + Branch 879 + 879: Label + 926: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 927: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 928 928 16 16 + 929: 139(ptr) AccessChain 56(id) 16 + 930: 11(int) Load 929 + 931: 147(ptr) AccessChain 119 122 146 16 + 932: 84(int) Load 931 + 933: 84(int) ISub 932 236 + 934: 11(int) Bitcast 933 + 936: 164(bool) ULessThan 930 934 + SelectionMerge 939 None + BranchConditional 936 938 939 + 938: Label + 940: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 941: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 942 942 16 16 + 943: 11(int) Load 140(index) + 944: 11(int) IAdd 943 35 + 945: 229(ptr) AccessChain 202(particleIn) 122 944 122 + 946: 82(fvec4) Load 945 + 947: 18(fvec3) VectorShuffle 946 946 0 1 2 + 948: 18(fvec3) Load 259(pos) + 949: 18(fvec3) FSub 947 948 + Store 741(a) 949 + 950: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 951 951 16 16 + 952: 11(int) Load 140(index) + 953: 147(ptr) AccessChain 119 122 146 16 + 954: 84(int) Load 953 + 955: 11(int) Bitcast 954 + 956: 11(int) IAdd 952 955 + 957: 11(int) IAdd 956 35 + 958: 229(ptr) AccessChain 202(particleIn) 122 957 122 + 959: 82(fvec4) Load 958 + 960: 18(fvec3) VectorShuffle 959 959 0 1 2 + 961: 18(fvec3) Load 259(pos) + 962: 18(fvec3) FSub 960 961 + Store 754(b) 962 + 963: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 964 964 16 16 + 965: 11(int) Load 140(index) + 966: 147(ptr) AccessChain 119 122 146 16 + 967: 84(int) Load 966 + 968: 11(int) Bitcast 967 + 969: 11(int) IAdd 965 968 + 970: 229(ptr) AccessChain 202(particleIn) 122 969 122 + 971: 82(fvec4) Load 970 + 972: 18(fvec3) VectorShuffle 971 971 0 1 2 + 973: 18(fvec3) Load 259(pos) + 974: 18(fvec3) FSub 972 973 + Store 771(c) 974 + 975: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 976 976 16 16 + 977: 18(fvec3) Load 741(a) + 978: 18(fvec3) Load 754(b) + 979: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 977 978 + 980: 18(fvec3) Load 754(b) + 981: 18(fvec3) Load 771(c) + 982: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 980 981 + 983: 18(fvec3) FAdd 979 982 + 984: 18(fvec3) Load 715(normal) + 985: 18(fvec3) FAdd 984 983 + Store 715(normal) 985 + Branch 939 + 939: Label + Branch 869 + 869: Label + 986: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 987: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 988 988 16 16 + 989: 11(int) Load 140(index) + 990: 18(fvec3) Load 715(normal) + 991: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 990 + 992: 8(float) CompositeExtract 991 0 + 993: 8(float) CompositeExtract 991 1 + 994: 8(float) CompositeExtract 991 2 + 995: 82(fvec4) CompositeConstruct 992 993 994 237 + 996: 229(ptr) AccessChain 225(particleOut) 122 989 575 + Store 996 995 + Branch 711 + 711: Label Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.frag.out b/Test/baseResults/spv.debuginfo.hlsl.frag.out index 42bf069daa..3f90519864 100644 --- a/Test/baseResults/spv.debuginfo.hlsl.frag.out +++ b/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 903 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" 896 899 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" + 159: String "dist" + 163: String "type.2d.image" + 164: String "@type.2d.image" + 169: String "textureShadowMap" + 174: String "type.sampler" + 175: String "@type.sampler" + 179: String "samplerShadowMap" + 183: String "type.sampled.image" + 184: String "@type.sampled.image" + 234: String "sizeQueryTemp" + 239: String "int" + 246: String "texDim" + 260: String "elements" + 267: String "levels" + 276: String "scale" + 283: String "dx" + 295: String "dy" + 307: String "shadowFactor" + 313: String "count" + 320: String "range" + 327: String "x" + 350: String "y" + 415: String "i" + 436: String "shadowClip" + 449: String "color" + 455: String "viewMatrix" + 459: String "Light" + 465: String "lights" + 468: String "displayDebugTarget" + 473: String "UBO" + 476: String "ubo" + 526: String "textureposition" + 531: String "samplerposition" + 543: String "normal" + 547: String "textureNormal" + 552: String "samplerNormal" + 562: String "albedo" + 566: String "textureAlbedo" + 571: String "samplerAlbedo" + 662: String "N" + 689: String "L" + 713: String "V" + 728: String "lightCosInnerAngle" + 735: String "lightCosOuterAngle" + 742: String "lightRange" + 749: String "dir" + 765: String "cosDir" + 774: String "spotEffect" + 784: String "heightAttenuation" + 793: String "NdotL" + 803: String "diff" + 811: String "R" + 821: String "NdotR" + 831: 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 157 "dist" + Name 167 "textureShadowMap" + Name 177 "samplerShadowMap" + Name 232 "sizeQueryTemp" + Name 244 "texDim" + Name 258 "elements" + Name 265 "levels" + Name 274 "scale" + Name 281 "dx" + Name 293 "dy" + Name 305 "shadowFactor" + Name 311 "count" + Name 318 "range" + Name 325 "x" + Name 348 "y" + Name 380 "param" + Name 382 "param" + Name 384 "param" + Name 413 "i" + Name 434 "shadowClip" + Name 447 "Light" + MemberName 447(Light) 0 "position" + MemberName 447(Light) 1 "target" + MemberName 447(Light) 2 "color" + MemberName 447(Light) 3 "viewMatrix" + Name 462 "UBO" + MemberName 462(UBO) 0 "viewPos" + MemberName 462(UBO) 1 "lights" + MemberName 462(UBO) 2 "useShadows" + MemberName 462(UBO) 3 "displayDebugTarget" + Name 474 "ubo" + MemberName 474(ubo) 0 "ubo" + Name 481 "" + Name 490 "shadowFactor" + Name 495 "param" + Name 497 "param" + Name 518 "fragPos" + Name 524 "textureposition" + Name 529 "samplerposition" + Name 541 "normal" + Name 545 "textureNormal" + Name 550 "samplerNormal" + Name 560 "albedo" + Name 564 "textureAlbedo" + Name 569 "samplerAlbedo" + Name 600 "fragcolor" + Name 604 "param" + Name 605 "param" + Name 660 "N" + Name 668 "i" + Name 687 "L" + Name 700 "dist" + Name 711 "V" + Name 726 "lightCosInnerAngle" + Name 733 "lightCosOuterAngle" + Name 740 "lightRange" + Name 747 "dir" + Name 763 "cosDir" + Name 772 "spotEffect" + Name 782 "heightAttenuation" + Name 791 "NdotL" + Name 801 "diff" + Name 809 "R" + Name 819 "NdotR" + Name 829 "spec" + Name 879 "param" + Name 881 "param" + Name 894 "inUV" + Name 896 "inUV" + Name 899 "@entryPointOutput" + Name 900 "param" + Decorate 167(textureShadowMap) DescriptorSet 0 + Decorate 167(textureShadowMap) Binding 5 + Decorate 177(samplerShadowMap) DescriptorSet 0 + Decorate 177(samplerShadowMap) Binding 5 + MemberDecorate 447(Light) 0 Offset 0 + MemberDecorate 447(Light) 1 Offset 16 + MemberDecorate 447(Light) 2 Offset 32 + MemberDecorate 447(Light) 3 RowMajor + MemberDecorate 447(Light) 3 Offset 48 + MemberDecorate 447(Light) 3 MatrixStride 16 + Decorate 460 ArrayStride 112 + MemberDecorate 462(UBO) 0 Offset 0 + MemberDecorate 462(UBO) 1 Offset 16 + MemberDecorate 462(UBO) 2 Offset 352 + MemberDecorate 462(UBO) 3 Offset 356 + MemberDecorate 474(ubo) 0 Offset 0 + Decorate 474(ubo) Block + Decorate 481 DescriptorSet 0 + Decorate 481 Binding 4 + Decorate 524(textureposition) DescriptorSet 0 + Decorate 524(textureposition) Binding 1 + Decorate 529(samplerposition) DescriptorSet 0 + Decorate 529(samplerposition) Binding 1 + Decorate 545(textureNormal) DescriptorSet 0 + Decorate 545(textureNormal) Binding 2 + Decorate 550(samplerNormal) DescriptorSet 0 + Decorate 550(samplerNormal) Binding 2 + Decorate 564(textureAlbedo) DescriptorSet 0 + Decorate 564(textureAlbedo) Binding 3 + Decorate 569(samplerAlbedo) DescriptorSet 0 + Decorate 569(samplerAlbedo) Binding 3 + Decorate 896(inUV) Location 0 + Decorate 899(@entryPointOutput) Location 0 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -271,224 +271,237 @@ 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 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 156: 11(int) Constant 68 + 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 159 10 36 156 16 35 19 + 161: TypeImage 8(float) 2D array sampled format:Unknown + 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 16 36 156 16 39 164 165 17 + 166: TypePointer UniformConstant 161 +167(textureShadowMap): 166(ptr) Variable UniformConstant + 170: 11(int) Constant 8 + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 169 162 36 156 16 39 169 167(textureShadowMap) 170 + 172: TypeSampler + 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 174 40 36 156 16 39 175 165 17 + 176: TypePointer UniformConstant 172 +177(samplerShadowMap): 176(ptr) Variable UniformConstant + 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 179 173 36 156 16 39 179 177(samplerShadowMap) 170 + 181: TypeSampledImage 161 + 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 183 16 36 156 16 39 184 165 17 + 197: 11(int) Constant 69 + 200: 8(float) Constant 0 + 201: 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 - 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 + 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 217: 11(int) Constant 71 + 218: 8(float) Constant 1048576000 + 221: 11(int) Constant 74 + 228: 11(int) Constant 80 + 229: TypeVector 11(int) 3 + 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17 + 231: TypePointer Function 229(ivec3) + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 234 230 36 228 16 61 19 + 238: TypeInt 32 1 + 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 239 14 19 16 + 241: TypeVector 238(int) 2 + 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 240 24 + 243: TypePointer Function 241(ivec2) + 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 246 242 36 228 16 61 19 + 248: TypePointer Function 11(int) + 252: TypePointer Function 238(int) + 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 260 240 36 228 16 61 19 + 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 267 240 36 228 16 61 19 + 273: 11(int) Constant 81 + 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 276 10 36 273 16 61 19 + 278: 8(float) Constant 1069547520 + 280: 11(int) Constant 82 + 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 283 10 36 280 16 61 19 + 292: 11(int) Constant 83 + 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 295 10 36 292 16 61 19 + 304: 11(int) Constant 85 + 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 307 10 36 304 16 61 19 + 310: 11(int) Constant 86 + 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 313 240 36 310 16 61 19 + 315: 238(int) Constant 0 + 317: 11(int) Constant 87 + 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 320 240 36 317 16 61 19 + 322: 238(int) Constant 1 + 324: 11(int) Constant 89 + 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 327 240 36 324 16 61 19 + 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 347: 11(int) Constant 91 + 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 350 240 36 347 16 61 19 + 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 370: 11(int) Constant 93 + 389: 11(int) Constant 94 + 402: 11(int) Constant 98 + 412: 11(int) Constant 102 + 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 415 240 36 412 16 80 19 + 427: 238(int) Constant 3 + 428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 433: 11(int) Constant 104 + 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 436 20 36 433 16 80 19 + 443: TypeMatrix 18(fvec4) 4 + 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 446: 139(bool) ConstantTrue + 444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 446 + 447(Light): TypeStruct 18(fvec4) 18(fvec4) 18(fvec4) 443 + 450: 11(int) Constant 46 + 451: 11(int) Constant 14 + 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 449 20 36 450 451 16 16 17 + 452: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 449 20 36 450 451 16 16 17 + 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 449 20 36 450 451 16 16 17 + 456: 11(int) Constant 47 + 457: 11(int) Constant 21 + 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 455 444 36 456 457 16 16 17 + 458: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 459 40 36 433 16 39 459 16 17 448 452 453 454 + 460: TypeArray 447(Light) 17 + 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 458 17 + 462(UBO): TypeStruct 18(fvec4) 460 238(int) 238(int) + 463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 449 20 36 450 451 16 16 17 + 466: 11(int) Constant 53 + 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 465 461 36 466 451 16 16 17 + 469: 11(int) Constant 55 + 470: 11(int) Constant 24 + 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 468 240 36 469 470 16 16 17 + 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 468 240 36 469 470 16 16 17 + 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 473 40 36 433 16 39 473 16 17 463 464 467 471 + 474(ubo): TypeStruct 462(UBO) + 477: 11(int) Constant 58 + 478: 11(int) Constant 37 + 475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 476 472 36 477 478 16 16 17 + 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 476 40 36 433 16 39 476 16 17 475 + 480: TypePointer Uniform 474(ubo) + 481: 480(ptr) Variable Uniform + 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 479 36 433 16 39 1 481 170 + 484: TypePointer Uniform 443 + 489: 11(int) Constant 108 + 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 307 10 36 489 16 80 19 + 500: 11(int) Constant 113 + 510: 11(int) Constant 115 + 517: 11(int) Constant 121 + 519: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 71 36 517 16 96 19 + 521: TypeImage 8(float) 2D sampled format:Unknown + 522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 16 36 517 16 39 164 165 17 + 523: TypePointer UniformConstant 521 +524(textureposition): 523(ptr) Variable UniformConstant + 525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 526 522 36 517 16 39 526 524(textureposition) 170 + 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 174 40 36 517 16 39 175 165 17 +529(samplerposition): 176(ptr) Variable UniformConstant + 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 531 528 36 517 16 39 531 529(samplerposition) 170 + 533: TypeSampledImage 521 + 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 183 16 36 517 16 39 184 165 17 + 540: 11(int) Constant 122 + 542: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 543 71 36 540 16 96 19 +545(textureNormal): 523(ptr) Variable UniformConstant + 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 547 522 36 540 16 39 547 545(textureNormal) 170 + 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 174 40 36 540 16 39 175 165 17 +550(samplerNormal): 176(ptr) Variable UniformConstant + 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 552 549 36 540 16 39 552 550(samplerNormal) 170 + 559: 11(int) Constant 123 + 561: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 562 20 36 559 16 96 19 +564(textureAlbedo): 523(ptr) Variable UniformConstant + 565: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 566 522 36 559 16 39 566 564(textureAlbedo) 170 + 568: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 174 40 36 559 16 39 175 165 17 +569(samplerAlbedo): 176(ptr) Variable UniformConstant + 570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 571 568 36 559 16 39 571 569(samplerAlbedo) 170 + 577: 11(int) Constant 128 + 578: TypePointer Uniform 238(int) + 581: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 583: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 588: 11(int) Constant 129 + 599: 11(int) Constant 131 + 601: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 36 599 16 96 19 + 603: 70(fvec3) ConstantComposite 110 110 110 + 609: 11(int) Constant 132 + 613: 11(int) Constant 134 + 616: 11(int) Constant 135 + 620: 11(int) Constant 137 + 623: 11(int) Constant 138 + 627: 11(int) Constant 140 + 631: 11(int) Constant 141 + 635: 11(int) Constant 143 + 639: 11(int) Constant 144 + 644: 11(int) Constant 146 + 653: 11(int) Constant 150 + 656: 8(float) Constant 1036831949 + 659: 11(int) Constant 152 + 661: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 662 71 36 659 16 96 19 + 667: 11(int) Constant 154 + 669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 415 240 36 667 16 96 19 + 681: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 683: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 686: 11(int) Constant 157 + 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 689 71 36 686 16 96 19 + 692: TypePointer Uniform 18(fvec4) + 699: 11(int) Constant 159 + 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 159 10 36 699 16 96 19 + 706: 11(int) Constant 160 + 710: 11(int) Constant 163 + 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 713 71 36 710 16 96 19 + 721: 11(int) Constant 164 + 725: 11(int) Constant 166 + 727: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 728 10 36 725 16 96 19 + 730: 8(float) Constant 1064781546 + 732: 11(int) Constant 167 + 734: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 735 10 36 732 16 96 19 + 737: 8(float) Constant 1063781322 + 739: 11(int) Constant 168 + 741: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 742 10 36 739 16 96 19 + 744: 8(float) Constant 1120403456 + 746: 11(int) Constant 171 + 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 749 71 36 746 16 96 19 + 762: 11(int) Constant 174 + 764: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 765 10 36 762 16 96 19 + 771: 11(int) Constant 175 + 773: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 774 10 36 771 16 96 19 + 781: 11(int) Constant 176 + 783: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 784 10 36 781 16 96 19 + 790: 11(int) Constant 179 + 792: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 793 10 36 790 16 96 19 + 800: 11(int) Constant 180 + 802: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 803 71 36 800 16 96 19 + 808: 11(int) Constant 183 + 810: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 811 71 36 808 16 96 19 + 818: 11(int) Constant 184 + 820: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 821 10 36 818 16 96 19 + 828: 11(int) Constant 185 + 830: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 831 71 36 828 16 96 19 + 834: 8(float) Constant 1098907648 + 839: 8(float) Constant 1075838976 + 843: 11(int) Constant 187 + 852: 238(int) Constant 2 + 868: 11(int) Constant 191 + 871: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 873: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 878: 11(int) Constant 193 + 886: 11(int) Constant 196 + 895: TypePointer Input 23(fvec2) + 896(inUV): 895(ptr) Variable Input + 898: TypePointer Output 18(fvec4) +899(@entryPointOutput): 898(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 + 894(inUV): 26(ptr) Variable Function + 900(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 + 897: 23(fvec2) Load 896(inUV) + Store 894(inUV) 897 + 901: 23(fvec2) Load 894(inUV) + Store 900(param) 901 + 902: 18(fvec4) FunctionCall 93(@main(vf2;) 900(param) + Store 899(@entryPointOutput) 902 Return FunctionEnd Line 1 61 1 @@ -499,7 +512,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 + 157(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 @@ -534,614 +547,614 @@ spv.debuginfo.hlsl.frag 136: 22(ptr) AccessChain 113(shadowCoord) 24 137: 8(float) Load 136 142: 139(bool) FOrdGreaterThan 137 138 - 143: 22(ptr) AccessChain 113(shadowCoord) 24 - 144: 8(float) Load 143 - 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 + 144: 22(ptr) AccessChain 113(shadowCoord) 24 + 145: 8(float) Load 144 + 147: 139(bool) FOrdLessThan 145 110 + 150: 139(bool) LogicalAnd 142 147 + SelectionMerge 153 None + BranchConditional 150 152 153 + 152: Label + 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35 + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 156 156 16 16 + 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 158 157(dist) 47 + 171: 161 Load 167(textureShadowMap) + 180: 172 Load 177(samplerShadowMap) + 185: 181 SampledImage 171 180 + 186: 18(fvec4) Load 113(shadowCoord) + 187: 23(fvec2) VectorShuffle 186 186 0 1 + 188: 23(fvec2) Load 31(offset) + 189: 23(fvec2) FAdd 187 188 + 190: 8(float) Load 30(layer) + 191: 8(float) CompositeExtract 189 0 + 192: 8(float) CompositeExtract 189 1 + 193: 70(fvec3) CompositeConstruct 191 192 190 + 194: 18(fvec4) ImageSampleImplicitLod 185 193 + 195: 8(float) CompositeExtract 194 0 + Store 157(dist) 195 + 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 197 197 16 16 + 198: 22(ptr) AccessChain 113(shadowCoord) 17 + 199: 8(float) Load 198 + 202: 139(bool) FOrdGreaterThan 199 200 + 204: 8(float) Load 157(dist) + 205: 22(ptr) AccessChain 113(shadowCoord) 24 + 206: 8(float) Load 205 + 208: 139(bool) FOrdLessThan 204 206 + 211: 139(bool) LogicalAnd 202 208 + SelectionMerge 214 None + BranchConditional 211 213 214 + 213: Label + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35 + 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 217 217 16 16 + Store 107(shadow) 218 + Branch 214 + 214: Label + Branch 153 + 153: Label + 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 221 221 16 16 + 222: 8(float) Load 107(shadow) + ReturnValue 222 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 +232(sizeQueryTemp): 231(ptr) Variable Function + 244(texDim): 243(ptr) Variable Function + 258(elements): 252(ptr) Variable Function + 265(levels): 252(ptr) Variable Function + 274(scale): 22(ptr) Variable Function + 281(dx): 22(ptr) Variable Function + 293(dy): 22(ptr) Variable Function +305(shadowFactor): 22(ptr) Variable Function + 311(count): 252(ptr) Variable Function + 318(range): 252(ptr) Variable Function + 325(x): 252(ptr) Variable Function + 348(y): 252(ptr) Variable Function + 380(param): 21(ptr) Variable Function + 382(param): 22(ptr) Variable Function + 384(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 - 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 + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;) + 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 228 228 16 16 + 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 233 232(sizeQueryTemp) 47 + 236: 161 Load 167(textureShadowMap) + 237: 229(ivec3) ImageQuerySizeLod 236 16 + Store 232(sizeQueryTemp) 237 + 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 245 244(texDim) 47 + 249: 248(ptr) AccessChain 232(sizeQueryTemp) 16 + 250: 11(int) Load 249 + 251: 238(int) Bitcast 250 + 253: 252(ptr) AccessChain 244(texDim) 16 + Store 253 251 + 254: 248(ptr) AccessChain 232(sizeQueryTemp) 40 + 255: 11(int) Load 254 + 256: 238(int) Bitcast 255 + 257: 252(ptr) AccessChain 244(texDim) 40 + Store 257 256 + 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 259 258(elements) 47 + 262: 248(ptr) AccessChain 232(sizeQueryTemp) 24 + 263: 11(int) Load 262 + 264: 238(int) Bitcast 263 + Store 258(elements) 264 + 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 266 265(levels) 47 + 269: 161 Load 167(textureShadowMap) + 270: 11(int) ImageQueryLevels 269 + 271: 238(int) Bitcast 270 + Store 265(levels) 271 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 273 273 16 16 + 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 275 274(scale) 47 + Store 274(scale) 278 + 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 280 280 16 16 + 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 282 281(dx) 47 + 285: 8(float) Load 274(scale) + 286: 8(float) FMul 285 110 + 287: 252(ptr) AccessChain 244(texDim) 16 + 288: 238(int) Load 287 + 289: 8(float) ConvertSToF 288 + 290: 8(float) FDiv 286 289 + Store 281(dx) 290 + 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 292 292 16 16 + 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 294 293(dy) 47 + 297: 8(float) Load 274(scale) + 298: 8(float) FMul 297 110 + 299: 252(ptr) AccessChain 244(texDim) 40 + 300: 238(int) Load 299 + 301: 8(float) ConvertSToF 300 + 302: 8(float) FDiv 298 301 + Store 293(dy) 302 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 + 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 306 305(shadowFactor) 47 + Store 305(shadowFactor) 200 + 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 310 310 16 16 + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 312 311(count) 47 + Store 311(count) 315 + 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 317 317 16 16 + 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 319 318(range) 47 + Store 318(range) 322 + 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 324 324 16 16 + 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 326 325(x) 47 + 329: 238(int) Load 318(range) + 330: 238(int) SNegate 329 + Store 325(x) 330 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 - 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 + 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 324 324 16 16 + LoopMerge 333 334 None + Branch 337 + 337: Label + 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 324 324 16 16 + 340: 238(int) Load 325(x) + 341: 238(int) Load 318(range) + 343: 139(bool) SLessThanEqual 340 341 + BranchConditional 343 332 333 + 332: Label + 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 347 347 16 16 + 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 349 348(y) 47 + 352: 238(int) Load 318(range) + 353: 238(int) SNegate 352 + Store 348(y) 353 + Branch 354 + 354: Label + 358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 347 347 16 16 + LoopMerge 356 357 None + Branch 360 + 360: Label + 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 347 347 16 16 + 363: 238(int) Load 348(y) + 364: 238(int) Load 318(range) + 366: 139(bool) SLessThanEqual 363 364 + BranchConditional 366 355 356 + 355: Label + 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 370 370 16 16 + 371: 8(float) Load 281(dx) + 372: 238(int) Load 325(x) + 373: 8(float) ConvertSToF 372 + 374: 8(float) FMul 371 373 + 375: 8(float) Load 293(dy) + 376: 238(int) Load 348(y) + 377: 8(float) ConvertSToF 376 + 378: 8(float) FMul 375 377 + 379: 23(fvec2) CompositeConstruct 374 378 + 381: 18(fvec4) Load 56(sc) + Store 380(param) 381 + 383: 8(float) Load 57(layer) + Store 382(param) 383 + Store 384(param) 379 + 385: 8(float) FunctionCall 32(textureProj(vf4;f1;vf2;) 380(param) 382(param) 384(param) + 386: 8(float) Load 305(shadowFactor) + 387: 8(float) FAdd 386 385 + Store 305(shadowFactor) 387 + 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 389 389 16 16 + 390: 238(int) Load 311(count) + 391: 238(int) IAdd 390 322 + Store 311(count) 391 + Branch 357 + 357: Label + 392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 347 347 16 16 + 394: 238(int) Load 348(y) + 395: 238(int) IAdd 394 322 + Store 348(y) 395 + Branch 354 + 356: Label + Branch 334 + 334: Label + 396: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 324 324 16 16 + 398: 238(int) Load 325(x) + 399: 238(int) IAdd 398 322 + Store 325(x) 399 + Branch 331 + 333: Label + 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 402 402 16 16 + 403: 8(float) Load 305(shadowFactor) + 404: 238(int) Load 311(count) + 405: 8(float) ConvertSToF 404 + 406: 8(float) FDiv 403 405 + ReturnValue 406 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 + 413(i): 252(ptr) Variable Function + 434(shadowClip): 21(ptr) Variable Function +490(shadowFactor): 22(ptr) Variable Function + 495(param): 21(ptr) Variable Function + 497(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 + 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;) + 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 412 412 16 16 + 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 414 413(i) 47 + Store 413(i) 315 + Branch 417 + 417: Label + 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 412 412 16 16 + LoopMerge 419 420 None + Branch 423 + 423: Label + 424: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 425: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 412 412 16 16 + 426: 238(int) Load 413(i) + 429: 139(bool) SLessThan 426 427 + BranchConditional 429 418 419 + 418: Label + 431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 433 433 16 16 + 437: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 435 434(shadowClip) 47 + 438: 70(fvec3) Load 76(fragPos) + 439: 8(float) CompositeExtract 438 0 + 440: 8(float) CompositeExtract 438 1 + 441: 8(float) CompositeExtract 438 2 + 442: 18(fvec4) CompositeConstruct 439 440 441 110 + 483: 238(int) Load 413(i) + 485: 484(ptr) AccessChain 481 315 322 483 427 + 486: 443 Load 485 + 487: 18(fvec4) VectorTimesMatrix 442 486 + Store 434(shadowClip) 487 + 488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 489 489 16 16 + 492: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 491 490(shadowFactor) 47 + 493: 238(int) Load 413(i) + 494: 8(float) ConvertSToF 493 + 496: 18(fvec4) Load 434(shadowClip) + Store 495(param) 496 + Store 497(param) 494 + 498: 8(float) FunctionCall 58(filterPCF(vf4;f1;) 495(param) 497(param) + Store 490(shadowFactor) 498 + 499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 500 500 16 16 + 501: 8(float) Load 490(shadowFactor) + 502: 70(fvec3) Load 75(fragcolor) + 503: 70(fvec3) VectorTimesScalar 502 501 + Store 75(fragcolor) 503 + Branch 420 + 420: Label + 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 412 412 16 16 + 506: 238(int) Load 413(i) + 507: 238(int) IAdd 506 322 + Store 413(i) 507 + Branch 417 + 419: Label + 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 509: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 510 510 16 16 + 511: 70(fvec3) Load 75(fragcolor) + ReturnValue 511 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 + 518(fragPos): 72(ptr) Variable Function + 541(normal): 72(ptr) Variable Function + 560(albedo): 21(ptr) Variable Function + 600(fragcolor): 72(ptr) Variable Function + 604(param): 72(ptr) Variable Function + 605(param): 72(ptr) Variable Function + 660(N): 72(ptr) Variable Function + 668(i): 252(ptr) Variable Function + 687(L): 72(ptr) Variable Function + 700(dist): 22(ptr) Variable Function + 711(V): 72(ptr) Variable Function +726(lightCosInnerAngle): 22(ptr) Variable Function +733(lightCosOuterAngle): 22(ptr) Variable Function + 740(lightRange): 22(ptr) Variable Function + 747(dir): 72(ptr) Variable Function + 763(cosDir): 22(ptr) Variable Function + 772(spotEffect): 22(ptr) Variable Function +782(heightAttenuation): 22(ptr) Variable Function + 791(NdotL): 22(ptr) Variable Function + 801(diff): 72(ptr) Variable Function + 809(R): 72(ptr) Variable Function + 819(NdotR): 22(ptr) Variable Function + 829(spec): 72(ptr) Variable Function + 879(param): 72(ptr) Variable Function + 881(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 + 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 96 93(@main(vf2;) + 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 517 517 16 16 + 520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 519 518(fragPos) 47 + 527: 521 Load 524(textureposition) + 532: 172 Load 529(samplerposition) + 535: 533 SampledImage 527 532 + 536: 23(fvec2) Load 92(inUV) + 537: 18(fvec4) ImageSampleImplicitLod 535 536 + 538: 70(fvec3) VectorShuffle 537 537 0 1 2 + Store 518(fragPos) 538 + 539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 540 540 16 16 + 544: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 542 541(normal) 47 + 548: 521 Load 545(textureNormal) + 553: 172 Load 550(samplerNormal) + 554: 533 SampledImage 548 553 + 555: 23(fvec2) Load 92(inUV) + 556: 18(fvec4) ImageSampleImplicitLod 554 555 + 557: 70(fvec3) VectorShuffle 556 556 0 1 2 + Store 541(normal) 557 + 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 559 559 16 16 + 563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 561 560(albedo) 47 + 567: 521 Load 564(textureAlbedo) + 572: 172 Load 569(samplerAlbedo) + 573: 533 SampledImage 567 572 + 574: 23(fvec2) Load 92(inUV) + 575: 18(fvec4) ImageSampleImplicitLod 573 574 + Store 560(albedo) 575 + 576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 577 577 16 16 + 579: 578(ptr) AccessChain 481 315 427 + 580: 238(int) Load 579 + 582: 139(bool) SGreaterThan 580 315 + SelectionMerge 585 None + BranchConditional 582 584 585 + 584: 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 + 589: 578(ptr) AccessChain 481 315 427 + 590: 238(int) Load 589 + SelectionMerge 596 None + Switch 590 596 + case 1: 591 + case 2: 592 + case 3: 593 + case 4: 594 + case 5: 595 + 591: Label + 597: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 598: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 599 599 16 16 + 602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 601 600(fragcolor) 47 + Store 604(param) 603 + 606: 70(fvec3) Load 518(fragPos) + Store 605(param) 606 + 607: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 604(param) 605(param) + Store 600(fragcolor) 607 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 + Branch 596 + 592: Label + 611: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 612: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 613 613 16 16 + 614: 70(fvec3) Load 518(fragPos) + Store 600(fragcolor) 614 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 + Branch 596 + 593: Label + 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 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 - 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 - 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 - 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 - 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 + 621: 70(fvec3) Load 541(normal) + Store 600(fragcolor) 621 + 622: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 623 623 16 16 + Branch 596 + 594: Label + 625: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 626: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 627 627 16 16 + 628: 18(fvec4) Load 560(albedo) + 629: 70(fvec3) VectorShuffle 628 628 0 1 2 + Store 600(fragcolor) 629 + 630: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 631 631 16 16 + Branch 596 + 595: Label + 633: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 634: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 635 635 16 16 + 636: 18(fvec4) Load 560(albedo) + 637: 70(fvec3) VectorShuffle 636 636 3 3 3 + Store 600(fragcolor) 637 + 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 639 639 16 16 + Branch 596 + 596: Label + 642: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 644 644 16 16 + 645: 70(fvec3) Load 600(fragcolor) + 646: 8(float) CompositeExtract 645 0 + 647: 8(float) CompositeExtract 645 1 + 648: 8(float) CompositeExtract 645 2 + 649: 18(fvec4) CompositeConstruct 646 647 648 110 + ReturnValue 649 + 585: Label + 651: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 653 653 16 16 + 654: 18(fvec4) Load 560(albedo) + 655: 70(fvec3) VectorShuffle 654 654 0 1 2 + 657: 70(fvec3) VectorTimesScalar 655 656 + Store 600(fragcolor) 657 + 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 659 659 16 16 + 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 661 660(N) 47 + 664: 70(fvec3) Load 541(normal) + 665: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 664 + Store 660(N) 665 + 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 667 667 16 16 + 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 669 668(i) 47 + Store 668(i) 315 + Branch 671 + 671: Label + 675: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 667 667 16 16 + LoopMerge 673 674 None + Branch 677 + 677: Label + 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 679: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 667 667 16 16 + 680: 238(int) Load 668(i) + 682: 139(bool) SLessThan 680 427 + BranchConditional 682 672 673 + 672: Label + 684: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 685: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 686 686 16 16 + 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 688 687(L) 47 + 691: 238(int) Load 668(i) + 693: 692(ptr) AccessChain 481 315 322 691 315 + 694: 18(fvec4) Load 693 + 695: 70(fvec3) VectorShuffle 694 694 0 1 2 + 696: 70(fvec3) Load 518(fragPos) + 697: 70(fvec3) FSub 695 696 + Store 687(L) 697 + 698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 699 699 16 16 + 702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 701 700(dist) 47 + 703: 70(fvec3) Load 687(L) + 704: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 703 + Store 700(dist) 704 + 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 706 706 16 16 + 707: 70(fvec3) Load 687(L) + 708: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 707 + Store 687(L) 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(V) 47 + 715: 692(ptr) AccessChain 481 315 315 + 716: 18(fvec4) Load 715 + 717: 70(fvec3) VectorShuffle 716 716 0 1 2 + 718: 70(fvec3) Load 518(fragPos) + 719: 70(fvec3) FSub 717 718 + Store 711(V) 719 + 720: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 721 721 16 16 + 722: 70(fvec3) Load 711(V) + 723: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 722 + Store 711(V) 723 + 724: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 725 725 16 16 + 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 727 726(lightCosInnerAngle) 47 + Store 726(lightCosInnerAngle) 730 + 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 732 732 16 16 + 736: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 734 733(lightCosOuterAngle) 47 + Store 733(lightCosOuterAngle) 737 + 738: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 739 739 16 16 + 743: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 741 740(lightRange) 47 + Store 740(lightRange) 744 + 745: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 746 746 16 16 + 750: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 748 747(dir) 47 + 751: 238(int) Load 668(i) + 752: 692(ptr) AccessChain 481 315 322 751 315 + 753: 18(fvec4) Load 752 + 754: 70(fvec3) VectorShuffle 753 753 0 1 2 + 755: 238(int) Load 668(i) + 756: 692(ptr) AccessChain 481 315 322 755 322 + 757: 18(fvec4) Load 756 + 758: 70(fvec3) VectorShuffle 757 757 0 1 2 + 759: 70(fvec3) FSub 754 758 + 760: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 759 + Store 747(dir) 760 + 761: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 762 762 16 16 + 766: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 764 763(cosDir) 47 + 767: 70(fvec3) Load 687(L) + 768: 70(fvec3) Load 747(dir) + 769: 8(float) Dot 767 768 + Store 763(cosDir) 769 + 770: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 771 771 16 16 + 775: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 773 772(spotEffect) 47 + 776: 8(float) Load 733(lightCosOuterAngle) + 777: 8(float) Load 726(lightCosInnerAngle) + 778: 8(float) Load 763(cosDir) + 779: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 776 777 778 + Store 772(spotEffect) 779 + 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 781 781 16 16 + 785: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 783 782(heightAttenuation) 47 + 786: 8(float) Load 740(lightRange) + 787: 8(float) Load 700(dist) + 788: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 786 200 787 + Store 782(heightAttenuation) 788 + 789: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 790 790 16 16 + 794: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 792 791(NdotL) 47 + 795: 70(fvec3) Load 660(N) + 796: 70(fvec3) Load 687(L) + 797: 8(float) Dot 795 796 + 798: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 200 797 + Store 791(NdotL) 798 + 799: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 800 800 16 16 + 804: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 802 801(diff) 47 + 805: 8(float) Load 791(NdotL) + 806: 70(fvec3) CompositeConstruct 805 805 805 + Store 801(diff) 806 + 807: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 808 808 16 16 + 812: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 810 809(R) 47 + 813: 70(fvec3) Load 687(L) + 814: 70(fvec3) FNegate 813 + 815: 70(fvec3) Load 660(N) + 816: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 814 815 + Store 809(R) 816 + 817: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 818 818 16 16 + 822: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 820 819(NdotR) 47 + 823: 70(fvec3) Load 809(R) + 824: 70(fvec3) Load 711(V) + 825: 8(float) Dot 823 824 + 826: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 200 825 + Store 819(NdotR) 826 + 827: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 828 828 16 16 + 832: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 830 829(spec) 47 + 833: 8(float) Load 819(NdotR) + 835: 8(float) ExtInst 3(GLSL.std.450) 26(Pow) 833 834 + 836: 22(ptr) AccessChain 560(albedo) 17 + 837: 8(float) Load 836 + 838: 8(float) FMul 835 837 + 840: 8(float) FMul 838 839 + 841: 70(fvec3) CompositeConstruct 840 840 840 + Store 829(spec) 841 + 842: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 843 843 16 16 + 844: 70(fvec3) Load 801(diff) + 845: 70(fvec3) Load 829(spec) + 846: 70(fvec3) FAdd 844 845 + 847: 8(float) Load 772(spotEffect) + 848: 70(fvec3) VectorTimesScalar 846 847 + 849: 8(float) Load 782(heightAttenuation) + 850: 70(fvec3) VectorTimesScalar 848 849 + 851: 238(int) Load 668(i) + 853: 692(ptr) AccessChain 481 315 322 851 852 + 854: 18(fvec4) Load 853 + 855: 70(fvec3) VectorShuffle 854 854 0 1 2 + 856: 70(fvec3) FMul 850 855 + 857: 18(fvec4) Load 560(albedo) + 858: 70(fvec3) VectorShuffle 857 857 0 1 2 + 859: 70(fvec3) FMul 856 858 + 860: 70(fvec3) Load 600(fragcolor) + 861: 70(fvec3) FAdd 860 859 + Store 600(fragcolor) 861 + Branch 674 + 674: Label + 862: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 863: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 667 667 16 16 + 864: 238(int) Load 668(i) + 865: 238(int) IAdd 864 322 + Store 668(i) 865 + Branch 671 + 673: Label + 866: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 867: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 868 868 16 16 + 869: 578(ptr) AccessChain 481 315 852 + 870: 238(int) Load 869 + 872: 139(bool) SGreaterThan 870 315 + SelectionMerge 875 None + BranchConditional 872 874 875 + 874: Label + 876: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 877: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 878 878 16 16 + 880: 70(fvec3) Load 600(fragcolor) + Store 879(param) 880 + 882: 70(fvec3) Load 518(fragPos) + Store 881(param) 882 + 883: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 879(param) 881(param) + Store 600(fragcolor) 883 + Branch 875 + 875: Label + 884: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 885: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 886 886 16 16 + 887: 70(fvec3) Load 600(fragcolor) + 888: 8(float) CompositeExtract 887 0 + 889: 8(float) CompositeExtract 887 1 + 890: 8(float) CompositeExtract 887 2 + 891: 18(fvec4) CompositeConstruct 888 889 890 110 + ReturnValue 891 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.geom.out b/Test/baseResults/spv.debuginfo.hlsl.geom.out index 07acacc14d..bc0a4e3862 100644 --- a/Test/baseResults/spv.debuginfo.hlsl.geom.out +++ b/Test/baseResults/spv.debuginfo.hlsl.geom.out @@ -1,7 +1,7 @@ spv.debuginfo.hlsl.geom // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 354 +// Id's are bound by 357 Capability Geometry Capability MultiViewport @@ -9,7 +9,7 @@ spv.debuginfo.hlsl.geom 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Geometry 6 "main" 256 262 267 273 278 283 288 303 310 315 339 342 + EntryPoint Geometry 6 "main" 259 265 270 276 281 286 291 306 313 318 342 345 ExecutionMode 6 Triangles ExecutionMode 6 Invocations 2 ExecutionMode 6 OutputTriangleStrip @@ -39,22 +39,22 @@ spv.debuginfo.hlsl.geom 92: String "int" 97: String "i" 112: String "bool" - 120: String "output" - 142: String "projection" - 146: String "modelview" - 150: String "lightPos" - 154: String "UBO" - 157: String "ubo" - 192: String "pos" - 201: String "worldPos" - 212: String "lPos" - 258: String "outStream.Pos" - 264: String "outStream.ViewportIndex" - 269: String "outStream.PrimitiveID" - 275: String "outStream.Normal" - 280: String "outStream.Color" - 285: String "outStream.ViewVec" - 290: String "outStream.LightVec" + 121: String "output" + 144: String "projection" + 148: String "modelview" + 152: String "lightPos" + 156: String "UBO" + 159: String "ubo" + 195: String "pos" + 204: String "worldPos" + 215: String "lPos" + 261: String "outStream.Pos" + 267: String "outStream.ViewportIndex" + 272: String "outStream.PrimitiveID" + 278: String "outStream.Normal" + 283: String "outStream.Color" + 288: String "outStream.ViewVec" + 293: String "outStream.LightVec" Name 6 "main" Name 23 "VSOutput" MemberName 23(VSOutput) 0 "Pos" @@ -74,62 +74,62 @@ spv.debuginfo.hlsl.geom Name 65 "InvocationID" Name 66 "PrimitiveID" Name 95 "i" - Name 118 "output" - Name 140 "UBO" - MemberName 140(UBO) 0 "projection" - MemberName 140(UBO) 1 "modelview" - MemberName 140(UBO) 2 "lightPos" - Name 155 "ubo" - MemberName 155(ubo) 0 "ubo" - Name 161 "" - Name 190 "pos" - Name 199 "worldPos" - Name 210 "lPos" - Name 256 "outStream.Pos" - Name 262 "outStream.ViewportIndex" - Name 267 "outStream.PrimitiveID" - Name 273 "outStream.Normal" - Name 278 "outStream.Color" - Name 283 "outStream.ViewVec" - Name 288 "outStream.LightVec" - Name 300 "input" - Name 303 "input.Pos" - Name 310 "input.Normal" - Name 315 "input.Color" - Name 337 "InvocationID" - Name 339 "InvocationID" - Name 341 "PrimitiveID" - Name 342 "PrimitiveID" - Name 344 "outStream" - Name 345 "param" - Name 347 "param" + Name 119 "output" + Name 142 "UBO" + MemberName 142(UBO) 0 "projection" + MemberName 142(UBO) 1 "modelview" + MemberName 142(UBO) 2 "lightPos" + Name 157 "ubo" + MemberName 157(ubo) 0 "ubo" + Name 163 "" + Name 193 "pos" + Name 202 "worldPos" + Name 213 "lPos" + Name 259 "outStream.Pos" + Name 265 "outStream.ViewportIndex" + Name 270 "outStream.PrimitiveID" + Name 276 "outStream.Normal" + Name 281 "outStream.Color" + Name 286 "outStream.ViewVec" + Name 291 "outStream.LightVec" + Name 303 "input" + Name 306 "input.Pos" + Name 313 "input.Normal" + Name 318 "input.Color" + Name 340 "InvocationID" + Name 342 "InvocationID" + Name 344 "PrimitiveID" + Name 345 "PrimitiveID" + Name 347 "outStream" Name 348 "param" Name 350 "param" - Decorate 136 ArrayStride 64 + Name 351 "param" + Name 353 "param" Decorate 138 ArrayStride 64 - MemberDecorate 140(UBO) 0 RowMajor - MemberDecorate 140(UBO) 0 Offset 0 - MemberDecorate 140(UBO) 0 MatrixStride 16 - MemberDecorate 140(UBO) 1 RowMajor - MemberDecorate 140(UBO) 1 Offset 128 - MemberDecorate 140(UBO) 1 MatrixStride 16 - MemberDecorate 140(UBO) 2 Offset 256 - MemberDecorate 155(ubo) 0 Offset 0 - Decorate 155(ubo) Block - Decorate 161 DescriptorSet 0 - Decorate 161 Binding 0 - Decorate 256(outStream.Pos) BuiltIn Position - Decorate 262(outStream.ViewportIndex) BuiltIn ViewportIndex - Decorate 267(outStream.PrimitiveID) BuiltIn PrimitiveId - Decorate 273(outStream.Normal) Location 0 - Decorate 278(outStream.Color) Location 1 - Decorate 283(outStream.ViewVec) Location 2 - Decorate 288(outStream.LightVec) Location 3 - Decorate 303(input.Pos) BuiltIn Position - Decorate 310(input.Normal) Location 0 - Decorate 315(input.Color) Location 1 - Decorate 339(InvocationID) BuiltIn InvocationId - Decorate 342(PrimitiveID) BuiltIn PrimitiveId + Decorate 140 ArrayStride 64 + MemberDecorate 142(UBO) 0 RowMajor + MemberDecorate 142(UBO) 0 Offset 0 + MemberDecorate 142(UBO) 0 MatrixStride 16 + MemberDecorate 142(UBO) 1 RowMajor + MemberDecorate 142(UBO) 1 Offset 128 + MemberDecorate 142(UBO) 1 MatrixStride 16 + MemberDecorate 142(UBO) 2 Offset 256 + MemberDecorate 157(ubo) 0 Offset 0 + Decorate 157(ubo) Block + Decorate 163 DescriptorSet 0 + Decorate 163 Binding 0 + Decorate 259(outStream.Pos) BuiltIn Position + Decorate 265(outStream.ViewportIndex) BuiltIn ViewportIndex + Decorate 270(outStream.PrimitiveID) BuiltIn PrimitiveId + Decorate 276(outStream.Normal) Location 0 + Decorate 281(outStream.Color) Location 1 + Decorate 286(outStream.ViewVec) Location 2 + Decorate 291(outStream.LightVec) Location 3 + Decorate 306(input.Pos) BuiltIn Position + Decorate 313(input.Normal) Location 0 + Decorate 318(input.Color) Location 1 + Decorate 342(InvocationID) BuiltIn InvocationId + Decorate 345(PrimitiveID) BuiltIn PrimitiveId 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -195,154 +195,157 @@ spv.debuginfo.hlsl.geom 110: 91(int) Constant 3 111: TypeBool 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 112 14 80 16 - 117: 11(int) Constant 59 - 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 57 26 117 16 70 19 - 122: 8(float) Constant 0 - 123: 18(fvec4) ConstantComposite 122 122 122 122 - 124: 21(fvec3) ConstantComposite 122 122 122 - 125:43(GSOutput) ConstantComposite 123 16 16 124 124 124 124 - 127: 11(int) Constant 60 - 129: 91(int) Constant 1 - 130: TypePointer Function 21(fvec3) - 133: TypeMatrix 18(fvec4) 4 - 135: 111(bool) ConstantTrue - 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 135 - 136: TypeArray 133 80 - 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 134 80 - 138: TypeArray 133 80 - 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 134 80 - 140(UBO): TypeStruct 136 138 18(fvec4) - 143: 11(int) Constant 28 - 144: 11(int) Constant 21 - 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 142 137 26 143 144 16 16 17 - 147: 11(int) Constant 29 - 148: 11(int) Constant 20 - 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 139 26 147 148 16 16 17 - 151: 11(int) Constant 30 - 152: 11(int) Constant 17 - 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 20 26 151 152 16 16 17 - 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 37 26 127 16 38 154 16 17 141 145 149 - 155(ubo): TypeStruct 140(UBO) - 158: 11(int) Constant 33 - 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 157 153 26 158 28 16 16 17 - 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 157 37 26 127 16 38 157 16 17 156 - 160: TypePointer Uniform 155(ubo) - 161: 160(ptr) Variable Uniform - 163: 11(int) Constant 8 - 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 159 26 127 16 38 1 161 163 - 165: TypePointer Uniform 133 - 168: TypeMatrix 21(fvec3) 3 - 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 135 - 180: 11(int) Constant 61 - 181: 91(int) Constant 4 - 183: 91(int) Constant 2 - 188: 11(int) Constant 63 - 189: TypePointer Function 18(fvec4) - 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 192 20 26 188 16 70 19 - 198: 11(int) Constant 64 - 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 201 20 26 198 16 70 19 - 209: 11(int) Constant 66 - 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 212 22 26 209 16 70 19 - 214: TypePointer Uniform 18(fvec4) - 223: 11(int) Constant 67 - 224: 91(int) Constant 6 - 231: 11(int) Constant 68 - 232: 91(int) Constant 5 - 238: 11(int) Constant 70 - 246: 11(int) Constant 73 - 250: 11(int) Constant 74 - 254: 11(int) Constant 75 - 255: TypePointer Output 18(fvec4) -256(outStream.Pos): 255(ptr) Variable Output - 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 20 26 254 16 38 258 256(outStream.Pos) 163 - 261: TypePointer Output 11(int) -262(outStream.ViewportIndex): 261(ptr) Variable Output - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 264 13 26 254 16 38 264 262(outStream.ViewportIndex) 163 -267(outStream.PrimitiveID): 261(ptr) Variable Output - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 269 13 26 254 16 38 269 267(outStream.PrimitiveID) 163 - 272: TypePointer Output 21(fvec3) -273(outStream.Normal): 272(ptr) Variable Output - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 275 22 26 254 16 38 275 273(outStream.Normal) 163 -278(outStream.Color): 272(ptr) Variable Output - 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 280 22 26 254 16 38 280 278(outStream.Color) 163 -283(outStream.ViewVec): 272(ptr) Variable Output - 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 285 22 26 254 16 38 285 283(outStream.ViewVec) 163 -288(outStream.LightVec): 272(ptr) Variable Output - 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 290 22 26 254 16 38 290 288(outStream.LightVec) 163 - 299: 11(int) Constant 78 - 301: TypeArray 18(fvec4) 17 - 302: TypePointer Input 301 - 303(input.Pos): 302(ptr) Variable Input - 304: TypePointer Input 18(fvec4) - 308: TypeArray 21(fvec3) 17 - 309: TypePointer Input 308 -310(input.Normal): 309(ptr) Variable Input - 311: TypePointer Input 21(fvec3) -315(input.Color): 309(ptr) Variable Input - 338: TypePointer Input 11(int) -339(InvocationID): 338(ptr) Variable Input -342(PrimitiveID): 338(ptr) Variable Input + 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 112 14 80 16 + 118: 11(int) Constant 59 + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 57 26 118 16 70 19 + 123: 8(float) Constant 0 + 124: 18(fvec4) ConstantComposite 123 123 123 123 + 125: 21(fvec3) ConstantComposite 123 123 123 + 126:43(GSOutput) ConstantComposite 124 16 16 125 125 125 125 + 128: 11(int) Constant 60 + 130: 91(int) Constant 1 + 131: TypePointer Function 21(fvec3) + 134: TypeMatrix 18(fvec4) 4 + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 112 14 80 16 + 137: 111(bool) ConstantTrue + 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 137 + 138: TypeArray 134 80 + 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 135 80 + 140: TypeArray 134 80 + 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 135 80 + 142(UBO): TypeStruct 138 140 18(fvec4) + 145: 11(int) Constant 28 + 146: 11(int) Constant 21 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 139 26 145 146 16 16 17 + 149: 11(int) Constant 29 + 150: 11(int) Constant 20 + 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 141 26 149 150 16 16 17 + 153: 11(int) Constant 30 + 154: 11(int) Constant 17 + 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 20 26 153 154 16 16 17 + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 156 37 26 128 16 38 156 16 17 143 147 151 + 157(ubo): TypeStruct 142(UBO) + 160: 11(int) Constant 33 + 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 155 26 160 28 16 16 17 + 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 159 37 26 128 16 38 159 16 17 158 + 162: TypePointer Uniform 157(ubo) + 163: 162(ptr) Variable Uniform + 165: 11(int) Constant 8 + 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 161 26 128 16 38 1 163 165 + 167: TypePointer Uniform 134 + 170: TypeMatrix 21(fvec3) 3 + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 112 14 80 16 + 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 137 + 183: 11(int) Constant 61 + 184: 91(int) Constant 4 + 186: 91(int) Constant 2 + 191: 11(int) Constant 63 + 192: TypePointer Function 18(fvec4) + 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 195 20 26 191 16 70 19 + 201: 11(int) Constant 64 + 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 204 20 26 201 16 70 19 + 212: 11(int) Constant 66 + 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 215 22 26 212 16 70 19 + 217: TypePointer Uniform 18(fvec4) + 226: 11(int) Constant 67 + 227: 91(int) Constant 6 + 234: 11(int) Constant 68 + 235: 91(int) Constant 5 + 241: 11(int) Constant 70 + 249: 11(int) Constant 73 + 253: 11(int) Constant 74 + 257: 11(int) Constant 75 + 258: TypePointer Output 18(fvec4) +259(outStream.Pos): 258(ptr) Variable Output + 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 261 20 26 257 16 38 261 259(outStream.Pos) 165 + 264: TypePointer Output 11(int) +265(outStream.ViewportIndex): 264(ptr) Variable Output + 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 267 13 26 257 16 38 267 265(outStream.ViewportIndex) 165 +270(outStream.PrimitiveID): 264(ptr) Variable Output + 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 272 13 26 257 16 38 272 270(outStream.PrimitiveID) 165 + 275: TypePointer Output 21(fvec3) +276(outStream.Normal): 275(ptr) Variable Output + 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 278 22 26 257 16 38 278 276(outStream.Normal) 165 +281(outStream.Color): 275(ptr) Variable Output + 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 283 22 26 257 16 38 283 281(outStream.Color) 165 +286(outStream.ViewVec): 275(ptr) Variable Output + 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 288 22 26 257 16 38 288 286(outStream.ViewVec) 165 +291(outStream.LightVec): 275(ptr) Variable Output + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 293 22 26 257 16 38 293 291(outStream.LightVec) 165 + 302: 11(int) Constant 78 + 304: TypeArray 18(fvec4) 17 + 305: TypePointer Input 304 + 306(input.Pos): 305(ptr) Variable Input + 307: TypePointer Input 18(fvec4) + 311: TypeArray 21(fvec3) 17 + 312: TypePointer Input 311 +313(input.Normal): 312(ptr) Variable Input + 314: TypePointer Input 21(fvec3) +318(input.Color): 312(ptr) Variable Input + 341: TypePointer Input 11(int) +342(InvocationID): 341(ptr) Variable Input +345(PrimitiveID): 341(ptr) Variable Input Line 1 56 1 6(main): 4 Function None 5 7: Label - 300(input): 42(ptr) Variable Function -337(InvocationID): 60(ptr) Variable Function -341(PrimitiveID): 60(ptr) Variable Function - 344(outStream): 59(ptr) Variable Function - 345(param): 42(ptr) Variable Function - 347(param): 59(ptr) Variable Function - 348(param): 60(ptr) Variable Function - 350(param): 60(ptr) Variable Function + 303(input): 42(ptr) Variable Function +340(InvocationID): 60(ptr) Variable Function +344(PrimitiveID): 60(ptr) Variable Function + 347(outStream): 59(ptr) Variable Function + 348(param): 42(ptr) Variable Function + 350(param): 59(ptr) Variable Function + 351(param): 60(ptr) Variable Function + 353(param): 60(ptr) Variable Function Line 1 56 0 - 305: 304(ptr) AccessChain 303(input.Pos) 99 - 306: 18(fvec4) Load 305 - 307: 189(ptr) AccessChain 300(input) 99 99 - Store 307 306 - 312: 311(ptr) AccessChain 310(input.Normal) 99 - 313: 21(fvec3) Load 312 - 314: 130(ptr) AccessChain 300(input) 99 129 - Store 314 313 - 316: 311(ptr) AccessChain 315(input.Color) 99 - 317: 21(fvec3) Load 316 - 318: 130(ptr) AccessChain 300(input) 99 183 - Store 318 317 - 319: 304(ptr) AccessChain 303(input.Pos) 129 - 320: 18(fvec4) Load 319 - 321: 189(ptr) AccessChain 300(input) 129 99 + 308: 307(ptr) AccessChain 306(input.Pos) 99 + 309: 18(fvec4) Load 308 + 310: 192(ptr) AccessChain 303(input) 99 99 + Store 310 309 + 315: 314(ptr) AccessChain 313(input.Normal) 99 + 316: 21(fvec3) Load 315 + 317: 131(ptr) AccessChain 303(input) 99 130 + Store 317 316 + 319: 314(ptr) AccessChain 318(input.Color) 99 + 320: 21(fvec3) Load 319 + 321: 131(ptr) AccessChain 303(input) 99 186 Store 321 320 - 322: 311(ptr) AccessChain 310(input.Normal) 129 - 323: 21(fvec3) Load 322 - 324: 130(ptr) AccessChain 300(input) 129 129 + 322: 307(ptr) AccessChain 306(input.Pos) 130 + 323: 18(fvec4) Load 322 + 324: 192(ptr) AccessChain 303(input) 130 99 Store 324 323 - 325: 311(ptr) AccessChain 315(input.Color) 129 + 325: 314(ptr) AccessChain 313(input.Normal) 130 326: 21(fvec3) Load 325 - 327: 130(ptr) AccessChain 300(input) 129 183 + 327: 131(ptr) AccessChain 303(input) 130 130 Store 327 326 - 328: 304(ptr) AccessChain 303(input.Pos) 183 - 329: 18(fvec4) Load 328 - 330: 189(ptr) AccessChain 300(input) 183 99 + 328: 314(ptr) AccessChain 318(input.Color) 130 + 329: 21(fvec3) Load 328 + 330: 131(ptr) AccessChain 303(input) 130 186 Store 330 329 - 331: 311(ptr) AccessChain 310(input.Normal) 183 - 332: 21(fvec3) Load 331 - 333: 130(ptr) AccessChain 300(input) 183 129 + 331: 307(ptr) AccessChain 306(input.Pos) 186 + 332: 18(fvec4) Load 331 + 333: 192(ptr) AccessChain 303(input) 186 99 Store 333 332 - 334: 311(ptr) AccessChain 315(input.Color) 183 + 334: 314(ptr) AccessChain 313(input.Normal) 186 335: 21(fvec3) Load 334 - 336: 130(ptr) AccessChain 300(input) 183 183 + 336: 131(ptr) AccessChain 303(input) 186 130 Store 336 335 - 340: 11(int) Load 339(InvocationID) - Store 337(InvocationID) 340 - 343: 11(int) Load 342(PrimitiveID) - Store 341(PrimitiveID) 343 - 346: 40 Load 300(input) - Store 345(param) 346 - 349: 11(int) Load 337(InvocationID) + 337: 314(ptr) AccessChain 318(input.Color) 186 + 338: 21(fvec3) Load 337 + 339: 131(ptr) AccessChain 303(input) 186 186 + Store 339 338 + 343: 11(int) Load 342(InvocationID) + Store 340(InvocationID) 343 + 346: 11(int) Load 345(PrimitiveID) + Store 344(PrimitiveID) 346 + 349: 40 Load 303(input) Store 348(param) 349 - 351: 11(int) Load 341(PrimitiveID) - Store 350(param) 351 - 352: 4 FunctionCall 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 345(param) 347(param) 348(param) 350(param) - 353:43(GSOutput) Load 347(param) - Store 344(outStream) 353 + 352: 11(int) Load 340(InvocationID) + Store 351(param) 352 + 354: 11(int) Load 344(PrimitiveID) + Store 353(param) 354 + 355: 4 FunctionCall 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 348(param) 350(param) 351(param) 353(param) + 356:43(GSOutput) Load 350(param) + Store 347(outStream) 356 Return FunctionEnd Line 1 56 1 @@ -353,10 +356,10 @@ spv.debuginfo.hlsl.geom 66(PrimitiveID): 60(ptr) FunctionParameter 68: Label 95(i): 94(ptr) Variable Function - 118(output): 59(ptr) Variable Function - 190(pos): 189(ptr) Variable Function - 199(worldPos): 189(ptr) Variable Function - 210(lPos): 130(ptr) Variable Function + 119(output): 59(ptr) Variable Function + 193(pos): 192(ptr) Variable Function + 202(worldPos): 192(ptr) Variable Function + 213(lPos): 131(ptr) Variable Function 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 71 71 16 16 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 74 63(input) 77 @@ -381,120 +384,120 @@ spv.debuginfo.hlsl.geom 114: 111(bool) SLessThan 109 110 BranchConditional 114 101 102 101: Label - 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 - 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 117 117 16 16 - 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(output) 77 - Store 118(output) 125 - 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 127 127 16 16 - 128: 91(int) Load 95(i) - 131: 130(ptr) AccessChain 63(input) 128 129 - 132: 21(fvec3) Load 131 - 164: 11(int) Load 65(InvocationID) - 166: 165(ptr) AccessChain 161 99 129 164 - 167: 133 Load 166 - 170: 18(fvec4) CompositeExtract 167 0 - 171: 21(fvec3) VectorShuffle 170 170 0 1 2 - 172: 18(fvec4) CompositeExtract 167 1 - 173: 21(fvec3) VectorShuffle 172 172 0 1 2 - 174: 18(fvec4) CompositeExtract 167 2 - 175: 21(fvec3) VectorShuffle 174 174 0 1 2 - 176: 168 CompositeConstruct 171 173 175 - 177: 21(fvec3) VectorTimesMatrix 132 176 - 178: 130(ptr) AccessChain 118(output) 110 - Store 178 177 - 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 180 180 16 16 - 182: 91(int) Load 95(i) - 184: 130(ptr) AccessChain 63(input) 182 183 - 185: 21(fvec3) Load 184 - 186: 130(ptr) AccessChain 118(output) 181 - Store 186 185 - 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 188 188 16 16 - 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 191 190(pos) 77 - 194: 91(int) Load 95(i) - 195: 189(ptr) AccessChain 63(input) 194 99 - 196: 18(fvec4) Load 195 - Store 190(pos) 196 - 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 198 198 16 16 - 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 200 199(worldPos) 77 - 203: 18(fvec4) Load 190(pos) - 204: 11(int) Load 65(InvocationID) - 205: 165(ptr) AccessChain 161 99 129 204 - 206: 133 Load 205 - 207: 18(fvec4) VectorTimesMatrix 203 206 - Store 199(worldPos) 207 - 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 209 209 16 16 - 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 211 210(lPos) 77 - 215: 214(ptr) AccessChain 161 99 183 - 216: 18(fvec4) Load 215 - 217: 11(int) Load 65(InvocationID) - 218: 165(ptr) AccessChain 161 99 129 217 - 219: 133 Load 218 - 220: 18(fvec4) VectorTimesMatrix 216 219 - 221: 21(fvec3) VectorShuffle 220 220 0 1 2 - Store 210(lPos) 221 - 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 223 223 16 16 - 225: 21(fvec3) Load 210(lPos) - 226: 18(fvec4) Load 199(worldPos) - 227: 21(fvec3) VectorShuffle 226 226 0 1 2 - 228: 21(fvec3) FSub 225 227 - 229: 130(ptr) AccessChain 118(output) 224 - Store 229 228 - 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 231 231 16 16 - 233: 18(fvec4) Load 199(worldPos) - 234: 21(fvec3) VectorShuffle 233 233 0 1 2 - 235: 21(fvec3) FNegate 234 - 236: 130(ptr) AccessChain 118(output) 232 - Store 236 235 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 238 238 16 16 - 239: 18(fvec4) Load 199(worldPos) - 240: 11(int) Load 65(InvocationID) - 241: 165(ptr) AccessChain 161 99 99 240 - 242: 133 Load 241 - 243: 18(fvec4) VectorTimesMatrix 239 242 - 244: 189(ptr) AccessChain 118(output) 99 - Store 244 243 - 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 246 246 16 16 - 247: 11(int) Load 65(InvocationID) - 248: 60(ptr) AccessChain 118(output) 129 - Store 248 247 - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 250 250 16 16 - 251: 11(int) Load 66(PrimitiveID) - 252: 60(ptr) AccessChain 118(output) 183 - Store 252 251 - 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 254 254 16 16 - 259: 189(ptr) AccessChain 118(output) 99 - 260: 18(fvec4) Load 259 - Store 256(outStream.Pos) 260 - 265: 60(ptr) AccessChain 118(output) 129 - 266: 11(int) Load 265 - Store 262(outStream.ViewportIndex) 266 - 270: 60(ptr) AccessChain 118(output) 183 - 271: 11(int) Load 270 - Store 267(outStream.PrimitiveID) 271 - 276: 130(ptr) AccessChain 118(output) 110 - 277: 21(fvec3) Load 276 - Store 273(outStream.Normal) 277 - 281: 130(ptr) AccessChain 118(output) 181 - 282: 21(fvec3) Load 281 - Store 278(outStream.Color) 282 - 286: 130(ptr) AccessChain 118(output) 232 - 287: 21(fvec3) Load 286 - Store 283(outStream.ViewVec) 287 - 291: 130(ptr) AccessChain 118(output) 224 - 292: 21(fvec3) Load 291 - Store 288(outStream.LightVec) 292 + 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 + 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 118 118 16 16 + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(output) 77 + Store 119(output) 126 + 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 128 128 16 16 + 129: 91(int) Load 95(i) + 132: 131(ptr) AccessChain 63(input) 129 130 + 133: 21(fvec3) Load 132 + 166: 11(int) Load 65(InvocationID) + 168: 167(ptr) AccessChain 163 99 130 166 + 169: 134 Load 168 + 173: 18(fvec4) CompositeExtract 169 0 + 174: 21(fvec3) VectorShuffle 173 173 0 1 2 + 175: 18(fvec4) CompositeExtract 169 1 + 176: 21(fvec3) VectorShuffle 175 175 0 1 2 + 177: 18(fvec4) CompositeExtract 169 2 + 178: 21(fvec3) VectorShuffle 177 177 0 1 2 + 179: 170 CompositeConstruct 174 176 178 + 180: 21(fvec3) VectorTimesMatrix 133 179 + 181: 131(ptr) AccessChain 119(output) 110 + Store 181 180 + 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 183 183 16 16 + 185: 91(int) Load 95(i) + 187: 131(ptr) AccessChain 63(input) 185 186 + 188: 21(fvec3) Load 187 + 189: 131(ptr) AccessChain 119(output) 184 + Store 189 188 + 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 191 191 16 16 + 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 194 193(pos) 77 + 197: 91(int) Load 95(i) + 198: 192(ptr) AccessChain 63(input) 197 99 + 199: 18(fvec4) Load 198 + Store 193(pos) 199 + 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 201 201 16 16 + 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 203 202(worldPos) 77 + 206: 18(fvec4) Load 193(pos) + 207: 11(int) Load 65(InvocationID) + 208: 167(ptr) AccessChain 163 99 130 207 + 209: 134 Load 208 + 210: 18(fvec4) VectorTimesMatrix 206 209 + Store 202(worldPos) 210 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 212 212 16 16 + 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 214 213(lPos) 77 + 218: 217(ptr) AccessChain 163 99 186 + 219: 18(fvec4) Load 218 + 220: 11(int) Load 65(InvocationID) + 221: 167(ptr) AccessChain 163 99 130 220 + 222: 134 Load 221 + 223: 18(fvec4) VectorTimesMatrix 219 222 + 224: 21(fvec3) VectorShuffle 223 223 0 1 2 + Store 213(lPos) 224 + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 226 226 16 16 + 228: 21(fvec3) Load 213(lPos) + 229: 18(fvec4) Load 202(worldPos) + 230: 21(fvec3) VectorShuffle 229 229 0 1 2 + 231: 21(fvec3) FSub 228 230 + 232: 131(ptr) AccessChain 119(output) 227 + Store 232 231 + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 234 234 16 16 + 236: 18(fvec4) Load 202(worldPos) + 237: 21(fvec3) VectorShuffle 236 236 0 1 2 + 238: 21(fvec3) FNegate 237 + 239: 131(ptr) AccessChain 119(output) 235 + Store 239 238 + 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 241 241 16 16 + 242: 18(fvec4) Load 202(worldPos) + 243: 11(int) Load 65(InvocationID) + 244: 167(ptr) AccessChain 163 99 99 243 + 245: 134 Load 244 + 246: 18(fvec4) VectorTimesMatrix 242 245 + 247: 192(ptr) AccessChain 119(output) 99 + Store 247 246 + 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 249 249 16 16 + 250: 11(int) Load 65(InvocationID) + 251: 60(ptr) AccessChain 119(output) 130 + Store 251 250 + 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 253 253 16 16 + 254: 11(int) Load 66(PrimitiveID) + 255: 60(ptr) AccessChain 119(output) 186 + Store 255 254 + 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 257 257 16 16 + 262: 192(ptr) AccessChain 119(output) 99 + 263: 18(fvec4) Load 262 + Store 259(outStream.Pos) 263 + 268: 60(ptr) AccessChain 119(output) 130 + 269: 11(int) Load 268 + Store 265(outStream.ViewportIndex) 269 + 273: 60(ptr) AccessChain 119(output) 186 + 274: 11(int) Load 273 + Store 270(outStream.PrimitiveID) 274 + 279: 131(ptr) AccessChain 119(output) 110 + 280: 21(fvec3) Load 279 + Store 276(outStream.Normal) 280 + 284: 131(ptr) AccessChain 119(output) 184 + 285: 21(fvec3) Load 284 + Store 281(outStream.Color) 285 + 289: 131(ptr) AccessChain 119(output) 235 + 290: 21(fvec3) Load 289 + Store 286(outStream.ViewVec) 290 + 294: 131(ptr) AccessChain 119(output) 227 + 295: 21(fvec3) Load 294 + Store 291(outStream.LightVec) 295 EmitVertex Branch 103 103: Label - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 - 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 - 295: 91(int) Load 95(i) - 296: 91(int) IAdd 295 129 - Store 95(i) 296 + 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 + 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 + 298: 91(int) Load 95(i) + 299: 91(int) IAdd 298 130 + Store 95(i) 299 Branch 100 102: Label - 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 - 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 299 299 16 16 + 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 + 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 302 302 16 16 EndPrimitive Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.tesc.out b/Test/baseResults/spv.debuginfo.hlsl.tesc.out index 34a6d0a854..995e018724 100644 --- a/Test/baseResults/spv.debuginfo.hlsl.tesc.out +++ b/Test/baseResults/spv.debuginfo.hlsl.tesc.out @@ -3,14 +3,14 @@ WARNING: 0:158: '' : attribute does not apply to entry point // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 692 +// Id's are bound by 702 Capability Tessellation Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint TessellationControl 6 "main" 584 591 598 632 641 648 655 670 685 + EntryPoint TessellationControl 6 "main" 594 601 608 642 651 658 665 680 695 ExecutionMode 6 OutputVertices 4 ExecutionMode 6 Quads ExecutionMode 6 SpacingEqual @@ -48,27 +48,27 @@ WARNING: 0:158: '' : attribute does not apply to entry point 147: String "midPoint" 159: String "radius" 170: String "v0" - 180: String "modelview" - 185: String "lightPos" - 189: String "frustumPlanes" - 192: String "tessellatedEdgeSize" - 196: String "viewportDim" - 200: String "UBO" - 203: String "ubo" - 211: String "int" - 223: String "clip0" - 241: String "clip1" - 316: String "pos" - 323: String "type.2d.image" - 324: String "@type.2d.image" - 329: String "textureHeight" - 333: String "type.sampler" - 334: String "@type.sampler" - 338: String "samplerHeight" - 342: String "type.sampled.image" - 343: String "@type.sampled.image" - 361: String "i" - 414: String "output" + 181: String "modelview" + 186: String "lightPos" + 190: String "frustumPlanes" + 193: String "tessellatedEdgeSize" + 197: String "viewportDim" + 201: String "UBO" + 204: String "ubo" + 212: String "int" + 224: String "clip0" + 242: String "clip1" + 317: String "pos" + 324: String "type.2d.image" + 325: String "@type.2d.image" + 330: String "textureHeight" + 334: String "type.sampler" + 335: String "@type.sampler" + 339: String "samplerHeight" + 343: String "type.sampled.image" + 344: String "@type.sampled.image" + 362: String "i" + 421: String "output" Name 6 "main" Name 26 "screenSpaceTessFactor(vf4;vf4;" Name 24 "p0" @@ -95,84 +95,84 @@ WARNING: 0:158: '' : attribute does not apply to entry point Name 145 "midPoint" Name 157 "radius" Name 168 "v0" - Name 178 "UBO" - MemberName 178(UBO) 0 "projection" - MemberName 178(UBO) 1 "modelview" - MemberName 178(UBO) 2 "lightPos" - MemberName 178(UBO) 3 "frustumPlanes" - MemberName 178(UBO) 4 "displacementFactor" - MemberName 178(UBO) 5 "tessellationFactor" - MemberName 178(UBO) 6 "viewportDim" - MemberName 178(UBO) 7 "tessellatedEdgeSize" - Name 201 "ubo" - MemberName 201(ubo) 0 "ubo" - Name 207 "" - Name 221 "clip0" - Name 239 "clip1" - Name 314 "pos" - Name 327 "textureHeight" - Name 336 "samplerHeight" - Name 359 "i" - Name 412 "output" - Name 422 "param" - Name 425 "param" - Name 466 "param" - Name 469 "param" + Name 179 "UBO" + MemberName 179(UBO) 0 "projection" + MemberName 179(UBO) 1 "modelview" + MemberName 179(UBO) 2 "lightPos" + MemberName 179(UBO) 3 "frustumPlanes" + MemberName 179(UBO) 4 "displacementFactor" + MemberName 179(UBO) 5 "tessellationFactor" + MemberName 179(UBO) 6 "viewportDim" + MemberName 179(UBO) 7 "tessellatedEdgeSize" + Name 202 "ubo" + MemberName 202(ubo) 0 "ubo" + Name 208 "" + Name 222 "clip0" + Name 240 "clip1" + Name 315 "pos" + Name 328 "textureHeight" + Name 337 "samplerHeight" + Name 360 "i" + Name 419 "output" + Name 429 "param" + Name 432 "param" Name 476 "param" Name 479 "param" Name 486 "param" Name 489 "param" Name 496 "param" Name 499 "param" - Name 551 "output" - Name 581 "patch" - Name 584 "patch.Pos" - Name 591 "patch.Normal" - Name 598 "patch.UV" - Name 630 "InvocationID" - Name 632 "InvocationID" - Name 634 "flattenTemp" - Name 635 "param" - Name 637 "param" - Name 641 "@entryPointOutput.Pos" - Name 648 "@entryPointOutput.Normal" - Name 655 "@entryPointOutput.UV" - Name 665 "@patchConstantResult" - Name 666 "param" - Name 670 "@patchConstantOutput.TessLevelOuter" - Name 685 "@patchConstantOutput.TessLevelInner" - Decorate 176 ArrayStride 16 - MemberDecorate 178(UBO) 0 RowMajor - MemberDecorate 178(UBO) 0 Offset 0 - MemberDecorate 178(UBO) 0 MatrixStride 16 - MemberDecorate 178(UBO) 1 RowMajor - MemberDecorate 178(UBO) 1 Offset 64 - MemberDecorate 178(UBO) 1 MatrixStride 16 - MemberDecorate 178(UBO) 2 Offset 128 - MemberDecorate 178(UBO) 3 Offset 144 - MemberDecorate 178(UBO) 4 Offset 240 - MemberDecorate 178(UBO) 5 Offset 244 - MemberDecorate 178(UBO) 6 Offset 248 - MemberDecorate 178(UBO) 7 Offset 256 - MemberDecorate 201(ubo) 0 Offset 0 - Decorate 201(ubo) Block - Decorate 207 DescriptorSet 0 - Decorate 207 Binding 0 - Decorate 327(textureHeight) DescriptorSet 0 - Decorate 327(textureHeight) Binding 1 - Decorate 336(samplerHeight) DescriptorSet 0 - Decorate 336(samplerHeight) Binding 1 - Decorate 584(patch.Pos) BuiltIn Position - Decorate 591(patch.Normal) Location 0 - Decorate 598(patch.UV) Location 1 - Decorate 632(InvocationID) BuiltIn InvocationId - Decorate 641(@entryPointOutput.Pos) BuiltIn Position - Decorate 648(@entryPointOutput.Normal) Location 0 - Decorate 655(@entryPointOutput.UV) Location 1 - Decorate 670(@patchConstantOutput.TessLevelOuter) Patch - Decorate 670(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter - Decorate 685(@patchConstantOutput.TessLevelInner) Patch - Decorate 685(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner + Name 506 "param" + Name 509 "param" + Name 561 "output" + Name 591 "patch" + Name 594 "patch.Pos" + Name 601 "patch.Normal" + Name 608 "patch.UV" + Name 640 "InvocationID" + Name 642 "InvocationID" + Name 644 "flattenTemp" + Name 645 "param" + Name 647 "param" + Name 651 "@entryPointOutput.Pos" + Name 658 "@entryPointOutput.Normal" + Name 665 "@entryPointOutput.UV" + Name 675 "@patchConstantResult" + Name 676 "param" + Name 680 "@patchConstantOutput.TessLevelOuter" + Name 695 "@patchConstantOutput.TessLevelInner" + Decorate 177 ArrayStride 16 + MemberDecorate 179(UBO) 0 RowMajor + MemberDecorate 179(UBO) 0 Offset 0 + MemberDecorate 179(UBO) 0 MatrixStride 16 + MemberDecorate 179(UBO) 1 RowMajor + MemberDecorate 179(UBO) 1 Offset 64 + MemberDecorate 179(UBO) 1 MatrixStride 16 + MemberDecorate 179(UBO) 2 Offset 128 + MemberDecorate 179(UBO) 3 Offset 144 + MemberDecorate 179(UBO) 4 Offset 240 + MemberDecorate 179(UBO) 5 Offset 244 + MemberDecorate 179(UBO) 6 Offset 248 + MemberDecorate 179(UBO) 7 Offset 256 + MemberDecorate 202(ubo) 0 Offset 0 + Decorate 202(ubo) Block + Decorate 208 DescriptorSet 0 + Decorate 208 Binding 0 + Decorate 328(textureHeight) DescriptorSet 0 + Decorate 328(textureHeight) Binding 1 + Decorate 337(samplerHeight) DescriptorSet 0 + Decorate 337(samplerHeight) Binding 1 + Decorate 594(patch.Pos) BuiltIn Position + Decorate 601(patch.Normal) Location 0 + Decorate 608(patch.UV) Location 1 + Decorate 642(InvocationID) BuiltIn InvocationId + Decorate 651(@entryPointOutput.Pos) BuiltIn Position + Decorate 658(@entryPointOutput.Normal) Location 0 + Decorate 665(@entryPointOutput.UV) Location 1 + Decorate 680(@patchConstantOutput.TessLevelOuter) Patch + Decorate 680(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter + Decorate 695(@patchConstantOutput.TessLevelInner) Patch + Decorate 695(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -267,277 +267,287 @@ WARNING: 0:158: '' : attribute does not apply to entry point 167: 11(int) Constant 72 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 170 20 30 167 16 29 19 173: TypeMatrix 18(fvec4) 4 - 175: 49(bool) ConstantTrue - 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 175 - 176: TypeArray 18(fvec4) 15 - 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 20 15 - 178(UBO): TypeStruct 173 173 18(fvec4) 176 8(float) 8(float) 46(fvec2) 8(float) - 181: 11(int) Constant 29 - 182: 11(int) Constant 20 - 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 174 30 181 182 16 16 17 - 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 174 30 181 182 16 16 17 - 186: 11(int) Constant 30 - 187: 11(int) Constant 17 - 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 185 20 30 186 187 16 16 17 - 190: 11(int) Constant 22 - 188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 189 177 30 82 190 16 16 17 - 193: 11(int) Constant 27 - 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 192 10 30 78 193 16 16 17 - 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 192 10 30 78 193 16 16 17 - 197: 11(int) Constant 34 - 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 196 47 30 197 182 16 16 17 - 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 192 10 30 78 193 16 16 17 - 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 200 34 30 167 16 33 200 16 17 179 183 184 188 191 194 195 198 - 201(ubo): TypeStruct 178(UBO) - 204: 11(int) Constant 37 - 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 203 199 30 204 204 16 16 17 - 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 203 34 30 167 16 33 203 16 17 202 - 206: TypePointer Uniform 201(ubo) - 207: 206(ptr) Variable Uniform - 209: 11(int) Constant 8 - 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 205 30 167 16 33 1 207 209 - 210: TypeInt 32 1 - 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 211 14 19 16 - 213: 210(int) Constant 0 - 214: 210(int) Constant 1 - 215: TypePointer Uniform 173 - 220: 11(int) Constant 75 - 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 223 20 30 220 16 29 19 - 227: 8(float) Constant 0 - 228: 69(fvec3) ConstantComposite 227 227 227 - 238: 11(int) Constant 76 - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 241 20 30 238 16 29 19 - 254: 11(int) Constant 79 - 261: 11(int) Constant 80 - 268: 11(int) Constant 83 - 269: 210(int) Constant 6 - 270: TypePointer Uniform 46(fvec2) - 281: 11(int) Constant 84 - 292: 11(int) Constant 89 - 296: 210(int) Constant 7 - 297: TypePointer Uniform 8(float) - 301: 210(int) Constant 5 - 305: 8(float) Constant 1065353216 - 306: 8(float) Constant 1115684864 - 313: 11(int) Constant 98 - 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 316 20 30 313 16 59 19 - 320: 11(int) Constant 99 - 321: TypeImage 8(float) 2D sampled format:Unknown - 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 323 16 30 320 16 33 324 325 17 - 326: TypePointer UniformConstant 321 -327(textureHeight): 326(ptr) Variable UniformConstant - 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 329 322 30 320 16 33 329 327(textureHeight) 209 - 331: TypeSampler - 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 333 34 30 320 16 33 334 325 17 - 335: TypePointer UniformConstant 331 -336(samplerHeight): 335(ptr) Variable UniformConstant - 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 338 332 30 320 16 33 338 336(samplerHeight) 209 - 340: TypeSampledImage 321 - 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 342 16 30 320 16 33 343 325 17 - 348: 210(int) Constant 4 - 357: 11(int) Constant 102 - 358: TypePointer Function 210(int) - 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 361 212 30 357 16 59 19 - 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 - 377: 11(int) Constant 103 - 379: 210(int) Constant 3 - 381: TypePointer Uniform 18(fvec4) - 385: 8(float) Constant 1090519040 - 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 176: 49(bool) ConstantTrue + 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 176 + 177: TypeArray 18(fvec4) 15 + 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 20 15 + 179(UBO): TypeStruct 173 173 18(fvec4) 177 8(float) 8(float) 46(fvec2) 8(float) + 182: 11(int) Constant 29 + 183: 11(int) Constant 20 + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 181 174 30 182 183 16 16 17 + 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 181 174 30 182 183 16 16 17 + 187: 11(int) Constant 30 + 188: 11(int) Constant 17 + 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 186 20 30 187 188 16 16 17 + 191: 11(int) Constant 22 + 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 190 178 30 82 191 16 16 17 + 194: 11(int) Constant 27 + 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 193 10 30 78 194 16 16 17 + 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 193 10 30 78 194 16 16 17 + 198: 11(int) Constant 34 + 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 197 47 30 198 183 16 16 17 + 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 193 10 30 78 194 16 16 17 + 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 201 34 30 167 16 33 201 16 17 180 184 185 189 192 195 196 199 + 202(ubo): TypeStruct 179(UBO) + 205: 11(int) Constant 37 + 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 204 200 30 205 205 16 16 17 + 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 204 34 30 167 16 33 204 16 17 203 + 207: TypePointer Uniform 202(ubo) + 208: 207(ptr) Variable Uniform + 210: 11(int) Constant 8 + 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 206 30 167 16 33 1 208 210 + 211: TypeInt 32 1 + 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 212 14 19 16 + 214: 211(int) Constant 0 + 215: 211(int) Constant 1 + 216: TypePointer Uniform 173 + 221: 11(int) Constant 75 + 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 224 20 30 221 16 29 19 + 228: 8(float) Constant 0 + 229: 69(fvec3) ConstantComposite 228 228 228 + 239: 11(int) Constant 76 + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 242 20 30 239 16 29 19 + 255: 11(int) Constant 79 + 262: 11(int) Constant 80 + 269: 11(int) Constant 83 + 270: 211(int) Constant 6 + 271: TypePointer Uniform 46(fvec2) + 282: 11(int) Constant 84 + 293: 11(int) Constant 89 + 297: 211(int) Constant 7 + 298: TypePointer Uniform 8(float) + 302: 211(int) Constant 5 + 306: 8(float) Constant 1065353216 + 307: 8(float) Constant 1115684864 + 314: 11(int) Constant 98 + 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 317 20 30 314 16 59 19 + 321: 11(int) Constant 99 + 322: TypeImage 8(float) 2D sampled format:Unknown + 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 324 16 30 321 16 33 325 326 17 + 327: TypePointer UniformConstant 322 +328(textureHeight): 327(ptr) Variable UniformConstant + 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 330 323 30 321 16 33 330 328(textureHeight) 210 + 332: TypeSampler + 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 334 34 30 321 16 33 335 326 17 + 336: TypePointer UniformConstant 332 +337(samplerHeight): 336(ptr) Variable UniformConstant + 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 339 333 30 321 16 33 339 337(samplerHeight) 210 + 341: TypeSampledImage 322 + 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 343 16 30 321 16 33 344 326 17 + 349: 211(int) Constant 4 + 358: 11(int) Constant 102 + 359: TypePointer Function 211(int) + 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 362 213 30 358 16 59 19 + 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 379: 11(int) Constant 103 + 381: 211(int) Constant 3 + 383: TypePointer Uniform 18(fvec4) + 387: 8(float) Constant 1090519040 + 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 - 392: 49(bool) ConstantFalse - 395: 11(int) Constant 105 - 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 - 404: 11(int) Constant 108 - 410: 11(int) Constant 113 - 411: TypePointer Function 92(ConstantsHSOutput) - 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 100 30 410 16 108 19 - 416: 88 ConstantComposite 227 227 227 227 - 417: 90 ConstantComposite 227 227 - 418:92(ConstantsHSOutput) ConstantComposite 416 417 - 420: 11(int) Constant 115 - 421: 210(int) Constant 2 - 429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 - 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 - 436: 11(int) Constant 117 - 439: 11(int) Constant 118 - 442: 11(int) Constant 119 - 445: 11(int) Constant 120 - 448: 11(int) Constant 121 - 451: 11(int) Constant 122 - 456: 11(int) Constant 126 - 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 - 465: 11(int) Constant 128 - 475: 11(int) Constant 129 - 485: 11(int) Constant 130 - 495: 11(int) Constant 131 - 505: 11(int) Constant 132 - 513: 11(int) Constant 133 - 523: 11(int) Constant 139 - 526: 11(int) Constant 140 - 529: 11(int) Constant 141 - 532: 11(int) Constant 142 - 535: 11(int) Constant 143 - 538: 11(int) Constant 144 - 542: 11(int) Constant 148 - 549: 11(int) Constant 159 - 550: TypePointer Function 116(HSOutput) - 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 123 30 549 16 132 19 - 554: 18(fvec4) ConstantComposite 227 227 227 227 - 555: 46(fvec2) ConstantComposite 227 227 - 556:116(HSOutput) ConstantComposite 554 228 555 - 558: 11(int) Constant 160 - 564: 11(int) Constant 161 - 566: TypePointer Function 69(fvec3) - 571: 11(int) Constant 162 - 577: 11(int) Constant 163 - 582: TypeArray 18(fvec4) 19 - 583: TypePointer Input 582 - 584(patch.Pos): 583(ptr) Variable Input - 585: TypePointer Input 18(fvec4) - 589: TypeArray 69(fvec3) 19 - 590: TypePointer Input 589 -591(patch.Normal): 590(ptr) Variable Input - 592: TypePointer Input 69(fvec3) - 596: TypeArray 46(fvec2) 19 - 597: TypePointer Input 596 - 598(patch.UV): 597(ptr) Variable Input - 599: TypePointer Input 46(fvec2) - 631: TypePointer Input 11(int) -632(InvocationID): 631(ptr) Variable Input - 640: TypePointer Output 582 -641(@entryPointOutput.Pos): 640(ptr) Variable Output - 645: TypePointer Output 18(fvec4) - 647: TypePointer Output 589 -648(@entryPointOutput.Normal): 647(ptr) Variable Output - 652: TypePointer Output 69(fvec3) - 654: TypePointer Output 596 -655(@entryPointOutput.UV): 654(ptr) Variable Output - 659: TypePointer Output 46(fvec2) - 669: TypePointer Output 88 -670(@patchConstantOutput.TessLevelOuter): 669(ptr) Variable Output - 673: TypePointer Output 8(float) - 684: TypePointer Output 90 -685(@patchConstantOutput.TessLevelInner): 684(ptr) Variable Output + 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 396: 49(bool) ConstantFalse + 399: 11(int) Constant 105 + 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 410: 11(int) Constant 108 + 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 417: 11(int) Constant 113 + 418: TypePointer Function 92(ConstantsHSOutput) + 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 421 100 30 417 16 108 19 + 423: 88 ConstantComposite 228 228 228 228 + 424: 90 ConstantComposite 228 228 + 425:92(ConstantsHSOutput) ConstantComposite 423 424 + 427: 11(int) Constant 115 + 428: 211(int) Constant 2 + 436: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 437: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 445: 11(int) Constant 117 + 448: 11(int) Constant 118 + 451: 11(int) Constant 119 + 454: 11(int) Constant 120 + 457: 11(int) Constant 121 + 460: 11(int) Constant 122 + 465: 11(int) Constant 126 + 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 475: 11(int) Constant 128 + 485: 11(int) Constant 129 + 495: 11(int) Constant 130 + 505: 11(int) Constant 131 + 515: 11(int) Constant 132 + 523: 11(int) Constant 133 + 533: 11(int) Constant 139 + 536: 11(int) Constant 140 + 539: 11(int) Constant 141 + 542: 11(int) Constant 142 + 545: 11(int) Constant 143 + 548: 11(int) Constant 144 + 552: 11(int) Constant 148 + 559: 11(int) Constant 159 + 560: TypePointer Function 116(HSOutput) + 562: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 421 123 30 559 16 132 19 + 564: 18(fvec4) ConstantComposite 228 228 228 228 + 565: 46(fvec2) ConstantComposite 228 228 + 566:116(HSOutput) ConstantComposite 564 229 565 + 568: 11(int) Constant 160 + 574: 11(int) Constant 161 + 576: TypePointer Function 69(fvec3) + 581: 11(int) Constant 162 + 587: 11(int) Constant 163 + 592: TypeArray 18(fvec4) 19 + 593: TypePointer Input 592 + 594(patch.Pos): 593(ptr) Variable Input + 595: TypePointer Input 18(fvec4) + 599: TypeArray 69(fvec3) 19 + 600: TypePointer Input 599 +601(patch.Normal): 600(ptr) Variable Input + 602: TypePointer Input 69(fvec3) + 606: TypeArray 46(fvec2) 19 + 607: TypePointer Input 606 + 608(patch.UV): 607(ptr) Variable Input + 609: TypePointer Input 46(fvec2) + 641: TypePointer Input 11(int) +642(InvocationID): 641(ptr) Variable Input + 650: TypePointer Output 592 +651(@entryPointOutput.Pos): 650(ptr) Variable Output + 655: TypePointer Output 18(fvec4) + 657: TypePointer Output 599 +658(@entryPointOutput.Normal): 657(ptr) Variable Output + 662: TypePointer Output 69(fvec3) + 664: TypePointer Output 606 +665(@entryPointOutput.UV): 664(ptr) Variable Output + 669: TypePointer Output 46(fvec2) + 679: TypePointer Output 88 +680(@patchConstantOutput.TessLevelOuter): 679(ptr) Variable Output + 683: TypePointer Output 8(float) + 694: TypePointer Output 90 +695(@patchConstantOutput.TessLevelInner): 694(ptr) Variable Output Line 1 158 1 6(main): 4 Function None 5 7: Label - 581(patch): 87(ptr) Variable Function -630(InvocationID): 115(ptr) Variable Function -634(flattenTemp): 550(ptr) Variable Function - 635(param): 87(ptr) Variable Function - 637(param): 115(ptr) Variable Function -665(@patchConstantResult): 411(ptr) Variable Function - 666(param): 87(ptr) Variable Function + 591(patch): 87(ptr) Variable Function +640(InvocationID): 115(ptr) Variable Function +644(flattenTemp): 560(ptr) Variable Function + 645(param): 87(ptr) Variable Function + 647(param): 115(ptr) Variable Function +675(@patchConstantResult): 418(ptr) Variable Function + 676(param): 87(ptr) Variable Function Line 1 158 0 - 586: 585(ptr) AccessChain 584(patch.Pos) 213 - 587: 18(fvec4) Load 586 - 588: 21(ptr) AccessChain 581(patch) 213 213 - Store 588 587 - 593: 592(ptr) AccessChain 591(patch.Normal) 213 - 594: 69(fvec3) Load 593 - 595: 566(ptr) AccessChain 581(patch) 213 214 - Store 595 594 - 600: 599(ptr) AccessChain 598(patch.UV) 213 - 601: 46(fvec2) Load 600 - 602: 48(ptr) AccessChain 581(patch) 213 421 - Store 602 601 - 603: 585(ptr) AccessChain 584(patch.Pos) 214 - 604: 18(fvec4) Load 603 - 605: 21(ptr) AccessChain 581(patch) 214 213 + 596: 595(ptr) AccessChain 594(patch.Pos) 214 + 597: 18(fvec4) Load 596 + 598: 21(ptr) AccessChain 591(patch) 214 214 + Store 598 597 + 603: 602(ptr) AccessChain 601(patch.Normal) 214 + 604: 69(fvec3) Load 603 + 605: 576(ptr) AccessChain 591(patch) 214 215 Store 605 604 - 606: 592(ptr) AccessChain 591(patch.Normal) 214 - 607: 69(fvec3) Load 606 - 608: 566(ptr) AccessChain 581(patch) 214 214 - Store 608 607 - 609: 599(ptr) AccessChain 598(patch.UV) 214 - 610: 46(fvec2) Load 609 - 611: 48(ptr) AccessChain 581(patch) 214 421 - Store 611 610 - 612: 585(ptr) AccessChain 584(patch.Pos) 421 - 613: 18(fvec4) Load 612 - 614: 21(ptr) AccessChain 581(patch) 421 213 - Store 614 613 - 615: 592(ptr) AccessChain 591(patch.Normal) 421 - 616: 69(fvec3) Load 615 - 617: 566(ptr) AccessChain 581(patch) 421 214 - Store 617 616 - 618: 599(ptr) AccessChain 598(patch.UV) 421 - 619: 46(fvec2) Load 618 - 620: 48(ptr) AccessChain 581(patch) 421 421 - Store 620 619 - 621: 585(ptr) AccessChain 584(patch.Pos) 379 - 622: 18(fvec4) Load 621 - 623: 21(ptr) AccessChain 581(patch) 379 213 - Store 623 622 - 624: 592(ptr) AccessChain 591(patch.Normal) 379 - 625: 69(fvec3) Load 624 - 626: 566(ptr) AccessChain 581(patch) 379 214 - Store 626 625 - 627: 599(ptr) AccessChain 598(patch.UV) 379 - 628: 46(fvec2) Load 627 - 629: 48(ptr) AccessChain 581(patch) 379 421 - Store 629 628 - 633: 11(int) Load 632(InvocationID) - Store 630(InvocationID) 633 - 636: 85 Load 581(patch) - Store 635(param) 636 - 638: 11(int) Load 630(InvocationID) - Store 637(param) 638 - 639:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 635(param) 637(param) - Store 634(flattenTemp) 639 - 642: 11(int) Load 632(InvocationID) - 643: 21(ptr) AccessChain 634(flattenTemp) 213 - 644: 18(fvec4) Load 643 - 646: 645(ptr) AccessChain 641(@entryPointOutput.Pos) 642 - Store 646 644 - 649: 11(int) Load 632(InvocationID) - 650: 566(ptr) AccessChain 634(flattenTemp) 214 - 651: 69(fvec3) Load 650 - 653: 652(ptr) AccessChain 648(@entryPointOutput.Normal) 649 - Store 653 651 - 656: 11(int) Load 632(InvocationID) - 657: 48(ptr) AccessChain 634(flattenTemp) 421 - 658: 46(fvec2) Load 657 - 660: 659(ptr) AccessChain 655(@entryPointOutput.UV) 656 - Store 660 658 + 610: 609(ptr) AccessChain 608(patch.UV) 214 + 611: 46(fvec2) Load 610 + 612: 48(ptr) AccessChain 591(patch) 214 428 + Store 612 611 + 613: 595(ptr) AccessChain 594(patch.Pos) 215 + 614: 18(fvec4) Load 613 + 615: 21(ptr) AccessChain 591(patch) 215 214 + Store 615 614 + 616: 602(ptr) AccessChain 601(patch.Normal) 215 + 617: 69(fvec3) Load 616 + 618: 576(ptr) AccessChain 591(patch) 215 215 + Store 618 617 + 619: 609(ptr) AccessChain 608(patch.UV) 215 + 620: 46(fvec2) Load 619 + 621: 48(ptr) AccessChain 591(patch) 215 428 + Store 621 620 + 622: 595(ptr) AccessChain 594(patch.Pos) 428 + 623: 18(fvec4) Load 622 + 624: 21(ptr) AccessChain 591(patch) 428 214 + Store 624 623 + 625: 602(ptr) AccessChain 601(patch.Normal) 428 + 626: 69(fvec3) Load 625 + 627: 576(ptr) AccessChain 591(patch) 428 215 + Store 627 626 + 628: 609(ptr) AccessChain 608(patch.UV) 428 + 629: 46(fvec2) Load 628 + 630: 48(ptr) AccessChain 591(patch) 428 428 + Store 630 629 + 631: 595(ptr) AccessChain 594(patch.Pos) 381 + 632: 18(fvec4) Load 631 + 633: 21(ptr) AccessChain 591(patch) 381 214 + Store 633 632 + 634: 602(ptr) AccessChain 601(patch.Normal) 381 + 635: 69(fvec3) Load 634 + 636: 576(ptr) AccessChain 591(patch) 381 215 + Store 636 635 + 637: 609(ptr) AccessChain 608(patch.UV) 381 + 638: 46(fvec2) Load 637 + 639: 48(ptr) AccessChain 591(patch) 381 428 + Store 639 638 + 643: 11(int) Load 642(InvocationID) + Store 640(InvocationID) 643 + 646: 85 Load 591(patch) + Store 645(param) 646 + 648: 11(int) Load 640(InvocationID) + Store 647(param) 648 + 649:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 645(param) 647(param) + Store 644(flattenTemp) 649 + 652: 11(int) Load 642(InvocationID) + 653: 21(ptr) AccessChain 644(flattenTemp) 214 + 654: 18(fvec4) Load 653 + 656: 655(ptr) AccessChain 651(@entryPointOutput.Pos) 652 + Store 656 654 + 659: 11(int) Load 642(InvocationID) + 660: 576(ptr) AccessChain 644(flattenTemp) 215 + 661: 69(fvec3) Load 660 + 663: 662(ptr) AccessChain 658(@entryPointOutput.Normal) 659 + Store 663 661 + 666: 11(int) Load 642(InvocationID) + 667: 48(ptr) AccessChain 644(flattenTemp) 428 + 668: 46(fvec2) Load 667 + 670: 669(ptr) AccessChain 665(@entryPointOutput.UV) 666 + Store 670 668 ControlBarrier 44 19 16 - 661: 11(int) Load 632(InvocationID) - 662: 49(bool) IEqual 661 213 - SelectionMerge 664 None - BranchConditional 662 663 664 - 663: Label - 667: 85 Load 581(patch) - Store 666(param) 667 - 668:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 666(param) - Store 665(@patchConstantResult) 668 - 671: 156(ptr) AccessChain 665(@patchConstantResult) 213 213 - 672: 8(float) Load 671 - 674: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 213 - Store 674 672 - 675: 156(ptr) AccessChain 665(@patchConstantResult) 213 214 - 676: 8(float) Load 675 - 677: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 214 - Store 677 676 - 678: 156(ptr) AccessChain 665(@patchConstantResult) 213 421 - 679: 8(float) Load 678 - 680: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 421 - Store 680 679 - 681: 156(ptr) AccessChain 665(@patchConstantResult) 213 379 + 671: 11(int) Load 642(InvocationID) + 672: 49(bool) IEqual 671 214 + SelectionMerge 674 None + BranchConditional 672 673 674 + 673: Label + 677: 85 Load 591(patch) + Store 676(param) 677 + 678:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 676(param) + Store 675(@patchConstantResult) 678 + 681: 156(ptr) AccessChain 675(@patchConstantResult) 214 214 682: 8(float) Load 681 - 683: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 379 - Store 683 682 - 686: 156(ptr) AccessChain 665(@patchConstantResult) 214 213 - 687: 8(float) Load 686 - 688: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 213 - Store 688 687 - 689: 156(ptr) AccessChain 665(@patchConstantResult) 214 214 - 690: 8(float) Load 689 - 691: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 214 - Store 691 690 - Branch 664 - 664: Label + 684: 683(ptr) AccessChain 680(@patchConstantOutput.TessLevelOuter) 214 + Store 684 682 + 685: 156(ptr) AccessChain 675(@patchConstantResult) 214 215 + 686: 8(float) Load 685 + 687: 683(ptr) AccessChain 680(@patchConstantOutput.TessLevelOuter) 215 + Store 687 686 + 688: 156(ptr) AccessChain 675(@patchConstantResult) 214 428 + 689: 8(float) Load 688 + 690: 683(ptr) AccessChain 680(@patchConstantOutput.TessLevelOuter) 428 + Store 690 689 + 691: 156(ptr) AccessChain 675(@patchConstantResult) 214 381 + 692: 8(float) Load 691 + 693: 683(ptr) AccessChain 680(@patchConstantOutput.TessLevelOuter) 381 + Store 693 692 + 696: 156(ptr) AccessChain 675(@patchConstantResult) 215 214 + 697: 8(float) Load 696 + 698: 683(ptr) AccessChain 695(@patchConstantOutput.TessLevelInner) 214 + Store 698 697 + 699: 156(ptr) AccessChain 675(@patchConstantResult) 215 215 + 700: 8(float) Load 699 + 701: 683(ptr) AccessChain 695(@patchConstantOutput.TessLevelInner) 215 + Store 701 700 + Branch 674 + 674: Label Return FunctionEnd Line 1 65 1 @@ -548,8 +558,8 @@ WARNING: 0:158: '' : attribute does not apply to entry point 145(midPoint): 21(ptr) Variable Function 157(radius): 156(ptr) Variable Function 168(v0): 21(ptr) Variable Function - 221(clip0): 21(ptr) Variable Function - 239(clip1): 21(ptr) Variable Function + 222(clip0): 21(ptr) Variable Function + 240(clip1): 21(ptr) Variable Function 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 29 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 32 32 16 16 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 38 24(p0) 41 @@ -573,349 +583,349 @@ WARNING: 0:158: '' : attribute does not apply to entry point 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 167 167 16 16 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 169 168(v0) 41 172: 18(fvec4) Load 145(midPoint) - 216: 215(ptr) AccessChain 207 213 214 - 217: 173 Load 216 - 218: 18(fvec4) VectorTimesMatrix 172 217 - Store 168(v0) 218 - 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 220 220 16 16 - 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 222 221(clip0) 41 - 225: 18(fvec4) Load 168(v0) - 226: 8(float) Load 157(radius) - 229: 8(float) CompositeExtract 228 0 - 230: 8(float) CompositeExtract 228 1 - 231: 8(float) CompositeExtract 228 2 - 232: 18(fvec4) CompositeConstruct 226 229 230 231 - 233: 18(fvec4) FSub 225 232 - 234: 215(ptr) AccessChain 207 213 213 - 235: 173 Load 234 - 236: 18(fvec4) VectorTimesMatrix 233 235 - Store 221(clip0) 236 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 238 238 16 16 - 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 240 239(clip1) 41 - 243: 18(fvec4) Load 168(v0) - 244: 8(float) Load 157(radius) - 245: 8(float) CompositeExtract 228 0 - 246: 8(float) CompositeExtract 228 1 - 247: 8(float) CompositeExtract 228 2 - 248: 18(fvec4) CompositeConstruct 244 245 246 247 - 249: 18(fvec4) FAdd 243 248 - 250: 215(ptr) AccessChain 207 213 213 - 251: 173 Load 250 - 252: 18(fvec4) VectorTimesMatrix 249 251 - Store 239(clip1) 252 - 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 254 254 16 16 - 255: 156(ptr) AccessChain 221(clip0) 17 - 256: 8(float) Load 255 - 257: 18(fvec4) Load 221(clip0) - 258: 18(fvec4) CompositeConstruct 256 256 256 256 - 259: 18(fvec4) FDiv 257 258 - Store 221(clip0) 259 - 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 261 261 16 16 - 262: 156(ptr) AccessChain 239(clip1) 17 - 263: 8(float) Load 262 - 264: 18(fvec4) Load 239(clip1) - 265: 18(fvec4) CompositeConstruct 263 263 263 263 - 266: 18(fvec4) FDiv 264 265 - Store 239(clip1) 266 - 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 268 268 16 16 - 271: 270(ptr) AccessChain 207 213 269 - 272: 46(fvec2) Load 271 - 273: 18(fvec4) Load 221(clip0) - 274: 46(fvec2) VectorShuffle 273 273 0 1 - 275: 46(fvec2) FMul 274 272 - 276: 156(ptr) AccessChain 221(clip0) 16 - 277: 8(float) CompositeExtract 275 0 - Store 276 277 - 278: 156(ptr) AccessChain 221(clip0) 34 - 279: 8(float) CompositeExtract 275 1 - Store 278 279 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 281 281 16 16 - 282: 270(ptr) AccessChain 207 213 269 - 283: 46(fvec2) Load 282 - 284: 18(fvec4) Load 239(clip1) - 285: 46(fvec2) VectorShuffle 284 284 0 1 - 286: 46(fvec2) FMul 285 283 - 287: 156(ptr) AccessChain 239(clip1) 16 - 288: 8(float) CompositeExtract 286 0 - Store 287 288 - 289: 156(ptr) AccessChain 239(clip1) 34 - 290: 8(float) CompositeExtract 286 1 - Store 289 290 - 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 292 292 16 16 - 293: 18(fvec4) Load 221(clip0) - 294: 18(fvec4) Load 239(clip1) - 295: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 293 294 - 298: 297(ptr) AccessChain 207 213 296 - 299: 8(float) Load 298 - 300: 8(float) FDiv 295 299 - 302: 297(ptr) AccessChain 207 213 301 - 303: 8(float) Load 302 - 304: 8(float) FMul 300 303 - 307: 8(float) ExtInst 3(GLSL.std.450) 43(FClamp) 304 305 306 - ReturnValue 307 + 217: 216(ptr) AccessChain 208 214 215 + 218: 173 Load 217 + 219: 18(fvec4) VectorTimesMatrix 172 218 + Store 168(v0) 219 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 221 221 16 16 + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 223 222(clip0) 41 + 226: 18(fvec4) Load 168(v0) + 227: 8(float) Load 157(radius) + 230: 8(float) CompositeExtract 229 0 + 231: 8(float) CompositeExtract 229 1 + 232: 8(float) CompositeExtract 229 2 + 233: 18(fvec4) CompositeConstruct 227 230 231 232 + 234: 18(fvec4) FSub 226 233 + 235: 216(ptr) AccessChain 208 214 214 + 236: 173 Load 235 + 237: 18(fvec4) VectorTimesMatrix 234 236 + Store 222(clip0) 237 + 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 239 239 16 16 + 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 241 240(clip1) 41 + 244: 18(fvec4) Load 168(v0) + 245: 8(float) Load 157(radius) + 246: 8(float) CompositeExtract 229 0 + 247: 8(float) CompositeExtract 229 1 + 248: 8(float) CompositeExtract 229 2 + 249: 18(fvec4) CompositeConstruct 245 246 247 248 + 250: 18(fvec4) FAdd 244 249 + 251: 216(ptr) AccessChain 208 214 214 + 252: 173 Load 251 + 253: 18(fvec4) VectorTimesMatrix 250 252 + Store 240(clip1) 253 + 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 255 255 16 16 + 256: 156(ptr) AccessChain 222(clip0) 17 + 257: 8(float) Load 256 + 258: 18(fvec4) Load 222(clip0) + 259: 18(fvec4) CompositeConstruct 257 257 257 257 + 260: 18(fvec4) FDiv 258 259 + Store 222(clip0) 260 + 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 262 262 16 16 + 263: 156(ptr) AccessChain 240(clip1) 17 + 264: 8(float) Load 263 + 265: 18(fvec4) Load 240(clip1) + 266: 18(fvec4) CompositeConstruct 264 264 264 264 + 267: 18(fvec4) FDiv 265 266 + Store 240(clip1) 267 + 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 269 269 16 16 + 272: 271(ptr) AccessChain 208 214 270 + 273: 46(fvec2) Load 272 + 274: 18(fvec4) Load 222(clip0) + 275: 46(fvec2) VectorShuffle 274 274 0 1 + 276: 46(fvec2) FMul 275 273 + 277: 156(ptr) AccessChain 222(clip0) 16 + 278: 8(float) CompositeExtract 276 0 + Store 277 278 + 279: 156(ptr) AccessChain 222(clip0) 34 + 280: 8(float) CompositeExtract 276 1 + Store 279 280 + 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 282 282 16 16 + 283: 271(ptr) AccessChain 208 214 270 + 284: 46(fvec2) Load 283 + 285: 18(fvec4) Load 240(clip1) + 286: 46(fvec2) VectorShuffle 285 285 0 1 + 287: 46(fvec2) FMul 286 284 + 288: 156(ptr) AccessChain 240(clip1) 16 + 289: 8(float) CompositeExtract 287 0 + Store 288 289 + 290: 156(ptr) AccessChain 240(clip1) 34 + 291: 8(float) CompositeExtract 287 1 + Store 290 291 + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 293 293 16 16 + 294: 18(fvec4) Load 222(clip0) + 295: 18(fvec4) Load 240(clip1) + 296: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 294 295 + 299: 298(ptr) AccessChain 208 214 297 + 300: 8(float) Load 299 + 301: 8(float) FDiv 296 300 + 303: 298(ptr) AccessChain 208 214 302 + 304: 8(float) Load 303 + 305: 8(float) FMul 301 304 + 308: 8(float) ExtInst 3(GLSL.std.450) 43(FClamp) 305 306 307 + ReturnValue 308 FunctionEnd Line 1 95 1 56(frustumCheck(vf4;vf2;): 49(bool) Function None 52 54(Pos): 21(ptr) FunctionParameter 55(inUV): 48(ptr) FunctionParameter 57: Label - 314(pos): 21(ptr) Variable Function - 359(i): 358(ptr) Variable Function + 315(pos): 21(ptr) Variable Function + 360(i): 359(ptr) Variable Function 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 60 60 16 16 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 63 54(Pos) 41 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 66 55(inUV) 41 - 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 56(frustumCheck(vf4;vf2;) - 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 313 313 16 16 - 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 315 314(pos) 41 - 318: 18(fvec4) Load 54(Pos) - Store 314(pos) 318 - 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 320 320 16 16 - 330: 321 Load 327(textureHeight) - 339: 331 Load 336(samplerHeight) - 344: 340 SampledImage 330 339 - 345: 46(fvec2) Load 55(inUV) - 346: 18(fvec4) ImageSampleExplicitLod 344 345 Lod 227 - 347: 8(float) CompositeExtract 346 0 - 349: 297(ptr) AccessChain 207 213 348 - 350: 8(float) Load 349 - 351: 8(float) FMul 347 350 - 352: 156(ptr) AccessChain 314(pos) 34 - 353: 8(float) Load 352 - 354: 8(float) FSub 353 351 - 355: 156(ptr) AccessChain 314(pos) 34 - Store 355 354 - 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16 - 362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 360 359(i) 41 - Store 359(i) 213 - Branch 363 - 363: Label - 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16 - LoopMerge 365 366 None - Branch 369 - 369: Label - 370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16 - 372: 210(int) Load 359(i) - 374: 49(bool) SLessThan 372 269 - BranchConditional 374 364 365 - 364: Label - 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 377 377 16 16 - 378: 18(fvec4) Load 314(pos) - 380: 210(int) Load 359(i) - 382: 381(ptr) AccessChain 207 213 379 380 - 383: 18(fvec4) Load 382 - 384: 8(float) Dot 378 383 - 386: 8(float) FAdd 384 385 - 388: 49(bool) FOrdLessThan 386 227 - SelectionMerge 390 None - BranchConditional 388 389 390 - 389: Label - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 395 395 16 16 - ReturnValue 392 - 390: Label - Branch 366 - 366: Label - 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16 - 399: 210(int) Load 359(i) - 400: 210(int) IAdd 399 214 - Store 359(i) 400 - Branch 363 - 365: Label - 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 404 404 16 16 - ReturnValue 175 + 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 56(frustumCheck(vf4;vf2;) + 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 314 314 16 16 + 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 316 315(pos) 41 + 319: 18(fvec4) Load 54(Pos) + Store 315(pos) 319 + 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 321 321 16 16 + 331: 322 Load 328(textureHeight) + 340: 332 Load 337(samplerHeight) + 345: 341 SampledImage 331 340 + 346: 46(fvec2) Load 55(inUV) + 347: 18(fvec4) ImageSampleExplicitLod 345 346 Lod 228 + 348: 8(float) CompositeExtract 347 0 + 350: 298(ptr) AccessChain 208 214 349 + 351: 8(float) Load 350 + 352: 8(float) FMul 348 351 + 353: 156(ptr) AccessChain 315(pos) 34 + 354: 8(float) Load 353 + 355: 8(float) FSub 354 352 + 356: 156(ptr) AccessChain 315(pos) 34 + Store 356 355 + 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 358 358 16 16 + 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 361 360(i) 41 + Store 360(i) 214 + Branch 364 + 364: Label + 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 358 358 16 16 + LoopMerge 366 367 None + Branch 370 + 370: Label + 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 358 358 16 16 + 373: 211(int) Load 360(i) + 375: 49(bool) SLessThan 373 270 + BranchConditional 375 365 366 + 365: Label + 377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 379 379 16 16 + 380: 18(fvec4) Load 315(pos) + 382: 211(int) Load 360(i) + 384: 383(ptr) AccessChain 208 214 381 382 + 385: 18(fvec4) Load 384 + 386: 8(float) Dot 380 385 + 388: 8(float) FAdd 386 387 + 390: 49(bool) FOrdLessThan 388 228 + SelectionMerge 393 None + BranchConditional 390 392 393 + 392: Label + 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 399 399 16 16 + ReturnValue 396 + 393: Label + Branch 367 + 367: Label + 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 358 358 16 16 + 404: 211(int) Load 360(i) + 405: 211(int) IAdd 404 215 + Store 360(i) 405 + Branch 364 + 366: Label + 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 410 410 16 16 + ReturnValue 176 FunctionEnd Line 1 112 1 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):92(ConstantsHSOutput) Function None 102 104(patch): 87(ptr) FunctionParameter 106: Label - 412(output): 411(ptr) Variable Function - 422(param): 21(ptr) Variable Function - 425(param): 48(ptr) Variable Function - 466(param): 21(ptr) Variable Function - 469(param): 21(ptr) Variable Function + 419(output): 418(ptr) Variable Function + 429(param): 21(ptr) Variable Function + 432(param): 48(ptr) Variable Function 476(param): 21(ptr) Variable Function 479(param): 21(ptr) Variable Function 486(param): 21(ptr) Variable Function 489(param): 21(ptr) Variable Function 496(param): 21(ptr) Variable Function 499(param): 21(ptr) Variable Function + 506(param): 21(ptr) Variable Function + 509(param): 21(ptr) Variable Function 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 109 109 16 16 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 112 104(patch) 41 - 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) - 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 410 410 16 16 - 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 413 412(output) 41 - Store 412(output) 418 - 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 420 420 16 16 - 423: 21(ptr) AccessChain 104(patch) 213 213 - 424: 18(fvec4) Load 423 - Store 422(param) 424 - 426: 48(ptr) AccessChain 104(patch) 213 421 - 427: 46(fvec2) Load 426 - Store 425(param) 427 - 428: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 422(param) 425(param) - 431: 49(bool) LogicalNot 428 - SelectionMerge 433 None - BranchConditional 431 432 453 - 432: Label - 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 436 436 16 16 - 437: 156(ptr) AccessChain 412(output) 214 213 - Store 437 227 - 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16 - 440: 156(ptr) AccessChain 412(output) 214 214 - Store 440 227 - 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16 - 443: 156(ptr) AccessChain 412(output) 213 213 - Store 443 227 + 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) + 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 + 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 417 417 16 16 + 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 420 419(output) 41 + Store 419(output) 425 + 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 427 427 16 16 + 430: 21(ptr) AccessChain 104(patch) 214 214 + 431: 18(fvec4) Load 430 + Store 429(param) 431 + 433: 48(ptr) AccessChain 104(patch) 214 428 + 434: 46(fvec2) Load 433 + Store 432(param) 434 + 435: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 429(param) 432(param) + 439: 49(bool) LogicalNot 435 + SelectionMerge 442 None + BranchConditional 439 441 462 + 441: Label + 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 445 445 16 16 - 446: 156(ptr) AccessChain 412(output) 213 214 - Store 446 227 + 446: 156(ptr) AccessChain 419(output) 215 214 + Store 446 228 447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 448 448 16 16 - 449: 156(ptr) AccessChain 412(output) 213 421 - Store 449 227 + 449: 156(ptr) AccessChain 419(output) 215 215 + Store 449 228 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 451 451 16 16 - 452: 156(ptr) AccessChain 412(output) 213 379 - Store 452 227 - Branch 433 - 453: Label - 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 456 456 16 16 - 457: 297(ptr) AccessChain 207 213 301 - 458: 8(float) Load 457 - 460: 49(bool) FOrdGreaterThan 458 227 - SelectionMerge 462 None - BranchConditional 460 461 520 - 461: Label - 463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 465 465 16 16 - 467: 21(ptr) AccessChain 104(patch) 379 213 - 468: 18(fvec4) Load 467 - Store 466(param) 468 - 470: 21(ptr) AccessChain 104(patch) 213 213 - 471: 18(fvec4) Load 470 - Store 469(param) 471 - 472: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 466(param) 469(param) - 473: 156(ptr) AccessChain 412(output) 213 213 - Store 473 472 + 452: 156(ptr) AccessChain 419(output) 214 214 + Store 452 228 + 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 454 454 16 16 + 455: 156(ptr) AccessChain 419(output) 214 215 + Store 455 228 + 456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 457 457 16 16 + 458: 156(ptr) AccessChain 419(output) 214 428 + Store 458 228 + 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 460 460 16 16 + 461: 156(ptr) AccessChain 419(output) 214 381 + Store 461 228 + Branch 442 + 462: Label + 463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 + 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 465 465 16 16 + 466: 298(ptr) AccessChain 208 214 302 + 467: 8(float) Load 466 + 469: 49(bool) FOrdGreaterThan 467 228 + SelectionMerge 472 None + BranchConditional 469 471 530 + 471: Label + 473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 475 475 16 16 - 477: 21(ptr) AccessChain 104(patch) 213 213 + 477: 21(ptr) AccessChain 104(patch) 381 214 478: 18(fvec4) Load 477 Store 476(param) 478 - 480: 21(ptr) AccessChain 104(patch) 214 213 + 480: 21(ptr) AccessChain 104(patch) 214 214 481: 18(fvec4) Load 480 Store 479(param) 481 482: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 476(param) 479(param) - 483: 156(ptr) AccessChain 412(output) 213 214 + 483: 156(ptr) AccessChain 419(output) 214 214 Store 483 482 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 485 485 16 16 - 487: 21(ptr) AccessChain 104(patch) 214 213 + 487: 21(ptr) AccessChain 104(patch) 214 214 488: 18(fvec4) Load 487 Store 486(param) 488 - 490: 21(ptr) AccessChain 104(patch) 421 213 + 490: 21(ptr) AccessChain 104(patch) 215 214 491: 18(fvec4) Load 490 Store 489(param) 491 492: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 486(param) 489(param) - 493: 156(ptr) AccessChain 412(output) 213 421 + 493: 156(ptr) AccessChain 419(output) 214 215 Store 493 492 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 495 495 16 16 - 497: 21(ptr) AccessChain 104(patch) 421 213 + 497: 21(ptr) AccessChain 104(patch) 215 214 498: 18(fvec4) Load 497 Store 496(param) 498 - 500: 21(ptr) AccessChain 104(patch) 379 213 + 500: 21(ptr) AccessChain 104(patch) 428 214 501: 18(fvec4) Load 500 Store 499(param) 501 502: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 496(param) 499(param) - 503: 156(ptr) AccessChain 412(output) 213 379 + 503: 156(ptr) AccessChain 419(output) 214 428 Store 503 502 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 505 505 16 16 - 506: 156(ptr) AccessChain 412(output) 213 213 - 507: 8(float) Load 506 - 508: 156(ptr) AccessChain 412(output) 213 379 - 509: 8(float) Load 508 - 510: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 507 509 149 - 511: 156(ptr) AccessChain 412(output) 214 213 - Store 511 510 - 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 513 513 16 16 - 514: 156(ptr) AccessChain 412(output) 213 421 - 515: 8(float) Load 514 - 516: 156(ptr) AccessChain 412(output) 213 214 + 507: 21(ptr) AccessChain 104(patch) 428 214 + 508: 18(fvec4) Load 507 + Store 506(param) 508 + 510: 21(ptr) AccessChain 104(patch) 381 214 + 511: 18(fvec4) Load 510 + Store 509(param) 511 + 512: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 506(param) 509(param) + 513: 156(ptr) AccessChain 419(output) 214 381 + Store 513 512 + 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 515 515 16 16 + 516: 156(ptr) AccessChain 419(output) 214 214 517: 8(float) Load 516 - 518: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 515 517 149 - 519: 156(ptr) AccessChain 412(output) 214 214 - Store 519 518 - Branch 462 - 520: Label - 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 + 518: 156(ptr) AccessChain 419(output) 214 381 + 519: 8(float) Load 518 + 520: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 517 519 149 + 521: 156(ptr) AccessChain 419(output) 215 214 + Store 521 520 522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 523 523 16 16 - 524: 156(ptr) AccessChain 412(output) 214 213 - Store 524 305 - 525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 526 526 16 16 - 527: 156(ptr) AccessChain 412(output) 214 214 - Store 527 305 - 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 529 529 16 16 - 530: 156(ptr) AccessChain 412(output) 213 213 - Store 530 305 - 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 532 532 16 16 - 533: 156(ptr) AccessChain 412(output) 213 214 - Store 533 305 - 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16 - 536: 156(ptr) AccessChain 412(output) 213 421 - Store 536 305 - 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 538 538 16 16 - 539: 156(ptr) AccessChain 412(output) 213 379 - Store 539 305 - Branch 462 - 462: Label - Branch 433 - 433: Label - 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16 - 543:92(ConstantsHSOutput) Load 412(output) - ReturnValue 543 + 524: 156(ptr) AccessChain 419(output) 214 428 + 525: 8(float) Load 524 + 526: 156(ptr) AccessChain 419(output) 214 215 + 527: 8(float) Load 526 + 528: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 525 527 149 + 529: 156(ptr) AccessChain 419(output) 215 215 + Store 529 528 + Branch 472 + 530: Label + 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 + 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 533 533 16 16 + 534: 156(ptr) AccessChain 419(output) 215 214 + Store 534 306 + 535: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 536 536 16 16 + 537: 156(ptr) AccessChain 419(output) 215 215 + Store 537 306 + 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 539 539 16 16 + 540: 156(ptr) AccessChain 419(output) 214 214 + Store 540 306 + 541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16 + 543: 156(ptr) AccessChain 419(output) 214 215 + Store 543 306 + 544: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 545 545 16 16 + 546: 156(ptr) AccessChain 419(output) 214 428 + Store 546 306 + 547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 548 548 16 16 + 549: 156(ptr) AccessChain 419(output) 214 381 + Store 549 306 + Branch 472 + 472: Label + Branch 442 + 442: Label + 550: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 + 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 552 552 16 16 + 553:92(ConstantsHSOutput) Load 419(output) + ReturnValue 553 FunctionEnd Line 1 158 1 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):116(HSOutput) Function None 125 127(patch): 87(ptr) FunctionParameter 128(InvocationID): 115(ptr) FunctionParameter 130: Label - 551(output): 550(ptr) Variable Function + 561(output): 560(ptr) Variable Function 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 133 133 16 16 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 127(patch) 41 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 138 128(InvocationID) 41 - 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) - 547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132 - 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 549 549 16 16 - 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 552 551(output) 41 - Store 551(output) 556 - 557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 558 558 16 16 - 559: 11(int) Load 128(InvocationID) - 560: 21(ptr) AccessChain 127(patch) 559 213 - 561: 18(fvec4) Load 560 - 562: 21(ptr) AccessChain 551(output) 213 - Store 562 561 - 563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 564 564 16 16 - 565: 11(int) Load 128(InvocationID) - 567: 566(ptr) AccessChain 127(patch) 565 214 - 568: 69(fvec3) Load 567 - 569: 566(ptr) AccessChain 551(output) 214 - Store 569 568 - 570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 571 571 16 16 - 572: 11(int) Load 128(InvocationID) - 573: 48(ptr) AccessChain 127(patch) 572 421 - 574: 46(fvec2) Load 573 - 575: 48(ptr) AccessChain 551(output) 421 - Store 575 574 - 576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 577 577 16 16 - 578:116(HSOutput) Load 551(output) - ReturnValue 578 + 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) + 557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132 + 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 559 559 16 16 + 563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 562 561(output) 41 + Store 561(output) 566 + 567: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 568 568 16 16 + 569: 11(int) Load 128(InvocationID) + 570: 21(ptr) AccessChain 127(patch) 569 214 + 571: 18(fvec4) Load 570 + 572: 21(ptr) AccessChain 561(output) 214 + Store 572 571 + 573: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 574 574 16 16 + 575: 11(int) Load 128(InvocationID) + 577: 576(ptr) AccessChain 127(patch) 575 215 + 578: 69(fvec3) Load 577 + 579: 576(ptr) AccessChain 561(output) 215 + Store 579 578 + 580: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 581 581 16 16 + 582: 11(int) Load 128(InvocationID) + 583: 48(ptr) AccessChain 127(patch) 582 428 + 584: 46(fvec2) Load 583 + 585: 48(ptr) AccessChain 561(output) 428 + Store 585 584 + 586: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 587 587 16 16 + 588:116(HSOutput) Load 561(output) + ReturnValue 588 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.tese.out b/Test/baseResults/spv.debuginfo.hlsl.tese.out index 47ee2bd526..cbe38a3410 100644 --- a/Test/baseResults/spv.debuginfo.hlsl.tese.out +++ b/Test/baseResults/spv.debuginfo.hlsl.tese.out @@ -1,14 +1,14 @@ spv.debuginfo.hlsl.tese // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 462 +// Id's are bound by 464 Capability Tessellation Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint TessellationEvaluation 6 "main" 353 368 377 386 393 399 439 443 447 450 453 456 459 + EntryPoint TessellationEvaluation 6 "main" 355 370 379 388 395 401 441 445 449 452 455 458 461 ExecutionMode 6 Quads 1: String "" 9: String "float" @@ -52,13 +52,14 @@ spv.debuginfo.hlsl.tese 247: String "displacementMapSampler" 251: String "type.sampled.image" 252: String "@type.sampled.image" - 266: String "modelview" - 271: String "lightPos" - 275: String "frustumPlanes" - 278: String "tessellatedEdgeSize" - 282: String "viewportDim" - 286: String "UBO" - 289: String "ubo" + 261: String "bool" + 268: String "modelview" + 273: String "lightPos" + 277: String "frustumPlanes" + 280: String "tessellatedEdgeSize" + 284: String "viewportDim" + 288: String "UBO" + 291: String "ubo" Name 6 "main" Name 24 "ConstantsHSOutput" MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter" @@ -89,74 +90,74 @@ spv.debuginfo.hlsl.tese Name 217 "pos" Name 235 "displacementMapTexture" Name 245 "displacementMapSampler" - Name 264 "UBO" - MemberName 264(UBO) 0 "projection" - MemberName 264(UBO) 1 "modelview" - MemberName 264(UBO) 2 "lightPos" - MemberName 264(UBO) 3 "frustumPlanes" - MemberName 264(UBO) 4 "displacementFactor" - MemberName 264(UBO) 5 "tessellationFactor" - MemberName 264(UBO) 6 "viewportDim" - MemberName 264(UBO) 7 "tessellatedEdgeSize" - Name 287 "ubo" - MemberName 287(ubo) 0 "ubo" - Name 292 "" - Name 351 "input" - Name 353 "input.TessLevelOuter" - Name 368 "input.TessLevelInner" - Name 375 "TessCoord" + Name 266 "UBO" + MemberName 266(UBO) 0 "projection" + MemberName 266(UBO) 1 "modelview" + MemberName 266(UBO) 2 "lightPos" + MemberName 266(UBO) 3 "frustumPlanes" + MemberName 266(UBO) 4 "displacementFactor" + MemberName 266(UBO) 5 "tessellationFactor" + MemberName 266(UBO) 6 "viewportDim" + MemberName 266(UBO) 7 "tessellatedEdgeSize" + Name 289 "ubo" + MemberName 289(ubo) 0 "ubo" + Name 294 "" + Name 353 "input" + Name 355 "input.TessLevelOuter" + Name 370 "input.TessLevelInner" Name 377 "TessCoord" - Name 383 "patch" - Name 386 "patch.Pos" - Name 393 "patch.Normal" - Name 399 "patch.UV" - Name 431 "flattenTemp" - Name 433 "param" + Name 379 "TessCoord" + Name 385 "patch" + Name 388 "patch.Pos" + Name 395 "patch.Normal" + Name 401 "patch.UV" + Name 433 "flattenTemp" Name 435 "param" - Name 439 "@entryPointOutput.Pos" - Name 443 "@entryPointOutput.Normal" - Name 447 "@entryPointOutput.UV" - Name 450 "@entryPointOutput.ViewVec" - Name 453 "@entryPointOutput.LightVec" - Name 456 "@entryPointOutput.EyePos" - Name 459 "@entryPointOutput.WorldPos" + Name 437 "param" + Name 441 "@entryPointOutput.Pos" + Name 445 "@entryPointOutput.Normal" + Name 449 "@entryPointOutput.UV" + Name 452 "@entryPointOutput.ViewVec" + Name 455 "@entryPointOutput.LightVec" + Name 458 "@entryPointOutput.EyePos" + Name 461 "@entryPointOutput.WorldPos" Decorate 235(displacementMapTexture) DescriptorSet 0 Decorate 235(displacementMapTexture) Binding 1 Decorate 245(displacementMapSampler) DescriptorSet 0 Decorate 245(displacementMapSampler) Binding 1 - Decorate 262 ArrayStride 16 - MemberDecorate 264(UBO) 0 RowMajor - MemberDecorate 264(UBO) 0 Offset 0 - MemberDecorate 264(UBO) 0 MatrixStride 16 - MemberDecorate 264(UBO) 1 RowMajor - MemberDecorate 264(UBO) 1 Offset 64 - MemberDecorate 264(UBO) 1 MatrixStride 16 - MemberDecorate 264(UBO) 2 Offset 128 - MemberDecorate 264(UBO) 3 Offset 144 - MemberDecorate 264(UBO) 4 Offset 240 - MemberDecorate 264(UBO) 5 Offset 244 - MemberDecorate 264(UBO) 6 Offset 248 - MemberDecorate 264(UBO) 7 Offset 256 - MemberDecorate 287(ubo) 0 Offset 0 - Decorate 287(ubo) Block - Decorate 292 DescriptorSet 0 - Decorate 292 Binding 0 - Decorate 353(input.TessLevelOuter) Patch - Decorate 353(input.TessLevelOuter) BuiltIn TessLevelOuter - Decorate 368(input.TessLevelInner) Patch - Decorate 368(input.TessLevelInner) BuiltIn TessLevelInner - Decorate 377(TessCoord) Patch - Decorate 377(TessCoord) BuiltIn TessCoord - Decorate 386(patch.Pos) BuiltIn Position - Decorate 393(patch.Normal) Location 0 - Decorate 399(patch.UV) Location 1 - Decorate 439(@entryPointOutput.Pos) BuiltIn Position - Decorate 443(@entryPointOutput.Normal) Location 0 - Decorate 447(@entryPointOutput.UV) Location 1 - Decorate 450(@entryPointOutput.ViewVec) Location 2 - Decorate 453(@entryPointOutput.LightVec) Location 3 - Decorate 456(@entryPointOutput.EyePos) Location 4 - Decorate 459(@entryPointOutput.WorldPos) Location 5 + Decorate 264 ArrayStride 16 + MemberDecorate 266(UBO) 0 RowMajor + MemberDecorate 266(UBO) 0 Offset 0 + MemberDecorate 266(UBO) 0 MatrixStride 16 + MemberDecorate 266(UBO) 1 RowMajor + MemberDecorate 266(UBO) 1 Offset 64 + MemberDecorate 266(UBO) 1 MatrixStride 16 + MemberDecorate 266(UBO) 2 Offset 128 + MemberDecorate 266(UBO) 3 Offset 144 + MemberDecorate 266(UBO) 4 Offset 240 + MemberDecorate 266(UBO) 5 Offset 244 + MemberDecorate 266(UBO) 6 Offset 248 + MemberDecorate 266(UBO) 7 Offset 256 + MemberDecorate 289(ubo) 0 Offset 0 + Decorate 289(ubo) Block + Decorate 294 DescriptorSet 0 + Decorate 294 Binding 0 + Decorate 355(input.TessLevelOuter) Patch + Decorate 355(input.TessLevelOuter) BuiltIn TessLevelOuter + Decorate 370(input.TessLevelInner) Patch + Decorate 370(input.TessLevelInner) BuiltIn TessLevelInner + Decorate 379(TessCoord) Patch + Decorate 379(TessCoord) BuiltIn TessCoord + Decorate 388(patch.Pos) BuiltIn Position + Decorate 395(patch.Normal) Location 0 + Decorate 401(patch.UV) Location 1 + Decorate 441(@entryPointOutput.Pos) BuiltIn Position + Decorate 445(@entryPointOutput.Normal) Location 0 + Decorate 449(@entryPointOutput.UV) Location 1 + Decorate 452(@entryPointOutput.ViewVec) Location 2 + Decorate 455(@entryPointOutput.LightVec) Location 3 + Decorate 458(@entryPointOutput.EyePos) Location 4 + Decorate 461(@entryPointOutput.WorldPos) Location 5 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -276,189 +277,190 @@ spv.debuginfo.hlsl.tese 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 251 16 27 228 16 37 252 233 17 258: TypeMatrix 43(fvec4) 4 260: TypeBool - 261: 260(bool) ConstantTrue - 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 261 - 262: TypeArray 43(fvec4) 15 - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15 - 264(UBO): TypeStruct 258 258 43(fvec4) 262 8(float) 8(float) 40(fvec2) 8(float) - 267: 11(int) Constant 29 - 268: 11(int) Constant 20 - 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17 - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17 - 272: 11(int) Constant 30 - 273: 11(int) Constant 17 - 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 271 44 27 272 273 16 16 17 - 276: 11(int) Constant 22 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 275 263 27 58 276 16 16 17 - 279: 11(int) Constant 27 - 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17 - 283: 11(int) Constant 34 - 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 282 41 27 283 268 16 16 17 - 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17 - 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 286 36 27 228 16 37 286 16 17 265 269 270 274 277 280 281 284 - 287(ubo): TypeStruct 264(UBO) - 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 285 27 70 70 16 16 17 - 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 289 36 27 228 16 37 289 16 17 288 - 291: TypePointer Uniform 287(ubo) - 292: 291(ptr) Variable Uniform - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 290 27 228 16 37 1 292 238 - 294: 121(int) Constant 4 - 295: TypePointer Uniform 8(float) - 304: 11(int) Constant 86 - 306: TypePointer Uniform 258 - 315: 11(int) Constant 89 - 321: 11(int) Constant 90 - 322: TypePointer Uniform 43(fvec4) - 332: 11(int) Constant 91 - 333: 121(int) Constant 6 - 338: 11(int) Constant 92 - 339: 121(int) Constant 5 - 347: 11(int) Constant 93 - 352: TypePointer Input 19 -353(input.TessLevelOuter): 352(ptr) Variable Input - 354: TypePointer Input 8(float) - 367: TypePointer Input 22 -368(input.TessLevelInner): 367(ptr) Variable Input - 376: TypePointer Input 45(fvec3) - 377(TessCoord): 376(ptr) Variable Input - 382: TypePointer Function 61 - 384: TypeArray 43(fvec4) 18 - 385: TypePointer Input 384 - 386(patch.Pos): 385(ptr) Variable Input - 387: TypePointer Input 43(fvec4) - 391: TypeArray 45(fvec3) 18 - 392: TypePointer Input 391 -393(patch.Normal): 392(ptr) Variable Input - 397: TypeArray 40(fvec2) 18 - 398: TypePointer Input 397 - 399(patch.UV): 398(ptr) Variable Input - 400: TypePointer Input 40(fvec2) - 438: TypePointer Output 43(fvec4) -439(@entryPointOutput.Pos): 438(ptr) Variable Output - 442: TypePointer Output 45(fvec3) -443(@entryPointOutput.Normal): 442(ptr) Variable Output - 446: TypePointer Output 40(fvec2) -447(@entryPointOutput.UV): 446(ptr) Variable Output -450(@entryPointOutput.ViewVec): 442(ptr) Variable Output -453(@entryPointOutput.LightVec): 442(ptr) Variable Output -456(@entryPointOutput.EyePos): 442(ptr) Variable Output -459(@entryPointOutput.WorldPos): 442(ptr) Variable Output + 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 261 14 21 16 + 263: 260(bool) ConstantTrue + 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 263 + 264: TypeArray 43(fvec4) 15 + 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15 + 266(UBO): TypeStruct 258 258 43(fvec4) 264 8(float) 8(float) 40(fvec2) 8(float) + 269: 11(int) Constant 29 + 270: 11(int) Constant 20 + 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17 + 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17 + 274: 11(int) Constant 30 + 275: 11(int) Constant 17 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 273 44 27 274 275 16 16 17 + 278: 11(int) Constant 22 + 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 265 27 58 278 16 16 17 + 281: 11(int) Constant 27 + 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17 + 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17 + 285: 11(int) Constant 34 + 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 284 41 27 285 270 16 16 17 + 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17 + 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 288 36 27 228 16 37 288 16 17 267 271 272 276 279 282 283 286 + 289(ubo): TypeStruct 266(UBO) + 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 291 287 27 70 70 16 16 17 + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 291 36 27 228 16 37 291 16 17 290 + 293: TypePointer Uniform 289(ubo) + 294: 293(ptr) Variable Uniform + 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 292 27 228 16 37 1 294 238 + 296: 121(int) Constant 4 + 297: TypePointer Uniform 8(float) + 306: 11(int) Constant 86 + 308: TypePointer Uniform 258 + 317: 11(int) Constant 89 + 323: 11(int) Constant 90 + 324: TypePointer Uniform 43(fvec4) + 334: 11(int) Constant 91 + 335: 121(int) Constant 6 + 340: 11(int) Constant 92 + 341: 121(int) Constant 5 + 349: 11(int) Constant 93 + 354: TypePointer Input 19 +355(input.TessLevelOuter): 354(ptr) Variable Input + 356: TypePointer Input 8(float) + 369: TypePointer Input 22 +370(input.TessLevelInner): 369(ptr) Variable Input + 378: TypePointer Input 45(fvec3) + 379(TessCoord): 378(ptr) Variable Input + 384: TypePointer Function 61 + 386: TypeArray 43(fvec4) 18 + 387: TypePointer Input 386 + 388(patch.Pos): 387(ptr) Variable Input + 389: TypePointer Input 43(fvec4) + 393: TypeArray 45(fvec3) 18 + 394: TypePointer Input 393 +395(patch.Normal): 394(ptr) Variable Input + 399: TypeArray 40(fvec2) 18 + 400: TypePointer Input 399 + 401(patch.UV): 400(ptr) Variable Input + 402: TypePointer Input 40(fvec2) + 440: TypePointer Output 43(fvec4) +441(@entryPointOutput.Pos): 440(ptr) Variable Output + 444: TypePointer Output 45(fvec3) +445(@entryPointOutput.Normal): 444(ptr) Variable Output + 448: TypePointer Output 40(fvec2) +449(@entryPointOutput.UV): 448(ptr) Variable Output +452(@entryPointOutput.ViewVec): 444(ptr) Variable Output +455(@entryPointOutput.LightVec): 444(ptr) Variable Output +458(@entryPointOutput.EyePos): 444(ptr) Variable Output +461(@entryPointOutput.WorldPos): 444(ptr) Variable Output Line 1 68 1 6(main): 4 Function None 5 7: Label - 351(input): 39(ptr) Variable Function - 375(TessCoord): 42(ptr) Variable Function - 383(patch): 382(ptr) Variable Function -431(flattenTemp): 105(ptr) Variable Function - 433(param): 39(ptr) Variable Function - 435(param): 42(ptr) Variable Function + 353(input): 39(ptr) Variable Function + 377(TessCoord): 42(ptr) Variable Function + 385(patch): 384(ptr) Variable Function +433(flattenTemp): 105(ptr) Variable Function + 435(param): 39(ptr) Variable Function + 437(param): 42(ptr) Variable Function Line 1 68 0 - 355: 354(ptr) AccessChain 353(input.TessLevelOuter) 124 - 356: 8(float) Load 355 - 357: 129(ptr) AccessChain 351(input) 124 124 - Store 357 356 - 358: 354(ptr) AccessChain 353(input.TessLevelOuter) 127 - 359: 8(float) Load 358 - 360: 129(ptr) AccessChain 351(input) 124 127 - Store 360 359 - 361: 354(ptr) AccessChain 353(input.TessLevelOuter) 125 - 362: 8(float) Load 361 - 363: 129(ptr) AccessChain 351(input) 124 125 - Store 363 362 - 364: 354(ptr) AccessChain 353(input.TessLevelOuter) 140 - 365: 8(float) Load 364 - 366: 129(ptr) AccessChain 351(input) 124 140 - Store 366 365 - 369: 354(ptr) AccessChain 368(input.TessLevelInner) 124 - 370: 8(float) Load 369 - 371: 129(ptr) AccessChain 351(input) 127 124 - Store 371 370 - 372: 354(ptr) AccessChain 368(input.TessLevelInner) 127 - 373: 8(float) Load 372 - 374: 129(ptr) AccessChain 351(input) 127 127 - Store 374 373 - 378: 45(fvec3) Load 377(TessCoord) - 379: 8(float) CompositeExtract 378 0 - 380: 8(float) CompositeExtract 378 1 - 381: 40(fvec2) CompositeConstruct 379 380 - Store 375(TessCoord) 381 - 388: 387(ptr) AccessChain 386(patch.Pos) 124 - 389: 43(fvec4) Load 388 - 390: 192(ptr) AccessChain 383(patch) 124 124 - Store 390 389 - 394: 376(ptr) AccessChain 393(patch.Normal) 124 - 395: 45(fvec3) Load 394 - 396: 158(ptr) AccessChain 383(patch) 124 127 - Store 396 395 - 401: 400(ptr) AccessChain 399(patch.UV) 124 - 402: 40(fvec2) Load 401 - 403: 42(ptr) AccessChain 383(patch) 124 125 - Store 403 402 - 404: 387(ptr) AccessChain 386(patch.Pos) 127 - 405: 43(fvec4) Load 404 - 406: 192(ptr) AccessChain 383(patch) 127 124 - Store 406 405 - 407: 376(ptr) AccessChain 393(patch.Normal) 127 - 408: 45(fvec3) Load 407 - 409: 158(ptr) AccessChain 383(patch) 127 127 - Store 409 408 - 410: 400(ptr) AccessChain 399(patch.UV) 127 - 411: 40(fvec2) Load 410 - 412: 42(ptr) AccessChain 383(patch) 127 125 - Store 412 411 - 413: 387(ptr) AccessChain 386(patch.Pos) 125 - 414: 43(fvec4) Load 413 - 415: 192(ptr) AccessChain 383(patch) 125 124 - Store 415 414 - 416: 376(ptr) AccessChain 393(patch.Normal) 125 - 417: 45(fvec3) Load 416 - 418: 158(ptr) AccessChain 383(patch) 125 127 - Store 418 417 - 419: 400(ptr) AccessChain 399(patch.UV) 125 - 420: 40(fvec2) Load 419 - 421: 42(ptr) AccessChain 383(patch) 125 125 - Store 421 420 - 422: 387(ptr) AccessChain 386(patch.Pos) 140 - 423: 43(fvec4) Load 422 - 424: 192(ptr) AccessChain 383(patch) 140 124 - Store 424 423 - 425: 376(ptr) AccessChain 393(patch.Normal) 140 - 426: 45(fvec3) Load 425 - 427: 158(ptr) AccessChain 383(patch) 140 127 - Store 427 426 - 428: 400(ptr) AccessChain 399(patch.UV) 140 - 429: 40(fvec2) Load 428 - 430: 42(ptr) AccessChain 383(patch) 140 125 - Store 430 429 - 432: 61 Load 383(patch) - 434:24(ConstantsHSOutput) Load 351(input) - Store 433(param) 434 - 436: 40(fvec2) Load 375(TessCoord) + 357: 356(ptr) AccessChain 355(input.TessLevelOuter) 124 + 358: 8(float) Load 357 + 359: 129(ptr) AccessChain 353(input) 124 124 + Store 359 358 + 360: 356(ptr) AccessChain 355(input.TessLevelOuter) 127 + 361: 8(float) Load 360 + 362: 129(ptr) AccessChain 353(input) 124 127 + Store 362 361 + 363: 356(ptr) AccessChain 355(input.TessLevelOuter) 125 + 364: 8(float) Load 363 + 365: 129(ptr) AccessChain 353(input) 124 125 + Store 365 364 + 366: 356(ptr) AccessChain 355(input.TessLevelOuter) 140 + 367: 8(float) Load 366 + 368: 129(ptr) AccessChain 353(input) 124 140 + Store 368 367 + 371: 356(ptr) AccessChain 370(input.TessLevelInner) 124 + 372: 8(float) Load 371 + 373: 129(ptr) AccessChain 353(input) 127 124 + Store 373 372 + 374: 356(ptr) AccessChain 370(input.TessLevelInner) 127 + 375: 8(float) Load 374 + 376: 129(ptr) AccessChain 353(input) 127 127 + Store 376 375 + 380: 45(fvec3) Load 379(TessCoord) + 381: 8(float) CompositeExtract 380 0 + 382: 8(float) CompositeExtract 380 1 + 383: 40(fvec2) CompositeConstruct 381 382 + Store 377(TessCoord) 383 + 390: 389(ptr) AccessChain 388(patch.Pos) 124 + 391: 43(fvec4) Load 390 + 392: 192(ptr) AccessChain 385(patch) 124 124 + Store 392 391 + 396: 378(ptr) AccessChain 395(patch.Normal) 124 + 397: 45(fvec3) Load 396 + 398: 158(ptr) AccessChain 385(patch) 124 127 + Store 398 397 + 403: 402(ptr) AccessChain 401(patch.UV) 124 + 404: 40(fvec2) Load 403 + 405: 42(ptr) AccessChain 385(patch) 124 125 + Store 405 404 + 406: 389(ptr) AccessChain 388(patch.Pos) 127 + 407: 43(fvec4) Load 406 + 408: 192(ptr) AccessChain 385(patch) 127 124 + Store 408 407 + 409: 378(ptr) AccessChain 395(patch.Normal) 127 + 410: 45(fvec3) Load 409 + 411: 158(ptr) AccessChain 385(patch) 127 127 + Store 411 410 + 412: 402(ptr) AccessChain 401(patch.UV) 127 + 413: 40(fvec2) Load 412 + 414: 42(ptr) AccessChain 385(patch) 127 125 + Store 414 413 + 415: 389(ptr) AccessChain 388(patch.Pos) 125 + 416: 43(fvec4) Load 415 + 417: 192(ptr) AccessChain 385(patch) 125 124 + Store 417 416 + 418: 378(ptr) AccessChain 395(patch.Normal) 125 + 419: 45(fvec3) Load 418 + 420: 158(ptr) AccessChain 385(patch) 125 127 + Store 420 419 + 421: 402(ptr) AccessChain 401(patch.UV) 125 + 422: 40(fvec2) Load 421 + 423: 42(ptr) AccessChain 385(patch) 125 125 + Store 423 422 + 424: 389(ptr) AccessChain 388(patch.Pos) 140 + 425: 43(fvec4) Load 424 + 426: 192(ptr) AccessChain 385(patch) 140 124 + Store 426 425 + 427: 378(ptr) AccessChain 395(patch.Normal) 140 + 428: 45(fvec3) Load 427 + 429: 158(ptr) AccessChain 385(patch) 140 127 + Store 429 428 + 430: 402(ptr) AccessChain 401(patch.UV) 140 + 431: 40(fvec2) Load 430 + 432: 42(ptr) AccessChain 385(patch) 140 125 + Store 432 431 + 434: 61 Load 385(patch) + 436:24(ConstantsHSOutput) Load 353(input) Store 435(param) 436 - 437:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 433(param) 435(param) 432 - Store 431(flattenTemp) 437 - 440: 192(ptr) AccessChain 431(flattenTemp) 124 - 441: 43(fvec4) Load 440 - Store 439(@entryPointOutput.Pos) 441 - 444: 158(ptr) AccessChain 431(flattenTemp) 127 - 445: 45(fvec3) Load 444 - Store 443(@entryPointOutput.Normal) 445 - 448: 42(ptr) AccessChain 431(flattenTemp) 125 - 449: 40(fvec2) Load 448 - Store 447(@entryPointOutput.UV) 449 - 451: 158(ptr) AccessChain 431(flattenTemp) 140 - 452: 45(fvec3) Load 451 - Store 450(@entryPointOutput.ViewVec) 452 - 454: 158(ptr) AccessChain 431(flattenTemp) 294 - 455: 45(fvec3) Load 454 - Store 453(@entryPointOutput.LightVec) 455 - 457: 158(ptr) AccessChain 431(flattenTemp) 339 - 458: 45(fvec3) Load 457 - Store 456(@entryPointOutput.EyePos) 458 - 460: 158(ptr) AccessChain 431(flattenTemp) 333 - 461: 45(fvec3) Load 460 - Store 459(@entryPointOutput.WorldPos) 461 + 438: 40(fvec2) Load 377(TessCoord) + Store 437(param) 438 + 439:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 435(param) 437(param) 434 + Store 433(flattenTemp) 439 + 442: 192(ptr) AccessChain 433(flattenTemp) 124 + 443: 43(fvec4) Load 442 + Store 441(@entryPointOutput.Pos) 443 + 446: 158(ptr) AccessChain 433(flattenTemp) 127 + 447: 45(fvec3) Load 446 + Store 445(@entryPointOutput.Normal) 447 + 450: 42(ptr) AccessChain 433(flattenTemp) 125 + 451: 40(fvec2) Load 450 + Store 449(@entryPointOutput.UV) 451 + 453: 158(ptr) AccessChain 433(flattenTemp) 140 + 454: 45(fvec3) Load 453 + Store 452(@entryPointOutput.ViewVec) 454 + 456: 158(ptr) AccessChain 433(flattenTemp) 296 + 457: 45(fvec3) Load 456 + Store 455(@entryPointOutput.LightVec) 457 + 459: 158(ptr) AccessChain 433(flattenTemp) 341 + 460: 45(fvec3) Load 459 + Store 458(@entryPointOutput.EyePos) 460 + 462: 158(ptr) AccessChain 433(flattenTemp) 335 + 463: 45(fvec3) Load 462 + Store 461(@entryPointOutput.WorldPos) 463 Return FunctionEnd Line 1 68 1 @@ -574,54 +576,54 @@ spv.debuginfo.hlsl.tese 255: 40(fvec2) Load 254 256: 43(fvec4) ImageSampleExplicitLod 253 255 Lod 110 257: 8(float) CompositeExtract 256 0 - 296: 295(ptr) AccessChain 292 124 294 - 297: 8(float) Load 296 - 298: 8(float) FMul 257 297 - 299: 129(ptr) AccessChain 217(pos) 36 - 300: 8(float) Load 299 - 301: 8(float) FSub 300 298 - 302: 129(ptr) AccessChain 217(pos) 36 - Store 302 301 - 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 304 304 16 16 - 305: 43(fvec4) Load 217(pos) - 307: 306(ptr) AccessChain 292 124 127 - 308: 258 Load 307 - 309: 43(fvec4) VectorTimesMatrix 305 308 - 310: 306(ptr) AccessChain 292 124 124 - 311: 258 Load 310 - 312: 43(fvec4) VectorTimesMatrix 309 311 - 313: 192(ptr) AccessChain 106(output) 124 - Store 313 312 - 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 315 315 16 16 - 316: 43(fvec4) Load 217(pos) - 317: 45(fvec3) VectorShuffle 316 316 0 1 2 - 318: 45(fvec3) FNegate 317 - 319: 158(ptr) AccessChain 106(output) 140 - Store 319 318 - 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 321 321 16 16 - 323: 322(ptr) AccessChain 292 124 125 - 324: 43(fvec4) Load 323 - 325: 45(fvec3) VectorShuffle 324 324 0 1 2 - 326: 158(ptr) AccessChain 106(output) 140 - 327: 45(fvec3) Load 326 - 328: 45(fvec3) FAdd 325 327 - 329: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 328 - 330: 158(ptr) AccessChain 106(output) 294 - Store 330 329 - 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 332 332 16 16 - 334: 43(fvec4) Load 217(pos) - 335: 45(fvec3) VectorShuffle 334 334 0 1 2 - 336: 158(ptr) AccessChain 106(output) 333 - Store 336 335 - 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 338 338 16 16 - 340: 43(fvec4) Load 217(pos) - 341: 306(ptr) AccessChain 292 124 127 - 342: 258 Load 341 - 343: 43(fvec4) VectorTimesMatrix 340 342 - 344: 45(fvec3) VectorShuffle 343 343 0 1 2 - 345: 158(ptr) AccessChain 106(output) 339 - Store 345 344 - 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 347 347 16 16 - 348:63(DSOutput) Load 106(output) - ReturnValue 348 + 298: 297(ptr) AccessChain 294 124 296 + 299: 8(float) Load 298 + 300: 8(float) FMul 257 299 + 301: 129(ptr) AccessChain 217(pos) 36 + 302: 8(float) Load 301 + 303: 8(float) FSub 302 300 + 304: 129(ptr) AccessChain 217(pos) 36 + Store 304 303 + 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 306 306 16 16 + 307: 43(fvec4) Load 217(pos) + 309: 308(ptr) AccessChain 294 124 127 + 310: 258 Load 309 + 311: 43(fvec4) VectorTimesMatrix 307 310 + 312: 308(ptr) AccessChain 294 124 124 + 313: 258 Load 312 + 314: 43(fvec4) VectorTimesMatrix 311 313 + 315: 192(ptr) AccessChain 106(output) 124 + Store 315 314 + 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 317 317 16 16 + 318: 43(fvec4) Load 217(pos) + 319: 45(fvec3) VectorShuffle 318 318 0 1 2 + 320: 45(fvec3) FNegate 319 + 321: 158(ptr) AccessChain 106(output) 140 + Store 321 320 + 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 323 323 16 16 + 325: 324(ptr) AccessChain 294 124 125 + 326: 43(fvec4) Load 325 + 327: 45(fvec3) VectorShuffle 326 326 0 1 2 + 328: 158(ptr) AccessChain 106(output) 140 + 329: 45(fvec3) Load 328 + 330: 45(fvec3) FAdd 327 329 + 331: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 330 + 332: 158(ptr) AccessChain 106(output) 296 + Store 332 331 + 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 334 334 16 16 + 336: 43(fvec4) Load 217(pos) + 337: 45(fvec3) VectorShuffle 336 336 0 1 2 + 338: 158(ptr) AccessChain 106(output) 335 + Store 338 337 + 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 340 340 16 16 + 342: 43(fvec4) Load 217(pos) + 343: 308(ptr) AccessChain 294 124 127 + 344: 258 Load 343 + 345: 43(fvec4) VectorTimesMatrix 342 344 + 346: 45(fvec3) VectorShuffle 345 345 0 1 2 + 347: 158(ptr) AccessChain 106(output) 341 + Store 347 346 + 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 349 349 16 16 + 350:63(DSOutput) Load 106(output) + ReturnValue 350 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.vert.out b/Test/baseResults/spv.debuginfo.hlsl.vert.out index b436bc83dd..854b947081 100644 --- a/Test/baseResults/spv.debuginfo.hlsl.vert.out +++ b/Test/baseResults/spv.debuginfo.hlsl.vert.out @@ -1,14 +1,14 @@ spv.debuginfo.hlsl.vert // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 496 +// Id's are bound by 499 Capability Shader Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Vertex 6 "main" 445 448 452 455 458 461 465 469 477 481 484 487 490 493 + EntryPoint Vertex 6 "main" 448 451 455 458 461 464 468 472 480 484 487 490 493 496 1: String "" 9: String "float" 12: String "uint" @@ -34,20 +34,21 @@ spv.debuginfo.hlsl.vert 83: String "input" 93: String "output" 126: String "s" - 137: String "modelview" - 142: String "lightPos" - 146: String "globSpeed" - 150: String "UBO" - 153: String "ubo" - 170: String "c" - 185: String "mx" - 220: String "my" - 254: String "mz" - 274: String "rotMat" - 303: String "gRotMat" - 330: String "locPos" - 344: String "pos" - 409: String "lPos" + 134: String "bool" + 139: String "modelview" + 144: String "lightPos" + 148: String "globSpeed" + 152: String "UBO" + 155: String "ubo" + 172: String "c" + 188: String "mx" + 223: String "my" + 257: String "mz" + 277: String "rotMat" + 306: String "gRotMat" + 333: String "locPos" + 347: String "pos" + 412: String "lPos" Name 6 "main" Name 27 "VSInput" MemberName 27(VSInput) 0 "Pos" @@ -69,68 +70,68 @@ spv.debuginfo.hlsl.vert Name 74 "input" Name 91 "output" Name 124 "s" - Name 135 "UBO" - MemberName 135(UBO) 0 "projection" - MemberName 135(UBO) 1 "modelview" - MemberName 135(UBO) 2 "lightPos" - MemberName 135(UBO) 3 "locSpeed" - MemberName 135(UBO) 4 "globSpeed" - Name 151 "ubo" - MemberName 151(ubo) 0 "ubo" - Name 157 "" - Name 168 "c" - Name 183 "mx" - Name 218 "my" - Name 252 "mz" - Name 272 "rotMat" - Name 301 "gRotMat" - Name 328 "locPos" - Name 342 "pos" - Name 407 "lPos" - Name 443 "input" - Name 445 "input.Pos" - Name 448 "input.Normal" - Name 452 "input.UV" - Name 455 "input.Color" - Name 458 "input.instancePos" - Name 461 "input.instanceRot" - Name 465 "input.instanceScale" - Name 469 "input.instanceTexIndex" - Name 472 "flattenTemp" - Name 473 "param" - Name 477 "@entryPointOutput.Pos" - Name 481 "@entryPointOutput.Normal" - Name 484 "@entryPointOutput.Color" - Name 487 "@entryPointOutput.UV" - Name 490 "@entryPointOutput.ViewVec" - Name 493 "@entryPointOutput.LightVec" - MemberDecorate 135(UBO) 0 RowMajor - MemberDecorate 135(UBO) 0 Offset 0 - MemberDecorate 135(UBO) 0 MatrixStride 16 - MemberDecorate 135(UBO) 1 RowMajor - MemberDecorate 135(UBO) 1 Offset 64 - MemberDecorate 135(UBO) 1 MatrixStride 16 - MemberDecorate 135(UBO) 2 Offset 128 - MemberDecorate 135(UBO) 3 Offset 144 - MemberDecorate 135(UBO) 4 Offset 148 - MemberDecorate 151(ubo) 0 Offset 0 - Decorate 151(ubo) Block - Decorate 157 DescriptorSet 0 - Decorate 157 Binding 0 - Decorate 445(input.Pos) Location 0 - Decorate 448(input.Normal) Location 1 - Decorate 452(input.UV) Location 2 - Decorate 455(input.Color) Location 3 - Decorate 458(input.instancePos) Location 4 - Decorate 461(input.instanceRot) Location 5 - Decorate 465(input.instanceScale) Location 6 - Decorate 469(input.instanceTexIndex) Location 7 - Decorate 477(@entryPointOutput.Pos) BuiltIn Position - Decorate 481(@entryPointOutput.Normal) Location 0 - Decorate 484(@entryPointOutput.Color) Location 1 - Decorate 487(@entryPointOutput.UV) Location 2 - Decorate 490(@entryPointOutput.ViewVec) Location 3 - Decorate 493(@entryPointOutput.LightVec) Location 4 + Name 137 "UBO" + MemberName 137(UBO) 0 "projection" + MemberName 137(UBO) 1 "modelview" + MemberName 137(UBO) 2 "lightPos" + MemberName 137(UBO) 3 "locSpeed" + MemberName 137(UBO) 4 "globSpeed" + Name 153 "ubo" + MemberName 153(ubo) 0 "ubo" + Name 159 "" + Name 170 "c" + Name 186 "mx" + Name 221 "my" + Name 255 "mz" + Name 275 "rotMat" + Name 304 "gRotMat" + Name 331 "locPos" + Name 345 "pos" + Name 410 "lPos" + Name 446 "input" + Name 448 "input.Pos" + Name 451 "input.Normal" + Name 455 "input.UV" + Name 458 "input.Color" + Name 461 "input.instancePos" + Name 464 "input.instanceRot" + Name 468 "input.instanceScale" + Name 472 "input.instanceTexIndex" + Name 475 "flattenTemp" + Name 476 "param" + Name 480 "@entryPointOutput.Pos" + Name 484 "@entryPointOutput.Normal" + Name 487 "@entryPointOutput.Color" + Name 490 "@entryPointOutput.UV" + Name 493 "@entryPointOutput.ViewVec" + Name 496 "@entryPointOutput.LightVec" + MemberDecorate 137(UBO) 0 RowMajor + MemberDecorate 137(UBO) 0 Offset 0 + MemberDecorate 137(UBO) 0 MatrixStride 16 + MemberDecorate 137(UBO) 1 RowMajor + MemberDecorate 137(UBO) 1 Offset 64 + MemberDecorate 137(UBO) 1 MatrixStride 16 + MemberDecorate 137(UBO) 2 Offset 128 + MemberDecorate 137(UBO) 3 Offset 144 + MemberDecorate 137(UBO) 4 Offset 148 + MemberDecorate 153(ubo) 0 Offset 0 + Decorate 153(ubo) Block + Decorate 159 DescriptorSet 0 + Decorate 159 Binding 0 + Decorate 448(input.Pos) Location 0 + Decorate 451(input.Normal) Location 1 + Decorate 455(input.UV) Location 2 + Decorate 458(input.Color) Location 3 + Decorate 461(input.instancePos) Location 4 + Decorate 464(input.instanceRot) Location 5 + Decorate 468(input.instanceScale) Location 6 + Decorate 472(input.instanceTexIndex) Location 7 + Decorate 480(@entryPointOutput.Pos) BuiltIn Position + Decorate 484(@entryPointOutput.Normal) Location 0 + Decorate 487(@entryPointOutput.Color) Location 1 + Decorate 490(@entryPointOutput.UV) Location 2 + Decorate 493(@entryPointOutput.ViewVec) Location 3 + Decorate 496(@entryPointOutput.LightVec) Location 4 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -212,153 +213,155 @@ spv.debuginfo.hlsl.vert 128: 23(int) Constant 5 131: TypeMatrix 56(fvec4) 4 133: TypeBool - 134: 133(bool) ConstantTrue - 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 57 26 134 - 135(UBO): TypeStruct 131 131 56(fvec4) 8(float) 8(float) - 138: 11(int) Constant 43 - 139: 11(int) Constant 20 - 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 137 132 30 138 139 16 16 17 - 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 137 132 30 138 139 16 16 17 - 143: 11(int) Constant 44 - 144: 11(int) Constant 17 - 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 142 57 30 143 144 16 16 17 - 147: 11(int) Constant 46 - 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 10 30 147 144 16 16 17 - 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 10 30 147 144 16 16 17 - 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 150 52 30 122 16 53 150 16 17 136 140 141 145 148 - 151(ubo): TypeStruct 135(UBO) - 154: 11(int) Constant 49 - 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 153 149 30 154 48 16 16 17 - 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 52 30 122 16 53 153 16 17 152 - 156: TypePointer Uniform 151(ubo) - 157: 156(ptr) Variable Uniform - 159: 11(int) Constant 8 - 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 155 30 122 16 53 1 157 159 - 160: 23(int) Constant 0 - 161: TypePointer Uniform 8(float) - 167: 11(int) Constant 69 - 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 170 10 30 167 16 78 26 - 179: 11(int) Constant 71 - 180: TypeMatrix 18(fvec3) 3 - 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 134 - 182: TypePointer Function 180 - 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 185 181 30 179 16 78 26 - 191: 11(int) Constant 72 - 194: 8(float) Constant 1065353216 - 201: 11(int) Constant 76 - 209: 11(int) Constant 77 - 217: 11(int) Constant 79 - 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 220 181 30 217 16 78 26 - 226: 11(int) Constant 81 - 235: 11(int) Constant 84 - 243: 11(int) Constant 85 - 251: 11(int) Constant 87 - 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 254 181 30 251 16 78 26 - 257: 11(int) Constant 88 - 262: 11(int) Constant 89 - 271: 11(int) Constant 91 - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 274 181 30 271 16 78 26 - 282: 11(int) Constant 94 - 285: 23(int) Constant 4 - 291: 11(int) Constant 95 - 299: 11(int) Constant 96 - 300: TypePointer Function 131 - 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 132 30 299 16 78 26 - 309: TypePointer Function 56(fvec4) - 312: 11(int) Constant 97 - 313: 23(int) Constant 1 - 314: 56(fvec4) ConstantComposite 95 194 95 95 - 317: 11(int) Constant 98 - 323: 11(int) Constant 99 - 324: 56(fvec4) ConstantComposite 95 95 95 194 - 327: 11(int) Constant 101 - 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 330 57 30 327 16 78 26 - 341: 11(int) Constant 102 - 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 344 57 30 341 16 78 26 - 348: 23(int) Constant 6 - 360: 11(int) Constant 104 - 364: TypePointer Uniform 131 - 373: 11(int) Constant 105 - 392: 11(int) Constant 107 - 406: 11(int) Constant 108 - 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 409 19 30 406 16 78 26 - 411: TypePointer Uniform 56(fvec4) - 426: 11(int) Constant 109 - 433: 11(int) Constant 110 - 439: 11(int) Constant 111 - 444: TypePointer Input 18(fvec3) - 445(input.Pos): 444(ptr) Variable Input -448(input.Normal): 444(ptr) Variable Input - 451: TypePointer Input 20(fvec2) - 452(input.UV): 451(ptr) Variable Input -455(input.Color): 444(ptr) Variable Input -458(input.instancePos): 444(ptr) Variable Input -461(input.instanceRot): 444(ptr) Variable Input - 464: TypePointer Input 8(float) -465(input.instanceScale): 464(ptr) Variable Input - 468: TypePointer Input 23(int) -469(input.instanceTexIndex): 468(ptr) Variable Input - 476: TypePointer Output 56(fvec4) -477(@entryPointOutput.Pos): 476(ptr) Variable Output - 480: TypePointer Output 18(fvec3) -481(@entryPointOutput.Normal): 480(ptr) Variable Output -484(@entryPointOutput.Color): 480(ptr) Variable Output -487(@entryPointOutput.UV): 480(ptr) Variable Output -490(@entryPointOutput.ViewVec): 480(ptr) Variable Output -493(@entryPointOutput.LightVec): 480(ptr) Variable Output + 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 134 14 21 16 + 136: 133(bool) ConstantTrue + 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 57 26 136 + 137(UBO): TypeStruct 131 131 56(fvec4) 8(float) 8(float) + 140: 11(int) Constant 43 + 141: 11(int) Constant 20 + 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17 + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17 + 145: 11(int) Constant 44 + 146: 11(int) Constant 17 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 57 30 145 146 16 16 17 + 149: 11(int) Constant 46 + 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17 + 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17 + 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 152 52 30 122 16 53 152 16 17 138 142 143 147 150 + 153(ubo): TypeStruct 137(UBO) + 156: 11(int) Constant 49 + 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 151 30 156 48 16 16 17 + 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 155 52 30 122 16 53 155 16 17 154 + 158: TypePointer Uniform 153(ubo) + 159: 158(ptr) Variable Uniform + 161: 11(int) Constant 8 + 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 157 30 122 16 53 1 159 161 + 162: 23(int) Constant 0 + 163: TypePointer Uniform 8(float) + 169: 11(int) Constant 69 + 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 10 30 169 16 78 26 + 181: 11(int) Constant 71 + 182: TypeMatrix 18(fvec3) 3 + 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 134 14 21 16 + 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 136 + 185: TypePointer Function 182 + 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 188 183 30 181 16 78 26 + 194: 11(int) Constant 72 + 197: 8(float) Constant 1065353216 + 204: 11(int) Constant 76 + 212: 11(int) Constant 77 + 220: 11(int) Constant 79 + 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 223 183 30 220 16 78 26 + 229: 11(int) Constant 81 + 238: 11(int) Constant 84 + 246: 11(int) Constant 85 + 254: 11(int) Constant 87 + 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 257 183 30 254 16 78 26 + 260: 11(int) Constant 88 + 265: 11(int) Constant 89 + 274: 11(int) Constant 91 + 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 277 183 30 274 16 78 26 + 285: 11(int) Constant 94 + 288: 23(int) Constant 4 + 294: 11(int) Constant 95 + 302: 11(int) Constant 96 + 303: TypePointer Function 131 + 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 132 30 302 16 78 26 + 312: TypePointer Function 56(fvec4) + 315: 11(int) Constant 97 + 316: 23(int) Constant 1 + 317: 56(fvec4) ConstantComposite 95 197 95 95 + 320: 11(int) Constant 98 + 326: 11(int) Constant 99 + 327: 56(fvec4) ConstantComposite 95 95 95 197 + 330: 11(int) Constant 101 + 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 333 57 30 330 16 78 26 + 344: 11(int) Constant 102 + 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 347 57 30 344 16 78 26 + 351: 23(int) Constant 6 + 363: 11(int) Constant 104 + 367: TypePointer Uniform 131 + 376: 11(int) Constant 105 + 395: 11(int) Constant 107 + 409: 11(int) Constant 108 + 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 412 19 30 409 16 78 26 + 414: TypePointer Uniform 56(fvec4) + 429: 11(int) Constant 109 + 436: 11(int) Constant 110 + 442: 11(int) Constant 111 + 447: TypePointer Input 18(fvec3) + 448(input.Pos): 447(ptr) Variable Input +451(input.Normal): 447(ptr) Variable Input + 454: TypePointer Input 20(fvec2) + 455(input.UV): 454(ptr) Variable Input +458(input.Color): 447(ptr) Variable Input +461(input.instancePos): 447(ptr) Variable Input +464(input.instanceRot): 447(ptr) Variable Input + 467: TypePointer Input 8(float) +468(input.instanceScale): 467(ptr) Variable Input + 471: TypePointer Input 23(int) +472(input.instanceTexIndex): 471(ptr) Variable Input + 479: TypePointer Output 56(fvec4) +480(@entryPointOutput.Pos): 479(ptr) Variable Output + 483: TypePointer Output 18(fvec3) +484(@entryPointOutput.Normal): 483(ptr) Variable Output +487(@entryPointOutput.Color): 483(ptr) Variable Output +490(@entryPointOutput.UV): 483(ptr) Variable Output +493(@entryPointOutput.ViewVec): 483(ptr) Variable Output +496(@entryPointOutput.LightVec): 483(ptr) Variable Output Line 1 62 1 6(main): 4 Function None 5 7: Label - 443(input): 55(ptr) Variable Function -472(flattenTemp): 90(ptr) Variable Function - 473(param): 55(ptr) Variable Function + 446(input): 55(ptr) Variable Function +475(flattenTemp): 90(ptr) Variable Function + 476(param): 55(ptr) Variable Function Line 1 62 0 - 446: 18(fvec3) Load 445(input.Pos) - 447: 103(ptr) AccessChain 443(input) 160 - Store 447 446 - 449: 18(fvec3) Load 448(input.Normal) - 450: 103(ptr) AccessChain 443(input) 313 + 449: 18(fvec3) Load 448(input.Pos) + 450: 103(ptr) AccessChain 446(input) 162 Store 450 449 - 453: 20(fvec2) Load 452(input.UV) - 454: 109(ptr) AccessChain 443(input) 101 - Store 454 453 - 456: 18(fvec3) Load 455(input.Color) - 457: 103(ptr) AccessChain 443(input) 102 + 452: 18(fvec3) Load 451(input.Normal) + 453: 103(ptr) AccessChain 446(input) 316 + Store 453 452 + 456: 20(fvec2) Load 455(input.UV) + 457: 109(ptr) AccessChain 446(input) 101 Store 457 456 - 459: 18(fvec3) Load 458(input.instancePos) - 460: 103(ptr) AccessChain 443(input) 285 + 459: 18(fvec3) Load 458(input.Color) + 460: 103(ptr) AccessChain 446(input) 102 Store 460 459 - 462: 18(fvec3) Load 461(input.instanceRot) - 463: 103(ptr) AccessChain 443(input) 128 + 462: 18(fvec3) Load 461(input.instancePos) + 463: 103(ptr) AccessChain 446(input) 288 Store 463 462 - 466: 8(float) Load 465(input.instanceScale) - 467: 123(ptr) AccessChain 443(input) 348 - Store 467 466 - 470: 23(int) Load 469(input.instanceTexIndex) - 471: 113(ptr) AccessChain 443(input) 112 - Store 471 470 - 474: 27(VSInput) Load 443(input) - Store 473(param) 474 - 475:58(VSOutput) FunctionCall 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 473(param) - Store 472(flattenTemp) 475 - 478: 309(ptr) AccessChain 472(flattenTemp) 160 - 479: 56(fvec4) Load 478 - Store 477(@entryPointOutput.Pos) 479 - 482: 103(ptr) AccessChain 472(flattenTemp) 313 - 483: 18(fvec3) Load 482 - Store 481(@entryPointOutput.Normal) 483 - 485: 103(ptr) AccessChain 472(flattenTemp) 101 + 465: 18(fvec3) Load 464(input.instanceRot) + 466: 103(ptr) AccessChain 446(input) 128 + Store 466 465 + 469: 8(float) Load 468(input.instanceScale) + 470: 123(ptr) AccessChain 446(input) 351 + Store 470 469 + 473: 23(int) Load 472(input.instanceTexIndex) + 474: 113(ptr) AccessChain 446(input) 112 + Store 474 473 + 477: 27(VSInput) Load 446(input) + Store 476(param) 477 + 478:58(VSOutput) FunctionCall 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 476(param) + Store 475(flattenTemp) 478 + 481: 312(ptr) AccessChain 475(flattenTemp) 162 + 482: 56(fvec4) Load 481 + Store 480(@entryPointOutput.Pos) 482 + 485: 103(ptr) AccessChain 475(flattenTemp) 316 486: 18(fvec3) Load 485 - Store 484(@entryPointOutput.Color) 486 - 488: 103(ptr) AccessChain 472(flattenTemp) 102 + Store 484(@entryPointOutput.Normal) 486 + 488: 103(ptr) AccessChain 475(flattenTemp) 101 489: 18(fvec3) Load 488 - Store 487(@entryPointOutput.UV) 489 - 491: 103(ptr) AccessChain 472(flattenTemp) 285 + Store 487(@entryPointOutput.Color) 489 + 491: 103(ptr) AccessChain 475(flattenTemp) 102 492: 18(fvec3) Load 491 - Store 490(@entryPointOutput.ViewVec) 492 - 494: 103(ptr) AccessChain 472(flattenTemp) 128 + Store 490(@entryPointOutput.UV) 492 + 494: 103(ptr) AccessChain 475(flattenTemp) 288 495: 18(fvec3) Load 494 - Store 493(@entryPointOutput.LightVec) 495 + Store 493(@entryPointOutput.ViewVec) 495 + 497: 103(ptr) AccessChain 475(flattenTemp) 128 + 498: 18(fvec3) Load 497 + Store 496(@entryPointOutput.LightVec) 498 Return FunctionEnd Line 1 62 1 @@ -367,15 +370,15 @@ spv.debuginfo.hlsl.vert 76: Label 91(output): 90(ptr) Variable Function 124(s): 123(ptr) Variable Function - 168(c): 123(ptr) Variable Function - 183(mx): 182(ptr) Variable Function - 218(my): 182(ptr) Variable Function - 252(mz): 182(ptr) Variable Function - 272(rotMat): 182(ptr) Variable Function - 301(gRotMat): 300(ptr) Variable Function - 328(locPos): 309(ptr) Variable Function - 342(pos): 309(ptr) Variable Function - 407(lPos): 103(ptr) Variable Function + 170(c): 123(ptr) Variable Function + 186(mx): 185(ptr) Variable Function + 221(my): 185(ptr) Variable Function + 255(mz): 185(ptr) Variable Function + 275(rotMat): 185(ptr) Variable Function + 304(gRotMat): 303(ptr) Variable Function + 331(locPos): 312(ptr) Variable Function + 345(pos): 312(ptr) Variable Function + 410(lPos): 103(ptr) Variable Function 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 78 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 79 79 16 16 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 74(input) 85 @@ -404,240 +407,240 @@ spv.debuginfo.hlsl.vert 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 125 124(s) 85 129: 123(ptr) AccessChain 74(input) 128 16 130: 8(float) Load 129 - 162: 161(ptr) AccessChain 157 160 102 - 163: 8(float) Load 162 - 164: 8(float) FAdd 130 163 - 165: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 164 - Store 124(s) 165 - 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 167 167 16 16 - 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 169 168(c) 85 - 172: 123(ptr) AccessChain 74(input) 128 16 - 173: 8(float) Load 172 - 174: 161(ptr) AccessChain 157 160 102 + 164: 163(ptr) AccessChain 159 162 102 + 165: 8(float) Load 164 + 166: 8(float) FAdd 130 165 + 167: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 166 + Store 124(s) 167 + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 169 169 16 16 + 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 171 170(c) 85 + 174: 123(ptr) AccessChain 74(input) 128 16 175: 8(float) Load 174 - 176: 8(float) FAdd 173 175 - 177: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 176 - Store 168(c) 177 - 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 179 179 16 16 - 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 184 183(mx) 85 - 187: 8(float) Load 168(c) - 188: 8(float) Load 124(s) - 189: 8(float) FNegate 188 - 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 191 191 16 16 - 192: 8(float) Load 124(s) - 193: 8(float) Load 168(c) - 195: 18(fvec3) CompositeConstruct 187 189 95 - 196: 18(fvec3) CompositeConstruct 192 193 95 - 197: 18(fvec3) CompositeConstruct 95 95 194 - 198: 180 CompositeConstruct 195 196 197 - 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 179 179 16 16 - Store 183(mx) 198 - 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 201 201 16 16 - 202: 123(ptr) AccessChain 74(input) 128 52 - 203: 8(float) Load 202 - 204: 161(ptr) AccessChain 157 160 102 - 205: 8(float) Load 204 - 206: 8(float) FAdd 203 205 - 207: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 206 - Store 124(s) 207 - 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 209 209 16 16 - 210: 123(ptr) AccessChain 74(input) 128 52 - 211: 8(float) Load 210 - 212: 161(ptr) AccessChain 157 160 102 - 213: 8(float) Load 212 - 214: 8(float) FAdd 211 213 - 215: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 214 - Store 168(c) 215 - 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 217 217 16 16 - 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 219 218(my) 85 - 222: 8(float) Load 168(c) - 223: 8(float) Load 124(s) - 224: 8(float) FNegate 223 - 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 226 226 16 16 - 227: 8(float) Load 124(s) - 228: 8(float) Load 168(c) - 229: 18(fvec3) CompositeConstruct 222 95 224 - 230: 18(fvec3) CompositeConstruct 95 194 95 - 231: 18(fvec3) CompositeConstruct 227 95 228 - 232: 180 CompositeConstruct 229 230 231 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 217 217 16 16 - Store 218(my) 232 - 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 235 235 16 16 - 236: 123(ptr) AccessChain 74(input) 128 21 - 237: 8(float) Load 236 - 238: 161(ptr) AccessChain 157 160 102 - 239: 8(float) Load 238 - 240: 8(float) FAdd 237 239 - 241: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 240 - Store 124(s) 241 - 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 243 243 16 16 - 244: 123(ptr) AccessChain 74(input) 128 21 - 245: 8(float) Load 244 - 246: 161(ptr) AccessChain 157 160 102 - 247: 8(float) Load 246 - 248: 8(float) FAdd 245 247 - 249: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 248 - Store 168(c) 249 - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 251 251 16 16 - 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 253 252(mz) 85 - 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 257 257 16 16 - 258: 8(float) Load 168(c) - 259: 8(float) Load 124(s) - 260: 8(float) FNegate 259 - 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 262 262 16 16 - 263: 8(float) Load 124(s) - 264: 8(float) Load 168(c) - 265: 18(fvec3) CompositeConstruct 194 95 95 - 266: 18(fvec3) CompositeConstruct 95 258 260 - 267: 18(fvec3) CompositeConstruct 95 263 264 - 268: 180 CompositeConstruct 265 266 267 - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 251 251 16 16 - Store 252(mz) 268 - 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 271 271 16 16 - 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 273 272(rotMat) 85 - 276: 180 Load 183(mx) - 277: 180 Load 218(my) - 278: 180 MatrixTimesMatrix 276 277 - 279: 180 Load 252(mz) - 280: 180 MatrixTimesMatrix 278 279 - Store 272(rotMat) 280 - 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 282 282 16 16 - 283: 123(ptr) AccessChain 74(input) 128 52 - 284: 8(float) Load 283 - 286: 161(ptr) AccessChain 157 160 285 + 176: 163(ptr) AccessChain 159 162 102 + 177: 8(float) Load 176 + 178: 8(float) FAdd 175 177 + 179: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 178 + Store 170(c) 179 + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16 + 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 187 186(mx) 85 + 190: 8(float) Load 170(c) + 191: 8(float) Load 124(s) + 192: 8(float) FNegate 191 + 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 194 194 16 16 + 195: 8(float) Load 124(s) + 196: 8(float) Load 170(c) + 198: 18(fvec3) CompositeConstruct 190 192 95 + 199: 18(fvec3) CompositeConstruct 195 196 95 + 200: 18(fvec3) CompositeConstruct 95 95 197 + 201: 182 CompositeConstruct 198 199 200 + 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16 + Store 186(mx) 201 + 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 204 204 16 16 + 205: 123(ptr) AccessChain 74(input) 128 52 + 206: 8(float) Load 205 + 207: 163(ptr) AccessChain 159 162 102 + 208: 8(float) Load 207 + 209: 8(float) FAdd 206 208 + 210: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 209 + Store 124(s) 210 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 212 212 16 16 + 213: 123(ptr) AccessChain 74(input) 128 52 + 214: 8(float) Load 213 + 215: 163(ptr) AccessChain 159 162 102 + 216: 8(float) Load 215 + 217: 8(float) FAdd 214 216 + 218: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 217 + Store 170(c) 218 + 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 220 220 16 16 + 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 222 221(my) 85 + 225: 8(float) Load 170(c) + 226: 8(float) Load 124(s) + 227: 8(float) FNegate 226 + 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 229 229 16 16 + 230: 8(float) Load 124(s) + 231: 8(float) Load 170(c) + 232: 18(fvec3) CompositeConstruct 225 95 227 + 233: 18(fvec3) CompositeConstruct 95 197 95 + 234: 18(fvec3) CompositeConstruct 230 95 231 + 235: 182 CompositeConstruct 232 233 234 + 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 220 220 16 16 + Store 221(my) 235 + 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 238 238 16 16 + 239: 123(ptr) AccessChain 74(input) 128 21 + 240: 8(float) Load 239 + 241: 163(ptr) AccessChain 159 162 102 + 242: 8(float) Load 241 + 243: 8(float) FAdd 240 242 + 244: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 243 + Store 124(s) 244 + 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 246 246 16 16 + 247: 123(ptr) AccessChain 74(input) 128 21 + 248: 8(float) Load 247 + 249: 163(ptr) AccessChain 159 162 102 + 250: 8(float) Load 249 + 251: 8(float) FAdd 248 250 + 252: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 251 + Store 170(c) 252 + 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 254 254 16 16 + 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 256 255(mz) 85 + 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 260 260 16 16 + 261: 8(float) Load 170(c) + 262: 8(float) Load 124(s) + 263: 8(float) FNegate 262 + 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 265 265 16 16 + 266: 8(float) Load 124(s) + 267: 8(float) Load 170(c) + 268: 18(fvec3) CompositeConstruct 197 95 95 + 269: 18(fvec3) CompositeConstruct 95 261 263 + 270: 18(fvec3) CompositeConstruct 95 266 267 + 271: 182 CompositeConstruct 268 269 270 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 254 254 16 16 + Store 255(mz) 271 + 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 274 274 16 16 + 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 276 275(rotMat) 85 + 279: 182 Load 186(mx) + 280: 182 Load 221(my) + 281: 182 MatrixTimesMatrix 279 280 + 282: 182 Load 255(mz) + 283: 182 MatrixTimesMatrix 281 282 + Store 275(rotMat) 283 + 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 285 285 16 16 + 286: 123(ptr) AccessChain 74(input) 128 52 287: 8(float) Load 286 - 288: 8(float) FAdd 284 287 - 289: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 288 - Store 124(s) 289 - 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 291 291 16 16 - 292: 123(ptr) AccessChain 74(input) 128 52 - 293: 8(float) Load 292 - 294: 161(ptr) AccessChain 157 160 285 - 295: 8(float) Load 294 - 296: 8(float) FAdd 293 295 - 297: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 296 - Store 168(c) 297 - 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 299 299 16 16 - 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 302 301(gRotMat) 85 - 305: 8(float) Load 168(c) - 306: 8(float) Load 124(s) - 307: 8(float) FNegate 306 - 308: 56(fvec4) CompositeConstruct 305 95 307 95 - 310: 309(ptr) AccessChain 301(gRotMat) 160 - Store 310 308 - 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 312 312 16 16 - 315: 309(ptr) AccessChain 301(gRotMat) 313 - Store 315 314 - 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 317 317 16 16 - 318: 8(float) Load 124(s) - 319: 8(float) Load 168(c) - 320: 56(fvec4) CompositeConstruct 318 95 319 95 - 321: 309(ptr) AccessChain 301(gRotMat) 101 - Store 321 320 - 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 323 323 16 16 - 325: 309(ptr) AccessChain 301(gRotMat) 102 - Store 325 324 - 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 327 327 16 16 - 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 329 328(locPos) 85 - 332: 103(ptr) AccessChain 74(input) 160 - 333: 18(fvec3) Load 332 - 334: 180 Load 272(rotMat) - 335: 18(fvec3) VectorTimesMatrix 333 334 - 336: 8(float) CompositeExtract 335 0 - 337: 8(float) CompositeExtract 335 1 - 338: 8(float) CompositeExtract 335 2 - 339: 56(fvec4) CompositeConstruct 336 337 338 194 - Store 328(locPos) 339 - 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 341 341 16 16 - 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 343 342(pos) 85 - 346: 56(fvec4) Load 328(locPos) - 347: 18(fvec3) VectorShuffle 346 346 0 1 2 - 349: 123(ptr) AccessChain 74(input) 348 - 350: 8(float) Load 349 - 351: 18(fvec3) VectorTimesScalar 347 350 - 352: 103(ptr) AccessChain 74(input) 285 - 353: 18(fvec3) Load 352 - 354: 18(fvec3) FAdd 351 353 - 355: 8(float) CompositeExtract 354 0 - 356: 8(float) CompositeExtract 354 1 - 357: 8(float) CompositeExtract 354 2 - 358: 56(fvec4) CompositeConstruct 355 356 357 194 - Store 342(pos) 358 - 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 360 360 16 16 - 361: 56(fvec4) Load 342(pos) - 362: 131 Load 301(gRotMat) - 363: 56(fvec4) VectorTimesMatrix 361 362 - 365: 364(ptr) AccessChain 157 160 313 - 366: 131 Load 365 - 367: 56(fvec4) VectorTimesMatrix 363 366 - 368: 364(ptr) AccessChain 157 160 160 + 289: 163(ptr) AccessChain 159 162 288 + 290: 8(float) Load 289 + 291: 8(float) FAdd 287 290 + 292: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 291 + Store 124(s) 292 + 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 294 294 16 16 + 295: 123(ptr) AccessChain 74(input) 128 52 + 296: 8(float) Load 295 + 297: 163(ptr) AccessChain 159 162 288 + 298: 8(float) Load 297 + 299: 8(float) FAdd 296 298 + 300: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 299 + Store 170(c) 300 + 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 302 302 16 16 + 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(gRotMat) 85 + 308: 8(float) Load 170(c) + 309: 8(float) Load 124(s) + 310: 8(float) FNegate 309 + 311: 56(fvec4) CompositeConstruct 308 95 310 95 + 313: 312(ptr) AccessChain 304(gRotMat) 162 + Store 313 311 + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 315 315 16 16 + 318: 312(ptr) AccessChain 304(gRotMat) 316 + Store 318 317 + 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 320 320 16 16 + 321: 8(float) Load 124(s) + 322: 8(float) Load 170(c) + 323: 56(fvec4) CompositeConstruct 321 95 322 95 + 324: 312(ptr) AccessChain 304(gRotMat) 101 + Store 324 323 + 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 326 326 16 16 + 328: 312(ptr) AccessChain 304(gRotMat) 102 + Store 328 327 + 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 330 330 16 16 + 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 332 331(locPos) 85 + 335: 103(ptr) AccessChain 74(input) 162 + 336: 18(fvec3) Load 335 + 337: 182 Load 275(rotMat) + 338: 18(fvec3) VectorTimesMatrix 336 337 + 339: 8(float) CompositeExtract 338 0 + 340: 8(float) CompositeExtract 338 1 + 341: 8(float) CompositeExtract 338 2 + 342: 56(fvec4) CompositeConstruct 339 340 341 197 + Store 331(locPos) 342 + 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 344 344 16 16 + 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 346 345(pos) 85 + 349: 56(fvec4) Load 331(locPos) + 350: 18(fvec3) VectorShuffle 349 349 0 1 2 + 352: 123(ptr) AccessChain 74(input) 351 + 353: 8(float) Load 352 + 354: 18(fvec3) VectorTimesScalar 350 353 + 355: 103(ptr) AccessChain 74(input) 288 + 356: 18(fvec3) Load 355 + 357: 18(fvec3) FAdd 354 356 + 358: 8(float) CompositeExtract 357 0 + 359: 8(float) CompositeExtract 357 1 + 360: 8(float) CompositeExtract 357 2 + 361: 56(fvec4) CompositeConstruct 358 359 360 197 + Store 345(pos) 361 + 362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 363 363 16 16 + 364: 56(fvec4) Load 345(pos) + 365: 131 Load 304(gRotMat) + 366: 56(fvec4) VectorTimesMatrix 364 365 + 368: 367(ptr) AccessChain 159 162 316 369: 131 Load 368 - 370: 56(fvec4) VectorTimesMatrix 367 369 - 371: 309(ptr) AccessChain 91(output) 160 - Store 371 370 - 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 373 373 16 16 - 374: 103(ptr) AccessChain 74(input) 313 - 375: 18(fvec3) Load 374 - 376: 180 Load 272(rotMat) - 377: 18(fvec3) VectorTimesMatrix 375 376 - 378: 131 Load 301(gRotMat) - 379: 364(ptr) AccessChain 157 160 313 - 380: 131 Load 379 - 381: 131 MatrixTimesMatrix 378 380 - 382: 56(fvec4) CompositeExtract 381 0 - 383: 18(fvec3) VectorShuffle 382 382 0 1 2 - 384: 56(fvec4) CompositeExtract 381 1 - 385: 18(fvec3) VectorShuffle 384 384 0 1 2 - 386: 56(fvec4) CompositeExtract 381 2 - 387: 18(fvec3) VectorShuffle 386 386 0 1 2 - 388: 180 CompositeConstruct 383 385 387 - 389: 18(fvec3) VectorTimesMatrix 377 388 - 390: 103(ptr) AccessChain 91(output) 313 - Store 390 389 - 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 392 392 16 16 - 393: 103(ptr) AccessChain 74(input) 160 - 394: 18(fvec3) Load 393 - 395: 103(ptr) AccessChain 74(input) 285 - 396: 18(fvec3) Load 395 - 397: 18(fvec3) FAdd 394 396 - 398: 8(float) CompositeExtract 397 0 - 399: 8(float) CompositeExtract 397 1 - 400: 8(float) CompositeExtract 397 2 - 401: 56(fvec4) CompositeConstruct 398 399 400 194 - 402: 364(ptr) AccessChain 157 160 313 - 403: 131 Load 402 - 404: 56(fvec4) VectorTimesMatrix 401 403 - Store 342(pos) 404 - 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 406 406 16 16 - 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 408 407(lPos) 85 - 412: 411(ptr) AccessChain 157 160 101 - 413: 56(fvec4) Load 412 - 414: 18(fvec3) VectorShuffle 413 413 0 1 2 - 415: 364(ptr) AccessChain 157 160 313 - 416: 131 Load 415 - 417: 56(fvec4) CompositeExtract 416 0 - 418: 18(fvec3) VectorShuffle 417 417 0 1 2 - 419: 56(fvec4) CompositeExtract 416 1 - 420: 18(fvec3) VectorShuffle 419 419 0 1 2 - 421: 56(fvec4) CompositeExtract 416 2 - 422: 18(fvec3) VectorShuffle 421 421 0 1 2 - 423: 180 CompositeConstruct 418 420 422 - 424: 18(fvec3) VectorTimesMatrix 414 423 - Store 407(lPos) 424 - 425: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 426 426 16 16 - 427: 18(fvec3) Load 407(lPos) - 428: 56(fvec4) Load 342(pos) - 429: 18(fvec3) VectorShuffle 428 428 0 1 2 - 430: 18(fvec3) FSub 427 429 - 431: 103(ptr) AccessChain 91(output) 128 - Store 431 430 - 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 433 433 16 16 - 434: 56(fvec4) Load 342(pos) - 435: 18(fvec3) VectorShuffle 434 434 0 1 2 - 436: 18(fvec3) FNegate 435 - 437: 103(ptr) AccessChain 91(output) 285 - Store 437 436 - 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16 - 440:58(VSOutput) Load 91(output) - ReturnValue 440 + 370: 56(fvec4) VectorTimesMatrix 366 369 + 371: 367(ptr) AccessChain 159 162 162 + 372: 131 Load 371 + 373: 56(fvec4) VectorTimesMatrix 370 372 + 374: 312(ptr) AccessChain 91(output) 162 + Store 374 373 + 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 376 376 16 16 + 377: 103(ptr) AccessChain 74(input) 316 + 378: 18(fvec3) Load 377 + 379: 182 Load 275(rotMat) + 380: 18(fvec3) VectorTimesMatrix 378 379 + 381: 131 Load 304(gRotMat) + 382: 367(ptr) AccessChain 159 162 316 + 383: 131 Load 382 + 384: 131 MatrixTimesMatrix 381 383 + 385: 56(fvec4) CompositeExtract 384 0 + 386: 18(fvec3) VectorShuffle 385 385 0 1 2 + 387: 56(fvec4) CompositeExtract 384 1 + 388: 18(fvec3) VectorShuffle 387 387 0 1 2 + 389: 56(fvec4) CompositeExtract 384 2 + 390: 18(fvec3) VectorShuffle 389 389 0 1 2 + 391: 182 CompositeConstruct 386 388 390 + 392: 18(fvec3) VectorTimesMatrix 380 391 + 393: 103(ptr) AccessChain 91(output) 316 + Store 393 392 + 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 395 395 16 16 + 396: 103(ptr) AccessChain 74(input) 162 + 397: 18(fvec3) Load 396 + 398: 103(ptr) AccessChain 74(input) 288 + 399: 18(fvec3) Load 398 + 400: 18(fvec3) FAdd 397 399 + 401: 8(float) CompositeExtract 400 0 + 402: 8(float) CompositeExtract 400 1 + 403: 8(float) CompositeExtract 400 2 + 404: 56(fvec4) CompositeConstruct 401 402 403 197 + 405: 367(ptr) AccessChain 159 162 316 + 406: 131 Load 405 + 407: 56(fvec4) VectorTimesMatrix 404 406 + Store 345(pos) 407 + 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 409 409 16 16 + 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 411 410(lPos) 85 + 415: 414(ptr) AccessChain 159 162 101 + 416: 56(fvec4) Load 415 + 417: 18(fvec3) VectorShuffle 416 416 0 1 2 + 418: 367(ptr) AccessChain 159 162 316 + 419: 131 Load 418 + 420: 56(fvec4) CompositeExtract 419 0 + 421: 18(fvec3) VectorShuffle 420 420 0 1 2 + 422: 56(fvec4) CompositeExtract 419 1 + 423: 18(fvec3) VectorShuffle 422 422 0 1 2 + 424: 56(fvec4) CompositeExtract 419 2 + 425: 18(fvec3) VectorShuffle 424 424 0 1 2 + 426: 182 CompositeConstruct 421 423 425 + 427: 18(fvec3) VectorTimesMatrix 417 426 + Store 410(lPos) 427 + 428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 429 429 16 16 + 430: 18(fvec3) Load 410(lPos) + 431: 56(fvec4) Load 345(pos) + 432: 18(fvec3) VectorShuffle 431 431 0 1 2 + 433: 18(fvec3) FSub 430 432 + 434: 103(ptr) AccessChain 91(output) 128 + Store 434 433 + 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 436 436 16 16 + 437: 56(fvec4) Load 345(pos) + 438: 18(fvec3) VectorShuffle 437 437 0 1 2 + 439: 18(fvec3) FNegate 438 + 440: 103(ptr) AccessChain 91(output) 288 + Store 440 439 + 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16 + 443:58(VSOutput) Load 91(output) + ReturnValue 443 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out b/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out index f3319c20ee..28e16243db 100644 --- a/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out +++ b/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out @@ -1,7 +1,7 @@ spv.debuginfo.scalar_types.glsl.frag // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 147 +// Id's are bound by 150 Capability Shader Capability Float16 @@ -28,41 +28,41 @@ spv.debuginfo.scalar_types.glsl.frag " 30: String "bool" 35: String "VAR_bool" - 42: String "int" - 47: String "VAR_int" - 54: String "VAR_uint" - 58: String "float" - 63: String "VAR_float" - 68: String "double" - 74: String "VAR_double" - 79: String "int8_t" - 84: String "VAR_int8_t" - 89: String "uint8_t" - 94: String "VAR_uint8_t" - 99: String "int16_t" - 105: String "VAR_int16_t" - 110: String "uint16_t" - 115: String "VAR_uint16_t" - 120: String "int64_t" - 125: String "VAR_int64_t" - 130: String "uint64_t" - 135: String "VAR_uint64_t" - 140: String "float16_t" - 145: String "VAR_float16_t" + 45: String "int" + 50: String "VAR_int" + 57: String "VAR_uint" + 61: String "float" + 66: String "VAR_float" + 71: String "double" + 77: String "VAR_double" + 82: String "int8_t" + 87: String "VAR_int8_t" + 92: String "uint8_t" + 97: String "VAR_uint8_t" + 102: String "int16_t" + 108: String "VAR_int16_t" + 113: String "uint16_t" + 118: String "VAR_uint16_t" + 123: String "int64_t" + 128: String "VAR_int64_t" + 133: String "uint64_t" + 138: String "VAR_uint64_t" + 143: String "float16_t" + 148: String "VAR_float16_t" SourceExtension "GL_EXT_shader_explicit_arithmetic_types" Name 14 "main" Name 33 "VAR_bool" - Name 45 "VAR_int" - Name 52 "VAR_uint" - Name 61 "VAR_float" - Name 72 "VAR_double" - Name 82 "VAR_int8_t" - Name 92 "VAR_uint8_t" - Name 103 "VAR_int16_t" - Name 113 "VAR_uint16_t" - Name 123 "VAR_int64_t" - Name 133 "VAR_uint64_t" - Name 143 "VAR_float16_t" + Name 48 "VAR_int" + Name 55 "VAR_uint" + Name 64 "VAR_float" + Name 75 "VAR_double" + Name 85 "VAR_int8_t" + Name 95 "VAR_uint8_t" + Name 106 "VAR_int16_t" + Name 116 "VAR_uint16_t" + Name 126 "VAR_int64_t" + Name 136 "VAR_uint64_t" + Name 146 "VAR_float16_t" 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -87,111 +87,114 @@ spv.debuginfo.scalar_types.glsl.frag 36: 7(int) Constant 8 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 35 31 18 28 12 21 35 33(VAR_bool) 36 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12 - 38: 29(bool) ConstantFalse - 40: 7(int) Constant 44 - 41: TypeInt 32 1 - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 42 10 23 12 - 44: TypePointer Private 41(int) - 45(VAR_int): 44(ptr) Variable Private - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 47 43 18 40 12 21 47 45(VAR_int) 36 - 48: 41(int) Constant 0 - 50: 7(int) Constant 45 - 51: TypePointer Private 7(int) - 52(VAR_uint): 51(ptr) Variable Private - 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 54 9 18 50 12 21 54 52(VAR_uint) 36 - 56: 7(int) Constant 46 - 57: TypeFloat 32 - 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 58 10 13 12 - 60: TypePointer Private 57(float) - 61(VAR_float): 60(ptr) Variable Private - 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 63 59 18 56 12 21 63 61(VAR_float) 36 - 64: 57(float) Constant 0 - 66: 7(int) Constant 47 - 67: TypeFloat 64 - 70: 7(int) Constant 64 - 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 68 70 13 12 - 71: TypePointer Private 67(float64_t) - 72(VAR_double): 71(ptr) Variable Private - 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 74 69 18 66 12 21 74 72(VAR_double) 36 - 75:67(float64_t) Constant 0 0 - 77: 7(int) Constant 48 - 78: TypeInt 8 1 - 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 79 36 23 12 - 81: TypePointer Private 78(int8_t) - 82(VAR_int8_t): 81(ptr) Variable Private - 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 84 80 18 77 12 21 84 82(VAR_int8_t) 36 - 85: 78(int8_t) Constant 0 - 87: 7(int) Constant 49 - 88: TypeInt 8 0 - 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 89 36 11 12 - 91: TypePointer Private 88(int8_t) - 92(VAR_uint8_t): 91(ptr) Variable Private - 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 94 90 18 87 12 21 94 92(VAR_uint8_t) 36 - 95: 88(int8_t) Constant 0 - 97: 7(int) Constant 50 - 98: TypeInt 16 1 - 101: 7(int) Constant 16 - 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 99 101 23 12 - 102: TypePointer Private 98(int16_t) -103(VAR_int16_t): 102(ptr) Variable Private - 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 105 100 18 97 12 21 105 103(VAR_int16_t) 36 - 106: 98(int16_t) Constant 0 - 108: 7(int) Constant 51 - 109: TypeInt 16 0 - 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 110 101 11 12 - 112: TypePointer Private 109(int16_t) -113(VAR_uint16_t): 112(ptr) Variable Private - 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 115 111 18 108 12 21 115 113(VAR_uint16_t) 36 - 116:109(int16_t) Constant 0 - 118: 7(int) Constant 52 - 119: TypeInt 64 1 - 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 120 70 23 12 - 122: TypePointer Private 119(int64_t) -123(VAR_int64_t): 122(ptr) Variable Private - 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 121 18 118 12 21 125 123(VAR_int64_t) 36 - 126:119(int64_t) Constant 0 0 - 128: 7(int) Constant 53 - 129: TypeInt 64 0 - 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 130 70 11 12 - 132: TypePointer Private 129(int64_t) -133(VAR_uint64_t): 132(ptr) Variable Private - 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 135 131 18 128 12 21 135 133(VAR_uint64_t) 36 - 136:129(int64_t) Constant 0 0 - 138: 7(int) Constant 54 - 139: TypeFloat 16 - 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 101 13 12 - 142: TypePointer Private 139(float16_t) -143(VAR_float16_t): 142(ptr) Variable Private - 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 145 141 18 138 12 21 145 143(VAR_float16_t) 36 - 146:139(float16_t) Constant 0 + 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12 + 39: 29(bool) ConstantFalse + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12 + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12 + 43: 7(int) Constant 44 + 44: TypeInt 32 1 + 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 45 10 23 12 + 47: TypePointer Private 44(int) + 48(VAR_int): 47(ptr) Variable Private + 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 50 46 18 43 12 21 50 48(VAR_int) 36 + 51: 44(int) Constant 0 + 53: 7(int) Constant 45 + 54: TypePointer Private 7(int) + 55(VAR_uint): 54(ptr) Variable Private + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 57 9 18 53 12 21 57 55(VAR_uint) 36 + 59: 7(int) Constant 46 + 60: TypeFloat 32 + 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 61 10 13 12 + 63: TypePointer Private 60(float) + 64(VAR_float): 63(ptr) Variable Private + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 66 62 18 59 12 21 66 64(VAR_float) 36 + 67: 60(float) Constant 0 + 69: 7(int) Constant 47 + 70: TypeFloat 64 + 73: 7(int) Constant 64 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 71 73 13 12 + 74: TypePointer Private 70(float64_t) + 75(VAR_double): 74(ptr) Variable Private + 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 77 72 18 69 12 21 77 75(VAR_double) 36 + 78:70(float64_t) Constant 0 0 + 80: 7(int) Constant 48 + 81: TypeInt 8 1 + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 82 36 23 12 + 84: TypePointer Private 81(int8_t) + 85(VAR_int8_t): 84(ptr) Variable Private + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 87 83 18 80 12 21 87 85(VAR_int8_t) 36 + 88: 81(int8_t) Constant 0 + 90: 7(int) Constant 49 + 91: TypeInt 8 0 + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 92 36 11 12 + 94: TypePointer Private 91(int8_t) + 95(VAR_uint8_t): 94(ptr) Variable Private + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 97 93 18 90 12 21 97 95(VAR_uint8_t) 36 + 98: 91(int8_t) Constant 0 + 100: 7(int) Constant 50 + 101: TypeInt 16 1 + 104: 7(int) Constant 16 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 102 104 23 12 + 105: TypePointer Private 101(int16_t) +106(VAR_int16_t): 105(ptr) Variable Private + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 103 18 100 12 21 108 106(VAR_int16_t) 36 + 109:101(int16_t) Constant 0 + 111: 7(int) Constant 51 + 112: TypeInt 16 0 + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 113 104 11 12 + 115: TypePointer Private 112(int16_t) +116(VAR_uint16_t): 115(ptr) Variable Private + 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 118 114 18 111 12 21 118 116(VAR_uint16_t) 36 + 119:112(int16_t) Constant 0 + 121: 7(int) Constant 52 + 122: TypeInt 64 1 + 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 123 73 23 12 + 125: TypePointer Private 122(int64_t) +126(VAR_int64_t): 125(ptr) Variable Private + 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 128 124 18 121 12 21 128 126(VAR_int64_t) 36 + 129:122(int64_t) Constant 0 0 + 131: 7(int) Constant 53 + 132: TypeInt 64 0 + 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 133 73 11 12 + 135: TypePointer Private 132(int64_t) +136(VAR_uint64_t): 135(ptr) Variable Private + 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 138 134 18 131 12 21 138 136(VAR_uint64_t) 36 + 139:132(int64_t) Constant 0 0 + 141: 7(int) Constant 54 + 142: TypeFloat 16 + 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 143 104 13 12 + 145: TypePointer Private 142(float16_t) +146(VAR_float16_t): 145(ptr) Variable Private + 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 148 144 18 141 12 21 148 146(VAR_float16_t) 36 + 149:142(float16_t) Constant 0 Line 1 42 11 14(main): 4 Function None 5 15: Label 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 - Store 33(VAR_bool) 38 - 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 40 40 12 12 - Store 45(VAR_int) 48 - 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 50 50 12 12 - Store 52(VAR_uint) 12 - 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 56 56 12 12 - Store 61(VAR_float) 64 - 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 66 66 12 12 - Store 72(VAR_double) 75 - 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 77 77 12 12 - Store 82(VAR_int8_t) 85 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 87 87 12 12 - Store 92(VAR_uint8_t) 95 - 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 97 97 12 12 - Store 103(VAR_int16_t) 106 - 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 108 108 12 12 - Store 113(VAR_uint16_t) 116 - 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12 - Store 123(VAR_int64_t) 126 - 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12 - Store 133(VAR_uint64_t) 136 - 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 138 138 12 12 - Store 143(VAR_float16_t) 146 + Store 33(VAR_bool) 39 + 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 43 43 12 12 + Store 48(VAR_int) 51 + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 53 53 12 12 + Store 55(VAR_uint) 12 + 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 59 59 12 12 + Store 64(VAR_float) 67 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12 + Store 75(VAR_double) 78 + 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 80 80 12 12 + Store 85(VAR_int8_t) 88 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 90 90 12 12 + Store 95(VAR_uint8_t) 98 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 100 100 12 12 + Store 106(VAR_int16_t) 109 + 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 111 111 12 12 + Store 116(VAR_uint16_t) 119 + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 121 121 12 12 + Store 126(VAR_int64_t) 129 + 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 131 131 12 12 + Store 136(VAR_uint64_t) 139 + 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 141 141 12 12 + Store 146(VAR_float16_t) 149 Return FunctionEnd