From 979423d84f49eb6682fabda025a8e908356268bd Mon Sep 17 00:00:00 2001 From: Chao Chen Date: Thu, 12 Oct 2023 05:42:55 +0100 Subject: [PATCH] Add correct line number to OpDebugFunction and OpDebugScope for function: 1. Pull OpDebugFunction, OpDebugScope and OpDebugVariable for params out of makeFunctionEntry. 2. Put above in a separate function called setupDebugFunctionEntry, which also accept line number and set it correctly in builder. 3. Call setupDebugFunctionEntry in makeFunction. Also special case handle entry function since it's created ealier elsewhere. --- SPIRV/GlslangToSpv.cpp | 14 +- SPIRV/SpvBuilder.cpp | 69 +- SPIRV/SpvBuilder.h | 3 + SPIRV/spvIR.h | 1 + .../spv.debuginfo.bufferref.glsl.frag.out | 299 +-- .../spv.debuginfo.const_params.glsl.comp.out | 120 +- Test/baseResults/spv.debuginfo.glsl.comp.out | 2354 +++++++++-------- Test/baseResults/spv.debuginfo.glsl.frag.out | 2094 +++++++-------- Test/baseResults/spv.debuginfo.glsl.geom.out | 649 ++--- Test/baseResults/spv.debuginfo.glsl.tesc.out | 1333 +++++----- Test/baseResults/spv.debuginfo.glsl.tese.out | 821 +++--- Test/baseResults/spv.debuginfo.glsl.vert.out | 1019 +++---- Test/baseResults/spv.debuginfo.hlsl.comp.out | 2332 ++++++++-------- Test/baseResults/spv.debuginfo.hlsl.frag.out | 2144 +++++++-------- Test/baseResults/spv.debuginfo.hlsl.geom.out | 767 +++--- Test/baseResults/spv.debuginfo.hlsl.tesc.out | 1704 ++++++------ Test/baseResults/spv.debuginfo.hlsl.tese.out | 1001 +++---- Test/baseResults/spv.debuginfo.hlsl.vert.out | 1055 ++++---- .../spv.debuginfo.scalar_types.glsl.frag.out | 313 +-- 19 files changed, 9076 insertions(+), 9016 deletions(-) diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index 576c680f..b6ac8129 100755 --- a/SPIRV/GlslangToSpv.cpp +++ b/SPIRV/GlslangToSpv.cpp @@ -5403,9 +5403,17 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF for (int f = 0; f < (int)glslFunctions.size(); ++f) { glslang::TIntermAggregate* glslFunction = glslFunctions[f]->getAsAggregate(); - if (! glslFunction || glslFunction->getOp() != glslang::EOpFunction || isShaderEntryPoint(glslFunction)) + if (! glslFunction || glslFunction->getOp() != glslang::EOpFunction) continue; - + if (isShaderEntryPoint(glslFunction)) { + if (glslangIntermediate->getSource() != glslang::EShSourceHlsl) { + builder.setupDebugFunctionEntry(shaderEntry, glslangIntermediate->getEntryPointMangledName().c_str(), + glslFunction->getLoc().line, + std::vector(), // main function has no param + std::vector()); + } + continue; + } // We're on a user function. Set up the basic interface for the function now, // so that it's available to call. Translating the body will happen later. // @@ -5455,6 +5463,8 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF TranslatePrecisionDecoration(glslFunction->getType()), convertGlslangToSpvType(glslFunction->getType()), glslFunction->getName().c_str(), convertGlslangLinkageToSpv(glslFunction->getLinkType()), paramTypes, paramNames, paramDecorations, &functionBlock); + builder.setupDebugFunctionEntry(function, glslFunction->getName().c_str(), glslFunction->getLoc().line, + paramTypes, paramNames); if (implicitThis) function->setImplicitThis(); diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index d42f7288..7586ecf5 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -2101,12 +2101,8 @@ Function* Builder::makeFunctionEntry(Decoration precision, Id returnType, const } } - // Make the debug function instruction + // reset last debug scope if (emitNonSemanticShaderDebugInfo) { - Id nameId = getStringId(unmangleFunctionName(name)); - Id debugFuncId = makeDebugFunction(function, nameId, typeId); - debugId[funcId] = debugFuncId; - currentDebugScopeId.push(debugFuncId); lastDebugScopeId = NoResult; } @@ -2116,41 +2112,62 @@ Function* Builder::makeFunctionEntry(Decoration precision, Id returnType, const function->addBlock(*entry); setBuildPoint(*entry); - // DebugScope and DebugLine for parameter DebugDeclares - if (emitNonSemanticShaderDebugInfo && (int)paramTypes.size() > 0) { - addDebugScopeAndLine(currentFileId, currentLine, 0); - } + if (name) + addName(function->getId(), name); - if (emitNonSemanticShaderDebugInfo) { - assert(paramTypes.size() == paramNames.size()); - for(size_t p = 0; p < paramTypes.size(); ++p) - { + functions.push_back(std::unique_ptr(function)); + + return function; +} + +void Builder::setupDebugFunctionEntry(Function* function, const char* name, int line, const std::vector& paramTypes, + const std::vector& paramNames) +{ + + if (!emitNonSemanticShaderDebugInfo) + return; + + currentLine = line; + Id nameId = getStringId(unmangleFunctionName(name)); + Id funcTypeId = function->getFuncTypeId(); + assert(debugId[funcTypeId] != 0); + Id funcId = function->getId(); + + assert(funcId != 0); + + // Make the debug function instruction + Id debugFuncId = makeDebugFunction(function, nameId, funcTypeId); + debugId[funcId] = debugFuncId; + currentDebugScopeId.push(debugFuncId); + + // DebugScope and DebugLine for parameter DebugDeclares + assert(paramTypes.size() == paramNames.size()); + if ((int)paramTypes.size() > 0) { + addDebugScopeAndLine(currentFileId, currentLine, 0); + + Id firstParamId = function->getParamId(0); + + for (size_t p = 0; p < paramTypes.size(); ++p) { auto getParamTypeId = [this](Id const& typeId) { if (isPointerType(typeId) || isArrayType(typeId)) { return getContainedTypeId(typeId); - } - else { + } else { return typeId; } }; auto const& paramName = paramNames[p]; - auto const debugLocalVariableId = createDebugLocalVariable(debugId[getParamTypeId(paramTypes[p])], paramName, p+1); + auto const debugLocalVariableId = + createDebugLocalVariable(debugId[getParamTypeId(paramTypes[p])], paramName, p + 1); + debugId[firstParamId + p] = debugLocalVariableId; makeDebugDeclare(debugLocalVariableId, firstParamId + p); } } - if (name) - addName(function->getId(), name); - - functions.push_back(std::unique_ptr(function)); - // Clear debug scope stack if (emitNonSemanticShaderDebugInfo) currentDebugScopeId.pop(); - - return function; } Id Builder::makeDebugFunction([[maybe_unused]] Function* function, Id nameId, Id funcTypeId) @@ -2166,13 +2183,13 @@ Id Builder::makeDebugFunction([[maybe_unused]] Function* function, Id nameId, Id type->addImmediateOperand(NonSemanticShaderDebugInfo100DebugFunction); type->addIdOperand(nameId); type->addIdOperand(debugId[funcTypeId]); - type->addIdOperand(makeDebugSource(currentFileId)); // Will be fixed later when true filename available - type->addIdOperand(makeUintConstant(currentLine)); // Will be fixed later when true line available + type->addIdOperand(makeDebugSource(currentFileId)); // TODO: This points to file of definition instead of declaration + type->addIdOperand(makeUintConstant(currentLine)); // TODO: This points to line of definition instead of declaration type->addIdOperand(makeUintConstant(0)); // column type->addIdOperand(makeDebugCompilationUnit()); // scope type->addIdOperand(nameId); // linkage name type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100FlagIsPublic)); - type->addIdOperand(makeUintConstant(currentLine)); // TODO(greg-lunarg): correct scope line + type->addIdOperand(makeUintConstant(currentLine)); constantsTypesGlobals.push_back(std::unique_ptr(type)); module.mapInstruction(type); return funcId; diff --git a/SPIRV/SpvBuilder.h b/SPIRV/SpvBuilder.h index 2e1c07d4..1a85b1d6 100644 --- a/SPIRV/SpvBuilder.h +++ b/SPIRV/SpvBuilder.h @@ -237,6 +237,9 @@ public: Id makeDebugFunction(Function* function, Id nameId, Id funcTypeId); Id makeDebugLexicalBlock(uint32_t line); std::string unmangleFunctionName(std::string const& name) const; + void setupDebugFunctionEntry(Function* function, const char* name, int line, + const std::vector& paramTypes, + const std::vector& paramNames); // accelerationStructureNV type Id makeAccelerationStructureType(); diff --git a/SPIRV/spvIR.h b/SPIRV/spvIR.h index 1f8e28ff..8849f42e 100644 --- a/SPIRV/spvIR.h +++ b/SPIRV/spvIR.h @@ -352,6 +352,7 @@ public: void addLocalVariable(std::unique_ptr inst); Id getReturnType() const { return functionInstruction.getTypeId(); } Id getFuncId() const { return functionInstruction.getResultId(); } + Id getFuncTypeId() const { return functionInstruction.getIdOperand(1); } void setReturnPrecision(Decoration precision) { if (precision == DecorationRelaxedPrecision) diff --git a/Test/baseResults/spv.debuginfo.bufferref.glsl.frag.out b/Test/baseResults/spv.debuginfo.bufferref.glsl.frag.out index f52e001a..f196fb0b 100644 --- a/Test/baseResults/spv.debuginfo.bufferref.glsl.frag.out +++ b/Test/baseResults/spv.debuginfo.bufferref.glsl.frag.out @@ -1,7 +1,7 @@ spv.debuginfo.bufferref.glsl.frag // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 131 +// Id's are bound by 132 Capability Shader Capability PhysicalStorageBufferAddressesEXT @@ -11,12 +11,12 @@ spv.debuginfo.bufferref.glsl.frag 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel PhysicalStorageBuffer64EXT GLSL450 - EntryPoint Fragment 14 "main" 69 122 + EntryPoint Fragment 14 "main" 70 123 ExecutionMode 14 OriginUpperLeft 1: String "" 8: String "uint" - 15: String "main" - 18: String "// OpModuleProcessed auto-map-locations + 16: String "main" + 19: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -24,46 +24,46 @@ spv.debuginfo.bufferref.glsl.frag // OpModuleProcessed entry-point main #line 1 " - 31: String "Mesh" - 33: String "float" - 39: String "data" - 43: String "MeshVertexPositions" - 47: String "meshData" - 59: String "PerPass_meshes" - 63: String "perPass_meshes" - 65: String "int" - 71: String "tri_idx0" - 86: String "vertex_pos0" - 124: String "out_fragColor" + 32: String "Mesh" + 34: String "float" + 40: String "data" + 44: String "MeshVertexPositions" + 48: String "meshData" + 60: String "PerPass_meshes" + 64: String "perPass_meshes" + 66: String "int" + 72: String "tri_idx0" + 87: String "vertex_pos0" + 125: String "out_fragColor" SourceExtension "GL_EXT_buffer_reference" Name 14 "main" - Name 29 "Mesh" - MemberName 29(Mesh) 0 "positions" - Name 37 "MeshVertexPositions" - MemberName 37(MeshVertexPositions) 0 "data" - Name 45 "meshData" - Name 50 "Mesh" - MemberName 50(Mesh) 0 "positions" - Name 54 "PerPass_meshes" - MemberName 54(PerPass_meshes) 0 "data" - Name 61 "perPass_meshes" - Name 69 "tri_idx0" - Name 84 "vertex_pos0" - Name 122 "out_fragColor" - Decorate 35 ArrayStride 4 - MemberDecorate 37(MeshVertexPositions) 0 Offset 0 - Decorate 37(MeshVertexPositions) Block - MemberDecorate 50(Mesh) 0 Offset 0 - Decorate 52 ArrayStride 8 - MemberDecorate 54(PerPass_meshes) 0 NonWritable - MemberDecorate 54(PerPass_meshes) 0 Offset 0 - Decorate 54(PerPass_meshes) Block - Decorate 61(perPass_meshes) DescriptorSet 0 - Decorate 61(perPass_meshes) Binding 0 - Decorate 69(tri_idx0) Flat - Decorate 69(tri_idx0) Location 0 - Decorate 122(out_fragColor) Location 0 - Decorate 45(meshData) DecorationAliasedPointerEXT + Name 30 "Mesh" + MemberName 30(Mesh) 0 "positions" + Name 38 "MeshVertexPositions" + MemberName 38(MeshVertexPositions) 0 "data" + Name 46 "meshData" + Name 51 "Mesh" + MemberName 51(Mesh) 0 "positions" + Name 55 "PerPass_meshes" + MemberName 55(PerPass_meshes) 0 "data" + Name 62 "perPass_meshes" + Name 70 "tri_idx0" + Name 85 "vertex_pos0" + Name 123 "out_fragColor" + Decorate 36 ArrayStride 4 + MemberDecorate 38(MeshVertexPositions) 0 Offset 0 + Decorate 38(MeshVertexPositions) Block + MemberDecorate 51(Mesh) 0 Offset 0 + Decorate 53 ArrayStride 8 + MemberDecorate 55(PerPass_meshes) 0 NonWritable + MemberDecorate 55(PerPass_meshes) 0 Offset 0 + Decorate 55(PerPass_meshes) Block + Decorate 62(perPass_meshes) DescriptorSet 0 + Decorate 62(perPass_meshes) Binding 0 + Decorate 70(tri_idx0) Flat + Decorate 70(tri_idx0) Location 0 + Decorate 123(out_fragColor) Location 0 + Decorate 46(meshData) DecorationAliasedPointerEXT 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -73,114 +73,115 @@ spv.debuginfo.bufferref.glsl.frag 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 - 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18 - 20: 7(int) Constant 1 - 21: 7(int) Constant 4 - 22: 7(int) Constant 2 - 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22 - 16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12 - 27: 7(int) Constant 21 - TypeForwardPointer 28 PhysicalStorageBufferEXT - 29(Mesh): TypeStruct 28 - 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 31 20 17 27 12 19 31 12 13 - 32: TypeFloat 32 - 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 33 10 13 12 - 35: TypeRuntimeArray 32(float) - 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 34 12 -37(MeshVertexPositions): TypeStruct 35 - 40: 7(int) Constant 5 - 41: 7(int) Constant 9 - 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 39 36 17 40 41 12 12 13 - 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 43 20 17 27 12 19 43 12 13 38 - 28: TypePointer PhysicalStorageBufferEXT 37(MeshVertexPositions) - 44: TypePointer Function 29(Mesh) - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 30 17 27 12 16 21 - 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 50(Mesh): TypeStruct 28(ptr) - 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 31 20 17 27 12 19 31 12 13 - 52: TypeRuntimeArray 50(Mesh) - 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 51 12 -54(PerPass_meshes): TypeStruct 52 - 56: 7(int) Constant 13 - 57: 7(int) Constant 8 - 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 39 53 17 56 57 12 12 13 - 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 59 20 17 27 12 19 59 12 13 55 - 60: TypePointer StorageBuffer 54(PerPass_meshes) -61(perPass_meshes): 60(ptr) Variable StorageBuffer - 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 63 58 17 27 12 19 63 61(perPass_meshes) 57 - 64: TypeInt 32 1 - 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 65 10 21 12 - 67: 64(int) Constant 0 - 68: TypePointer Input 7(int) - 69(tri_idx0): 68(ptr) Variable Input - 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 71 9 17 27 12 19 71 69(tri_idx0) 57 - 73: TypePointer StorageBuffer 50(Mesh) - 77: TypePointer Function 28(ptr) - 80: 7(int) Constant 23 - 81: TypeVector 32(float) 3 - 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 34 13 - 83: TypePointer Function 81(fvec3) - 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 86 82 17 80 12 16 21 - 89: 7(int) Constant 25 - 95: TypePointer PhysicalStorageBufferEXT 32(float) - 99: 7(int) Constant 24 - 118: 7(int) Constant 27 - 119: TypeVector 32(float) 4 - 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 34 21 - 121: TypePointer Output 119(fvec4) -122(out_fragColor): 121(ptr) Variable Output - 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 124 120 17 118 12 19 124 122(out_fragColor) 57 - 126: 32(float) Constant 1065353216 + 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19 + 20: 7(int) Constant 20 + 22: 7(int) Constant 1 + 23: 7(int) Constant 4 + 24: 7(int) Constant 2 + 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24 + 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20 + 28: 7(int) Constant 21 + TypeForwardPointer 29 PhysicalStorageBufferEXT + 30(Mesh): TypeStruct 29 + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13 + 33: TypeFloat 32 + 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 34 10 13 12 + 36: TypeRuntimeArray 33(float) + 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 12 +38(MeshVertexPositions): TypeStruct 36 + 41: 7(int) Constant 5 + 42: 7(int) Constant 9 + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 37 18 41 42 12 12 13 + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 44 22 18 28 12 21 44 12 13 39 + 29: TypePointer PhysicalStorageBufferEXT 38(MeshVertexPositions) + 45: TypePointer Function 30(Mesh) + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 48 31 18 28 12 17 23 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 51(Mesh): TypeStruct 29(ptr) + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13 + 53: TypeRuntimeArray 51(Mesh) + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 52 12 +55(PerPass_meshes): TypeStruct 53 + 57: 7(int) Constant 13 + 58: 7(int) Constant 8 + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 54 18 57 58 12 12 13 + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 22 18 28 12 21 60 12 13 56 + 61: TypePointer StorageBuffer 55(PerPass_meshes) +62(perPass_meshes): 61(ptr) Variable StorageBuffer + 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 59 18 28 12 21 64 62(perPass_meshes) 58 + 65: TypeInt 32 1 + 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 66 10 23 12 + 68: 65(int) Constant 0 + 69: TypePointer Input 7(int) + 70(tri_idx0): 69(ptr) Variable Input + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 72 9 18 28 12 21 72 70(tri_idx0) 58 + 74: TypePointer StorageBuffer 51(Mesh) + 78: TypePointer Function 29(ptr) + 81: 7(int) Constant 23 + 82: TypeVector 33(float) 3 + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 13 + 84: TypePointer Function 82(fvec3) + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 83 18 81 12 17 23 + 90: 7(int) Constant 25 + 96: TypePointer PhysicalStorageBufferEXT 33(float) + 100: 7(int) Constant 24 + 119: 7(int) Constant 27 + 120: TypeVector 33(float) 4 + 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 23 + 122: TypePointer Output 120(fvec4) +123(out_fragColor): 122(ptr) Variable Output + 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 121 18 119 12 21 125 123(out_fragColor) 58 + 127: 33(float) Constant 1065353216 Line 1 20 11 14(main): 4 Function None 5 - 23: Label - 45(meshData): 44(ptr) Variable Function - 84(vertex_pos0): 83(ptr) Variable Function - 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main) - 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12 - 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 46 45(meshData) 49 - 72: 7(int) Load 69(tri_idx0) - 74: 73(ptr) AccessChain 61(perPass_meshes) 67 72 - 75: 50(Mesh) Load 74 - 76: 28(ptr) CompositeExtract 75 0 - 78: 77(ptr) AccessChain 45(meshData) 67 - Store 78 76 - 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 80 80 12 12 - 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 85 84(vertex_pos0) 49 - 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 89 89 12 12 - 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 80 80 12 12 - 91: 77(ptr) AccessChain 45(meshData) 67 - 92: 28(ptr) Load 91 - 93: 7(int) Load 69(tri_idx0) - 94: 7(int) IMul 13 93 - 96: 95(ptr) AccessChain 92 67 94 - 97: 32(float) Load 96 Aligned 4 - 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 99 99 12 12 - 100: 77(ptr) AccessChain 45(meshData) 67 - 101: 28(ptr) Load 100 - 102: 7(int) Load 69(tri_idx0) - 103: 7(int) IMul 13 102 - 104: 7(int) IAdd 103 20 - 105: 95(ptr) AccessChain 101 67 104 - 106: 32(float) Load 105 Aligned 4 - 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 89 89 12 12 - 108: 77(ptr) AccessChain 45(meshData) 67 - 109: 28(ptr) Load 108 - 110: 7(int) Load 69(tri_idx0) - 111: 7(int) IMul 13 110 - 112: 7(int) IAdd 111 22 - 113: 95(ptr) AccessChain 109 67 112 - 114: 32(float) Load 113 Aligned 4 - 115: 81(fvec3) CompositeConstruct 97 106 114 - 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 80 80 12 12 - Store 84(vertex_pos0) 115 - 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 118 118 12 12 - 125: 81(fvec3) Load 84(vertex_pos0) - 127: 32(float) CompositeExtract 125 0 - 128: 32(float) CompositeExtract 125 1 - 129: 32(float) CompositeExtract 125 2 - 130: 119(fvec4) CompositeConstruct 127 128 129 126 - Store 122(out_fragColor) 130 + 15: Label + 46(meshData): 45(ptr) Variable Function + 85(vertex_pos0): 84(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 + 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 47 46(meshData) 50 + 73: 7(int) Load 70(tri_idx0) + 75: 74(ptr) AccessChain 62(perPass_meshes) 68 73 + 76: 51(Mesh) Load 75 + 77: 29(ptr) CompositeExtract 76 0 + 79: 78(ptr) AccessChain 46(meshData) 68 + Store 79 77 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 85(vertex_pos0) 50 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 90 90 12 12 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12 + 92: 78(ptr) AccessChain 46(meshData) 68 + 93: 29(ptr) Load 92 + 94: 7(int) Load 70(tri_idx0) + 95: 7(int) IMul 13 94 + 97: 96(ptr) AccessChain 93 68 95 + 98: 33(float) Load 97 Aligned 4 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 100 100 12 12 + 101: 78(ptr) AccessChain 46(meshData) 68 + 102: 29(ptr) Load 101 + 103: 7(int) Load 70(tri_idx0) + 104: 7(int) IMul 13 103 + 105: 7(int) IAdd 104 22 + 106: 96(ptr) AccessChain 102 68 105 + 107: 33(float) Load 106 Aligned 4 + 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 90 90 12 12 + 109: 78(ptr) AccessChain 46(meshData) 68 + 110: 29(ptr) Load 109 + 111: 7(int) Load 70(tri_idx0) + 112: 7(int) IMul 13 111 + 113: 7(int) IAdd 112 24 + 114: 96(ptr) AccessChain 110 68 113 + 115: 33(float) Load 114 Aligned 4 + 116: 82(fvec3) CompositeConstruct 98 107 115 + 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12 + Store 85(vertex_pos0) 116 + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 119 119 12 12 + 126: 82(fvec3) Load 85(vertex_pos0) + 128: 33(float) CompositeExtract 126 0 + 129: 33(float) CompositeExtract 126 1 + 130: 33(float) CompositeExtract 126 2 + 131: 120(fvec4) CompositeConstruct 128 129 130 127 + Store 123(out_fragColor) 131 Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.const_params.glsl.comp.out b/Test/baseResults/spv.debuginfo.const_params.glsl.comp.out index 846e0e36..48f37337 100644 --- a/Test/baseResults/spv.debuginfo.const_params.glsl.comp.out +++ b/Test/baseResults/spv.debuginfo.const_params.glsl.comp.out @@ -1,7 +1,7 @@ spv.debuginfo.const_params.glsl.comp // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 68 +// Id's are bound by 70 Capability Shader Extension "SPV_KHR_non_semantic_info" @@ -12,8 +12,9 @@ spv.debuginfo.const_params.glsl.comp ExecutionMode 14 LocalSize 1 1 1 1: String "" 8: String "uint" - 15: String "main" - 18: String "// OpModuleProcessed auto-map-locations + 17: String "float" + 35: String "function" + 38: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -21,18 +22,17 @@ spv.debuginfo.const_params.glsl.comp // OpModuleProcessed entry-point main #line 1 " - 25: String "float" - 40: String "function" - 46: String "f" - 50: String "f2" - 53: String "f3" - 56: String "f4" + 45: String "f" + 49: String "f2" + 52: String "f3" + 55: String "f4" + 57: String "main" Name 14 "main" - Name 39 "function(f1;vf2;vf3;vf4;" - Name 35 "f" - Name 36 "f2" - Name 37 "f3" - Name 38 "f4" + Name 33 "function(f1;vf2;vf3;vf4;" + Name 29 "f" + Name 30 "f2" + Name 31 "f3" + Name 32 "f4" 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -42,55 +42,57 @@ spv.debuginfo.const_params.glsl.comp 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 - 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18 - 20: 7(int) Constant 1 - 21: 7(int) Constant 4 - 22: 7(int) Constant 2 - 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22 - 16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12 - 24: TypeFloat 32 - 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 10 13 12 - 27: TypeVector 24(float) 2 - 28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 22 - 29: TypeVector 24(float) 3 - 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 13 - 31: TypeVector 24(float) 4 - 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 21 - 33: TypeFunction 4 24(float) 27(fvec2) 29(fvec3) 31(fvec4) - 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 26 28 30 32 - 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 40 34 17 12 12 19 40 13 12 - 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 26 17 12 12 41 21 20 - 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 28 17 12 12 41 21 22 - 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 30 17 12 12 41 21 13 - 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 56 32 17 12 12 41 21 21 - 62: 7(int) Constant 13 - 63: 24(float) Constant 0 - 64: 27(fvec2) ConstantComposite 63 63 - 65: 29(fvec3) ConstantComposite 63 63 63 - 66: 31(fvec4) ConstantComposite 63 63 63 63 + 16: TypeFloat 32 + 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12 + 19: TypeVector 16(float) 2 + 20: 7(int) Constant 2 + 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 20 + 22: TypeVector 16(float) 3 + 23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13 + 24: TypeVector 16(float) 4 + 25: 7(int) Constant 4 + 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 25 + 27: TypeFunction 4 16(float) 19(fvec2) 22(fvec3) 24(fvec4) + 28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 18 21 23 26 + 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 38 + 39: 7(int) Constant 7 + 41: 7(int) Constant 1 + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 41 25 37 20 + 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 35 28 37 39 12 40 35 13 39 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 18 37 39 12 36 25 41 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 21 37 39 12 36 25 20 + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 23 37 39 12 36 25 13 + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 55 26 37 39 12 36 25 25 + 59: 7(int) Constant 11 + 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 57 6 37 59 12 40 57 13 59 + 64: 7(int) Constant 13 + 65: 16(float) Constant 0 + 66: 19(fvec2) ConstantComposite 65 65 + 67: 22(fvec3) ConstantComposite 65 65 65 + 68: 24(fvec4) ConstantComposite 65 65 65 65 Line 1 11 11 14(main): 4 Function None 5 - 23: Label - 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main) - 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 62 62 12 12 - 67: 4 FunctionCall 39(function(f1;vf2;vf3;vf4;) 63 64 65 66 + 15: Label + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 58 14(main) + 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 + 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 64 64 12 12 + 69: 4 FunctionCall 33(function(f1;vf2;vf3;vf4;) 65 66 67 68 Return FunctionEnd Line 1 7 18 -39(function(f1;vf2;vf3;vf4;): 4 Function None 33 - 35(f): 24(float) FunctionParameter - 36(f2): 27(fvec2) FunctionParameter - 37(f3): 29(fvec3) FunctionParameter - 38(f4): 31(fvec4) FunctionParameter - 42: Label - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41 - 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12 - 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 45 35(f) 48 - 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 36(f2) 48 - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 37(f3) 48 - 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 55 38(f4) 48 - 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 41 39(function(f1;vf2;vf3;vf4;) +33(function(f1;vf2;vf3;vf4;): 4 Function None 27 + 29(f): 16(float) FunctionParameter + 30(f2): 19(fvec2) FunctionParameter + 31(f3): 22(fvec3) FunctionParameter + 32(f4): 24(fvec4) FunctionParameter + 34: Label + 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 29(f) 47 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 30(f2) 47 + 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 51 31(f3) 47 + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 54 32(f4) 47 + 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 36 33(function(f1;vf2;vf3;vf4;) Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.comp.out b/Test/baseResults/spv.debuginfo.glsl.comp.out index 9026bf46..6781ee8b 100644 --- a/Test/baseResults/spv.debuginfo.glsl.comp.out +++ b/Test/baseResults/spv.debuginfo.glsl.comp.out @@ -1,19 +1,20 @@ spv.debuginfo.glsl.comp // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 969 +// Id's are bound by 971 Capability Shader Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint GLCompute 14 "main" 124 + EntryPoint GLCompute 14 "main" 126 ExecutionMode 14 LocalSize 10 10 1 1: String "" 8: String "uint" - 15: String "main" - 18: String "// OpModuleProcessed auto-map-locations + 17: String "float" + 30: String "springForce" + 33: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -21,143 +22,142 @@ spv.debuginfo.glsl.comp // OpModuleProcessed entry-point main #line 1 " - 25: String "float" - 37: String "springForce" - 43: String "p0" - 47: String "p1" - 50: String "restDist" - 58: String "dist" - 70: String "int" - 76: String "sphereRadius" - 87: String "gravity" - 92: String "particleCount" - 95: String "UBO" - 99: String "params" - 121: String "id" - 126: String "gl_GlobalInvocationID" - 133: String "index" - 156: String "bool" - 170: String "normal" - 176: String "pinned" - 178: String "Particle" - 183: String "particleIn" - 187: String "ParticleIn" - 208: String "particleOut" - 211: String "ParticleOut" - 236: String "force" - 249: String "pos" - 259: String "vel" - 571: String "f" - 620: String "sphereDist" - 673: String "calculateNormals" - 676: String "PushConsts" - 680: String "pushConsts" - 717: String "a" - 730: String "b" - 747: String "c" + 42: String "p0" + 46: String "p1" + 49: String "restDist" + 51: String "main" + 60: String "dist" + 72: String "int" + 78: String "sphereRadius" + 89: String "gravity" + 94: String "particleCount" + 97: String "UBO" + 101: String "params" + 123: String "id" + 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" Name 14 "main" - Name 36 "springForce(vf3;vf3;f1;" - Name 33 "p0" - Name 34 "p1" - Name 35 "restDist" - Name 56 "dist" - Name 74 "UBO" - MemberName 74(UBO) 0 "deltaT" - MemberName 74(UBO) 1 "particleMass" - MemberName 74(UBO) 2 "springStiffness" - MemberName 74(UBO) 3 "damping" - MemberName 74(UBO) 4 "restDistH" - MemberName 74(UBO) 5 "restDistV" - MemberName 74(UBO) 6 "restDistD" - MemberName 74(UBO) 7 "sphereRadius" - MemberName 74(UBO) 8 "spherePos" - MemberName 74(UBO) 9 "gravity" - MemberName 74(UBO) 10 "particleCount" - Name 97 "params" - Name 119 "id" - Name 124 "gl_GlobalInvocationID" - Name 131 "index" - Name 168 "Particle" - MemberName 168(Particle) 0 "pos" - MemberName 168(Particle) 1 "vel" - MemberName 168(Particle) 2 "uv" - MemberName 168(Particle) 3 "normal" - MemberName 168(Particle) 4 "pinned" - Name 181 "ParticleIn" - MemberName 181(ParticleIn) 0 "particleIn" - Name 189 "" - Name 206 "ParticleOut" - MemberName 206(ParticleOut) 0 "particleOut" - Name 213 "" - Name 234 "force" - Name 247 "pos" - Name 257 "vel" - Name 278 "param" - Name 282 "param" + Name 28 "springForce(vf3;vf3;f1;" + Name 25 "p0" + Name 26 "p1" + Name 27 "restDist" + Name 58 "dist" + Name 76 "UBO" + MemberName 76(UBO) 0 "deltaT" + MemberName 76(UBO) 1 "particleMass" + MemberName 76(UBO) 2 "springStiffness" + MemberName 76(UBO) 3 "damping" + MemberName 76(UBO) 4 "restDistH" + MemberName 76(UBO) 5 "restDistV" + MemberName 76(UBO) 6 "restDistD" + MemberName 76(UBO) 7 "sphereRadius" + MemberName 76(UBO) 8 "spherePos" + MemberName 76(UBO) 9 "gravity" + MemberName 76(UBO) 10 "particleCount" + Name 99 "params" + 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 308 "param" - Name 312 "param" + Name 286 "param" + Name 310 "param" Name 314 "param" - Name 342 "param" - Name 346 "param" + Name 316 "param" + Name 344 "param" Name 348 "param" - Name 371 "param" - Name 375 "param" + Name 350 "param" + Name 373 "param" Name 377 "param" - Name 415 "param" - Name 419 "param" + Name 379 "param" + Name 417 "param" Name 421 "param" - Name 454 "param" - Name 458 "param" + Name 423 "param" + Name 456 "param" Name 460 "param" - Name 501 "param" - Name 505 "param" + Name 462 "param" + Name 503 "param" Name 507 "param" - Name 544 "param" - Name 548 "param" + Name 509 "param" + Name 546 "param" Name 550 "param" - Name 569 "f" - Name 618 "sphereDist" - Name 671 "PushConsts" - MemberName 671(PushConsts) 0 "calculateNormals" - Name 678 "pushConsts" - Name 691 "normal" - Name 715 "a" - Name 728 "b" - Name 745 "c" - MemberDecorate 74(UBO) 0 Offset 0 - MemberDecorate 74(UBO) 1 Offset 4 - MemberDecorate 74(UBO) 2 Offset 8 - MemberDecorate 74(UBO) 3 Offset 12 - MemberDecorate 74(UBO) 4 Offset 16 - MemberDecorate 74(UBO) 5 Offset 20 - MemberDecorate 74(UBO) 6 Offset 24 - MemberDecorate 74(UBO) 7 Offset 28 - MemberDecorate 74(UBO) 8 Offset 32 - MemberDecorate 74(UBO) 9 Offset 48 - MemberDecorate 74(UBO) 10 Offset 64 - Decorate 74(UBO) Block - Decorate 97(params) DescriptorSet 0 - Decorate 97(params) Binding 2 - Decorate 124(gl_GlobalInvocationID) BuiltIn GlobalInvocationId - MemberDecorate 168(Particle) 0 Offset 0 - MemberDecorate 168(Particle) 1 Offset 16 - MemberDecorate 168(Particle) 2 Offset 32 - MemberDecorate 168(Particle) 3 Offset 48 - MemberDecorate 168(Particle) 4 Offset 64 - Decorate 179 ArrayStride 80 - MemberDecorate 181(ParticleIn) 0 Offset 0 - Decorate 181(ParticleIn) BufferBlock - Decorate 189 DescriptorSet 0 - Decorate 189 Binding 0 - Decorate 204 ArrayStride 80 - MemberDecorate 206(ParticleOut) 0 Offset 0 - Decorate 206(ParticleOut) BufferBlock - Decorate 213 DescriptorSet 0 - Decorate 213 Binding 1 - MemberDecorate 671(PushConsts) 0 Offset 0 - Decorate 671(PushConsts) Block - Decorate 968 BuiltIn WorkgroupSize + 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" + MemberDecorate 76(UBO) 0 Offset 0 + MemberDecorate 76(UBO) 1 Offset 4 + MemberDecorate 76(UBO) 2 Offset 8 + MemberDecorate 76(UBO) 3 Offset 12 + MemberDecorate 76(UBO) 4 Offset 16 + MemberDecorate 76(UBO) 5 Offset 20 + MemberDecorate 76(UBO) 6 Offset 24 + MemberDecorate 76(UBO) 7 Offset 28 + MemberDecorate 76(UBO) 8 Offset 32 + MemberDecorate 76(UBO) 9 Offset 48 + MemberDecorate 76(UBO) 10 Offset 64 + Decorate 76(UBO) Block + 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 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -167,1057 +167,1059 @@ spv.debuginfo.glsl.comp 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 - 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18 - 20: 7(int) Constant 1 - 21: 7(int) Constant 4 - 22: 7(int) Constant 2 - 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22 - 16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12 - 24: TypeFloat 32 - 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 10 13 12 - 27: TypeVector 24(float) 3 - 28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 13 - 29: TypePointer Function 27(fvec3) - 30: TypePointer Function 24(float) - 31: TypeFunction 27(fvec3) 29(ptr) 29(ptr) 30(ptr) - 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 28 28 28 26 - 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 37 32 17 12 12 19 37 13 12 - 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 43 28 17 12 12 38 21 20 - 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 28 17 12 12 38 21 22 - 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 26 17 12 12 38 21 13 - 55: 7(int) Constant 68 - 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 58 28 17 55 12 38 21 - 64: 7(int) Constant 69 - 67: TypeVector 24(float) 4 - 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 21 - 69: TypeInt 32 1 - 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 70 10 21 12 - 72: TypeVector 69(int) 2 - 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 71 22 - 74(UBO): TypeStruct 24(float) 24(float) 24(float) 24(float) 24(float) 24(float) 24(float) 24(float) 67(fvec4) 67(fvec4) 72(ivec2) - 77: 7(int) Constant 56 - 78: 7(int) Constant 8 - 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 26 17 77 78 12 12 13 - 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 26 17 77 78 12 12 13 - 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 26 17 77 78 12 12 13 - 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 26 17 77 78 12 12 13 - 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 26 17 77 78 12 12 13 - 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 26 17 77 78 12 12 13 - 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 26 17 77 78 12 12 13 - 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 26 17 77 78 12 12 13 - 88: 7(int) Constant 58 - 89: 7(int) Constant 7 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 87 68 17 88 89 12 12 13 - 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 87 68 17 88 89 12 12 13 - 93: 7(int) Constant 59 - 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 73 17 93 78 12 12 13 - 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 95 20 17 64 12 19 95 12 13 75 79 80 81 82 83 84 85 86 90 91 - 96: TypePointer Uniform 74(UBO) - 97(params): 96(ptr) Variable Uniform - 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 99 94 17 64 12 19 99 97(params) 78 - 100: 69(int) Constant 2 - 101: TypePointer Uniform 24(float) - 115: 7(int) Constant 74 - 116: TypeVector 7(int) 3 - 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 9 13 - 118: TypePointer Function 116(ivec3) - 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 117 17 115 12 16 21 - 123: TypePointer Input 116(ivec3) -124(gl_GlobalInvocationID): 123(ptr) Variable Input - 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 126 117 17 115 12 19 126 124(gl_GlobalInvocationID) 78 - 129: 7(int) Constant 76 - 130: TypePointer Function 7(int) - 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 133 9 17 129 12 16 21 - 137: 69(int) Constant 10 - 138: TypePointer Uniform 69(int) - 147: 7(int) Constant 77 - 155: TypeBool - 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 163: 7(int) Constant 78 - 167: 7(int) Constant 81 - 168(Particle): TypeStruct 67(fvec4) 67(fvec4) 67(fvec4) 67(fvec4) 24(float) - 171: 7(int) Constant 31 - 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 68 17 171 89 12 12 13 - 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 68 17 171 89 12 12 13 - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 68 17 171 89 12 12 13 - 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 68 17 171 89 12 12 13 - 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 176 26 17 10 78 12 12 13 - 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 178 20 17 167 12 19 178 12 13 169 172 173 174 175 - 179: TypeRuntimeArray 168(Particle) - 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 177 12 - 181(ParticleIn): TypeStruct 179 - 184: 7(int) Constant 36 - 185: 7(int) Constant 11 - 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 183 180 17 184 185 12 12 13 - 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 187 20 17 167 12 19 187 12 13 182 - 188: TypePointer Uniform 181(ParticleIn) - 189: 188(ptr) Variable Uniform - 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 186 17 167 12 19 1 189 78 - 191: 69(int) Constant 0 - 193: 69(int) Constant 4 - 196: 24(float) Constant 1065353216 - 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 203: 7(int) Constant 82 - 204: TypeRuntimeArray 168(Particle) - 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 177 12 -206(ParticleOut): TypeStruct 204 - 209: 7(int) Constant 40 - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 208 205 17 209 185 12 12 13 - 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 211 20 17 203 12 19 211 12 13 207 - 212: TypePointer Uniform 206(ParticleOut) - 213: 212(ptr) Variable Uniform - 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 210 17 203 12 19 1 213 78 - 217: TypePointer Uniform 67(fvec4) - 222: 7(int) Constant 83 - 224: 69(int) Constant 1 - 225: 24(float) Constant 0 - 226: 67(fvec4) ConstantComposite 225 225 225 225 - 229: 7(int) Constant 84 - 233: 7(int) Constant 88 - 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 236 28 17 233 12 16 21 - 238: 69(int) Constant 9 - 246: 7(int) Constant 90 - 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 249 28 17 246 12 16 21 - 256: 7(int) Constant 91 - 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 259 28 17 256 12 16 21 - 266: 7(int) Constant 95 - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 275: 7(int) Constant 96 - 292: 7(int) Constant 99 - 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 305: 7(int) Constant 100 - 322: 7(int) Constant 103 - 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 335: 7(int) Constant 104 - 341: 69(int) Constant 5 - 356: 7(int) Constant 107 - 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 365: 7(int) Constant 108 - 385: 7(int) Constant 111 - 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 407: 7(int) Constant 112 - 414: 69(int) Constant 6 - 429: 7(int) Constant 115 - 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 447: 7(int) Constant 116 - 468: 7(int) Constant 119 - 475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 494: 7(int) Constant 120 - 515: 7(int) Constant 123 - 522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 537: 7(int) Constant 124 - 558: 7(int) Constant 127 - 559: 69(int) Constant 3 - 568: 7(int) Constant 130 - 570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 571 28 17 568 12 16 21 - 579: 7(int) Constant 131 - 587: 24(float) Constant 1056964608 - 603: 7(int) Constant 132 - 617: 7(int) Constant 135 - 619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 620 28 17 617 12 16 21 - 626: 69(int) Constant 8 - 632: 7(int) Constant 136 - 635: 69(int) Constant 7 - 638: 24(float) Constant 1008981770 - 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 646: 7(int) Constant 138 - 665: 7(int) Constant 140 - 670: 7(int) Constant 144 - 671(PushConsts): TypeStruct 7(int) - 674: 7(int) Constant 63 - 672: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 673 9 17 674 89 12 12 13 - 675: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 676 20 17 670 12 19 676 12 13 672 - 677: TypePointer PushConstant 671(PushConsts) - 678(pushConsts): 677(ptr) Variable PushConstant - 679: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 680 675 17 670 12 19 680 678(pushConsts) 78 - 681: TypePointer PushConstant 7(int) - 684: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 690: 7(int) Constant 145 - 692: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 170 28 17 690 12 16 21 - 694: 27(fvec3) ConstantComposite 225 225 225 - 696: 7(int) Constant 147 - 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 705: 7(int) Constant 148 - 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 714: 7(int) Constant 149 - 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 717 28 17 714 12 16 21 - 727: 7(int) Constant 150 - 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 730 28 17 727 12 16 21 - 744: 7(int) Constant 151 - 746: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 747 28 17 744 12 16 21 - 760: 7(int) Constant 152 - 772: 7(int) Constant 154 - 779: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 785: 7(int) Constant 155 - 797: 7(int) Constant 156 - 810: 7(int) Constant 157 - 819: 7(int) Constant 158 - 831: 7(int) Constant 161 - 838: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 844: 7(int) Constant 162 - 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 853: 7(int) Constant 163 - 865: 7(int) Constant 164 - 878: 7(int) Constant 165 - 887: 7(int) Constant 166 - 899: 7(int) Constant 168 - 906: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 156 10 22 12 - 912: 7(int) Constant 169 - 921: 7(int) Constant 170 - 934: 7(int) Constant 171 - 946: 7(int) Constant 172 - 958: 7(int) Constant 175 - 967: 7(int) Constant 10 - 968: 116(ivec3) ConstantComposite 967 967 20 + 16: TypeFloat 32 + 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12 + 19: TypeVector 16(float) 3 + 20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13 + 21: TypePointer Function 19(fvec3) + 22: TypePointer Function 16(float) + 23: TypeFunction 19(fvec3) 21(ptr) 21(ptr) 22(ptr) + 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 20 20 20 18 + 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 33 + 34: 7(int) Constant 66 + 36: 7(int) Constant 1 + 37: 7(int) Constant 4 + 38: 7(int) Constant 2 + 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 36 37 32 38 + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 30 24 32 34 12 35 30 13 34 + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 42 20 32 34 12 31 37 36 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 20 32 34 12 31 37 38 + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 18 32 34 12 31 37 13 + 53: 7(int) Constant 72 + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 51 6 32 53 12 35 51 13 53 + 57: 7(int) Constant 68 + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 60 20 32 57 12 31 37 + 66: 7(int) Constant 69 + 69: TypeVector 16(float) 4 + 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 37 + 71: TypeInt 32 1 + 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 72 10 37 12 + 74: TypeVector 71(int) 2 + 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 73 38 + 76(UBO): TypeStruct 16(float) 16(float) 16(float) 16(float) 16(float) 16(float) 16(float) 16(float) 69(fvec4) 69(fvec4) 74(ivec2) + 79: 7(int) Constant 56 + 80: 7(int) Constant 8 + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 18 32 79 80 12 12 13 + 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 18 32 79 80 12 12 13 + 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 18 32 79 80 12 12 13 + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 18 32 79 80 12 12 13 + 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 18 32 79 80 12 12 13 + 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 18 32 79 80 12 12 13 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 18 32 79 80 12 12 13 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 18 32 79 80 12 12 13 + 90: 7(int) Constant 58 + 91: 7(int) Constant 7 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 70 32 90 91 12 12 13 + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 70 32 90 91 12 12 13 + 95: 7(int) Constant 59 + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 94 75 32 95 80 12 12 13 + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 97 36 32 66 12 35 97 12 13 77 81 82 83 84 85 86 87 88 92 93 + 98: TypePointer Uniform 76(UBO) + 99(params): 98(ptr) Variable Uniform + 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 101 96 32 66 12 35 101 99(params) 80 + 102: 71(int) Constant 2 + 103: TypePointer Uniform 16(float) + 117: 7(int) Constant 74 + 118: TypeVector 7(int) 3 + 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 9 13 + 120: TypePointer Function 118(ivec3) + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 123 119 32 117 12 52 37 + 125: TypePointer Input 118(ivec3) +126(gl_GlobalInvocationID): 125(ptr) Variable Input + 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 128 119 32 117 12 35 128 126(gl_GlobalInvocationID) 80 + 131: 7(int) Constant 76 + 132: TypePointer Function 7(int) + 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 135 9 32 131 12 52 37 + 139: 71(int) Constant 10 + 140: TypePointer Uniform 71(int) + 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 + 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 Line 1 72 11 14(main): 4 Function None 5 - 23: Label - 119(id): 118(ptr) Variable Function - 131(index): 130(ptr) Variable Function - 234(force): 29(ptr) Variable Function - 247(pos): 29(ptr) Variable Function - 257(vel): 29(ptr) Variable Function - 278(param): 29(ptr) Variable Function - 282(param): 29(ptr) Variable Function - 284(param): 30(ptr) Variable Function - 308(param): 29(ptr) Variable Function - 312(param): 29(ptr) Variable Function - 314(param): 30(ptr) Variable Function - 342(param): 29(ptr) Variable Function - 346(param): 29(ptr) Variable Function - 348(param): 30(ptr) Variable Function - 371(param): 29(ptr) Variable Function - 375(param): 29(ptr) Variable Function - 377(param): 30(ptr) Variable Function - 415(param): 29(ptr) Variable Function - 419(param): 29(ptr) Variable Function - 421(param): 30(ptr) Variable Function - 454(param): 29(ptr) Variable Function - 458(param): 29(ptr) Variable Function - 460(param): 30(ptr) Variable Function - 501(param): 29(ptr) Variable Function - 505(param): 29(ptr) Variable Function - 507(param): 30(ptr) Variable Function - 544(param): 29(ptr) Variable Function - 548(param): 29(ptr) Variable Function - 550(param): 30(ptr) Variable Function - 569(f): 29(ptr) Variable Function - 618(sphereDist): 29(ptr) Variable Function - 691(normal): 29(ptr) Variable Function - 715(a): 29(ptr) Variable Function - 728(b): 29(ptr) Variable Function - 745(c): 29(ptr) Variable Function - 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main) - 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 115 115 12 12 - 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(id) 45 - 127: 116(ivec3) Load 124(gl_GlobalInvocationID) - Store 119(id) 127 - 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 129 129 12 12 - 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 132 131(index) 45 - 135: 130(ptr) AccessChain 119(id) 20 - 136: 7(int) Load 135 - 139: 138(ptr) AccessChain 97(params) 137 12 - 140: 69(int) Load 139 - 141: 7(int) Bitcast 140 - 142: 7(int) IMul 136 141 - 143: 130(ptr) AccessChain 119(id) 12 - 144: 7(int) Load 143 - 145: 7(int) IAdd 142 144 - Store 131(index) 145 - 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 147 147 12 12 - 148: 7(int) Load 131(index) - 149: 138(ptr) AccessChain 97(params) 137 12 - 150: 69(int) Load 149 - 151: 138(ptr) AccessChain 97(params) 137 20 - 152: 69(int) Load 151 - 153: 69(int) IMul 150 152 - 154: 7(int) Bitcast 153 - 158: 155(bool) UGreaterThan 148 154 - SelectionMerge 160 None - BranchConditional 158 159 160 - 159: Label - 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 163 163 12 12 + 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 + 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 + 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 + 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 122 121(id) 44 + 129: 118(ivec3) Load 126(gl_GlobalInvocationID) + Store 121(id) 129 + 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 131 131 12 12 + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 134 133(index) 44 + 137: 132(ptr) AccessChain 121(id) 36 + 138: 7(int) Load 137 + 141: 140(ptr) AccessChain 99(params) 139 12 + 142: 71(int) Load 141 + 143: 7(int) Bitcast 142 + 144: 7(int) IMul 138 143 + 145: 132(ptr) AccessChain 121(id) 12 + 146: 7(int) Load 145 + 147: 7(int) IAdd 144 146 + Store 133(index) 147 + 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 149 149 12 12 + 150: 7(int) Load 133(index) + 151: 140(ptr) AccessChain 99(params) 139 12 + 152: 71(int) Load 151 + 153: 140(ptr) AccessChain 99(params) 139 36 + 154: 71(int) Load 153 + 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 Return - 160: Label - 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 167 167 12 12 - 192: 7(int) Load 131(index) - 194: 101(ptr) AccessChain 189 191 192 193 - 195: 24(float) Load 194 - 198: 155(bool) FOrdEqual 195 196 - SelectionMerge 200 None - BranchConditional 198 199 200 - 199: Label - 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 203 203 12 12 - 215: 7(int) Load 131(index) - 216: 7(int) Load 131(index) - 218: 217(ptr) AccessChain 213 191 216 191 - 219: 67(fvec4) Load 218 - 220: 217(ptr) AccessChain 213 191 215 191 - Store 220 219 - 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 222 222 12 12 - 223: 7(int) Load 131(index) - 227: 217(ptr) AccessChain 213 191 223 224 - Store 227 226 - 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 229 229 12 12 + 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 Return - 200: Label - 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 233 233 12 12 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 235 234(force) 45 - 239: 217(ptr) AccessChain 97(params) 238 - 240: 67(fvec4) Load 239 - 241: 27(fvec3) VectorShuffle 240 240 0 1 2 - 242: 101(ptr) AccessChain 97(params) 224 - 243: 24(float) Load 242 - 244: 27(fvec3) VectorTimesScalar 241 243 - Store 234(force) 244 - 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 246 246 12 12 - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 248 247(pos) 45 - 251: 7(int) Load 131(index) - 252: 217(ptr) AccessChain 189 191 251 191 - 253: 67(fvec4) Load 252 - 254: 27(fvec3) VectorShuffle 253 253 0 1 2 - Store 247(pos) 254 - 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 256 256 12 12 - 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 258 257(vel) 45 - 261: 7(int) Load 131(index) - 262: 217(ptr) AccessChain 189 191 261 224 - 263: 67(fvec4) Load 262 - 264: 27(fvec3) VectorShuffle 263 263 0 1 2 - Store 257(vel) 264 - 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 266 266 12 12 - 267: 130(ptr) AccessChain 119(id) 12 - 268: 7(int) Load 267 - 270: 155(bool) UGreaterThan 268 12 - SelectionMerge 272 None - BranchConditional 270 271 272 - 271: Label - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 275 275 12 12 - 276: 7(int) Load 131(index) - 277: 7(int) ISub 276 20 - 279: 217(ptr) AccessChain 189 191 277 191 - 280: 67(fvec4) Load 279 - 281: 27(fvec3) VectorShuffle 280 280 0 1 2 - Store 278(param) 281 - 283: 27(fvec3) Load 247(pos) - Store 282(param) 283 - 285: 101(ptr) AccessChain 97(params) 193 - 286: 24(float) Load 285 - Store 284(param) 286 - 287: 27(fvec3) FunctionCall 36(springForce(vf3;vf3;f1;) 278(param) 282(param) 284(param) - 288: 27(fvec3) Load 234(force) - 289: 27(fvec3) FAdd 288 287 - Store 234(force) 289 - Branch 272 - 272: Label - 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 292 292 12 12 - 293: 130(ptr) AccessChain 119(id) 12 - 294: 7(int) Load 293 - 295: 138(ptr) AccessChain 97(params) 137 12 - 296: 69(int) Load 295 - 297: 69(int) ISub 296 224 - 298: 7(int) Bitcast 297 - 300: 155(bool) ULessThan 294 298 - SelectionMerge 302 None - BranchConditional 300 301 302 - 301: Label - 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 305 305 12 12 - 306: 7(int) Load 131(index) - 307: 7(int) IAdd 306 20 - 309: 217(ptr) AccessChain 189 191 307 191 - 310: 67(fvec4) Load 309 - 311: 27(fvec3) VectorShuffle 310 310 0 1 2 - Store 308(param) 311 - 313: 27(fvec3) Load 247(pos) - Store 312(param) 313 - 315: 101(ptr) AccessChain 97(params) 193 - 316: 24(float) Load 315 - Store 314(param) 316 - 317: 27(fvec3) FunctionCall 36(springForce(vf3;vf3;f1;) 308(param) 312(param) 314(param) - 318: 27(fvec3) Load 234(force) - 319: 27(fvec3) FAdd 318 317 - Store 234(force) 319 - Branch 302 - 302: Label - 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 322 322 12 12 - 323: 130(ptr) AccessChain 119(id) 20 - 324: 7(int) Load 323 - 325: 138(ptr) AccessChain 97(params) 137 20 - 326: 69(int) Load 325 - 327: 69(int) ISub 326 224 - 328: 7(int) Bitcast 327 - 330: 155(bool) ULessThan 324 328 - SelectionMerge 332 None - BranchConditional 330 331 332 - 331: Label - 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 335 335 12 12 - 336: 7(int) Load 131(index) - 337: 138(ptr) AccessChain 97(params) 137 12 - 338: 69(int) Load 337 - 339: 7(int) Bitcast 338 - 340: 7(int) IAdd 336 339 - 343: 217(ptr) AccessChain 189 191 340 191 - 344: 67(fvec4) Load 343 - 345: 27(fvec3) VectorShuffle 344 344 0 1 2 - Store 342(param) 345 - 347: 27(fvec3) Load 247(pos) - Store 346(param) 347 - 349: 101(ptr) AccessChain 97(params) 341 - 350: 24(float) Load 349 - Store 348(param) 350 - 351: 27(fvec3) FunctionCall 36(springForce(vf3;vf3;f1;) 342(param) 346(param) 348(param) - 352: 27(fvec3) Load 234(force) - 353: 27(fvec3) FAdd 352 351 - Store 234(force) 353 - Branch 332 - 332: Label - 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 356 356 12 12 - 357: 130(ptr) AccessChain 119(id) 20 - 358: 7(int) Load 357 - 360: 155(bool) UGreaterThan 358 12 - SelectionMerge 362 None - BranchConditional 360 361 362 - 361: Label - 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 365 365 12 12 - 366: 7(int) Load 131(index) - 367: 138(ptr) AccessChain 97(params) 137 12 - 368: 69(int) Load 367 - 369: 7(int) Bitcast 368 - 370: 7(int) ISub 366 369 - 372: 217(ptr) AccessChain 189 191 370 191 - 373: 67(fvec4) Load 372 - 374: 27(fvec3) VectorShuffle 373 373 0 1 2 - Store 371(param) 374 - 376: 27(fvec3) Load 247(pos) - Store 375(param) 376 - 378: 101(ptr) AccessChain 97(params) 341 - 379: 24(float) Load 378 - Store 377(param) 379 - 380: 27(fvec3) FunctionCall 36(springForce(vf3;vf3;f1;) 371(param) 375(param) 377(param) - 381: 27(fvec3) Load 234(force) - 382: 27(fvec3) FAdd 381 380 - Store 234(force) 382 - Branch 362 - 362: Label - 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 385 385 12 12 - 386: 130(ptr) AccessChain 119(id) 12 - 387: 7(int) Load 386 - 389: 155(bool) UGreaterThan 387 12 - SelectionMerge 391 None - BranchConditional 389 390 391 - 390: Label - 392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 385 385 12 12 - 394: 130(ptr) AccessChain 119(id) 20 - 395: 7(int) Load 394 - 396: 138(ptr) AccessChain 97(params) 137 20 - 397: 69(int) Load 396 - 398: 69(int) ISub 397 224 - 399: 7(int) Bitcast 398 - 401: 155(bool) ULessThan 395 399 - Branch 391 - 391: Label - 402: 155(bool) Phi 389 362 401 390 - SelectionMerge 404 None - BranchConditional 402 403 404 - 403: Label - 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 407 407 12 12 - 408: 7(int) Load 131(index) - 409: 138(ptr) AccessChain 97(params) 137 12 - 410: 69(int) Load 409 - 411: 7(int) Bitcast 410 - 412: 7(int) IAdd 408 411 - 413: 7(int) ISub 412 20 - 416: 217(ptr) AccessChain 189 191 413 191 - 417: 67(fvec4) Load 416 - 418: 27(fvec3) VectorShuffle 417 417 0 1 2 - Store 415(param) 418 - 420: 27(fvec3) Load 247(pos) - Store 419(param) 420 - 422: 101(ptr) AccessChain 97(params) 414 - 423: 24(float) Load 422 - Store 421(param) 423 - 424: 27(fvec3) FunctionCall 36(springForce(vf3;vf3;f1;) 415(param) 419(param) 421(param) - 425: 27(fvec3) Load 234(force) - 426: 27(fvec3) FAdd 425 424 - Store 234(force) 426 - Branch 404 - 404: Label - 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 429 429 12 12 - 430: 130(ptr) AccessChain 119(id) 12 - 431: 7(int) Load 430 - 433: 155(bool) UGreaterThan 431 12 - SelectionMerge 435 None - BranchConditional 433 434 435 - 434: Label - 436: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 437: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 429 429 12 12 - 438: 130(ptr) AccessChain 119(id) 20 - 439: 7(int) Load 438 - 441: 155(bool) UGreaterThan 439 12 - Branch 435 - 435: Label - 442: 155(bool) Phi 433 404 441 434 - SelectionMerge 444 None - BranchConditional 442 443 444 - 443: Label - 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 446: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 447 447 12 12 - 448: 7(int) Load 131(index) - 449: 138(ptr) AccessChain 97(params) 137 12 - 450: 69(int) Load 449 - 451: 7(int) Bitcast 450 - 452: 7(int) ISub 448 451 - 453: 7(int) ISub 452 20 - 455: 217(ptr) AccessChain 189 191 453 191 - 456: 67(fvec4) Load 455 - 457: 27(fvec3) VectorShuffle 456 456 0 1 2 - Store 454(param) 457 - 459: 27(fvec3) Load 247(pos) - Store 458(param) 459 - 461: 101(ptr) AccessChain 97(params) 414 - 462: 24(float) Load 461 - Store 460(param) 462 - 463: 27(fvec3) FunctionCall 36(springForce(vf3;vf3;f1;) 454(param) 458(param) 460(param) - 464: 27(fvec3) Load 234(force) - 465: 27(fvec3) FAdd 464 463 - Store 234(force) 465 - Branch 444 - 444: Label - 466: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 468 468 12 12 - 469: 130(ptr) AccessChain 119(id) 12 - 470: 7(int) Load 469 - 471: 138(ptr) AccessChain 97(params) 137 12 - 472: 69(int) Load 471 - 473: 69(int) ISub 472 224 - 474: 7(int) Bitcast 473 - 476: 155(bool) ULessThan 470 474 - SelectionMerge 478 None - BranchConditional 476 477 478 - 477: Label - 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 468 468 12 12 - 481: 130(ptr) AccessChain 119(id) 20 - 482: 7(int) Load 481 - 483: 138(ptr) AccessChain 97(params) 137 20 - 484: 69(int) Load 483 - 485: 69(int) ISub 484 224 - 486: 7(int) Bitcast 485 - 488: 155(bool) ULessThan 482 486 - Branch 478 - 478: Label - 489: 155(bool) Phi 476 444 488 477 - SelectionMerge 491 None - BranchConditional 489 490 491 - 490: Label - 492: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 494 494 12 12 - 495: 7(int) Load 131(index) - 496: 138(ptr) AccessChain 97(params) 137 12 - 497: 69(int) Load 496 - 498: 7(int) Bitcast 497 - 499: 7(int) IAdd 495 498 - 500: 7(int) IAdd 499 20 - 502: 217(ptr) AccessChain 189 191 500 191 - 503: 67(fvec4) Load 502 - 504: 27(fvec3) VectorShuffle 503 503 0 1 2 - Store 501(param) 504 - 506: 27(fvec3) Load 247(pos) - Store 505(param) 506 - 508: 101(ptr) AccessChain 97(params) 414 - 509: 24(float) Load 508 - Store 507(param) 509 - 510: 27(fvec3) FunctionCall 36(springForce(vf3;vf3;f1;) 501(param) 505(param) 507(param) - 511: 27(fvec3) Load 234(force) - 512: 27(fvec3) FAdd 511 510 - Store 234(force) 512 - Branch 491 - 491: Label - 513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 515 515 12 12 - 516: 130(ptr) AccessChain 119(id) 12 - 517: 7(int) Load 516 - 518: 138(ptr) AccessChain 97(params) 137 12 - 519: 69(int) Load 518 - 520: 69(int) ISub 519 224 - 521: 7(int) Bitcast 520 - 523: 155(bool) ULessThan 517 521 - SelectionMerge 525 None - BranchConditional 523 524 525 - 524: Label - 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 515 515 12 12 - 528: 130(ptr) AccessChain 119(id) 20 - 529: 7(int) Load 528 - 531: 155(bool) UGreaterThan 529 12 - Branch 525 - 525: Label - 532: 155(bool) Phi 523 491 531 524 - SelectionMerge 534 None - BranchConditional 532 533 534 - 533: Label - 535: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 537 537 12 12 - 538: 7(int) Load 131(index) - 539: 138(ptr) AccessChain 97(params) 137 12 - 540: 69(int) Load 539 - 541: 7(int) Bitcast 540 - 542: 7(int) ISub 538 541 - 543: 7(int) IAdd 542 20 - 545: 217(ptr) AccessChain 189 191 543 191 - 546: 67(fvec4) Load 545 - 547: 27(fvec3) VectorShuffle 546 546 0 1 2 - Store 544(param) 547 - 549: 27(fvec3) Load 247(pos) - Store 548(param) 549 - 551: 101(ptr) AccessChain 97(params) 414 - 552: 24(float) Load 551 - Store 550(param) 552 - 553: 27(fvec3) FunctionCall 36(springForce(vf3;vf3;f1;) 544(param) 548(param) 550(param) - 554: 27(fvec3) Load 234(force) - 555: 27(fvec3) FAdd 554 553 - Store 234(force) 555 - Branch 534 - 534: Label - 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 558 558 12 12 - 560: 101(ptr) AccessChain 97(params) 559 - 561: 24(float) Load 560 - 562: 24(float) FNegate 561 - 563: 27(fvec3) Load 257(vel) - 564: 27(fvec3) VectorTimesScalar 563 562 - 565: 27(fvec3) Load 234(force) - 566: 27(fvec3) FAdd 565 564 - Store 234(force) 566 - 567: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 568 568 12 12 - 572: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 570 569(f) 45 - 573: 27(fvec3) Load 234(force) - 574: 101(ptr) AccessChain 97(params) 224 - 575: 24(float) Load 574 - 576: 24(float) FDiv 196 575 - 577: 27(fvec3) VectorTimesScalar 573 576 - Store 569(f) 577 - 578: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 579 579 12 12 - 580: 7(int) Load 131(index) - 581: 27(fvec3) Load 247(pos) - 582: 27(fvec3) Load 257(vel) - 583: 101(ptr) AccessChain 97(params) 191 - 584: 24(float) Load 583 - 585: 27(fvec3) VectorTimesScalar 582 584 - 586: 27(fvec3) FAdd 581 585 - 588: 27(fvec3) Load 569(f) - 589: 27(fvec3) VectorTimesScalar 588 587 - 590: 101(ptr) AccessChain 97(params) 191 - 591: 24(float) Load 590 - 592: 27(fvec3) VectorTimesScalar 589 591 - 593: 101(ptr) AccessChain 97(params) 191 - 594: 24(float) Load 593 - 595: 27(fvec3) VectorTimesScalar 592 594 - 596: 27(fvec3) FAdd 586 595 - 597: 24(float) CompositeExtract 596 0 - 598: 24(float) CompositeExtract 596 1 - 599: 24(float) CompositeExtract 596 2 - 600: 67(fvec4) CompositeConstruct 597 598 599 196 - 601: 217(ptr) AccessChain 213 191 580 191 - Store 601 600 - 602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 603 603 12 12 - 604: 7(int) Load 131(index) - 605: 27(fvec3) Load 257(vel) - 606: 27(fvec3) Load 569(f) - 607: 101(ptr) AccessChain 97(params) 191 - 608: 24(float) Load 607 - 609: 27(fvec3) VectorTimesScalar 606 608 - 610: 27(fvec3) FAdd 605 609 - 611: 24(float) CompositeExtract 610 0 - 612: 24(float) CompositeExtract 610 1 - 613: 24(float) CompositeExtract 610 2 - 614: 67(fvec4) CompositeConstruct 611 612 613 225 - 615: 217(ptr) AccessChain 213 191 604 224 - Store 615 614 - 616: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 617 617 12 12 - 621: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 619 618(sphereDist) 45 - 622: 7(int) Load 131(index) - 623: 217(ptr) AccessChain 213 191 622 191 - 624: 67(fvec4) Load 623 - 625: 27(fvec3) VectorShuffle 624 624 0 1 2 - 627: 217(ptr) AccessChain 97(params) 626 - 628: 67(fvec4) Load 627 - 629: 27(fvec3) VectorShuffle 628 628 0 1 2 - 630: 27(fvec3) FSub 625 629 - Store 618(sphereDist) 630 - 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 632 632 12 12 - 633: 27(fvec3) Load 618(sphereDist) - 634: 24(float) ExtInst 3(GLSL.std.450) 66(Length) 633 - 636: 101(ptr) AccessChain 97(params) 635 - 637: 24(float) Load 636 - 639: 24(float) FAdd 637 638 - 641: 155(bool) FOrdLessThan 634 639 - SelectionMerge 643 None - BranchConditional 641 642 643 - 642: Label - 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 645: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 646 646 12 12 - 647: 7(int) Load 131(index) - 648: 217(ptr) AccessChain 97(params) 626 - 649: 67(fvec4) Load 648 - 650: 27(fvec3) VectorShuffle 649 649 0 1 2 - 651: 27(fvec3) Load 618(sphereDist) - 652: 27(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 651 - 653: 101(ptr) AccessChain 97(params) 635 - 654: 24(float) Load 653 - 655: 24(float) FAdd 654 638 - 656: 27(fvec3) VectorTimesScalar 652 655 - 657: 27(fvec3) FAdd 650 656 - 658: 101(ptr) AccessChain 213 191 647 191 12 - 659: 24(float) CompositeExtract 657 0 - Store 658 659 - 660: 101(ptr) AccessChain 213 191 647 191 20 - 661: 24(float) CompositeExtract 657 1 + 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: 101(ptr) AccessChain 213 191 647 191 22 - 663: 24(float) CompositeExtract 657 2 + 662: 103(ptr) AccessChain 215 193 649 193 36 + 663: 16(float) CompositeExtract 659 1 Store 662 663 - 664: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 665 665 12 12 - 666: 7(int) Load 131(index) - 667: 217(ptr) AccessChain 213 191 666 224 - Store 667 226 - Branch 643 - 643: Label - 668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 670 670 12 12 - 682: 681(ptr) AccessChain 678(pushConsts) 191 - 683: 7(int) Load 682 - 685: 155(bool) IEqual 683 20 - SelectionMerge 687 None - BranchConditional 685 686 687 - 686: Label - 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 690 690 12 12 - 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 692 691(normal) 45 - Store 691(normal) 694 - 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 696 696 12 12 - 697: 130(ptr) AccessChain 119(id) 20 - 698: 7(int) Load 697 - 700: 155(bool) UGreaterThan 698 12 - SelectionMerge 702 None - BranchConditional 700 701 702 - 701: Label - 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 704: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 705 705 12 12 - 706: 130(ptr) AccessChain 119(id) 12 - 707: 7(int) Load 706 - 709: 155(bool) UGreaterThan 707 12 - SelectionMerge 711 None - BranchConditional 709 710 711 - 710: Label - 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 713: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 714 714 12 12 - 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 716 715(a) 45 - 719: 7(int) Load 131(index) - 720: 7(int) ISub 719 20 - 721: 217(ptr) AccessChain 189 191 720 191 - 722: 67(fvec4) Load 721 - 723: 27(fvec3) VectorShuffle 722 722 0 1 2 - 724: 27(fvec3) Load 247(pos) - 725: 27(fvec3) FSub 723 724 - Store 715(a) 725 - 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 727 727 12 12 - 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 729 728(b) 45 - 732: 7(int) Load 131(index) - 733: 138(ptr) AccessChain 97(params) 137 12 - 734: 69(int) Load 733 - 735: 7(int) Bitcast 734 - 736: 7(int) ISub 732 735 - 737: 7(int) ISub 736 20 - 738: 217(ptr) AccessChain 189 191 737 191 - 739: 67(fvec4) Load 738 - 740: 27(fvec3) VectorShuffle 739 739 0 1 2 - 741: 27(fvec3) Load 247(pos) - 742: 27(fvec3) FSub 740 741 - Store 728(b) 742 - 743: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 744 744 12 12 - 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 746 745(c) 45 - 749: 7(int) Load 131(index) - 750: 138(ptr) AccessChain 97(params) 137 12 - 751: 69(int) Load 750 - 752: 7(int) Bitcast 751 - 753: 7(int) ISub 749 752 - 754: 217(ptr) AccessChain 189 191 753 191 - 755: 67(fvec4) Load 754 - 756: 27(fvec3) VectorShuffle 755 755 0 1 2 - 757: 27(fvec3) Load 247(pos) - 758: 27(fvec3) FSub 756 757 - Store 745(c) 758 - 759: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 760 760 12 12 - 761: 27(fvec3) Load 715(a) - 762: 27(fvec3) Load 728(b) - 763: 27(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 761 762 - 764: 27(fvec3) Load 728(b) - 765: 27(fvec3) Load 745(c) - 766: 27(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 764 765 - 767: 27(fvec3) FAdd 763 766 - 768: 27(fvec3) Load 691(normal) - 769: 27(fvec3) FAdd 768 767 - Store 691(normal) 769 - Branch 711 - 711: Label - 770: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 771: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 772 772 12 12 - 773: 130(ptr) AccessChain 119(id) 12 - 774: 7(int) Load 773 - 775: 138(ptr) AccessChain 97(params) 137 12 - 776: 69(int) Load 775 - 777: 69(int) ISub 776 224 - 778: 7(int) Bitcast 777 - 780: 155(bool) ULessThan 774 778 - SelectionMerge 782 None - BranchConditional 780 781 782 - 781: Label - 783: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 784: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 785 785 12 12 - 786: 7(int) Load 131(index) - 787: 138(ptr) AccessChain 97(params) 137 12 - 788: 69(int) Load 787 - 789: 7(int) Bitcast 788 - 790: 7(int) ISub 786 789 - 791: 217(ptr) AccessChain 189 191 790 191 - 792: 67(fvec4) Load 791 - 793: 27(fvec3) VectorShuffle 792 792 0 1 2 - 794: 27(fvec3) Load 247(pos) - 795: 27(fvec3) FSub 793 794 - Store 715(a) 795 - 796: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 797 797 12 12 - 798: 7(int) Load 131(index) - 799: 138(ptr) AccessChain 97(params) 137 12 - 800: 69(int) Load 799 - 801: 7(int) Bitcast 800 - 802: 7(int) ISub 798 801 - 803: 7(int) IAdd 802 20 - 804: 217(ptr) AccessChain 189 191 803 191 - 805: 67(fvec4) Load 804 - 806: 27(fvec3) VectorShuffle 805 805 0 1 2 - 807: 27(fvec3) Load 247(pos) - 808: 27(fvec3) FSub 806 807 - Store 728(b) 808 - 809: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 810 810 12 12 - 811: 7(int) Load 131(index) - 812: 7(int) IAdd 811 20 - 813: 217(ptr) AccessChain 189 191 812 191 - 814: 67(fvec4) Load 813 - 815: 27(fvec3) VectorShuffle 814 814 0 1 2 - 816: 27(fvec3) Load 247(pos) - 817: 27(fvec3) FSub 815 816 - Store 745(c) 817 - 818: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 819 819 12 12 - 820: 27(fvec3) Load 715(a) - 821: 27(fvec3) Load 728(b) - 822: 27(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 820 821 - 823: 27(fvec3) Load 728(b) - 824: 27(fvec3) Load 745(c) - 825: 27(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 823 824 - 826: 27(fvec3) FAdd 822 825 - 827: 27(fvec3) Load 691(normal) - 828: 27(fvec3) FAdd 827 826 - Store 691(normal) 828 - Branch 782 - 782: Label - Branch 702 - 702: Label - 829: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 830: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 831 831 12 12 - 832: 130(ptr) AccessChain 119(id) 20 - 833: 7(int) Load 832 - 834: 138(ptr) AccessChain 97(params) 137 20 - 835: 69(int) Load 834 - 836: 69(int) ISub 835 224 - 837: 7(int) Bitcast 836 - 839: 155(bool) ULessThan 833 837 - SelectionMerge 841 None - BranchConditional 839 840 841 - 840: Label - 842: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 843: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 844 844 12 12 - 845: 130(ptr) AccessChain 119(id) 12 - 846: 7(int) Load 845 - 848: 155(bool) UGreaterThan 846 12 - SelectionMerge 850 None - BranchConditional 848 849 850 - 849: Label - 851: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 852: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 853 853 12 12 - 854: 7(int) Load 131(index) - 855: 138(ptr) AccessChain 97(params) 137 12 - 856: 69(int) Load 855 - 857: 7(int) Bitcast 856 - 858: 7(int) IAdd 854 857 - 859: 217(ptr) AccessChain 189 191 858 191 - 860: 67(fvec4) Load 859 - 861: 27(fvec3) VectorShuffle 860 860 0 1 2 - 862: 27(fvec3) Load 247(pos) - 863: 27(fvec3) FSub 861 862 - Store 715(a) 863 - 864: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 865 865 12 12 - 866: 7(int) Load 131(index) - 867: 138(ptr) AccessChain 97(params) 137 12 - 868: 69(int) Load 867 - 869: 7(int) Bitcast 868 - 870: 7(int) IAdd 866 869 - 871: 7(int) ISub 870 20 - 872: 217(ptr) AccessChain 189 191 871 191 - 873: 67(fvec4) Load 872 - 874: 27(fvec3) VectorShuffle 873 873 0 1 2 - 875: 27(fvec3) Load 247(pos) - 876: 27(fvec3) FSub 874 875 - Store 728(b) 876 - 877: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 878 878 12 12 - 879: 7(int) Load 131(index) - 880: 7(int) ISub 879 20 - 881: 217(ptr) AccessChain 189 191 880 191 - 882: 67(fvec4) Load 881 - 883: 27(fvec3) VectorShuffle 882 882 0 1 2 - 884: 27(fvec3) Load 247(pos) - 885: 27(fvec3) FSub 883 884 - Store 745(c) 885 - 886: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 887 887 12 12 - 888: 27(fvec3) Load 715(a) - 889: 27(fvec3) Load 728(b) - 890: 27(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 888 889 - 891: 27(fvec3) Load 728(b) - 892: 27(fvec3) Load 745(c) - 893: 27(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 891 892 - 894: 27(fvec3) FAdd 890 893 - 895: 27(fvec3) Load 691(normal) - 896: 27(fvec3) FAdd 895 894 - Store 691(normal) 896 - Branch 850 - 850: Label - 897: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 898: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 899 899 12 12 - 900: 130(ptr) AccessChain 119(id) 12 - 901: 7(int) Load 900 - 902: 138(ptr) AccessChain 97(params) 137 12 - 903: 69(int) Load 902 - 904: 69(int) ISub 903 224 - 905: 7(int) Bitcast 904 - 907: 155(bool) ULessThan 901 905 - SelectionMerge 909 None - BranchConditional 907 908 909 - 908: Label - 910: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 911: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 912 912 12 12 - 913: 7(int) Load 131(index) - 914: 7(int) IAdd 913 20 - 915: 217(ptr) AccessChain 189 191 914 191 - 916: 67(fvec4) Load 915 - 917: 27(fvec3) VectorShuffle 916 916 0 1 2 - 918: 27(fvec3) Load 247(pos) - 919: 27(fvec3) FSub 917 918 - Store 715(a) 919 - 920: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 921 921 12 12 - 922: 7(int) Load 131(index) - 923: 138(ptr) AccessChain 97(params) 137 12 - 924: 69(int) Load 923 - 925: 7(int) Bitcast 924 - 926: 7(int) IAdd 922 925 - 927: 7(int) IAdd 926 20 - 928: 217(ptr) AccessChain 189 191 927 191 - 929: 67(fvec4) Load 928 - 930: 27(fvec3) VectorShuffle 929 929 0 1 2 - 931: 27(fvec3) Load 247(pos) - 932: 27(fvec3) FSub 930 931 - Store 728(b) 932 - 933: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 934 934 12 12 - 935: 7(int) Load 131(index) - 936: 138(ptr) AccessChain 97(params) 137 12 - 937: 69(int) Load 936 - 938: 7(int) Bitcast 937 - 939: 7(int) IAdd 935 938 - 940: 217(ptr) AccessChain 189 191 939 191 - 941: 67(fvec4) Load 940 - 942: 27(fvec3) VectorShuffle 941 941 0 1 2 - 943: 27(fvec3) Load 247(pos) - 944: 27(fvec3) FSub 942 943 - Store 745(c) 944 - 945: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 946 946 12 12 - 947: 27(fvec3) Load 715(a) - 948: 27(fvec3) Load 728(b) - 949: 27(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 947 948 - 950: 27(fvec3) Load 728(b) - 951: 27(fvec3) Load 745(c) - 952: 27(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 950 951 - 953: 27(fvec3) FAdd 949 952 - 954: 27(fvec3) Load 691(normal) - 955: 27(fvec3) FAdd 954 953 - Store 691(normal) 955 - Branch 909 - 909: Label - Branch 841 - 841: Label - 956: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 957: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 958 958 12 12 - 959: 7(int) Load 131(index) - 960: 27(fvec3) Load 691(normal) - 961: 27(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 960 - 962: 24(float) CompositeExtract 961 0 - 963: 24(float) CompositeExtract 961 1 - 964: 24(float) CompositeExtract 961 2 - 965: 67(fvec4) CompositeConstruct 962 963 964 225 - 966: 217(ptr) AccessChain 213 191 959 559 - Store 966 965 - Branch 687 - 687: Label + 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 Return FunctionEnd Line 1 66 50 -36(springForce(vf3;vf3;f1;): 27(fvec3) Function None 31 - 33(p0): 29(ptr) FunctionParameter - 34(p1): 29(ptr) FunctionParameter - 35(restDist): 30(ptr) FunctionParameter - 39: Label - 56(dist): 29(ptr) Variable Function - 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 38 - 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12 - 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 42 33(p0) 45 - 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 46 34(p1) 45 - 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 35(restDist) 45 - 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 38 36(springForce(vf3;vf3;f1;) - 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 38 - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 55 55 12 12 - 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 57 56(dist) 45 - 60: 27(fvec3) Load 33(p0) - 61: 27(fvec3) Load 34(p1) - 62: 27(fvec3) FSub 60 61 - Store 56(dist) 62 - 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 64 64 12 12 - 65: 27(fvec3) Load 56(dist) - 66: 27(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 65 - 102: 101(ptr) AccessChain 97(params) 100 - 103: 24(float) Load 102 - 104: 27(fvec3) VectorTimesScalar 66 103 - 105: 27(fvec3) Load 56(dist) - 106: 24(float) ExtInst 3(GLSL.std.450) 66(Length) 105 - 107: 24(float) Load 35(restDist) - 108: 24(float) FSub 106 107 - 109: 27(fvec3) VectorTimesScalar 104 108 - ReturnValue 109 +28(springForce(vf3;vf3;f1;): 19(fvec3) Function None 23 + 25(p0): 21(ptr) FunctionParameter + 26(p1): 21(ptr) FunctionParameter + 27(restDist): 22(ptr) FunctionParameter + 29: Label + 58(dist): 21(ptr) Variable Function + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 31 + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 34 34 12 12 + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 41 25(p0) 44 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 45 26(p1) 44 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 27(restDist) 44 + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 31 28(springForce(vf3;vf3;f1;) + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 31 + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 57 57 12 12 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 59 58(dist) 44 + 62: 19(fvec3) Load 25(p0) + 63: 19(fvec3) Load 26(p1) + 64: 19(fvec3) FSub 62 63 + Store 58(dist) 64 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 66 66 12 12 + 67: 19(fvec3) Load 58(dist) + 68: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 67 + 104: 103(ptr) AccessChain 99(params) 102 + 105: 16(float) Load 104 + 106: 19(fvec3) VectorTimesScalar 68 105 + 107: 19(fvec3) Load 58(dist) + 108: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 107 + 109: 16(float) Load 27(restDist) + 110: 16(float) FSub 108 109 + 111: 19(fvec3) VectorTimesScalar 106 110 + ReturnValue 111 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.frag.out b/Test/baseResults/spv.debuginfo.glsl.frag.out index 464e3217..35dfd13e 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 859 +// Id's are bound by 863 Capability Shader Capability ImageQuery @@ -9,12 +9,13 @@ spv.debuginfo.glsl.frag 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Fragment 14 "main" 478 533 + EntryPoint Fragment 14 "main" 482 537 ExecutionMode 14 OriginUpperLeft 1: String "" 8: String "uint" - 15: String "main" - 18: String "// OpModuleProcessed auto-map-locations + 17: String "float" + 35: String "textureProj" + 38: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -22,165 +23,164 @@ spv.debuginfo.glsl.frag // OpModuleProcessed entry-point main #line 1 " - 25: String "float" - 40: String "textureProj" - 46: String "P" - 50: String "layer" - 53: String "offset" + 45: String "P" + 49: String "layer" + 52: String "offset" 60: String "filterPCF" 66: String "sc" - 78: String "shadow" - 84: String "fragcolor" - 87: String "fragpos" - 93: String "int" - 98: String "global_var" - 113: String "shadowCoord" - 138: String "bool" - 157: String "dist" - 161: String "type.2d.image" - 162: String "@type.2d.image" - 166: String "type.sampled.image" - 167: String "@type.sampled.image" - 171: String "samplerShadowMap" - 221: String "texDim" - 233: String "scale" - 240: String "dx" - 253: String "dy" - 265: String "shadowFactor" - 271: String "count" - 277: String "range" - 284: String "x" - 306: String "y" - 370: String "i" - 390: String "shadowClip" - 397: String "color" - 403: String "viewMatrix" - 406: String "Light" - 412: String "lights" - 415: String "debugDisplayTarget" - 419: String "UBO" - 423: String "ubo" - 466: String "fragPos" - 475: String "samplerposition" - 480: String "inUV" - 488: String "normal" - 492: String "samplerNormal" - 501: String "albedo" - 505: String "samplerAlbedo" - 535: String "outFragColor" - 627: String "N" - 653: String "L" - 677: String "V" - 692: String "lightCosInnerAngle" - 699: String "lightCosOuterAngle" - 706: String "lightRange" - 713: String "dir" - 729: String "cosDir" - 738: String "spotEffect" - 748: String "heightAttenuation" - 757: String "NdotL" - 767: String "diff" - 775: String "R" - 785: String "NdotR" - 795: String "spec" + 79: String "shadow" + 85: String "fragcolor" + 88: String "fragpos" + 90: String "main" + 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" Name 14 "main" - Name 39 "textureProj(vf4;f1;vf2;" - Name 36 "P" - Name 37 "layer" - Name 38 "offset" - Name 59 "filterPCF(vf4;f1;" - Name 57 "sc" - Name 58 "layer" + Name 33 "textureProj(vf4;f1;vf2;" + Name 30 "P" + Name 31 "layer" + Name 32 "offset" + Name 58 "filterPCF(vf4;f1;" + Name 56 "sc" + Name 57 "layer" Name 77 "shadow(vf3;vf3;" Name 75 "fragcolor" Name 76 "fragpos" - Name 96 "global_var" - Name 105 "shadow" - Name 111 "shadowCoord" - Name 155 "dist" - Name 169 "samplerShadowMap" - Name 219 "texDim" - Name 231 "scale" - Name 238 "dx" - Name 251 "dy" - Name 263 "shadowFactor" - Name 269 "count" - Name 275 "range" - Name 282 "x" - Name 304 "y" - Name 335 "param" - Name 337 "param" + 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 368 "i" - Name 388 "shadowClip" - Name 395 "Light" - MemberName 395(Light) 0 "position" - MemberName 395(Light) 1 "target" - MemberName 395(Light) 2 "color" - MemberName 395(Light) 3 "viewMatrix" - Name 409 "UBO" - MemberName 409(UBO) 0 "viewPos" - MemberName 409(UBO) 1 "lights" - MemberName 409(UBO) 2 "useShadows" - MemberName 409(UBO) 3 "debugDisplayTarget" - Name 421 "ubo" - Name 436 "shadowFactor" - Name 441 "param" - Name 443 "param" - Name 464 "fragPos" - Name 473 "samplerposition" - Name 478 "inUV" - Name 486 "normal" - Name 490 "samplerNormal" - Name 499 "albedo" - Name 503 "samplerAlbedo" - Name 533 "outFragColor" - Name 537 "param" - Name 538 "param" - Name 616 "fragcolor" - Name 625 "N" - Name 633 "i" - Name 651 "L" - Name 664 "dist" - Name 675 "V" - Name 690 "lightCosInnerAngle" - Name 697 "lightCosOuterAngle" - Name 704 "lightRange" - Name 711 "dir" - Name 727 "cosDir" - Name 736 "spotEffect" - Name 746 "heightAttenuation" - Name 755 "NdotL" - Name 765 "diff" - Name 773 "R" - Name 783 "NdotR" - Name 793 "spec" - Name 846 "param" - Name 848 "param" - Decorate 169(samplerShadowMap) DescriptorSet 0 - Decorate 169(samplerShadowMap) Binding 5 - MemberDecorate 395(Light) 0 Offset 0 - MemberDecorate 395(Light) 1 Offset 16 - MemberDecorate 395(Light) 2 Offset 32 - MemberDecorate 395(Light) 3 ColMajor - MemberDecorate 395(Light) 3 Offset 48 - MemberDecorate 395(Light) 3 MatrixStride 16 - Decorate 407 ArrayStride 112 - MemberDecorate 409(UBO) 0 Offset 0 - MemberDecorate 409(UBO) 1 Offset 16 - MemberDecorate 409(UBO) 2 Offset 352 - MemberDecorate 409(UBO) 3 Offset 356 - Decorate 409(UBO) Block - Decorate 421(ubo) DescriptorSet 0 - Decorate 421(ubo) Binding 4 - Decorate 473(samplerposition) DescriptorSet 0 - Decorate 473(samplerposition) Binding 1 - Decorate 478(inUV) Location 0 - Decorate 490(samplerNormal) DescriptorSet 0 - Decorate 490(samplerNormal) Binding 2 - Decorate 503(samplerAlbedo) DescriptorSet 0 - Decorate 503(samplerAlbedo) Binding 3 - Decorate 533(outFragColor) Location 0 + 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 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -190,915 +190,919 @@ spv.debuginfo.glsl.frag 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 - 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18 - 20: 7(int) Constant 1 - 21: 7(int) Constant 4 - 22: 7(int) Constant 2 - 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22 - 16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12 - 24: TypeFloat 32 - 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 10 13 12 - 27: TypeVector 24(float) 4 - 28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 21 - 29: TypePointer Function 27(fvec4) - 30: TypePointer Function 24(float) - 31: TypeVector 24(float) 2 - 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 22 - 33: TypePointer Function 31(fvec2) - 34: TypeFunction 24(float) 29(ptr) 30(ptr) 33(ptr) - 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 26 28 26 32 - 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 40 35 17 12 12 19 40 13 12 - 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 28 17 12 12 41 21 20 - 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 26 17 12 12 41 21 22 - 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 32 17 12 12 41 21 13 - 55: TypeFunction 24(float) 29(ptr) 30(ptr) - 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 26 28 26 - 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 60 56 17 12 12 19 60 13 12 - 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 66 28 17 12 12 61 21 20 - 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 26 17 12 12 61 21 22 - 70: TypeVector 24(float) 3 - 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 13 + 16: TypeFloat 32 + 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12 + 19: TypeVector 16(float) 4 + 20: 7(int) Constant 4 + 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 20 + 22: TypePointer Function 19(fvec4) + 23: TypePointer Function 16(float) + 24: TypeVector 16(float) 2 + 25: 7(int) Constant 2 + 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 25 + 27: TypePointer Function 24(fvec2) + 28: TypeFunction 16(float) 22(ptr) 23(ptr) 27(ptr) + 29: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 21 18 26 + 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 38 + 39: 7(int) Constant 59 + 41: 7(int) Constant 1 + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 41 20 37 25 + 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 35 29 37 39 12 40 35 13 39 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 21 37 39 12 36 20 41 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 18 37 39 12 36 20 25 + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 26 37 39 12 36 20 13 + 54: TypeFunction 16(float) 22(ptr) 23(ptr) + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 21 18 + 62: 7(int) Constant 76 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 60 55 37 62 12 40 60 13 62 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 66 21 37 62 12 61 20 41 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 18 37 62 12 61 20 25 + 70: TypeVector 16(float) 3 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13 72: TypePointer Function 70(fvec3) 73: TypeFunction 70(fvec3) 72(ptr) 72(ptr) 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 71 71 71 - 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 78 74 17 12 12 19 78 13 12 - 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 84 71 17 12 12 79 21 20 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 71 17 12 12 79 21 22 - 91: 7(int) Constant 41 - 92: TypeInt 32 1 - 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 93 10 21 12 - 95: TypePointer Private 92(int) - 96(global_var): 95(ptr) Variable Private - 99: 7(int) Constant 8 - 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 98 94 17 91 12 19 98 96(global_var) 99 - 100: 92(int) Constant 0 - 104: 7(int) Constant 61 - 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 78 26 17 104 12 41 21 - 108: 24(float) Constant 1065353216 - 110: 7(int) Constant 62 - 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 113 28 17 110 12 41 21 - 121: 7(int) Constant 63 - 124: 24(float) Constant 1056964608 - 133: 7(int) Constant 65 - 134: TypeBool - 137: 24(float) Constant 3212836864 - 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 154: 7(int) Constant 67 - 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 157 26 17 154 12 41 21 - 159: TypeImage 24(float) 2D array sampled format:Unknown - 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 161 12 17 154 12 19 162 163 13 - 164: TypeSampledImage 159 - 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 12 17 154 12 19 167 163 13 - 168: TypePointer UniformConstant 164 -169(samplerShadowMap): 168(ptr) Variable UniformConstant - 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 171 165 17 154 12 19 171 169(samplerShadowMap) 99 - 184: 7(int) Constant 68 - 187: 24(float) Constant 0 - 188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 204: 7(int) Constant 70 - 205: 24(float) Constant 1048576000 - 208: 7(int) Constant 73 - 215: 7(int) Constant 78 - 216: TypeVector 92(int) 2 - 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 94 22 - 218: TypePointer Function 216(ivec2) - 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 221 217 17 215 12 61 21 - 225: TypeVector 92(int) 3 - 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 94 13 - 230: 7(int) Constant 79 - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 233 26 17 230 12 61 21 - 235: 24(float) Constant 1069547520 - 237: 7(int) Constant 80 - 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 240 26 17 237 12 61 21 - 244: TypePointer Function 92(int) - 250: 7(int) Constant 81 - 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 253 26 17 250 12 61 21 - 262: 7(int) Constant 83 - 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 265 26 17 262 12 61 21 - 268: 7(int) Constant 84 - 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 271 94 17 268 12 61 21 - 274: 7(int) Constant 85 - 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 277 94 17 274 12 61 21 - 279: 92(int) Constant 1 - 281: 7(int) Constant 87 - 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 284 94 17 281 12 61 21 - 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 303: 7(int) Constant 89 - 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 94 17 303 12 61 21 - 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 325: 7(int) Constant 91 - 344: 7(int) Constant 92 - 357: 7(int) Constant 96 - 367: 7(int) Constant 100 - 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 370 94 17 367 12 79 21 - 382: 92(int) Constant 3 - 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 387: 7(int) Constant 102 - 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 390 28 17 387 12 79 21 - 392: TypeMatrix 27(fvec4) 4 - 394: 134(bool) ConstantTrue - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 28 21 394 - 395(Light): TypeStruct 27(fvec4) 27(fvec4) 27(fvec4) 392 - 398: 7(int) Constant 47 - 399: 7(int) Constant 7 - 396: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 397 28 17 398 399 12 12 13 - 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 397 28 17 398 399 12 12 13 - 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 397 28 17 398 399 12 12 13 - 404: 7(int) Constant 48 - 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 403 393 17 404 399 12 12 13 - 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 406 20 17 387 12 19 406 12 13 396 400 401 402 - 407: TypeArray 395(Light) 13 - 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 405 13 - 409(UBO): TypeStruct 27(fvec4) 407 92(int) 92(int) - 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 397 28 17 398 399 12 12 13 - 413: 7(int) Constant 54 - 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 412 408 17 413 99 12 12 13 - 416: 7(int) Constant 56 - 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 415 94 17 416 11 12 12 13 - 417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 415 94 17 416 11 12 12 13 - 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 419 20 17 387 12 19 419 12 13 410 411 414 417 - 420: TypePointer Uniform 409(UBO) - 421(ubo): 420(ptr) Variable Uniform - 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 423 418 17 387 12 19 423 421(ubo) 99 - 425: TypePointer Uniform 392 - 435: 7(int) Constant 106 - 437: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 265 26 17 435 12 79 21 - 446: 7(int) Constant 111 - 456: 7(int) Constant 113 - 463: 7(int) Constant 119 - 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 466 71 17 463 12 16 21 - 468: TypeImage 24(float) 2D sampled format:Unknown - 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 161 12 17 463 12 19 162 163 13 - 470: TypeSampledImage 468 - 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 12 17 463 12 19 167 163 13 - 472: TypePointer UniformConstant 470 -473(samplerposition): 472(ptr) Variable UniformConstant - 474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 475 471 17 463 12 19 475 473(samplerposition) 99 - 477: TypePointer Input 31(fvec2) - 478(inUV): 477(ptr) Variable Input - 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 480 32 17 463 12 19 480 478(inUV) 99 - 485: 7(int) Constant 120 - 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 488 71 17 485 12 16 21 -490(samplerNormal): 472(ptr) Variable UniformConstant - 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 492 471 17 485 12 19 492 490(samplerNormal) 99 - 498: 7(int) Constant 121 - 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 501 28 17 498 12 16 21 -503(samplerAlbedo): 472(ptr) Variable UniformConstant - 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 505 471 17 498 12 19 505 503(samplerAlbedo) 99 - 510: 7(int) Constant 124 - 511: TypePointer Uniform 92(int) - 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 520: 7(int) Constant 125 - 531: 7(int) Constant 127 - 532: TypePointer Output 27(fvec4) -533(outFragColor): 532(ptr) Variable Output - 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 535 28 17 531 12 19 535 533(outFragColor) 99 - 536: 70(fvec3) ConstantComposite 108 108 108 - 541: TypePointer Output 24(float) - 549: 7(int) Constant 128 - 553: 7(int) Constant 130 - 562: 7(int) Constant 131 - 566: 7(int) Constant 133 - 575: 7(int) Constant 134 - 579: 7(int) Constant 136 - 589: 7(int) Constant 137 - 593: 7(int) Constant 139 - 603: 7(int) Constant 140 - 608: 7(int) Constant 142 - 611: 7(int) Constant 143 - 615: 7(int) Constant 147 - 617: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 84 71 17 615 12 16 21 - 621: 24(float) Constant 1036831949 - 624: 7(int) Constant 149 - 626: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 627 71 17 624 12 16 21 - 632: 7(int) Constant 151 - 634: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 370 94 17 632 12 16 21 - 646: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 650: 7(int) Constant 154 - 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 653 71 17 650 12 16 21 - 656: TypePointer Uniform 27(fvec4) - 663: 7(int) Constant 156 - 665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 157 26 17 663 12 16 21 - 670: 7(int) Constant 157 - 674: 7(int) Constant 160 - 676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 677 71 17 674 12 16 21 - 685: 7(int) Constant 161 - 689: 7(int) Constant 163 - 691: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 692 26 17 689 12 16 21 - 694: 24(float) Constant 1064781546 - 696: 7(int) Constant 164 - 698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 699 26 17 696 12 16 21 - 701: 24(float) Constant 1063781322 - 703: 7(int) Constant 165 - 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 706 26 17 703 12 16 21 - 708: 24(float) Constant 1120403456 - 710: 7(int) Constant 168 - 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 713 71 17 710 12 16 21 - 726: 7(int) Constant 171 - 728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 729 26 17 726 12 16 21 - 735: 7(int) Constant 172 - 737: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 738 26 17 735 12 16 21 - 745: 7(int) Constant 173 - 747: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 748 26 17 745 12 16 21 - 754: 7(int) Constant 176 - 756: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 757 26 17 754 12 16 21 - 764: 7(int) Constant 177 - 766: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 767 71 17 764 12 16 21 - 772: 7(int) Constant 180 - 774: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 775 71 17 772 12 16 21 - 782: 7(int) Constant 181 - 784: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 785 26 17 782 12 16 21 - 792: 7(int) Constant 182 - 794: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 795 71 17 792 12 16 21 - 798: 24(float) Constant 1098907648 - 803: 24(float) Constant 1075838976 - 807: 7(int) Constant 184 - 820: 92(int) Constant 2 - 836: 7(int) Constant 188 - 839: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 10 22 12 - 845: 7(int) Constant 190 - 853: 7(int) Constant 193 + 81: 7(int) Constant 99 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 79 74 37 81 12 40 79 13 81 + 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 37 81 12 80 20 41 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 71 37 81 12 80 20 25 + 92: 7(int) Constant 116 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 90 6 37 92 12 40 90 13 92 + 95: 7(int) Constant 41 + 96: TypeInt 32 1 + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 97 10 20 12 + 99: TypePointer Private 96(int) + 100(global_var): 99(ptr) Variable Private + 103: 7(int) Constant 8 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 102 98 37 95 12 40 102 100(global_var) 103 + 104: 96(int) Constant 0 + 108: 7(int) Constant 61 + 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 18 37 108 12 36 20 + 112: 16(float) Constant 1065353216 + 114: 7(int) Constant 62 + 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 117 21 37 114 12 36 20 + 125: 7(int) Constant 63 + 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 + 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 Line 1 116 11 14(main): 4 Function None 5 - 23: Label - 464(fragPos): 72(ptr) Variable Function - 486(normal): 72(ptr) Variable Function - 499(albedo): 29(ptr) Variable Function - 537(param): 72(ptr) Variable Function - 538(param): 72(ptr) Variable Function - 616(fragcolor): 72(ptr) Variable Function - 625(N): 72(ptr) Variable Function - 633(i): 244(ptr) Variable Function - 651(L): 72(ptr) Variable Function - 664(dist): 30(ptr) Variable Function - 675(V): 72(ptr) Variable Function -690(lightCosInnerAngle): 30(ptr) Variable Function -697(lightCosOuterAngle): 30(ptr) Variable Function - 704(lightRange): 30(ptr) Variable Function - 711(dir): 72(ptr) Variable Function - 727(cosDir): 30(ptr) Variable Function - 736(spotEffect): 30(ptr) Variable Function -746(heightAttenuation): 30(ptr) Variable Function - 755(NdotL): 30(ptr) Variable Function - 765(diff): 72(ptr) Variable Function - 773(R): 72(ptr) Variable Function - 783(NdotR): 30(ptr) Variable Function - 793(spec): 72(ptr) Variable Function - 846(param): 72(ptr) Variable Function - 848(param): 72(ptr) Variable Function - 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 19 - 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 91 91 12 12 - Store 96(global_var) 100 - 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main) - 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 462: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 463 463 12 12 - 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 465 464(fragPos) 48 - 476: 470 Load 473(samplerposition) - 481: 31(fvec2) Load 478(inUV) - 482: 27(fvec4) ImageSampleImplicitLod 476 481 - 483: 70(fvec3) VectorShuffle 482 482 0 1 2 - Store 464(fragPos) 483 - 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 485 485 12 12 - 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 487 486(normal) 48 - 493: 470 Load 490(samplerNormal) - 494: 31(fvec2) Load 478(inUV) - 495: 27(fvec4) ImageSampleImplicitLod 493 494 - 496: 70(fvec3) VectorShuffle 495 495 0 1 2 - Store 486(normal) 496 - 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 498 498 12 12 - 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 500 499(albedo) 48 - 506: 470 Load 503(samplerAlbedo) - 507: 31(fvec2) Load 478(inUV) - 508: 27(fvec4) ImageSampleImplicitLod 506 507 - Store 499(albedo) 508 - 509: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 510 510 12 12 - 512: 511(ptr) AccessChain 421(ubo) 382 - 513: 92(int) Load 512 - 515: 134(bool) SGreaterThan 513 100 - SelectionMerge 517 None - BranchConditional 515 516 517 - 516: Label - 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 519: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 520 520 12 12 - 521: 511(ptr) AccessChain 421(ubo) 382 - 522: 92(int) Load 521 - SelectionMerge 528 None - Switch 522 528 - case 1: 523 - case 2: 524 - case 3: 525 - case 4: 526 - case 5: 527 - 523: Label - 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 531 531 12 12 - Store 537(param) 536 - 539: 70(fvec3) Load 464(fragPos) - Store 538(param) 539 - 540: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 537(param) 538(param) - 542: 541(ptr) AccessChain 533(outFragColor) 12 - 543: 24(float) CompositeExtract 540 0 - Store 542 543 - 544: 541(ptr) AccessChain 533(outFragColor) 20 - 545: 24(float) CompositeExtract 540 1 - Store 544 545 - 546: 541(ptr) AccessChain 533(outFragColor) 22 - 547: 24(float) CompositeExtract 540 2 - Store 546 547 - 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 549 549 12 12 - Branch 528 - 524: Label - 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 553 553 12 12 - 554: 70(fvec3) Load 464(fragPos) - 555: 541(ptr) AccessChain 533(outFragColor) 12 - 556: 24(float) CompositeExtract 554 0 - Store 555 556 - 557: 541(ptr) AccessChain 533(outFragColor) 20 - 558: 24(float) CompositeExtract 554 1 - Store 557 558 - 559: 541(ptr) AccessChain 533(outFragColor) 22 - 560: 24(float) CompositeExtract 554 2 - Store 559 560 - 561: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 562 562 12 12 - Branch 528 - 525: Label - 564: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 565: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 566 566 12 12 - 567: 70(fvec3) Load 486(normal) - 568: 541(ptr) AccessChain 533(outFragColor) 12 - 569: 24(float) CompositeExtract 567 0 - Store 568 569 - 570: 541(ptr) AccessChain 533(outFragColor) 20 - 571: 24(float) CompositeExtract 567 1 - Store 570 571 - 572: 541(ptr) AccessChain 533(outFragColor) 22 - 573: 24(float) CompositeExtract 567 2 - Store 572 573 - 574: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 575 575 12 12 - Branch 528 - 526: Label - 577: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 578: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 579 579 12 12 - 580: 27(fvec4) Load 499(albedo) - 581: 70(fvec3) VectorShuffle 580 580 0 1 2 - 582: 541(ptr) AccessChain 533(outFragColor) 12 - 583: 24(float) CompositeExtract 581 0 - Store 582 583 - 584: 541(ptr) AccessChain 533(outFragColor) 20 - 585: 24(float) CompositeExtract 581 1 - Store 584 585 - 586: 541(ptr) AccessChain 533(outFragColor) 22 - 587: 24(float) CompositeExtract 581 2 - Store 586 587 - 588: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 589 589 12 12 - Branch 528 + 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 + 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 + 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 - 591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 592: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 593 593 12 12 - 594: 27(fvec4) Load 499(albedo) - 595: 70(fvec3) VectorShuffle 594 594 3 3 3 - 596: 541(ptr) AccessChain 533(outFragColor) 12 - 597: 24(float) CompositeExtract 595 0 - Store 596 597 - 598: 541(ptr) AccessChain 533(outFragColor) 20 - 599: 24(float) CompositeExtract 595 1 - Store 598 599 - 600: 541(ptr) AccessChain 533(outFragColor) 22 - 601: 24(float) CompositeExtract 595 2 + 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 + Store 559 560 + 561: 545(ptr) AccessChain 537(outFragColor) 41 + 562: 16(float) CompositeExtract 558 1 + Store 561 562 + 563: 545(ptr) AccessChain 537(outFragColor) 25 + 564: 16(float) CompositeExtract 558 2 + Store 563 564 + 565: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 566 566 12 12 + Branch 532 + 529: 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 + 573: 16(float) CompositeExtract 571 0 + Store 572 573 + 574: 545(ptr) AccessChain 537(outFragColor) 41 + 575: 16(float) CompositeExtract 571 1 + Store 574 575 + 576: 545(ptr) AccessChain 537(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 + 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: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 603 603 12 12 - Branch 528 - 528: Label - 606: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 607: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 608 608 12 12 - 609: 541(ptr) AccessChain 533(outFragColor) 13 - Store 609 108 - 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 611 611 12 12 + 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 Return - 517: Label - 613: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 615 615 12 12 - 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 617 616(fragcolor) 48 - 619: 27(fvec4) Load 499(albedo) - 620: 70(fvec3) VectorShuffle 619 619 0 1 2 - 622: 70(fvec3) VectorTimesScalar 620 621 - Store 616(fragcolor) 622 - 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 624 624 12 12 - 628: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 626 625(N) 48 - 629: 70(fvec3) Load 486(normal) - 630: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 629 - Store 625(N) 630 - 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 632 632 12 12 - 635: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 634 633(i) 48 - Store 633(i) 100 - Branch 636 - 636: Label - 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 632 632 12 12 - LoopMerge 638 639 None - Branch 642 - 642: Label - 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 632 632 12 12 - 645: 92(int) Load 633(i) - 647: 134(bool) SLessThan 645 382 - BranchConditional 647 637 638 - 637: Label - 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 649: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 650 650 12 12 - 654: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 652 651(L) 48 - 655: 92(int) Load 633(i) - 657: 656(ptr) AccessChain 421(ubo) 279 655 100 - 658: 27(fvec4) Load 657 - 659: 70(fvec3) VectorShuffle 658 658 0 1 2 - 660: 70(fvec3) Load 464(fragPos) - 661: 70(fvec3) FSub 659 660 - Store 651(L) 661 - 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 663 663 12 12 - 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 665 664(dist) 48 - 667: 70(fvec3) Load 651(L) - 668: 24(float) ExtInst 3(GLSL.std.450) 66(Length) 667 - Store 664(dist) 668 - 669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 670 670 12 12 - 671: 70(fvec3) Load 651(L) - 672: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 671 - Store 651(L) 672 - 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 674 674 12 12 - 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 676 675(V) 48 - 679: 656(ptr) AccessChain 421(ubo) 100 - 680: 27(fvec4) Load 679 - 681: 70(fvec3) VectorShuffle 680 680 0 1 2 - 682: 70(fvec3) Load 464(fragPos) - 683: 70(fvec3) FSub 681 682 - Store 675(V) 683 - 684: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 685 685 12 12 - 686: 70(fvec3) Load 675(V) - 687: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 686 - Store 675(V) 687 - 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 689 689 12 12 - 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 691 690(lightCosInnerAngle) 48 - Store 690(lightCosInnerAngle) 694 - 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 696 696 12 12 - 700: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 698 697(lightCosOuterAngle) 48 - Store 697(lightCosOuterAngle) 701 - 702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 703 703 12 12 - 707: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 705 704(lightRange) 48 - Store 704(lightRange) 708 - 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 710 710 12 12 - 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 712 711(dir) 48 - 715: 92(int) Load 633(i) - 716: 656(ptr) AccessChain 421(ubo) 279 715 100 - 717: 27(fvec4) Load 716 - 718: 70(fvec3) VectorShuffle 717 717 0 1 2 - 719: 92(int) Load 633(i) - 720: 656(ptr) AccessChain 421(ubo) 279 719 279 - 721: 27(fvec4) Load 720 + 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 + 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 + 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: 70(fvec3) FSub 718 722 - 724: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 723 - Store 711(dir) 724 - 725: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 726 726 12 12 - 730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 728 727(cosDir) 48 - 731: 70(fvec3) Load 651(L) - 732: 70(fvec3) Load 711(dir) - 733: 24(float) Dot 731 732 - Store 727(cosDir) 733 - 734: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 735 735 12 12 - 739: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 737 736(spotEffect) 48 - 740: 24(float) Load 697(lightCosOuterAngle) - 741: 24(float) Load 690(lightCosInnerAngle) - 742: 24(float) Load 727(cosDir) - 743: 24(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 740 741 742 - Store 736(spotEffect) 743 - 744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 745 745 12 12 - 749: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 747 746(heightAttenuation) 48 - 750: 24(float) Load 704(lightRange) - 751: 24(float) Load 664(dist) - 752: 24(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 750 187 751 - Store 746(heightAttenuation) 752 - 753: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 754 754 12 12 - 758: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 756 755(NdotL) 48 - 759: 70(fvec3) Load 625(N) - 760: 70(fvec3) Load 651(L) - 761: 24(float) Dot 759 760 - 762: 24(float) ExtInst 3(GLSL.std.450) 40(FMax) 187 761 - Store 755(NdotL) 762 - 763: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 764 764 12 12 - 768: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 766 765(diff) 48 - 769: 24(float) Load 755(NdotL) - 770: 70(fvec3) CompositeConstruct 769 769 769 - Store 765(diff) 770 - 771: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 772 772 12 12 - 776: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 774 773(R) 48 - 777: 70(fvec3) Load 651(L) - 778: 70(fvec3) FNegate 777 - 779: 70(fvec3) Load 625(N) - 780: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 778 779 - Store 773(R) 780 - 781: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 782 782 12 12 - 786: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 784 783(NdotR) 48 - 787: 70(fvec3) Load 773(R) - 788: 70(fvec3) Load 675(V) - 789: 24(float) Dot 787 788 - 790: 24(float) ExtInst 3(GLSL.std.450) 40(FMax) 187 789 - Store 783(NdotR) 790 - 791: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 792 792 12 12 - 796: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 794 793(spec) 48 - 797: 24(float) Load 783(NdotR) - 799: 24(float) ExtInst 3(GLSL.std.450) 26(Pow) 797 798 - 800: 30(ptr) AccessChain 499(albedo) 13 - 801: 24(float) Load 800 - 802: 24(float) FMul 799 801 - 804: 24(float) FMul 802 803 - 805: 70(fvec3) CompositeConstruct 804 804 804 - Store 793(spec) 805 - 806: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 807 807 12 12 - 808: 70(fvec3) Load 765(diff) - 809: 70(fvec3) Load 793(spec) - 810: 70(fvec3) FAdd 808 809 - 811: 24(float) Load 736(spotEffect) - 812: 70(fvec3) VectorTimesScalar 810 811 - 813: 24(float) Load 746(heightAttenuation) - 814: 70(fvec3) VectorTimesScalar 812 813 - 815: 24(float) CompositeExtract 814 0 - 816: 24(float) CompositeExtract 814 1 - 817: 24(float) CompositeExtract 814 2 - 818: 70(fvec3) CompositeConstruct 815 816 817 - 819: 92(int) Load 633(i) - 821: 656(ptr) AccessChain 421(ubo) 279 819 820 - 822: 27(fvec4) Load 821 - 823: 70(fvec3) VectorShuffle 822 822 0 1 2 - 824: 70(fvec3) FMul 818 823 - 825: 27(fvec4) Load 499(albedo) - 826: 70(fvec3) VectorShuffle 825 825 0 1 2 - 827: 70(fvec3) FMul 824 826 - 828: 70(fvec3) Load 616(fragcolor) - 829: 70(fvec3) FAdd 828 827 - Store 616(fragcolor) 829 - Branch 639 - 639: Label - 830: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 831: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 632 632 12 12 - 832: 92(int) Load 633(i) - 833: 92(int) IAdd 832 279 - Store 633(i) 833 - Branch 636 - 638: Label - 834: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 835: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 836 836 12 12 - 837: 511(ptr) AccessChain 421(ubo) 820 - 838: 92(int) Load 837 - 840: 134(bool) SGreaterThan 838 100 - SelectionMerge 842 None - BranchConditional 840 841 842 - 841: Label - 843: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 845 845 12 12 - 847: 70(fvec3) Load 616(fragcolor) - Store 846(param) 847 - 849: 70(fvec3) Load 464(fragPos) - Store 848(param) 849 - 850: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 846(param) 848(param) - Store 616(fragcolor) 850 - Branch 842 - 842: Label - 851: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 852: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 853 853 12 12 - 854: 70(fvec3) Load 616(fragcolor) - 855: 24(float) CompositeExtract 854 0 - 856: 24(float) CompositeExtract 854 1 - 857: 24(float) CompositeExtract 854 2 - 858: 27(fvec4) CompositeConstruct 855 856 857 108 - Store 533(outFragColor) 858 + 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 Return FunctionEnd Line 1 59 51 -39(textureProj(vf4;f1;vf2;): 24(float) Function None 34 - 36(P): 29(ptr) FunctionParameter - 37(layer): 30(ptr) FunctionParameter - 38(offset): 33(ptr) FunctionParameter - 42: Label - 105(shadow): 30(ptr) Variable Function -111(shadowCoord): 29(ptr) Variable Function - 155(dist): 30(ptr) Variable Function - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41 - 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12 - 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 45 36(P) 48 - 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 37(layer) 48 - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 38(offset) 48 - 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 41 39(textureProj(vf4;f1;vf2;) - 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41 - 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 104 104 12 12 - 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 106 105(shadow) 48 - Store 105(shadow) 108 - 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 110 110 12 12 - 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 112 111(shadowCoord) 48 - 115: 27(fvec4) Load 36(P) - 116: 30(ptr) AccessChain 36(P) 13 - 117: 24(float) Load 116 - 118: 27(fvec4) CompositeConstruct 117 117 117 117 - 119: 27(fvec4) FDiv 115 118 - Store 111(shadowCoord) 119 - 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 121 121 12 12 - 122: 27(fvec4) Load 111(shadowCoord) - 123: 31(fvec2) VectorShuffle 122 122 0 1 - 125: 31(fvec2) VectorTimesScalar 123 124 - 126: 31(fvec2) CompositeConstruct 124 124 - 127: 31(fvec2) FAdd 125 126 - 128: 30(ptr) AccessChain 111(shadowCoord) 12 - 129: 24(float) CompositeExtract 127 0 - Store 128 129 - 130: 30(ptr) AccessChain 111(shadowCoord) 20 - 131: 24(float) CompositeExtract 127 1 - Store 130 131 - 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 133 133 12 12 - 135: 30(ptr) AccessChain 111(shadowCoord) 22 - 136: 24(float) Load 135 - 140: 134(bool) FOrdGreaterThan 136 137 - SelectionMerge 142 None - BranchConditional 140 141 142 - 141: Label - 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41 - 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 133 133 12 12 - 145: 30(ptr) AccessChain 111(shadowCoord) 22 - 146: 24(float) Load 145 - 148: 134(bool) FOrdLessThan 146 108 - Branch 142 - 142: Label - 149: 134(bool) Phi 140 42 148 141 - SelectionMerge 151 None - BranchConditional 149 150 151 - 150: Label - 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41 - 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 154 154 12 12 - 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 156 155(dist) 48 - 172: 164 Load 169(samplerShadowMap) - 173: 27(fvec4) Load 111(shadowCoord) - 174: 31(fvec2) VectorShuffle 173 173 0 1 - 175: 31(fvec2) Load 38(offset) - 176: 31(fvec2) FAdd 174 175 - 177: 24(float) Load 37(layer) - 178: 24(float) CompositeExtract 176 0 - 179: 24(float) CompositeExtract 176 1 - 180: 70(fvec3) CompositeConstruct 178 179 177 - 181: 27(fvec4) ImageSampleImplicitLod 172 180 - 182: 24(float) CompositeExtract 181 0 - Store 155(dist) 182 - 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 184 184 12 12 - 185: 30(ptr) AccessChain 111(shadowCoord) 13 - 186: 24(float) Load 185 - 189: 134(bool) FOrdGreaterThan 186 187 - SelectionMerge 191 None - BranchConditional 189 190 191 - 190: Label - 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41 - 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 184 184 12 12 - 194: 24(float) Load 155(dist) - 195: 30(ptr) AccessChain 111(shadowCoord) 22 - 196: 24(float) Load 195 - 198: 134(bool) FOrdLessThan 194 196 - Branch 191 - 191: Label - 199: 134(bool) Phi 189 150 198 190 - SelectionMerge 201 None - BranchConditional 199 200 201 - 200: Label - 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41 - 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 204 204 12 12 - Store 105(shadow) 205 - Branch 201 - 201: Label - Branch 151 - 151: Label - 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41 - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 208 208 12 12 - 209: 24(float) Load 105(shadow) - ReturnValue 209 +33(textureProj(vf4;f1;vf2;): 16(float) Function None 28 + 30(P): 22(ptr) FunctionParameter + 31(layer): 23(ptr) FunctionParameter + 32(offset): 27(ptr) FunctionParameter + 34: Label + 109(shadow): 23(ptr) Variable Function +115(shadowCoord): 22(ptr) Variable Function + 159(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 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 31(layer) 47 + 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 51 32(offset) 47 + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 36 33(textureProj(vf4;f1;vf2;) + 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 108 108 12 12 + 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 110 109(shadow) 47 + Store 109(shadow) 112 + 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 114 114 12 12 + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 116 115(shadowCoord) 47 + 119: 19(fvec4) Load 30(P) + 120: 23(ptr) AccessChain 30(P) 13 + 121: 16(float) Load 120 + 122: 19(fvec4) CompositeConstruct 121 121 121 121 + 123: 19(fvec4) FDiv 119 122 + Store 115(shadowCoord) 123 + 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 125 125 12 12 + 126: 19(fvec4) Load 115(shadowCoord) + 127: 24(fvec2) VectorShuffle 126 126 0 1 + 129: 24(fvec2) VectorTimesScalar 127 128 + 130: 24(fvec2) CompositeConstruct 128 128 + 131: 24(fvec2) FAdd 129 130 + 132: 23(ptr) AccessChain 115(shadowCoord) 12 + 133: 16(float) CompositeExtract 131 0 + Store 132 133 + 134: 23(ptr) AccessChain 115(shadowCoord) 41 + 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 FunctionEnd Line 1 76 37 -59(filterPCF(vf4;f1;): 24(float) Function None 55 - 57(sc): 29(ptr) FunctionParameter - 58(layer): 30(ptr) FunctionParameter - 62: Label - 219(texDim): 218(ptr) Variable Function - 231(scale): 30(ptr) Variable Function - 238(dx): 30(ptr) Variable Function - 251(dy): 30(ptr) Variable Function -263(shadowFactor): 30(ptr) Variable Function - 269(count): 244(ptr) Variable Function - 275(range): 244(ptr) Variable Function - 282(x): 244(ptr) Variable Function - 304(y): 244(ptr) Variable Function - 335(param): 29(ptr) Variable Function - 337(param): 30(ptr) Variable Function - 339(param): 33(ptr) Variable Function +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 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 65 57(sc) 48 - 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 68 58(layer) 48 - 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 59(filterPCF(vf4;f1;) - 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 215 215 12 12 - 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 220 219(texDim) 48 - 223: 164 Load 169(samplerShadowMap) - 224: 159 Image 223 - 227: 225(ivec3) ImageQuerySizeLod 224 100 - 228: 216(ivec2) VectorShuffle 227 227 0 1 - Store 219(texDim) 228 - 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 230 230 12 12 - 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 232 231(scale) 48 - Store 231(scale) 235 - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 237 237 12 12 - 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 239 238(dx) 48 - 242: 24(float) Load 231(scale) - 243: 24(float) FMul 242 108 - 245: 244(ptr) AccessChain 219(texDim) 12 - 246: 92(int) Load 245 - 247: 24(float) ConvertSToF 246 - 248: 24(float) FDiv 243 247 - Store 238(dx) 248 - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 250 250 12 12 - 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 252 251(dy) 48 - 255: 24(float) Load 231(scale) - 256: 24(float) FMul 255 108 - 257: 244(ptr) AccessChain 219(texDim) 20 - 258: 92(int) Load 257 - 259: 24(float) ConvertSToF 258 - 260: 24(float) FDiv 256 259 - Store 251(dy) 260 - 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 262 262 12 12 - 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 264 263(shadowFactor) 48 - Store 263(shadowFactor) 187 - 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 268 268 12 12 - 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 270 269(count) 48 - Store 269(count) 100 - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 274 274 12 12 - 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 276 275(range) 48 - Store 275(range) 279 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 281 281 12 12 - 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 283 282(x) 48 - 286: 92(int) Load 275(range) - 287: 92(int) SNegate 286 - Store 282(x) 287 - Branch 288 - 288: Label - 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 281 281 12 12 - LoopMerge 290 291 None - Branch 294 - 294: Label - 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 281 281 12 12 - 297: 92(int) Load 282(x) - 298: 92(int) Load 275(range) - 300: 134(bool) SLessThanEqual 297 298 - BranchConditional 300 289 290 - 289: Label - 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 303 303 12 12 - 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(y) 48 - 308: 92(int) Load 275(range) - 309: 92(int) SNegate 308 - Store 304(y) 309 - Branch 310 - 310: Label - 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 303 303 12 12 - LoopMerge 312 313 None - Branch 316 + 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 - 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 303 303 12 12 - 319: 92(int) Load 304(y) - 320: 92(int) Load 275(range) - 322: 134(bool) SLessThanEqual 319 320 - BranchConditional 322 311 312 - 311: Label - 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 325 325 12 12 - 326: 24(float) Load 238(dx) - 327: 92(int) Load 282(x) - 328: 24(float) ConvertSToF 327 - 329: 24(float) FMul 326 328 - 330: 24(float) Load 251(dy) - 331: 92(int) Load 304(y) - 332: 24(float) ConvertSToF 331 - 333: 24(float) FMul 330 332 - 334: 31(fvec2) CompositeConstruct 329 333 - 336: 27(fvec4) Load 57(sc) - Store 335(param) 336 - 338: 24(float) Load 58(layer) - Store 337(param) 338 - Store 339(param) 334 - 340: 24(float) FunctionCall 39(textureProj(vf4;f1;vf2;) 335(param) 337(param) 339(param) - 341: 24(float) Load 263(shadowFactor) - 342: 24(float) FAdd 341 340 - Store 263(shadowFactor) 342 - 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 344 344 12 12 - 345: 92(int) Load 269(count) - 346: 92(int) IAdd 345 279 - Store 269(count) 346 - Branch 313 - 313: Label - 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 303 303 12 12 - 349: 92(int) Load 304(y) - 350: 92(int) IAdd 349 279 - Store 304(y) 350 - Branch 310 - 312: Label - Branch 291 - 291: Label - 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 281 281 12 12 - 353: 92(int) Load 282(x) - 354: 92(int) IAdd 353 279 - Store 282(x) 354 - Branch 288 - 290: Label - 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 357 357 12 12 - 358: 24(float) Load 263(shadowFactor) - 359: 92(int) Load 269(count) - 360: 24(float) ConvertSToF 359 - 361: 24(float) FDiv 358 360 - ReturnValue 361 + 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 FunctionEnd Line 1 99 41 77(shadow(vf3;vf3;): 70(fvec3) Function None 73 75(fragcolor): 72(ptr) FunctionParameter 76(fragpos): 72(ptr) FunctionParameter - 80: Label - 368(i): 244(ptr) Variable Function - 388(shadowClip): 29(ptr) Variable Function -436(shadowFactor): 30(ptr) Variable Function - 441(param): 29(ptr) Variable Function - 443(param): 30(ptr) Variable Function - 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79 - 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12 - 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 83 75(fragcolor) 48 - 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 76(fragpos) 48 - 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 79 77(shadow(vf3;vf3;) - 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79 - 366: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 367 367 12 12 - 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 369 368(i) 48 - Store 368(i) 100 - Branch 372 - 372: Label - 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79 - 377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 367 367 12 12 - LoopMerge 374 375 None - Branch 378 + 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 + 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 - 379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79 - 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 367 367 12 12 - 381: 92(int) Load 368(i) - 384: 134(bool) SLessThan 381 382 - BranchConditional 384 373 374 - 373: Label - 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79 - 386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 387 387 12 12 - 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 389 388(shadowClip) 48 - 424: 92(int) Load 368(i) - 426: 425(ptr) AccessChain 421(ubo) 279 424 382 - 427: 392 Load 426 - 428: 70(fvec3) Load 76(fragpos) - 429: 24(float) CompositeExtract 428 0 - 430: 24(float) CompositeExtract 428 1 - 431: 24(float) CompositeExtract 428 2 - 432: 27(fvec4) CompositeConstruct 429 430 431 108 - 433: 27(fvec4) MatrixTimesVector 427 432 - Store 388(shadowClip) 433 - 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 435 435 12 12 - 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 437 436(shadowFactor) 48 - 439: 92(int) Load 368(i) - 440: 24(float) ConvertSToF 439 - 442: 27(fvec4) Load 388(shadowClip) - Store 441(param) 442 - Store 443(param) 440 - 444: 24(float) FunctionCall 59(filterPCF(vf4;f1;) 441(param) 443(param) - Store 436(shadowFactor) 444 - 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 446 446 12 12 - 447: 24(float) Load 436(shadowFactor) - 448: 70(fvec3) Load 75(fragcolor) - 449: 70(fvec3) VectorTimesScalar 448 447 - Store 75(fragcolor) 449 - Branch 375 - 375: Label - 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79 - 451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 367 367 12 12 - 452: 92(int) Load 368(i) - 453: 92(int) IAdd 452 279 - Store 368(i) 453 - Branch 372 - 374: Label - 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 79 - 455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 456 456 12 12 - 457: 70(fvec3) Load 75(fragcolor) - ReturnValue 457 + 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 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.geom.out b/Test/baseResults/spv.debuginfo.glsl.geom.out index 84b98074..51a67155 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 256 +// Id's are bound by 257 Capability Geometry Capability MultiViewport @@ -9,15 +9,15 @@ spv.debuginfo.glsl.geom 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Geometry 14 "main" 62 94 113 123 126 157 196 205 222 234 240 243 + EntryPoint Geometry 14 "main" 63 95 114 124 127 158 197 206 223 235 241 244 ExecutionMode 14 Triangles ExecutionMode 14 Invocations 2 ExecutionMode 14 OutputTriangleStrip ExecutionMode 14 OutputVertices 3 1: String "" 8: String "uint" - 15: String "main" - 18: String "// OpModuleProcessed auto-map-locations + 16: String "main" + 19: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -25,98 +25,98 @@ spv.debuginfo.glsl.geom // OpModuleProcessed entry-point main #line 1 " - 29: String "int" - 34: String "i" - 50: String "bool" - 57: String "float" - 64: String "outNormal" - 77: String "projection" - 81: String "modelview" - 84: String "lightPos" - 87: String "UBO" - 91: String "ubo" - 96: String "gl_InvocationID" - 115: String "inNormal" - 125: String "outColor" - 128: String "inColor" - 137: String "pos" - 143: String "gl_Position" - 146: String "gl_PointSize" - 149: String "gl_CullDistance" - 153: String "gl_PerVertex" - 159: String "gl_in" - 168: String "worldPos" - 180: String "lPos" - 198: String "outLightVec" - 207: String "outViewVec" - 236: String "gl_ViewportIndex" - 242: String "gl_PrimitiveID" - 245: String "gl_PrimitiveIDIn" + 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" SourceExtension "GL_ARB_viewport_array" Name 14 "main" - Name 32 "i" - Name 62 "outNormal" - Name 75 "UBO" - MemberName 75(UBO) 0 "projection" - MemberName 75(UBO) 1 "modelview" - MemberName 75(UBO) 2 "lightPos" - Name 89 "ubo" - Name 94 "gl_InvocationID" - Name 113 "inNormal" - Name 123 "outColor" - Name 126 "inColor" - Name 135 "pos" - Name 141 "gl_PerVertex" - MemberName 141(gl_PerVertex) 0 "gl_Position" - MemberName 141(gl_PerVertex) 1 "gl_PointSize" - MemberName 141(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 141(gl_PerVertex) 3 "gl_CullDistance" - Name 157 "gl_in" - Name 166 "worldPos" - Name 178 "lPos" - Name 196 "outLightVec" - Name 205 "outViewVec" - Name 213 "gl_PerVertex" - MemberName 213(gl_PerVertex) 0 "gl_Position" - MemberName 213(gl_PerVertex) 1 "gl_PointSize" - MemberName 213(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 213(gl_PerVertex) 3 "gl_CullDistance" - Name 222 "" - Name 234 "gl_ViewportIndex" - Name 240 "gl_PrimitiveID" - Name 243 "gl_PrimitiveIDIn" - Decorate 62(outNormal) Location 0 - Decorate 71 ArrayStride 64 - Decorate 73 ArrayStride 64 - MemberDecorate 75(UBO) 0 ColMajor - MemberDecorate 75(UBO) 0 Offset 0 - MemberDecorate 75(UBO) 0 MatrixStride 16 - MemberDecorate 75(UBO) 1 ColMajor - MemberDecorate 75(UBO) 1 Offset 128 - MemberDecorate 75(UBO) 1 MatrixStride 16 - MemberDecorate 75(UBO) 2 Offset 256 - Decorate 75(UBO) Block - Decorate 89(ubo) DescriptorSet 0 - Decorate 89(ubo) Binding 0 - Decorate 94(gl_InvocationID) BuiltIn InvocationId - Decorate 113(inNormal) Location 0 - Decorate 123(outColor) Location 1 - Decorate 126(inColor) Location 1 - MemberDecorate 141(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 141(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 141(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 141(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 141(gl_PerVertex) Block - Decorate 196(outLightVec) Location 3 - Decorate 205(outViewVec) Location 2 - MemberDecorate 213(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 213(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 213(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 213(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 213(gl_PerVertex) Block - Decorate 234(gl_ViewportIndex) BuiltIn ViewportIndex - Decorate 240(gl_PrimitiveID) BuiltIn PrimitiveId - Decorate 243(gl_PrimitiveIDIn) BuiltIn PrimitiveId + 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 + 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 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -126,239 +126,240 @@ spv.debuginfo.glsl.geom 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 - 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18 - 20: 7(int) Constant 1 - 21: 7(int) Constant 4 - 22: 7(int) Constant 2 - 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22 - 16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12 - 27: 7(int) Constant 49 - 28: TypeInt 32 1 - 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 21 12 - 31: TypePointer Function 28(int) - 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 34 30 17 27 12 16 21 - 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 37: 28(int) Constant 0 - 48: 28(int) Constant 3 - 49: TypeBool - 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 10 22 12 - 55: 7(int) Constant 51 - 56: TypeFloat 32 - 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 13 12 - 59: TypeVector 56(float) 3 - 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 58 13 - 61: TypePointer Output 59(fvec3) - 62(outNormal): 61(ptr) Variable Output - 65: 7(int) Constant 8 - 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 60 17 55 12 19 64 62(outNormal) 65 - 66: TypeVector 56(float) 4 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 58 21 - 68: TypeMatrix 66(fvec4) 4 - 70: 49(bool) ConstantTrue - 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 67 21 70 - 71: TypeArray 68 22 - 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 69 22 - 73: TypeArray 68 22 - 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 69 22 - 75(UBO): TypeStruct 71 73 66(fvec4) - 78: 7(int) Constant 34 - 79: 7(int) Constant 7 - 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 77 72 17 78 79 12 12 13 - 82: 7(int) Constant 35 - 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 74 17 82 79 12 12 13 - 85: 7(int) Constant 36 - 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 84 67 17 85 79 12 12 13 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 87 20 17 55 12 19 87 12 13 76 80 83 - 88: TypePointer Uniform 75(UBO) - 89(ubo): 88(ptr) Variable Uniform - 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 91 86 17 55 12 19 91 89(ubo) 65 - 92: 28(int) Constant 1 - 93: TypePointer Input 28(int) -94(gl_InvocationID): 93(ptr) Variable Input - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 96 30 17 55 12 19 96 94(gl_InvocationID) 65 - 98: TypePointer Uniform 68 - 101: TypeMatrix 59(fvec3) 3 - 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 60 13 70 - 110: TypeArray 59(fvec3) 13 - 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 60 13 - 112: TypePointer Input 110 - 113(inNormal): 112(ptr) Variable Input - 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 115 111 17 55 12 19 115 113(inNormal) 65 - 117: TypePointer Input 59(fvec3) - 122: 7(int) Constant 52 - 123(outColor): 61(ptr) Variable Output - 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 60 17 122 12 19 125 123(outColor) 65 - 126(inColor): 112(ptr) Variable Input - 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 128 111 17 122 12 19 128 126(inColor) 65 - 133: 7(int) Constant 54 - 134: TypePointer Function 66(fvec4) - 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 137 67 17 133 12 16 21 - 139: TypeArray 56(float) 20 - 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 58 20 -141(gl_PerVertex): TypeStruct 66(fvec4) 56(float) 139 139 - 144: 7(int) Constant 23 - 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 143 67 17 22 144 12 12 13 - 147: 7(int) Constant 41 - 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 58 17 22 147 12 12 13 - 150: 7(int) Constant 84 - 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 22 150 12 12 13 - 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 22 150 12 12 13 - 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 20 17 133 12 19 153 12 13 142 145 148 151 - 154: TypeArray 141(gl_PerVertex) 13 - 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 152 13 - 156: TypePointer Input 154 - 157(gl_in): 156(ptr) Variable Input - 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 159 155 17 133 12 19 159 157(gl_in) 65 - 161: TypePointer Input 66(fvec4) - 165: 7(int) Constant 55 - 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 168 67 17 165 12 16 21 - 176: 7(int) Constant 57 - 177: TypePointer Function 59(fvec3) - 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 180 60 17 176 12 16 21 - 185: 28(int) Constant 2 - 186: TypePointer Uniform 66(fvec4) - 195: 7(int) Constant 58 -196(outLightVec): 61(ptr) Variable Output - 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 198 60 17 195 12 19 198 196(outLightVec) 65 - 204: 7(int) Constant 59 - 205(outViewVec): 61(ptr) Variable Output - 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 207 60 17 204 12 19 207 205(outViewVec) 65 - 212: 7(int) Constant 61 -213(gl_PerVertex): TypeStruct 66(fvec4) 56(float) 139 139 - 215: 7(int) Constant 215 - 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 143 67 17 22 215 12 12 13 - 217: 7(int) Constant 233 - 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 58 17 22 217 12 12 13 - 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 13 79 12 12 13 - 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 13 79 12 12 13 - 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 20 17 212 12 19 153 12 13 214 216 218 219 - 221: TypePointer Output 213(gl_PerVertex) - 222: 221(ptr) Variable Output - 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 220 17 212 12 19 1 222 65 - 229: TypePointer Output 66(fvec4) - 232: 7(int) Constant 64 - 233: TypePointer Output 28(int) -234(gl_ViewportIndex): 233(ptr) Variable Output - 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 236 30 17 232 12 19 236 234(gl_ViewportIndex) 65 - 239: 7(int) Constant 65 -240(gl_PrimitiveID): 233(ptr) Variable Output - 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 242 30 17 239 12 19 242 240(gl_PrimitiveID) 65 -243(gl_PrimitiveIDIn): 93(ptr) Variable Input - 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 245 30 17 239 12 19 245 243(gl_PrimitiveIDIn) 65 - 248: 7(int) Constant 66 - 255: 7(int) Constant 68 + 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19 + 20: 7(int) Constant 47 + 22: 7(int) Constant 1 + 23: 7(int) Constant 4 + 24: 7(int) Constant 2 + 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24 + 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20 + 28: 7(int) Constant 49 + 29: TypeInt 32 1 + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 23 12 + 32: TypePointer Function 29(int) + 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 35 31 18 28 12 17 23 + 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 38: 29(int) Constant 0 + 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 Line 1 47 15 14(main): 4 Function None 5 - 23: Label - 32(i): 31(ptr) Variable Function - 135(pos): 134(ptr) Variable Function - 166(worldPos): 134(ptr) Variable Function - 178(lPos): 177(ptr) Variable Function - 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main) - 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12 - 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 33 32(i) 36 - Store 32(i) 37 - Branch 38 - 38: Label - 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12 - LoopMerge 40 41 None - Branch 44 - 44: Label - 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12 - 47: 28(int) Load 32(i) - 52: 49(bool) SLessThan 47 48 - BranchConditional 52 39 40 - 39: Label - 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 55 55 12 12 - 97: 28(int) Load 94(gl_InvocationID) - 99: 98(ptr) AccessChain 89(ubo) 92 97 - 100: 68 Load 99 - 103: 66(fvec4) CompositeExtract 100 0 - 104: 59(fvec3) VectorShuffle 103 103 0 1 2 - 105: 66(fvec4) CompositeExtract 100 1 - 106: 59(fvec3) VectorShuffle 105 105 0 1 2 - 107: 66(fvec4) CompositeExtract 100 2 - 108: 59(fvec3) VectorShuffle 107 107 0 1 2 - 109: 101 CompositeConstruct 104 106 108 - 116: 28(int) Load 32(i) - 118: 117(ptr) AccessChain 113(inNormal) 116 - 119: 59(fvec3) Load 118 - 120: 59(fvec3) MatrixTimesVector 109 119 - Store 62(outNormal) 120 - 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 122 122 12 12 - 129: 28(int) Load 32(i) - 130: 117(ptr) AccessChain 126(inColor) 129 - 131: 59(fvec3) Load 130 - Store 123(outColor) 131 - 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 133 133 12 12 - 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 135(pos) 36 - 160: 28(int) Load 32(i) - 162: 161(ptr) AccessChain 157(gl_in) 160 37 - 163: 66(fvec4) Load 162 - Store 135(pos) 163 - 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 165 165 12 12 - 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 167 166(worldPos) 36 - 170: 28(int) Load 94(gl_InvocationID) - 171: 98(ptr) AccessChain 89(ubo) 92 170 - 172: 68 Load 171 - 173: 66(fvec4) Load 135(pos) - 174: 66(fvec4) MatrixTimesVector 172 173 - Store 166(worldPos) 174 - 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 176 176 12 12 - 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 179 178(lPos) 36 - 182: 28(int) Load 94(gl_InvocationID) - 183: 98(ptr) AccessChain 89(ubo) 92 182 - 184: 68 Load 183 - 187: 186(ptr) AccessChain 89(ubo) 185 - 188: 66(fvec4) Load 187 - 189: 66(fvec4) MatrixTimesVector 184 188 - 190: 56(float) CompositeExtract 189 0 - 191: 56(float) CompositeExtract 189 1 - 192: 56(float) CompositeExtract 189 2 - 193: 59(fvec3) CompositeConstruct 190 191 192 - Store 178(lPos) 193 - 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 195 195 12 12 - 199: 59(fvec3) Load 178(lPos) - 200: 66(fvec4) Load 166(worldPos) - 201: 59(fvec3) VectorShuffle 200 200 0 1 2 - 202: 59(fvec3) FSub 199 201 - Store 196(outLightVec) 202 - 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 204 204 12 12 - 208: 66(fvec4) Load 166(worldPos) - 209: 59(fvec3) VectorShuffle 208 208 0 1 2 - 210: 59(fvec3) FNegate 209 - Store 205(outViewVec) 210 - 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 212 212 12 12 - 224: 28(int) Load 94(gl_InvocationID) - 225: 98(ptr) AccessChain 89(ubo) 37 224 - 226: 68 Load 225 - 227: 66(fvec4) Load 166(worldPos) - 228: 66(fvec4) MatrixTimesVector 226 227 - 230: 229(ptr) AccessChain 222 37 - Store 230 228 - 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 232 232 12 12 - 237: 28(int) Load 94(gl_InvocationID) - Store 234(gl_ViewportIndex) 237 - 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 239 239 12 12 - 246: 28(int) Load 243(gl_PrimitiveIDIn) - Store 240(gl_PrimitiveID) 246 - 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 248 248 12 12 + 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 + 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 + 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 34 33(i) 37 + Store 33(i) 38 + Branch 39 + 39: Label + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 + LoopMerge 41 42 None + Branch 45 + 45: Label + 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 + 48: 29(int) Load 33(i) + 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 EmitVertex - Branch 41 - 41: Label - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12 - 251: 28(int) Load 32(i) - 252: 28(int) IAdd 251 92 - Store 32(i) 252 - Branch 38 - 40: Label - 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 255 255 12 12 + 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 + 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 EndPrimitive Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.tesc.out b/Test/baseResults/spv.debuginfo.glsl.tesc.out index b19528cb..17ac1550 100644 --- a/Test/baseResults/spv.debuginfo.glsl.tesc.out +++ b/Test/baseResults/spv.debuginfo.glsl.tesc.out @@ -1,19 +1,20 @@ spv.debuginfo.glsl.tesc // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 542 +// Id's are bound by 545 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" 249 253 279 370 383 498 512 519 533 + EntryPoint TessellationControl 14 "main" 252 256 282 373 386 501 515 522 536 ExecutionMode 14 OutputVertices 4 1: String "" 8: String "uint" - 15: String "main" - 18: String "// OpModuleProcessed auto-map-locations + 17: String "float" + 29: String "screenSpaceTessFactor" + 32: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -21,132 +22,131 @@ spv.debuginfo.glsl.tesc // OpModuleProcessed entry-point main #line 1 " - 25: String "float" - 35: String "screenSpaceTessFactor" - 41: String "p0" - 45: String "p1" - 48: String "bool" + 40: String "p0" + 44: String "p1" + 47: String "bool" 53: String "frustumCheck" - 62: String "midPoint" - 74: String "radius" - 85: String "v0" - 96: String "modelview" - 101: String "lightPos" - 104: String "frustumPlanes" - 106: String "tessellatedEdgeSize" - 111: String "viewportDim" - 115: String "UBO" - 119: String "ubo" - 121: String "int" - 133: String "clip0" - 154: String "clip1" - 229: String "pos" - 235: String "gl_Position" - 238: String "gl_PointSize" - 241: String "gl_CullDistance" - 245: String "gl_PerVertex" - 251: String "gl_in" - 255: String "gl_InvocationID" - 264: String "type.2d.image" - 265: String "@type.2d.image" - 269: String "type.sampled.image" - 270: String "@type.sampled.image" - 274: String "samplerHeight" - 281: String "inUV" - 300: String "i" - 372: String "gl_TessLevelInner" - 385: String "gl_TessLevelOuter" - 500: String "gl_out" - 514: String "outNormal" - 521: String "inNormal" - 535: String "outUV" + 56: String "main" + 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" Name 14 "main" - Name 34 "screenSpaceTessFactor(vf4;vf4;" - Name 32 "p0" - Name 33 "p1" - Name 52 "frustumCheck(" - Name 60 "midPoint" - Name 72 "radius" - Name 83 "v0" - Name 94 "UBO" - MemberName 94(UBO) 0 "projection" - MemberName 94(UBO) 1 "modelview" - MemberName 94(UBO) 2 "lightPos" - MemberName 94(UBO) 3 "frustumPlanes" - MemberName 94(UBO) 4 "displacementFactor" - MemberName 94(UBO) 5 "tessellationFactor" - MemberName 94(UBO) 6 "viewportDim" - MemberName 94(UBO) 7 "tessellatedEdgeSize" - Name 117 "ubo" - Name 131 "clip0" - Name 152 "clip1" - Name 227 "pos" - Name 233 "gl_PerVertex" - MemberName 233(gl_PerVertex) 0 "gl_Position" - MemberName 233(gl_PerVertex) 1 "gl_PointSize" - MemberName 233(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 233(gl_PerVertex) 3 "gl_CullDistance" - Name 249 "gl_in" - Name 253 "gl_InvocationID" - Name 272 "samplerHeight" - Name 279 "inUV" - Name 298 "i" - Name 370 "gl_TessLevelInner" - Name 383 "gl_TessLevelOuter" - Name 410 "param" + Name 27 "screenSpaceTessFactor(vf4;vf4;" + Name 25 "p0" + Name 26 "p1" + Name 51 "frustumCheck(" + 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 420 "param" + Name 416 "param" Name 423 "param" - Name 430 "param" + Name 426 "param" Name 433 "param" - Name 440 "param" + Name 436 "param" Name 443 "param" - Name 487 "gl_PerVertex" - MemberName 487(gl_PerVertex) 0 "gl_Position" - MemberName 487(gl_PerVertex) 1 "gl_PointSize" - MemberName 487(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 487(gl_PerVertex) 3 "gl_CullDistance" - Name 498 "gl_out" - Name 512 "outNormal" - Name 519 "inNormal" - Name 533 "outUV" - Decorate 90 ArrayStride 16 - MemberDecorate 94(UBO) 0 ColMajor - MemberDecorate 94(UBO) 0 Offset 0 - MemberDecorate 94(UBO) 0 MatrixStride 16 - MemberDecorate 94(UBO) 1 ColMajor - MemberDecorate 94(UBO) 1 Offset 64 - MemberDecorate 94(UBO) 1 MatrixStride 16 - MemberDecorate 94(UBO) 2 Offset 128 - MemberDecorate 94(UBO) 3 Offset 144 - MemberDecorate 94(UBO) 4 Offset 240 - MemberDecorate 94(UBO) 5 Offset 244 - MemberDecorate 94(UBO) 6 Offset 248 - MemberDecorate 94(UBO) 7 Offset 256 - Decorate 94(UBO) Block - Decorate 117(ubo) DescriptorSet 0 - Decorate 117(ubo) Binding 0 - MemberDecorate 233(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 233(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 233(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 233(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 233(gl_PerVertex) Block - Decorate 253(gl_InvocationID) BuiltIn InvocationId - Decorate 272(samplerHeight) DescriptorSet 0 - Decorate 272(samplerHeight) Binding 1 - Decorate 279(inUV) Location 1 - Decorate 370(gl_TessLevelInner) Patch - Decorate 370(gl_TessLevelInner) BuiltIn TessLevelInner - Decorate 383(gl_TessLevelOuter) Patch - Decorate 383(gl_TessLevelOuter) BuiltIn TessLevelOuter - MemberDecorate 487(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 487(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 487(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 487(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 487(gl_PerVertex) Block - Decorate 512(outNormal) Location 0 - Decorate 519(inNormal) Location 0 - Decorate 533(outUV) Location 1 + 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 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -156,558 +156,561 @@ spv.debuginfo.glsl.tesc 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 - 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18 - 20: 7(int) Constant 1 - 21: 7(int) Constant 4 - 22: 7(int) Constant 2 - 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22 - 16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12 - 24: TypeFloat 32 - 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 10 13 12 - 27: TypeVector 24(float) 4 - 28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 21 - 29: TypePointer Function 27(fvec4) - 30: TypeFunction 24(float) 29(ptr) 29(ptr) - 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 26 28 28 - 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 35 31 17 12 12 19 35 13 12 - 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 41 28 17 12 12 36 21 20 - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 28 17 12 12 36 21 22 - 47: TypeBool - 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 22 12 - 50: TypeFunction 47(bool) - 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 49 - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 53 51 17 12 12 19 53 13 12 - 59: 7(int) Constant 54 - 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 62 28 17 59 12 36 21 - 64: 24(float) Constant 1056964608 - 70: 7(int) Constant 56 - 71: TypePointer Function 24(float) - 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 74 26 17 70 12 36 21 - 79: 24(float) Constant 1073741824 - 82: 7(int) Constant 59 - 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 28 17 82 12 36 21 - 87: TypeMatrix 27(fvec4) 4 - 89: 47(bool) ConstantTrue - 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 28 21 89 - 90: TypeArray 27(fvec4) 11 - 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 28 11 - 92: TypeVector 24(float) 2 - 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 22 - 94(UBO): TypeStruct 87 87 27(fvec4) 90 24(float) 24(float) 92(fvec2) 24(float) - 97: 7(int) Constant 30 - 98: 7(int) Constant 7 - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 96 88 17 97 98 12 12 13 - 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 96 88 17 97 98 12 12 13 - 102: 7(int) Constant 31 - 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 101 28 17 102 98 12 12 13 - 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 104 91 17 10 98 12 12 13 - 107: 7(int) Constant 36 - 108: 7(int) Constant 8 - 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 106 26 17 107 108 12 12 13 - 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 106 26 17 107 108 12 12 13 - 112: 7(int) Constant 35 - 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 111 93 17 112 98 12 12 13 - 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 106 26 17 107 108 12 12 13 - 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 115 20 17 82 12 19 115 12 13 95 99 100 103 105 109 110 113 - 116: TypePointer Uniform 94(UBO) - 117(ubo): 116(ptr) Variable Uniform - 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 119 114 17 82 12 19 119 117(ubo) 108 - 120: TypeInt 32 1 - 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 121 10 21 12 - 123: 120(int) Constant 1 - 124: TypePointer Uniform 87 - 130: 7(int) Constant 62 - 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 133 28 17 130 12 36 21 - 135: 120(int) Constant 0 - 140: TypeVector 24(float) 3 - 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 13 - 142: 24(float) Constant 0 - 143: 140(fvec3) ConstantComposite 142 142 142 - 151: 7(int) Constant 63 - 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 154 28 17 151 12 36 21 - 167: 7(int) Constant 66 - 174: 7(int) Constant 67 - 181: 7(int) Constant 70 - 182: 120(int) Constant 6 - 183: TypePointer Uniform 92(fvec2) - 194: 7(int) Constant 71 - 205: 7(int) Constant 76 - 209: 120(int) Constant 7 - 210: TypePointer Uniform 24(float) - 214: 120(int) Constant 5 - 218: 24(float) Constant 1065353216 - 219: 24(float) Constant 1115684864 - 226: 7(int) Constant 85 - 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 229 28 17 226 12 54 21 - 231: TypeArray 24(float) 20 - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 26 20 -233(gl_PerVertex): TypeStruct 27(fvec4) 24(float) 231 231 - 236: 7(int) Constant 1756 - 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 28 17 20 236 12 12 13 - 239: 7(int) Constant 1774 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 26 17 20 239 12 12 13 - 242: 7(int) Constant 1817 - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 232 17 20 242 12 12 13 - 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 232 17 20 242 12 12 13 - 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 245 20 17 226 12 19 245 12 13 234 237 240 243 - 246: TypeArray 233(gl_PerVertex) 10 - 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 244 10 - 248: TypePointer Input 246 - 249(gl_in): 248(ptr) Variable Input - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 251 247 17 226 12 19 251 249(gl_in) 108 - 252: TypePointer Input 120(int) -253(gl_InvocationID): 252(ptr) Variable Input - 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 255 122 17 226 12 19 255 253(gl_InvocationID) 108 - 257: TypePointer Input 27(fvec4) - 261: 7(int) Constant 86 - 262: TypeImage 24(float) 2D sampled format:Unknown - 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 264 12 17 261 12 19 265 266 13 - 267: TypeSampledImage 262 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 269 12 17 261 12 19 270 266 13 - 271: TypePointer UniformConstant 267 -272(samplerHeight): 271(ptr) Variable UniformConstant - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 274 268 17 261 12 19 274 272(samplerHeight) 108 - 276: TypeArray 92(fvec2) 10 - 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 93 10 - 278: TypePointer Input 276 - 279(inUV): 278(ptr) Variable Input - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 281 277 17 261 12 19 281 279(inUV) 108 - 282: TypePointer Input 92(fvec2) - 287: 120(int) Constant 4 - 296: 7(int) Constant 89 - 297: TypePointer Function 120(int) - 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 300 122 17 296 12 54 21 - 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 22 12 - 316: 7(int) Constant 90 - 318: 120(int) Constant 3 - 320: TypePointer Uniform 27(fvec4) - 324: 24(float) Constant 1090519040 - 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 22 12 - 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 22 12 - 331: 47(bool) ConstantFalse - 334: 7(int) Constant 92 - 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 22 12 - 343: 7(int) Constant 95 - 349: 7(int) Constant 100 - 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 22 12 - 357: 7(int) Constant 102 - 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 22 12 - 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 22 12 - 366: 7(int) Constant 104 - 367: TypeArray 24(float) 22 - 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 26 22 - 369: TypePointer Output 367 -370(gl_TessLevelInner): 369(ptr) Variable Output - 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 372 368 17 366 12 19 372 370(gl_TessLevelInner) 108 - 373: TypePointer Output 24(float) - 376: 7(int) Constant 105 - 379: 7(int) Constant 106 - 380: TypeArray 24(float) 21 - 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 26 21 - 382: TypePointer Output 380 -383(gl_TessLevelOuter): 382(ptr) Variable Output - 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 385 381 17 379 12 19 385 383(gl_TessLevelOuter) 108 - 388: 7(int) Constant 107 - 391: 7(int) Constant 108 - 392: 120(int) Constant 2 - 395: 7(int) Constant 109 - 400: 7(int) Constant 113 - 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 22 12 - 409: 7(int) Constant 115 - 419: 7(int) Constant 116 - 429: 7(int) Constant 117 - 439: 7(int) Constant 118 - 449: 7(int) Constant 119 - 457: 7(int) Constant 120 - 467: 7(int) Constant 126 - 470: 7(int) Constant 127 - 473: 7(int) Constant 128 - 476: 7(int) Constant 129 - 479: 7(int) Constant 130 - 482: 7(int) Constant 131 - 486: 7(int) Constant 137 -487(gl_PerVertex): TypeStruct 27(fvec4) 24(float) 231 231 - 489: 7(int) Constant 110 - 488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 28 17 20 489 12 12 13 - 490: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 26 17 20 473 12 12 13 - 492: 7(int) Constant 171 - 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 232 17 20 492 12 12 13 - 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 232 17 20 492 12 12 13 - 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 245 20 17 486 12 19 245 12 13 488 490 491 493 - 495: TypeArray 487(gl_PerVertex) 21 - 496: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 494 21 - 497: TypePointer Output 495 - 498(gl_out): 497(ptr) Variable Output - 499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 500 496 17 486 12 19 500 498(gl_out) 108 - 505: TypePointer Output 27(fvec4) - 508: 7(int) Constant 138 - 509: TypeArray 140(fvec3) 21 - 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 141 21 - 511: TypePointer Output 509 - 512(outNormal): 511(ptr) Variable Output - 513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 514 510 17 508 12 19 514 512(outNormal) 108 - 516: TypeArray 140(fvec3) 10 - 517: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 141 10 - 518: TypePointer Input 516 - 519(inNormal): 518(ptr) Variable Input - 520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 521 517 17 508 12 19 521 519(inNormal) 108 - 523: TypePointer Input 140(fvec3) - 526: TypePointer Output 140(fvec3) - 529: 7(int) Constant 139 - 530: TypeArray 92(fvec2) 21 - 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 93 21 - 532: TypePointer Output 530 - 533(outUV): 532(ptr) Variable Output - 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 535 531 17 529 12 19 535 533(outUV) 108 - 540: TypePointer Output 92(fvec2) + 16: TypeFloat 32 + 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12 + 19: TypeVector 16(float) 4 + 20: 7(int) Constant 4 + 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 20 + 22: TypePointer Function 19(fvec4) + 23: TypeFunction 16(float) 22(ptr) 22(ptr) + 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 21 21 + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 32 + 33: 7(int) Constant 51 + 35: 7(int) Constant 1 + 36: 7(int) Constant 2 + 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 35 20 31 36 + 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 29 24 31 33 12 34 29 13 33 + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 40 21 31 33 12 30 20 35 + 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 44 21 31 33 12 30 20 36 + 46: TypeBool + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 + 49: TypeFunction 46(bool) + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 48 + 55: 7(int) Constant 81 + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 53 50 31 55 12 34 53 13 55 + 58: 7(int) Constant 98 + 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 56 6 31 58 12 34 56 13 58 + 62: 7(int) Constant 54 + 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 65 21 31 62 12 30 20 + 67: 16(float) Constant 1056964608 + 73: 7(int) Constant 56 + 74: TypePointer Function 16(float) + 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 18 31 73 12 30 20 + 82: 16(float) Constant 1073741824 + 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 + 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 + 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) Line 1 98 11 14(main): 4 Function None 5 - 23: Label - 410(param): 29(ptr) Variable Function - 413(param): 29(ptr) Variable Function - 420(param): 29(ptr) Variable Function - 423(param): 29(ptr) Variable Function - 430(param): 29(ptr) Variable Function - 433(param): 29(ptr) Variable Function - 440(param): 29(ptr) Variable Function - 443(param): 29(ptr) Variable Function - 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main) - 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 349 349 12 12 - 350: 120(int) Load 253(gl_InvocationID) - 352: 47(bool) IEqual 350 135 - SelectionMerge 354 None - BranchConditional 352 353 354 - 353: Label - 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 357 357 12 12 - 358: 47(bool) FunctionCall 52(frustumCheck() - 361: 47(bool) LogicalNot 358 - SelectionMerge 363 None - BranchConditional 361 362 397 - 362: Label - 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 366 366 12 12 - 374: 373(ptr) AccessChain 370(gl_TessLevelInner) 135 - Store 374 142 - 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 376 376 12 12 - 377: 373(ptr) AccessChain 370(gl_TessLevelInner) 123 - Store 377 142 - 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 379 379 12 12 - 386: 373(ptr) AccessChain 383(gl_TessLevelOuter) 135 - Store 386 142 - 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 388 388 12 12 - 389: 373(ptr) AccessChain 383(gl_TessLevelOuter) 123 - Store 389 142 - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 391 391 12 12 - 393: 373(ptr) AccessChain 383(gl_TessLevelOuter) 392 - Store 393 142 - 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 395 395 12 12 - 396: 373(ptr) AccessChain 383(gl_TessLevelOuter) 318 - Store 396 142 - Branch 363 - 397: Label - 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 400 400 12 12 - 401: 210(ptr) AccessChain 117(ubo) 214 - 402: 24(float) Load 401 - 404: 47(bool) FOrdGreaterThan 402 142 - SelectionMerge 406 None - BranchConditional 404 405 464 - 405: Label - 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 409 409 12 12 - 411: 257(ptr) AccessChain 249(gl_in) 318 135 - 412: 27(fvec4) Load 411 - Store 410(param) 412 - 414: 257(ptr) AccessChain 249(gl_in) 135 135 - 415: 27(fvec4) Load 414 + 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 + 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 - 416: 24(float) FunctionCall 34(screenSpaceTessFactor(vf4;vf4;) 410(param) 413(param) - 417: 373(ptr) AccessChain 383(gl_TessLevelOuter) 135 - Store 417 416 - 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 419 419 12 12 - 421: 257(ptr) AccessChain 249(gl_in) 135 135 - 422: 27(fvec4) Load 421 - Store 420(param) 422 - 424: 257(ptr) AccessChain 249(gl_in) 123 135 - 425: 27(fvec4) Load 424 + 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 - 426: 24(float) FunctionCall 34(screenSpaceTessFactor(vf4;vf4;) 420(param) 423(param) - 427: 373(ptr) AccessChain 383(gl_TessLevelOuter) 123 - Store 427 426 - 428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 429 429 12 12 - 431: 257(ptr) AccessChain 249(gl_in) 123 135 - 432: 27(fvec4) Load 431 - Store 430(param) 432 - 434: 257(ptr) AccessChain 249(gl_in) 392 135 - 435: 27(fvec4) Load 434 + 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 - 436: 24(float) FunctionCall 34(screenSpaceTessFactor(vf4;vf4;) 430(param) 433(param) - 437: 373(ptr) AccessChain 383(gl_TessLevelOuter) 392 - Store 437 436 - 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 439 439 12 12 - 441: 257(ptr) AccessChain 249(gl_in) 392 135 - 442: 27(fvec4) Load 441 - Store 440(param) 442 - 444: 257(ptr) AccessChain 249(gl_in) 318 135 - 445: 27(fvec4) Load 444 + 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 - 446: 24(float) FunctionCall 34(screenSpaceTessFactor(vf4;vf4;) 440(param) 443(param) - 447: 373(ptr) AccessChain 383(gl_TessLevelOuter) 318 - Store 447 446 - 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 449 449 12 12 - 450: 373(ptr) AccessChain 383(gl_TessLevelOuter) 135 - 451: 24(float) Load 450 - 452: 373(ptr) AccessChain 383(gl_TessLevelOuter) 318 - 453: 24(float) Load 452 - 454: 24(float) ExtInst 3(GLSL.std.450) 46(FMix) 451 453 64 - 455: 373(ptr) AccessChain 370(gl_TessLevelInner) 135 - Store 455 454 - 456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 457 457 12 12 - 458: 373(ptr) AccessChain 383(gl_TessLevelOuter) 392 - 459: 24(float) Load 458 - 460: 373(ptr) AccessChain 383(gl_TessLevelOuter) 123 - 461: 24(float) Load 460 - 462: 24(float) ExtInst 3(GLSL.std.450) 46(FMix) 459 461 64 - 463: 373(ptr) AccessChain 370(gl_TessLevelInner) 123 - Store 463 462 - Branch 406 - 464: Label - 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 466: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 467 467 12 12 - 468: 373(ptr) AccessChain 370(gl_TessLevelInner) 135 - Store 468 218 - 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 470 470 12 12 - 471: 373(ptr) AccessChain 370(gl_TessLevelInner) 123 - Store 471 218 - 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 473 473 12 12 - 474: 373(ptr) AccessChain 383(gl_TessLevelOuter) 135 - Store 474 218 - 475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 476 476 12 12 - 477: 373(ptr) AccessChain 383(gl_TessLevelOuter) 123 - Store 477 218 - 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 479 479 12 12 - 480: 373(ptr) AccessChain 383(gl_TessLevelOuter) 392 - Store 480 218 - 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 482 482 12 12 - 483: 373(ptr) AccessChain 383(gl_TessLevelOuter) 318 - Store 483 218 - Branch 406 - 406: Label - Branch 363 - 363: Label - Branch 354 - 354: Label - 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 486 486 12 12 - 501: 120(int) Load 253(gl_InvocationID) - 502: 120(int) Load 253(gl_InvocationID) - 503: 257(ptr) AccessChain 249(gl_in) 502 135 - 504: 27(fvec4) Load 503 - 506: 505(ptr) AccessChain 498(gl_out) 501 135 - Store 506 504 - 507: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 508 508 12 12 - 515: 120(int) Load 253(gl_InvocationID) - 522: 120(int) Load 253(gl_InvocationID) - 524: 523(ptr) AccessChain 519(inNormal) 522 - 525: 140(fvec3) Load 524 - 527: 526(ptr) AccessChain 512(outNormal) 515 - Store 527 525 - 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 529 529 12 12 - 536: 120(int) Load 253(gl_InvocationID) - 537: 120(int) Load 253(gl_InvocationID) - 538: 282(ptr) AccessChain 279(inUV) 537 - 539: 92(fvec2) Load 538 - 541: 540(ptr) AccessChain 533(outUV) 536 - Store 541 539 + 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 Return FunctionEnd Line 1 51 45 -34(screenSpaceTessFactor(vf4;vf4;): 24(float) Function None 30 - 32(p0): 29(ptr) FunctionParameter - 33(p1): 29(ptr) FunctionParameter - 37: Label - 60(midPoint): 29(ptr) Variable Function - 72(radius): 71(ptr) Variable Function - 83(v0): 29(ptr) Variable Function - 131(clip0): 29(ptr) Variable Function - 152(clip1): 29(ptr) Variable Function - 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12 - 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 40 32(p0) 43 - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 33(p1) 43 - 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 36 34(screenSpaceTessFactor(vf4;vf4;) - 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 59 59 12 12 - 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 61 60(midPoint) 43 - 65: 27(fvec4) Load 32(p0) - 66: 27(fvec4) Load 33(p1) - 67: 27(fvec4) FAdd 65 66 - 68: 27(fvec4) VectorTimesScalar 67 64 - Store 60(midPoint) 68 - 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 70 70 12 12 - 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 73 72(radius) 43 - 76: 27(fvec4) Load 32(p0) - 77: 27(fvec4) Load 33(p1) - 78: 24(float) ExtInst 3(GLSL.std.450) 67(Distance) 76 77 - 80: 24(float) FDiv 78 79 - Store 72(radius) 80 - 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 82 82 12 12 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 83(v0) 43 - 125: 124(ptr) AccessChain 117(ubo) 123 - 126: 87 Load 125 - 127: 27(fvec4) Load 60(midPoint) - 128: 27(fvec4) MatrixTimesVector 126 127 - Store 83(v0) 128 - 129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 130 130 12 12 - 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 132 131(clip0) 43 - 136: 124(ptr) AccessChain 117(ubo) 135 - 137: 87 Load 136 - 138: 27(fvec4) Load 83(v0) - 139: 24(float) Load 72(radius) - 144: 24(float) CompositeExtract 143 0 - 145: 24(float) CompositeExtract 143 1 - 146: 24(float) CompositeExtract 143 2 - 147: 27(fvec4) CompositeConstruct 139 144 145 146 - 148: 27(fvec4) FSub 138 147 - 149: 27(fvec4) MatrixTimesVector 137 148 - Store 131(clip0) 149 - 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 151 151 12 12 - 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 153 152(clip1) 43 - 156: 124(ptr) AccessChain 117(ubo) 135 - 157: 87 Load 156 - 158: 27(fvec4) Load 83(v0) - 159: 24(float) Load 72(radius) - 160: 24(float) CompositeExtract 143 0 - 161: 24(float) CompositeExtract 143 1 - 162: 24(float) CompositeExtract 143 2 - 163: 27(fvec4) CompositeConstruct 159 160 161 162 - 164: 27(fvec4) FAdd 158 163 - 165: 27(fvec4) MatrixTimesVector 157 164 - Store 152(clip1) 165 - 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 167 167 12 12 - 168: 71(ptr) AccessChain 131(clip0) 13 - 169: 24(float) Load 168 - 170: 27(fvec4) Load 131(clip0) - 171: 27(fvec4) CompositeConstruct 169 169 169 169 - 172: 27(fvec4) FDiv 170 171 - Store 131(clip0) 172 - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 174 174 12 12 - 175: 71(ptr) AccessChain 152(clip1) 13 - 176: 24(float) Load 175 - 177: 27(fvec4) Load 152(clip1) - 178: 27(fvec4) CompositeConstruct 176 176 176 176 - 179: 27(fvec4) FDiv 177 178 - Store 152(clip1) 179 - 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 181 181 12 12 - 184: 183(ptr) AccessChain 117(ubo) 182 - 185: 92(fvec2) Load 184 - 186: 27(fvec4) Load 131(clip0) - 187: 92(fvec2) VectorShuffle 186 186 0 1 - 188: 92(fvec2) FMul 187 185 - 189: 71(ptr) AccessChain 131(clip0) 12 - 190: 24(float) CompositeExtract 188 0 - Store 189 190 - 191: 71(ptr) AccessChain 131(clip0) 20 - 192: 24(float) CompositeExtract 188 1 - Store 191 192 - 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 194 194 12 12 - 195: 183(ptr) AccessChain 117(ubo) 182 - 196: 92(fvec2) Load 195 - 197: 27(fvec4) Load 152(clip1) - 198: 92(fvec2) VectorShuffle 197 197 0 1 - 199: 92(fvec2) FMul 198 196 - 200: 71(ptr) AccessChain 152(clip1) 12 - 201: 24(float) CompositeExtract 199 0 - Store 200 201 - 202: 71(ptr) AccessChain 152(clip1) 20 - 203: 24(float) CompositeExtract 199 1 - Store 202 203 - 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 205 205 12 12 - 206: 27(fvec4) Load 131(clip0) - 207: 27(fvec4) Load 152(clip1) - 208: 24(float) ExtInst 3(GLSL.std.450) 67(Distance) 206 207 - 211: 210(ptr) AccessChain 117(ubo) 209 - 212: 24(float) Load 211 - 213: 24(float) FDiv 208 212 - 215: 210(ptr) AccessChain 117(ubo) 214 - 216: 24(float) Load 215 - 217: 24(float) FMul 213 216 - 220: 24(float) ExtInst 3(GLSL.std.450) 43(FClamp) 217 218 219 - ReturnValue 220 +27(screenSpaceTessFactor(vf4;vf4;): 16(float) Function None 23 + 25(p0): 22(ptr) FunctionParameter + 26(p1): 22(ptr) FunctionParameter + 28: Label + 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 + 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 + 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 43 26(p1) 42 + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 30 27(screenSpaceTessFactor(vf4;vf4;) + 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 62 62 12 12 + 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 64 63(midPoint) 42 + 68: 19(fvec4) Load 25(p0) + 69: 19(fvec4) Load 26(p1) + 70: 19(fvec4) FAdd 68 69 + 71: 19(fvec4) VectorTimesScalar 70 67 + Store 63(midPoint) 71 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 73 73 12 12 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 75(radius) 42 + 79: 19(fvec4) Load 25(p0) + 80: 19(fvec4) Load 26(p1) + 81: 16(float) ExtInst 3(GLSL.std.450) 67(Distance) 79 80 + 83: 16(float) FDiv 81 82 + 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 FunctionEnd Line 1 81 19 -52(frustumCheck(): 47(bool) Function None 50 - 55: Label - 227(pos): 29(ptr) Variable Function - 298(i): 297(ptr) Variable Function - 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 54 52(frustumCheck() - 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 226 226 12 12 - 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 228 227(pos) 43 - 256: 120(int) Load 253(gl_InvocationID) - 258: 257(ptr) AccessChain 249(gl_in) 256 135 - 259: 27(fvec4) Load 258 - Store 227(pos) 259 - 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 261 261 12 12 - 275: 267 Load 272(samplerHeight) - 283: 282(ptr) AccessChain 279(inUV) 135 - 284: 92(fvec2) Load 283 - 285: 27(fvec4) ImageSampleExplicitLod 275 284 Lod 142 - 286: 24(float) CompositeExtract 285 0 - 288: 210(ptr) AccessChain 117(ubo) 287 - 289: 24(float) Load 288 - 290: 24(float) FMul 286 289 - 291: 71(ptr) AccessChain 227(pos) 20 - 292: 24(float) Load 291 - 293: 24(float) FSub 292 290 - 294: 71(ptr) AccessChain 227(pos) 20 - Store 294 293 - 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 296 296 12 12 - 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 299 298(i) 43 - Store 298(i) 135 - Branch 302 - 302: Label - 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 296 296 12 12 - LoopMerge 304 305 None - Branch 308 - 308: Label +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) 17 296 296 12 12 - 311: 120(int) Load 298(i) - 313: 47(bool) SLessThan 311 182 - BranchConditional 313 303 304 - 303: Label - 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 316 316 12 12 - 317: 27(fvec4) Load 227(pos) - 319: 120(int) Load 298(i) - 321: 320(ptr) AccessChain 117(ubo) 318 319 - 322: 27(fvec4) Load 321 - 323: 24(float) Dot 317 322 - 325: 24(float) FAdd 323 324 - 327: 47(bool) FOrdLessThan 325 142 - SelectionMerge 329 None - BranchConditional 327 328 329 - 328: Label - 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 334 334 12 12 - ReturnValue 331 - 329: Label + 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 - 305: Label - 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 296 296 12 12 - 338: 120(int) Load 298(i) - 339: 120(int) IAdd 338 123 - Store 298(i) 339 - Branch 302 - 304: Label - 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 343 343 12 12 - ReturnValue 89 + 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 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.tese.out b/Test/baseResults/spv.debuginfo.glsl.tese.out index fdb1ee98..5f494598 100644 --- a/Test/baseResults/spv.debuginfo.glsl.tese.out +++ b/Test/baseResults/spv.debuginfo.glsl.tese.out @@ -1,21 +1,21 @@ spv.debuginfo.glsl.tese // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 332 +// Id's are bound by 333 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" 42 59 86 105 133 169 280 294 302 314 321 + EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 281 295 303 315 322 ExecutionMode 14 Quads ExecutionMode 14 SpacingEqual ExecutionMode 14 VertexOrderCw 1: String "" 8: String "uint" - 15: String "main" - 18: String "// OpModuleProcessed auto-map-locations + 16: String "main" + 19: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -23,118 +23,118 @@ spv.debuginfo.glsl.tese // OpModuleProcessed entry-point main #line 1 " - 29: String "float" - 36: String "uv1" - 44: String "inUV" - 47: String "int" - 61: String "gl_TessCoord" - 71: String "uv2" - 88: String "outUV" - 100: String "n1" - 107: String "inNormal" - 120: String "n2" - 135: String "outNormal" - 149: String "pos1" - 155: String "gl_Position" - 158: String "gl_PointSize" - 161: String "gl_CullDistance" - 165: String "gl_PerVertex" - 171: String "gl_in" - 185: String "pos2" - 199: String "pos" - 211: String "type.2d.image" - 212: String "@type.2d.image" - 216: String "type.sampled.image" - 217: String "@type.sampled.image" - 221: String "displacementMap" - 235: String "modelview" - 240: String "lightPos" - 243: String "frustumPlanes" - 245: String "tessellatedEdgeSize" - 249: String "viewportDim" - 253: String "UBO" - 257: String "ubo" - 296: String "outViewVec" - 304: String "outLightVec" - 316: String "outWorldPos" - 323: String "outEyePos" + 30: String "float" + 37: String "uv1" + 45: String "inUV" + 48: String "int" + 62: String "gl_TessCoord" + 72: String "uv2" + 89: String "outUV" + 101: String "n1" + 108: String "inNormal" + 121: String "n2" + 136: String "outNormal" + 150: String "pos1" + 156: String "gl_Position" + 159: String "gl_PointSize" + 162: String "gl_CullDistance" + 166: String "gl_PerVertex" + 172: String "gl_in" + 186: String "pos2" + 200: String "pos" + 212: String "type.2d.image" + 213: String "@type.2d.image" + 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" Name 14 "main" - Name 34 "uv1" - Name 42 "inUV" - Name 59 "gl_TessCoord" - Name 69 "uv2" - Name 86 "outUV" - Name 98 "n1" - Name 105 "inNormal" - Name 118 "n2" - Name 133 "outNormal" - Name 147 "pos1" - Name 153 "gl_PerVertex" - MemberName 153(gl_PerVertex) 0 "gl_Position" - MemberName 153(gl_PerVertex) 1 "gl_PointSize" - MemberName 153(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 153(gl_PerVertex) 3 "gl_CullDistance" - Name 169 "gl_in" - Name 183 "pos2" - Name 197 "pos" - Name 219 "displacementMap" - Name 233 "UBO" - MemberName 233(UBO) 0 "projection" - MemberName 233(UBO) 1 "modelview" - MemberName 233(UBO) 2 "lightPos" - MemberName 233(UBO) 3 "frustumPlanes" - MemberName 233(UBO) 4 "displacementFactor" - MemberName 233(UBO) 5 "tessellationFactor" - MemberName 233(UBO) 6 "viewportDim" - MemberName 233(UBO) 7 "tessellatedEdgeSize" - Name 255 "ubo" - Name 270 "gl_PerVertex" - MemberName 270(gl_PerVertex) 0 "gl_Position" - MemberName 270(gl_PerVertex) 1 "gl_PointSize" - MemberName 270(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 270(gl_PerVertex) 3 "gl_CullDistance" - Name 280 "" - Name 294 "outViewVec" - Name 302 "outLightVec" - Name 314 "outWorldPos" - Name 321 "outEyePos" - Decorate 42(inUV) Location 1 - Decorate 59(gl_TessCoord) BuiltIn TessCoord - Decorate 86(outUV) Location 1 - Decorate 105(inNormal) Location 0 - Decorate 133(outNormal) Location 0 - MemberDecorate 153(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 153(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 153(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 153(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 153(gl_PerVertex) Block - Decorate 219(displacementMap) DescriptorSet 0 - Decorate 219(displacementMap) Binding 1 - Decorate 231 ArrayStride 16 - MemberDecorate 233(UBO) 0 ColMajor - MemberDecorate 233(UBO) 0 Offset 0 - MemberDecorate 233(UBO) 0 MatrixStride 16 - MemberDecorate 233(UBO) 1 ColMajor - MemberDecorate 233(UBO) 1 Offset 64 - MemberDecorate 233(UBO) 1 MatrixStride 16 - MemberDecorate 233(UBO) 2 Offset 128 - MemberDecorate 233(UBO) 3 Offset 144 - MemberDecorate 233(UBO) 4 Offset 240 - MemberDecorate 233(UBO) 5 Offset 244 - MemberDecorate 233(UBO) 6 Offset 248 - MemberDecorate 233(UBO) 7 Offset 256 - Decorate 233(UBO) Block - Decorate 255(ubo) DescriptorSet 0 - Decorate 255(ubo) Binding 0 - MemberDecorate 270(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 270(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 270(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 270(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 270(gl_PerVertex) Block - Decorate 294(outViewVec) Location 2 - Decorate 302(outLightVec) Location 3 - Decorate 314(outWorldPos) Location 5 - Decorate 321(outEyePos) Location 4 + Name 35 "uv1" + Name 43 "inUV" + Name 60 "gl_TessCoord" + Name 70 "uv2" + Name 87 "outUV" + Name 99 "n1" + Name 106 "inNormal" + Name 119 "n2" + Name 134 "outNormal" + Name 148 "pos1" + Name 154 "gl_PerVertex" + MemberName 154(gl_PerVertex) 0 "gl_Position" + MemberName 154(gl_PerVertex) 1 "gl_PointSize" + MemberName 154(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 154(gl_PerVertex) 3 "gl_CullDistance" + Name 170 "gl_in" + 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" + Decorate 43(inUV) Location 1 + Decorate 60(gl_TessCoord) BuiltIn TessCoord + Decorate 87(outUV) Location 1 + Decorate 106(inNormal) Location 0 + Decorate 134(outNormal) Location 0 + MemberDecorate 154(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 154(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 154(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 154(gl_PerVertex) 3 BuiltIn CullDistance + 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 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -144,302 +144,303 @@ spv.debuginfo.glsl.tese 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 - 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18 - 20: 7(int) Constant 1 - 21: 7(int) Constant 4 - 22: 7(int) Constant 2 - 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22 - 16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12 - 27: 7(int) Constant 56 - 28: TypeFloat 32 - 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 13 12 - 31: TypeVector 28(float) 2 - 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 22 - 33: TypePointer Function 31(fvec2) - 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 36 32 17 27 12 16 21 - 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 39: TypeArray 31(fvec2) 10 - 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 32 10 - 41: TypePointer Input 39 - 42(inUV): 41(ptr) Variable Input - 45: 7(int) Constant 8 - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 44 40 17 27 12 19 44 42(inUV) 45 - 46: TypeInt 32 1 - 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 21 12 - 49: 46(int) Constant 0 - 50: TypePointer Input 31(fvec2) - 53: 46(int) Constant 1 - 56: TypeVector 28(float) 3 - 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 13 - 58: TypePointer Input 56(fvec3) -59(gl_TessCoord): 58(ptr) Variable Input - 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 61 57 17 27 12 19 61 59(gl_TessCoord) 45 - 62: TypePointer Input 28(float) - 68: 7(int) Constant 57 - 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 71 32 17 68 12 16 21 - 73: 46(int) Constant 3 - 76: 46(int) Constant 2 - 84: 7(int) Constant 58 - 85: TypePointer Output 31(fvec2) - 86(outUV): 85(ptr) Variable Output - 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 88 32 17 84 12 19 88 86(outUV) 45 - 96: 7(int) Constant 60 - 97: TypePointer Function 56(fvec3) - 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 100 57 17 96 12 16 21 - 102: TypeArray 56(fvec3) 10 - 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 57 10 - 104: TypePointer Input 102 - 105(inNormal): 104(ptr) Variable Input - 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 107 103 17 96 12 19 107 105(inNormal) 45 - 117: 7(int) Constant 61 - 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 57 17 117 12 16 21 - 131: 7(int) Constant 62 - 132: TypePointer Output 56(fvec3) - 133(outNormal): 132(ptr) Variable Output - 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 135 57 17 131 12 19 135 133(outNormal) 45 - 143: 7(int) Constant 65 - 144: TypeVector 28(float) 4 - 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 21 - 146: TypePointer Function 144(fvec4) - 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 149 145 17 143 12 16 21 - 151: TypeArray 28(float) 20 - 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 30 20 -153(gl_PerVertex): TypeStruct 144(fvec4) 28(float) 151 151 - 156: 7(int) Constant 1756 - 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 145 17 20 156 12 12 13 - 159: 7(int) Constant 1774 - 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 30 17 20 159 12 12 13 - 162: 7(int) Constant 1817 - 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 162 12 12 13 - 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 162 12 12 13 - 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 20 17 143 12 19 165 12 13 154 157 160 163 - 166: TypeArray 153(gl_PerVertex) 10 - 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 164 10 - 168: TypePointer Input 166 - 169(gl_in): 168(ptr) Variable Input - 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 171 167 17 143 12 19 171 169(gl_in) 45 - 172: TypePointer Input 144(fvec4) - 182: 7(int) Constant 66 - 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 185 145 17 182 12 16 21 - 196: 7(int) Constant 67 - 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 199 145 17 196 12 16 21 - 208: 7(int) Constant 69 - 209: TypeImage 28(float) 2D sampled format:Unknown - 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 211 12 17 208 12 19 212 213 13 - 214: TypeSampledImage 209 - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 216 12 17 208 12 19 217 213 13 - 218: TypePointer UniformConstant 214 -219(displacementMap): 218(ptr) Variable UniformConstant - 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 221 215 17 208 12 19 221 219(displacementMap) 45 - 224: 28(float) Constant 0 - 227: TypeMatrix 144(fvec4) 4 - 229: TypeBool - 230: 229(bool) ConstantTrue - 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 145 21 230 - 231: TypeArray 144(fvec4) 11 - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 145 11 - 233(UBO): TypeStruct 227 227 144(fvec4) 231 28(float) 28(float) 31(fvec2) 28(float) - 236: 7(int) Constant 30 - 237: 7(int) Constant 7 - 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 228 17 236 237 12 12 13 - 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 228 17 236 237 12 12 13 - 241: 7(int) Constant 31 - 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 240 145 17 241 237 12 12 13 - 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 232 17 10 237 12 12 13 - 246: 7(int) Constant 36 - 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13 - 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13 - 250: 7(int) Constant 35 - 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 249 32 17 250 237 12 12 13 - 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13 - 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 253 20 17 208 12 19 253 12 13 234 238 239 242 244 247 248 251 - 254: TypePointer Uniform 233(UBO) - 255(ubo): 254(ptr) Variable Uniform - 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 257 252 17 208 12 19 257 255(ubo) 45 - 258: 46(int) Constant 4 - 259: TypePointer Uniform 28(float) - 263: TypePointer Function 28(float) - 269: 7(int) Constant 71 -270(gl_PerVertex): TypeStruct 144(fvec4) 28(float) 151 151 - 272: 7(int) Constant 165 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 145 17 20 272 12 12 13 - 274: 7(int) Constant 183 - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 30 17 20 274 12 12 13 - 276: 7(int) Constant 226 - 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 276 12 12 13 - 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 276 12 12 13 - 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 20 17 269 12 19 165 12 13 271 273 275 277 - 279: TypePointer Output 270(gl_PerVertex) - 280: 279(ptr) Variable Output - 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 278 17 269 12 19 1 280 45 - 282: TypePointer Uniform 227 - 290: TypePointer Output 144(fvec4) - 293: 7(int) Constant 74 - 294(outViewVec): 132(ptr) Variable Output - 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 296 57 17 293 12 19 296 294(outViewVec) 45 - 301: 7(int) Constant 75 -302(outLightVec): 132(ptr) Variable Output - 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 304 57 17 301 12 19 304 302(outLightVec) 45 - 305: TypePointer Uniform 144(fvec4) - 313: 7(int) Constant 76 -314(outWorldPos): 132(ptr) Variable Output - 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 316 57 17 313 12 19 316 314(outWorldPos) 45 - 320: 7(int) Constant 77 - 321(outEyePos): 132(ptr) Variable Output - 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 323 57 17 320 12 19 323 321(outEyePos) 45 + 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19 + 20: 7(int) Constant 53 + 22: 7(int) Constant 1 + 23: 7(int) Constant 4 + 24: 7(int) Constant 2 + 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24 + 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20 + 28: 7(int) Constant 56 + 29: TypeFloat 32 + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 13 12 + 32: TypeVector 29(float) 2 + 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24 + 34: TypePointer Function 32(fvec2) + 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 37 33 18 28 12 17 23 + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 40: TypeArray 32(fvec2) 10 + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 33 10 + 42: TypePointer Input 40 + 43(inUV): 42(ptr) Variable Input + 46: 7(int) Constant 8 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 45 41 18 28 12 21 45 43(inUV) 46 + 47: TypeInt 32 1 + 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 23 12 + 50: 47(int) Constant 0 + 51: TypePointer Input 32(fvec2) + 54: 47(int) Constant 1 + 57: TypeVector 29(float) 3 + 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13 + 59: TypePointer Input 57(fvec3) +60(gl_TessCoord): 59(ptr) Variable Input + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 28 12 21 62 60(gl_TessCoord) 46 + 63: TypePointer Input 29(float) + 69: 7(int) Constant 57 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 72 33 18 69 12 17 23 + 74: 47(int) Constant 3 + 77: 47(int) Constant 2 + 85: 7(int) Constant 58 + 86: TypePointer Output 32(fvec2) + 87(outUV): 86(ptr) Variable Output + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 89 33 18 85 12 21 89 87(outUV) 46 + 97: 7(int) Constant 60 + 98: TypePointer Function 57(fvec3) + 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 101 58 18 97 12 17 23 + 103: TypeArray 57(fvec3) 10 + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 58 10 + 105: TypePointer Input 103 + 106(inNormal): 105(ptr) Variable Input + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 104 18 97 12 21 108 106(inNormal) 46 + 118: 7(int) Constant 61 + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 58 18 118 12 17 23 + 132: 7(int) Constant 62 + 133: TypePointer Output 57(fvec3) + 134(outNormal): 133(ptr) Variable Output + 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 58 18 132 12 21 136 134(outNormal) 46 + 144: 7(int) Constant 65 + 145: TypeVector 29(float) 4 + 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23 + 147: TypePointer Function 145(fvec4) + 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 150 146 18 144 12 17 23 + 152: TypeArray 29(float) 22 + 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22 +154(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152 + 157: 7(int) Constant 1756 + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 157 12 12 13 + 160: 7(int) Constant 1774 + 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 160 12 12 13 + 163: 7(int) Constant 1817 + 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13 + 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13 + 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 144 12 21 166 12 13 155 158 161 164 + 167: TypeArray 154(gl_PerVertex) 10 + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 165 10 + 169: TypePointer Input 167 + 170(gl_in): 169(ptr) Variable Input + 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 172 168 18 144 12 21 172 170(gl_in) 46 + 173: TypePointer Input 145(fvec4) + 183: 7(int) Constant 66 + 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 186 146 18 183 12 17 23 + 197: 7(int) Constant 67 + 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 200 146 18 197 12 17 23 + 209: 7(int) Constant 69 + 210: TypeImage 29(float) 2D sampled format:Unknown + 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 212 12 18 209 12 21 213 214 13 + 215: TypeSampledImage 210 + 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 217 12 18 209 12 21 218 214 13 + 219: TypePointer UniformConstant 215 +220(displacementMap): 219(ptr) Variable UniformConstant + 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 222 216 18 209 12 21 222 220(displacementMap) 46 + 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 Line 1 53 11 14(main): 4 Function None 5 - 23: Label - 34(uv1): 33(ptr) Variable Function - 69(uv2): 33(ptr) Variable Function - 98(n1): 97(ptr) Variable Function - 118(n2): 97(ptr) Variable Function - 147(pos1): 146(ptr) Variable Function - 183(pos2): 146(ptr) Variable Function - 197(pos): 146(ptr) Variable Function - 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main) - 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12 - 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 35 34(uv1) 38 - 51: 50(ptr) AccessChain 42(inUV) 49 - 52: 31(fvec2) Load 51 - 54: 50(ptr) AccessChain 42(inUV) 53 - 55: 31(fvec2) Load 54 - 63: 62(ptr) AccessChain 59(gl_TessCoord) 12 - 64: 28(float) Load 63 - 65: 31(fvec2) CompositeConstruct 64 64 - 66: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 52 55 65 - Store 34(uv1) 66 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 68 68 12 12 - 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 70 69(uv2) 38 - 74: 50(ptr) AccessChain 42(inUV) 73 - 75: 31(fvec2) Load 74 - 77: 50(ptr) AccessChain 42(inUV) 76 - 78: 31(fvec2) Load 77 - 79: 62(ptr) AccessChain 59(gl_TessCoord) 12 - 80: 28(float) Load 79 - 81: 31(fvec2) CompositeConstruct 80 80 - 82: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 75 78 81 - Store 69(uv2) 82 - 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 84 84 12 12 - 89: 31(fvec2) Load 34(uv1) - 90: 31(fvec2) Load 69(uv2) - 91: 62(ptr) AccessChain 59(gl_TessCoord) 20 - 92: 28(float) Load 91 - 93: 31(fvec2) CompositeConstruct 92 92 - 94: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 89 90 93 - Store 86(outUV) 94 - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 96 96 12 12 - 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 99 98(n1) 38 - 108: 58(ptr) AccessChain 105(inNormal) 49 - 109: 56(fvec3) Load 108 - 110: 58(ptr) AccessChain 105(inNormal) 53 - 111: 56(fvec3) Load 110 - 112: 62(ptr) AccessChain 59(gl_TessCoord) 12 - 113: 28(float) Load 112 - 114: 56(fvec3) CompositeConstruct 113 113 113 - 115: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 109 111 114 - Store 98(n1) 115 - 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 117 117 12 12 - 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(n2) 38 - 122: 58(ptr) AccessChain 105(inNormal) 73 - 123: 56(fvec3) Load 122 - 124: 58(ptr) AccessChain 105(inNormal) 76 - 125: 56(fvec3) Load 124 - 126: 62(ptr) AccessChain 59(gl_TessCoord) 12 - 127: 28(float) Load 126 - 128: 56(fvec3) CompositeConstruct 127 127 127 - 129: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 123 125 128 - Store 118(n2) 129 - 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 131 131 12 12 - 136: 56(fvec3) Load 98(n1) - 137: 56(fvec3) Load 118(n2) - 138: 62(ptr) AccessChain 59(gl_TessCoord) 20 - 139: 28(float) Load 138 - 140: 56(fvec3) CompositeConstruct 139 139 139 - 141: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 136 137 140 - Store 133(outNormal) 141 - 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 143 143 12 12 - 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 148 147(pos1) 38 - 173: 172(ptr) AccessChain 169(gl_in) 49 49 - 174: 144(fvec4) Load 173 - 175: 172(ptr) AccessChain 169(gl_in) 53 49 - 176: 144(fvec4) Load 175 - 177: 62(ptr) AccessChain 59(gl_TessCoord) 12 - 178: 28(float) Load 177 - 179: 144(fvec4) CompositeConstruct 178 178 178 178 - 180: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 174 176 179 - Store 147(pos1) 180 - 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 182 182 12 12 - 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 184 183(pos2) 38 - 187: 172(ptr) AccessChain 169(gl_in) 73 49 - 188: 144(fvec4) Load 187 - 189: 172(ptr) AccessChain 169(gl_in) 76 49 - 190: 144(fvec4) Load 189 - 191: 62(ptr) AccessChain 59(gl_TessCoord) 12 - 192: 28(float) Load 191 - 193: 144(fvec4) CompositeConstruct 192 192 192 192 - 194: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 188 190 193 - Store 183(pos2) 194 - 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 196 196 12 12 - 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 198 197(pos) 38 - 201: 144(fvec4) Load 147(pos1) - 202: 144(fvec4) Load 183(pos2) - 203: 62(ptr) AccessChain 59(gl_TessCoord) 20 - 204: 28(float) Load 203 - 205: 144(fvec4) CompositeConstruct 204 204 204 204 - 206: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 201 202 205 - Store 197(pos) 206 - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 208 208 12 12 - 222: 214 Load 219(displacementMap) - 223: 31(fvec2) Load 86(outUV) - 225: 144(fvec4) ImageSampleExplicitLod 222 223 Lod 224 - 226: 28(float) CompositeExtract 225 0 - 260: 259(ptr) AccessChain 255(ubo) 258 - 261: 28(float) Load 260 - 262: 28(float) FMul 226 261 - 264: 263(ptr) AccessChain 197(pos) 20 - 265: 28(float) Load 264 - 266: 28(float) FSub 265 262 - 267: 263(ptr) AccessChain 197(pos) 20 - Store 267 266 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 269 269 12 12 - 283: 282(ptr) AccessChain 255(ubo) 49 - 284: 227 Load 283 - 285: 282(ptr) AccessChain 255(ubo) 53 - 286: 227 Load 285 - 287: 227 MatrixTimesMatrix 284 286 - 288: 144(fvec4) Load 197(pos) - 289: 144(fvec4) MatrixTimesVector 287 288 - 291: 290(ptr) AccessChain 280 49 - Store 291 289 - 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 293 293 12 12 - 297: 144(fvec4) Load 197(pos) - 298: 56(fvec3) VectorShuffle 297 297 0 1 2 - 299: 56(fvec3) FNegate 298 - Store 294(outViewVec) 299 - 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 301 301 12 12 - 306: 305(ptr) AccessChain 255(ubo) 76 - 307: 144(fvec4) Load 306 - 308: 56(fvec3) VectorShuffle 307 307 0 1 2 - 309: 56(fvec3) Load 294(outViewVec) - 310: 56(fvec3) FAdd 308 309 - 311: 56(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 310 - Store 302(outLightVec) 311 - 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 313 313 12 12 - 317: 144(fvec4) Load 197(pos) - 318: 56(fvec3) VectorShuffle 317 317 0 1 2 - Store 314(outWorldPos) 318 - 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 320 320 12 12 - 324: 282(ptr) AccessChain 255(ubo) 53 - 325: 227 Load 324 - 326: 144(fvec4) Load 197(pos) - 327: 144(fvec4) MatrixTimesVector 325 326 - 328: 28(float) CompositeExtract 327 0 - 329: 28(float) CompositeExtract 327 1 - 330: 28(float) CompositeExtract 327 2 - 331: 56(fvec3) CompositeConstruct 328 329 330 - Store 321(outEyePos) 331 + 15: Label + 35(uv1): 34(ptr) Variable Function + 70(uv2): 34(ptr) Variable Function + 99(n1): 98(ptr) Variable Function + 119(n2): 98(ptr) Variable Function + 148(pos1): 147(ptr) Variable Function + 184(pos2): 147(ptr) Variable Function + 198(pos): 147(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 + 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 36 35(uv1) 39 + 52: 51(ptr) AccessChain 43(inUV) 50 + 53: 32(fvec2) Load 52 + 55: 51(ptr) AccessChain 43(inUV) 54 + 56: 32(fvec2) Load 55 + 64: 63(ptr) AccessChain 60(gl_TessCoord) 12 + 65: 29(float) Load 64 + 66: 32(fvec2) CompositeConstruct 65 65 + 67: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 53 56 66 + Store 35(uv1) 67 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12 + 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 71 70(uv2) 39 + 75: 51(ptr) AccessChain 43(inUV) 74 + 76: 32(fvec2) Load 75 + 78: 51(ptr) AccessChain 43(inUV) 77 + 79: 32(fvec2) Load 78 + 80: 63(ptr) AccessChain 60(gl_TessCoord) 12 + 81: 29(float) Load 80 + 82: 32(fvec2) CompositeConstruct 81 81 + 83: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 76 79 82 + Store 70(uv2) 83 + 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 85 85 12 12 + 90: 32(fvec2) Load 35(uv1) + 91: 32(fvec2) Load 70(uv2) + 92: 63(ptr) AccessChain 60(gl_TessCoord) 22 + 93: 29(float) Load 92 + 94: 32(fvec2) CompositeConstruct 93 93 + 95: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 90 91 94 + Store 87(outUV) 95 + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 97 97 12 12 + 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 100 99(n1) 39 + 109: 59(ptr) AccessChain 106(inNormal) 50 + 110: 57(fvec3) Load 109 + 111: 59(ptr) AccessChain 106(inNormal) 54 + 112: 57(fvec3) Load 111 + 113: 63(ptr) AccessChain 60(gl_TessCoord) 12 + 114: 29(float) Load 113 + 115: 57(fvec3) CompositeConstruct 114 114 114 + 116: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 110 112 115 + Store 99(n1) 116 + 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12 + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(n2) 39 + 123: 59(ptr) AccessChain 106(inNormal) 74 + 124: 57(fvec3) Load 123 + 125: 59(ptr) AccessChain 106(inNormal) 77 + 126: 57(fvec3) Load 125 + 127: 63(ptr) AccessChain 60(gl_TessCoord) 12 + 128: 29(float) Load 127 + 129: 57(fvec3) CompositeConstruct 128 128 128 + 130: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 124 126 129 + Store 119(n2) 130 + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 132 132 12 12 + 137: 57(fvec3) Load 99(n1) + 138: 57(fvec3) Load 119(n2) + 139: 63(ptr) AccessChain 60(gl_TessCoord) 22 + 140: 29(float) Load 139 + 141: 57(fvec3) CompositeConstruct 140 140 140 + 142: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 137 138 141 + Store 134(outNormal) 142 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12 + 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 149 148(pos1) 39 + 174: 173(ptr) AccessChain 170(gl_in) 50 50 + 175: 145(fvec4) Load 174 + 176: 173(ptr) AccessChain 170(gl_in) 54 50 + 177: 145(fvec4) Load 176 + 178: 63(ptr) AccessChain 60(gl_TessCoord) 12 + 179: 29(float) Load 178 + 180: 145(fvec4) CompositeConstruct 179 179 179 179 + 181: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 175 177 180 + Store 148(pos1) 181 + 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 183 183 12 12 + 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 185 184(pos2) 39 + 188: 173(ptr) AccessChain 170(gl_in) 74 50 + 189: 145(fvec4) Load 188 + 190: 173(ptr) AccessChain 170(gl_in) 77 50 + 191: 145(fvec4) Load 190 + 192: 63(ptr) AccessChain 60(gl_TessCoord) 12 + 193: 29(float) Load 192 + 194: 145(fvec4) CompositeConstruct 193 193 193 193 + 195: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 189 191 194 + Store 184(pos2) 195 + 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 197 197 12 12 + 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 199 198(pos) 39 + 202: 145(fvec4) Load 148(pos1) + 203: 145(fvec4) Load 184(pos2) + 204: 63(ptr) AccessChain 60(gl_TessCoord) 22 + 205: 29(float) Load 204 + 206: 145(fvec4) CompositeConstruct 205 205 205 205 + 207: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 202 203 206 + Store 198(pos) 207 + 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12 + 223: 215 Load 220(displacementMap) + 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 + 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 Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.vert.out b/Test/baseResults/spv.debuginfo.glsl.vert.out index c4852550..932ecc8f 100644 --- a/Test/baseResults/spv.debuginfo.glsl.vert.out +++ b/Test/baseResults/spv.debuginfo.glsl.vert.out @@ -1,18 +1,18 @@ spv.debuginfo.glsl.vert // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 424 +// Id's are bound by 425 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" 34 39 45 51 59 75 289 307 312 337 353 370 409 418 + EntryPoint Vertex 14 "main" 35 40 46 52 60 76 290 308 313 338 354 371 410 419 1: String "" 8: String "uint" - 15: String "main" - 18: String "// OpModuleProcessed auto-map-locations + 16: String "main" + 19: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -20,107 +20,107 @@ spv.debuginfo.glsl.vert // OpModuleProcessed entry-point main #line 1 " - 29: String "float" - 36: String "outColor" - 41: String "inColor" - 47: String "outUV" - 53: String "inUV" - 56: String "int" - 61: String "instanceTexIndex" - 72: String "s" - 77: String "instanceRot" - 89: String "modelview" - 94: String "lightPos" - 97: String "globSpeed" - 101: String "UBO" - 105: String "ubo" - 116: String "c" - 131: String "mx" - 174: String "my" - 211: String "mz" - 232: String "rotMat" - 261: String "gRotMat" - 287: String "locPos" - 291: String "inPos" - 303: String "pos" - 309: String "instanceScale" - 314: String "instancePos" - 327: String "gl_Position" - 330: String "gl_PointSize" - 332: String "gl_CullDistance" - 335: String "gl_PerVertex" - 355: String "outNormal" - 372: String "inNormal" - 391: String "lPos" - 411: String "outLightVec" - 420: String "outViewVec" + 30: String "float" + 37: String "outColor" + 42: String "inColor" + 48: String "outUV" + 54: String "inUV" + 57: String "int" + 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" Name 14 "main" - Name 34 "outColor" - Name 39 "inColor" - Name 45 "outUV" - Name 51 "inUV" - Name 59 "instanceTexIndex" - Name 70 "s" - Name 75 "instanceRot" - Name 87 "UBO" - MemberName 87(UBO) 0 "projection" - MemberName 87(UBO) 1 "modelview" - MemberName 87(UBO) 2 "lightPos" - MemberName 87(UBO) 3 "locSpeed" - MemberName 87(UBO) 4 "globSpeed" - Name 103 "ubo" - Name 114 "c" - Name 129 "mx" - Name 172 "my" - Name 209 "mz" - Name 230 "rotMat" - Name 259 "gRotMat" - Name 285 "locPos" - Name 289 "inPos" - Name 301 "pos" - Name 307 "instanceScale" - Name 312 "instancePos" - Name 325 "gl_PerVertex" - MemberName 325(gl_PerVertex) 0 "gl_Position" - MemberName 325(gl_PerVertex) 1 "gl_PointSize" - MemberName 325(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 325(gl_PerVertex) 3 "gl_CullDistance" - Name 337 "" - Name 353 "outNormal" - Name 370 "inNormal" - Name 389 "lPos" - Name 409 "outLightVec" - Name 418 "outViewVec" - Decorate 34(outColor) Location 1 - Decorate 39(inColor) Location 3 - Decorate 45(outUV) Location 2 - Decorate 51(inUV) Location 2 - Decorate 59(instanceTexIndex) Location 7 - Decorate 75(instanceRot) Location 5 - MemberDecorate 87(UBO) 0 ColMajor - MemberDecorate 87(UBO) 0 Offset 0 - MemberDecorate 87(UBO) 0 MatrixStride 16 - MemberDecorate 87(UBO) 1 ColMajor - MemberDecorate 87(UBO) 1 Offset 64 - MemberDecorate 87(UBO) 1 MatrixStride 16 - MemberDecorate 87(UBO) 2 Offset 128 - MemberDecorate 87(UBO) 3 Offset 144 - MemberDecorate 87(UBO) 4 Offset 148 - Decorate 87(UBO) Block - Decorate 103(ubo) DescriptorSet 0 - Decorate 103(ubo) Binding 0 - Decorate 289(inPos) Location 0 - Decorate 307(instanceScale) Location 6 - Decorate 312(instancePos) Location 4 - MemberDecorate 325(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 325(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 325(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 325(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 325(gl_PerVertex) Block - Decorate 353(outNormal) Location 0 - Decorate 370(inNormal) Location 1 - Decorate 409(outLightVec) Location 4 - Decorate 418(outViewVec) Location 3 + Name 35 "outColor" + Name 40 "inColor" + Name 46 "outUV" + Name 52 "inUV" + 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" + 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 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -130,412 +130,413 @@ spv.debuginfo.glsl.vert 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 - 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18 - 20: 7(int) Constant 1 - 21: 7(int) Constant 4 - 22: 7(int) Constant 2 - 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22 - 16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12 - 27: 7(int) Constant 56 - 28: TypeFloat 32 - 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 13 12 - 31: TypeVector 28(float) 3 - 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 13 - 33: TypePointer Output 31(fvec3) - 34(outColor): 33(ptr) Variable Output - 37: 7(int) Constant 8 - 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 36 32 17 27 12 19 36 34(outColor) 37 - 38: TypePointer Input 31(fvec3) - 39(inColor): 38(ptr) Variable Input - 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 41 32 17 27 12 19 41 39(inColor) 37 - 44: 7(int) Constant 57 - 45(outUV): 33(ptr) Variable Output - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 47 32 17 44 12 19 47 45(outUV) 37 - 48: TypeVector 28(float) 2 - 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 22 - 50: TypePointer Input 48(fvec2) - 51(inUV): 50(ptr) Variable Input - 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 53 49 17 44 12 19 53 51(inUV) 37 - 55: TypeInt 32 1 - 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 56 10 21 12 - 58: TypePointer Input 55(int) -59(instanceTexIndex): 58(ptr) Variable Input - 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 61 57 17 44 12 19 61 59(instanceTexIndex) 37 - 68: 7(int) Constant 62 - 69: TypePointer Function 28(float) - 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 72 30 17 68 12 16 21 - 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 75(instanceRot): 38(ptr) Variable Input - 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 77 32 17 68 12 19 77 75(instanceRot) 37 - 78: TypePointer Input 28(float) - 81: TypeVector 28(float) 4 - 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 21 - 83: TypeMatrix 81(fvec4) 4 - 85: TypeBool - 86: 85(bool) ConstantTrue - 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 82 21 86 - 87(UBO): TypeStruct 83 83 81(fvec4) 28(float) 28(float) - 90: 7(int) Constant 42 - 91: 7(int) Constant 7 - 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 84 17 90 91 12 12 13 - 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 84 17 90 91 12 12 13 - 95: 7(int) Constant 43 - 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 94 82 17 95 91 12 12 13 - 98: 7(int) Constant 45 - 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 97 30 17 98 37 12 12 13 - 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 97 30 17 98 37 12 12 13 - 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 101 20 17 68 12 19 101 12 13 88 92 93 96 99 - 102: TypePointer Uniform 87(UBO) - 103(ubo): 102(ptr) Variable Uniform - 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 105 100 17 68 12 19 105 103(ubo) 37 - 106: 55(int) Constant 3 - 107: TypePointer Uniform 28(float) - 113: 7(int) Constant 63 - 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 116 30 17 113 12 16 21 - 125: 7(int) Constant 65 - 126: TypeMatrix 31(fvec3) 3 - 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 32 13 86 - 128: TypePointer Function 126 - 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 131 127 17 125 12 16 21 - 133: 55(int) Constant 0 - 136: 28(float) Constant 0 - 138: TypePointer Function 31(fvec3) - 141: 7(int) Constant 66 - 142: 55(int) Constant 1 - 149: 7(int) Constant 67 - 150: 55(int) Constant 2 - 151: 28(float) Constant 1065353216 - 152: 31(fvec3) ConstantComposite 136 136 151 - 155: 7(int) Constant 70 - 163: 7(int) Constant 71 - 171: 7(int) Constant 73 - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 174 127 17 171 12 16 21 - 181: 7(int) Constant 74 - 182: 31(fvec3) ConstantComposite 136 151 136 - 185: 7(int) Constant 75 - 192: 7(int) Constant 78 - 200: 7(int) Constant 79 - 208: 7(int) Constant 81 - 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 211 127 17 208 12 16 21 - 213: 31(fvec3) ConstantComposite 151 136 136 - 216: 7(int) Constant 82 - 222: 7(int) Constant 83 - 229: 7(int) Constant 85 - 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 232 127 17 229 12 16 21 - 240: 7(int) Constant 88 - 243: 55(int) Constant 4 - 249: 7(int) Constant 89 - 257: 7(int) Constant 90 - 258: TypePointer Function 83 - 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 261 84 17 257 12 16 21 - 266: TypePointer Function 81(fvec4) - 269: 7(int) Constant 91 - 270: 81(fvec4) ConstantComposite 136 151 136 136 - 273: 7(int) Constant 92 - 280: 7(int) Constant 93 - 281: 81(fvec4) ConstantComposite 136 136 136 151 - 284: 7(int) Constant 95 - 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 287 82 17 284 12 16 21 - 289(inPos): 38(ptr) Variable Input - 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 291 32 17 284 12 19 291 289(inPos) 37 - 300: 7(int) Constant 96 - 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 82 17 300 12 16 21 -307(instanceScale): 78(ptr) Variable Input - 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 309 30 17 300 12 19 309 307(instanceScale) 37 -312(instancePos): 38(ptr) Variable Input - 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 314 32 17 300 12 19 314 312(instancePos) 37 - 322: 7(int) Constant 98 - 323: TypeArray 28(float) 20 - 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 30 20 -325(gl_PerVertex): TypeStruct 81(fvec4) 28(float) 323 323 - 328: 7(int) Constant 24 - 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 327 82 17 20 328 12 12 13 - 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 330 30 17 20 90 12 12 13 - 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 332 324 17 20 229 12 12 13 - 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 332 324 17 20 229 12 12 13 - 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 335 20 17 322 12 19 335 12 13 326 329 331 333 - 336: TypePointer Output 325(gl_PerVertex) - 337: 336(ptr) Variable Output - 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 334 17 322 12 19 1 337 37 - 339: TypePointer Uniform 83 - 349: TypePointer Output 81(fvec4) - 352: 7(int) Constant 99 - 353(outNormal): 33(ptr) Variable Output - 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 355 32 17 352 12 19 355 353(outNormal) 37 - 370(inNormal): 38(ptr) Variable Input - 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 372 32 17 352 12 19 372 370(inNormal) 37 - 376: 7(int) Constant 101 - 388: 7(int) Constant 102 - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 391 32 17 388 12 16 21 - 402: TypePointer Uniform 81(fvec4) - 408: 7(int) Constant 103 -409(outLightVec): 33(ptr) Variable Output - 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 411 32 17 408 12 19 411 409(outLightVec) 37 - 417: 7(int) Constant 104 - 418(outViewVec): 33(ptr) Variable Output - 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 420 32 17 417 12 19 420 418(outViewVec) 37 + 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19 + 20: 7(int) Constant 54 + 22: 7(int) Constant 1 + 23: 7(int) Constant 4 + 24: 7(int) Constant 2 + 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24 + 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20 + 28: 7(int) Constant 56 + 29: TypeFloat 32 + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 13 12 + 32: TypeVector 29(float) 3 + 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13 + 34: TypePointer Output 32(fvec3) + 35(outColor): 34(ptr) Variable Output + 38: 7(int) Constant 8 + 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 37 33 18 28 12 21 37 35(outColor) 38 + 39: TypePointer Input 32(fvec3) + 40(inColor): 39(ptr) Variable Input + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 42 33 18 28 12 21 42 40(inColor) 38 + 45: 7(int) Constant 57 + 46(outUV): 34(ptr) Variable Output + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 48 33 18 45 12 21 48 46(outUV) 38 + 49: TypeVector 29(float) 2 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24 + 51: TypePointer Input 49(fvec2) + 52(inUV): 51(ptr) Variable Input + 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 54 50 18 45 12 21 54 52(inUV) 38 + 56: TypeInt 32 1 + 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 23 12 + 59: TypePointer Input 56(int) +60(instanceTexIndex): 59(ptr) Variable Input + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 45 12 21 62 60(instanceTexIndex) 38 + 69: 7(int) Constant 62 + 70: TypePointer Function 29(float) + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 73 31 18 69 12 17 23 + 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 76(instanceRot): 39(ptr) Variable Input + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 78 33 18 69 12 21 78 76(instanceRot) 38 + 79: TypePointer Input 29(float) + 82: TypeVector 29(float) 4 + 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 Line 1 54 11 14(main): 4 Function None 5 - 23: Label - 70(s): 69(ptr) Variable Function - 114(c): 69(ptr) Variable Function - 129(mx): 128(ptr) Variable Function - 172(my): 128(ptr) Variable Function - 209(mz): 128(ptr) Variable Function - 230(rotMat): 128(ptr) Variable Function - 259(gRotMat): 258(ptr) Variable Function - 285(locPos): 266(ptr) Variable Function - 301(pos): 266(ptr) Variable Function - 389(lPos): 138(ptr) Variable Function - 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main) - 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12 - 42: 31(fvec3) Load 39(inColor) - Store 34(outColor) 42 - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 44 44 12 12 - 54: 48(fvec2) Load 51(inUV) - 62: 55(int) Load 59(instanceTexIndex) - 63: 28(float) ConvertSToF 62 - 64: 28(float) CompositeExtract 54 0 - 65: 28(float) CompositeExtract 54 1 - 66: 31(fvec3) CompositeConstruct 64 65 63 - Store 45(outUV) 66 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 68 68 12 12 - 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 71 70(s) 74 - 79: 78(ptr) AccessChain 75(instanceRot) 12 - 80: 28(float) Load 79 - 108: 107(ptr) AccessChain 103(ubo) 106 - 109: 28(float) Load 108 - 110: 28(float) FAdd 80 109 - 111: 28(float) ExtInst 3(GLSL.std.450) 13(Sin) 110 - Store 70(s) 111 - 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 113 113 12 12 - 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 115 114(c) 74 - 118: 78(ptr) AccessChain 75(instanceRot) 12 - 119: 28(float) Load 118 - 120: 107(ptr) AccessChain 103(ubo) 106 - 121: 28(float) Load 120 - 122: 28(float) FAdd 119 121 - 123: 28(float) ExtInst 3(GLSL.std.450) 14(Cos) 122 - Store 114(c) 123 - 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 125 125 12 12 - 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 130 129(mx) 74 - 134: 28(float) Load 114(c) - 135: 28(float) Load 70(s) - 137: 31(fvec3) CompositeConstruct 134 135 136 - 139: 138(ptr) AccessChain 129(mx) 133 - Store 139 137 - 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 141 141 12 12 - 143: 28(float) Load 70(s) - 144: 28(float) FNegate 143 - 145: 28(float) Load 114(c) - 146: 31(fvec3) CompositeConstruct 144 145 136 - 147: 138(ptr) AccessChain 129(mx) 142 - Store 147 146 - 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 149 149 12 12 - 153: 138(ptr) AccessChain 129(mx) 150 - Store 153 152 - 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 155 155 12 12 - 156: 78(ptr) AccessChain 75(instanceRot) 20 - 157: 28(float) Load 156 - 158: 107(ptr) AccessChain 103(ubo) 106 - 159: 28(float) Load 158 - 160: 28(float) FAdd 157 159 - 161: 28(float) ExtInst 3(GLSL.std.450) 13(Sin) 160 - Store 70(s) 161 - 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 163 163 12 12 - 164: 78(ptr) AccessChain 75(instanceRot) 20 - 165: 28(float) Load 164 - 166: 107(ptr) AccessChain 103(ubo) 106 - 167: 28(float) Load 166 - 168: 28(float) FAdd 165 167 - 169: 28(float) ExtInst 3(GLSL.std.450) 14(Cos) 168 - Store 114(c) 169 - 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 171 171 12 12 - 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 173 172(my) 74 - 176: 28(float) Load 114(c) - 177: 28(float) Load 70(s) - 178: 31(fvec3) CompositeConstruct 176 136 177 - 179: 138(ptr) AccessChain 172(my) 133 - Store 179 178 - 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 181 181 12 12 - 183: 138(ptr) AccessChain 172(my) 142 - Store 183 182 - 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 185 185 12 12 - 186: 28(float) Load 70(s) - 187: 28(float) FNegate 186 - 188: 28(float) Load 114(c) - 189: 31(fvec3) CompositeConstruct 187 136 188 - 190: 138(ptr) AccessChain 172(my) 150 - Store 190 189 - 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 192 192 12 12 - 193: 78(ptr) AccessChain 75(instanceRot) 22 - 194: 28(float) Load 193 - 195: 107(ptr) AccessChain 103(ubo) 106 - 196: 28(float) Load 195 - 197: 28(float) FAdd 194 196 - 198: 28(float) ExtInst 3(GLSL.std.450) 13(Sin) 197 - Store 70(s) 198 - 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 200 200 12 12 - 201: 78(ptr) AccessChain 75(instanceRot) 22 - 202: 28(float) Load 201 - 203: 107(ptr) AccessChain 103(ubo) 106 - 204: 28(float) Load 203 - 205: 28(float) FAdd 202 204 - 206: 28(float) ExtInst 3(GLSL.std.450) 14(Cos) 205 - Store 114(c) 206 - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 208 208 12 12 - 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 210 209(mz) 74 - 214: 138(ptr) AccessChain 209(mz) 133 - Store 214 213 - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 216 216 12 12 - 217: 28(float) Load 114(c) - 218: 28(float) Load 70(s) - 219: 31(fvec3) CompositeConstruct 136 217 218 - 220: 138(ptr) AccessChain 209(mz) 142 - Store 220 219 - 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 222 222 12 12 - 223: 28(float) Load 70(s) - 224: 28(float) FNegate 223 - 225: 28(float) Load 114(c) - 226: 31(fvec3) CompositeConstruct 136 224 225 - 227: 138(ptr) AccessChain 209(mz) 150 - Store 227 226 - 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 229 229 12 12 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 231 230(rotMat) 74 - 234: 126 Load 209(mz) - 235: 126 Load 172(my) - 236: 126 MatrixTimesMatrix 234 235 - 237: 126 Load 129(mx) - 238: 126 MatrixTimesMatrix 236 237 - Store 230(rotMat) 238 - 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 240 240 12 12 - 241: 78(ptr) AccessChain 75(instanceRot) 20 - 242: 28(float) Load 241 - 244: 107(ptr) AccessChain 103(ubo) 243 - 245: 28(float) Load 244 - 246: 28(float) FAdd 242 245 - 247: 28(float) ExtInst 3(GLSL.std.450) 13(Sin) 246 - Store 70(s) 247 - 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 249 249 12 12 - 250: 78(ptr) AccessChain 75(instanceRot) 20 - 251: 28(float) Load 250 - 252: 107(ptr) AccessChain 103(ubo) 243 - 253: 28(float) Load 252 - 254: 28(float) FAdd 251 253 - 255: 28(float) ExtInst 3(GLSL.std.450) 14(Cos) 254 - Store 114(c) 255 - 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 257 257 12 12 - 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 260 259(gRotMat) 74 - 263: 28(float) Load 114(c) - 264: 28(float) Load 70(s) - 265: 81(fvec4) CompositeConstruct 263 136 264 136 - 267: 266(ptr) AccessChain 259(gRotMat) 133 - Store 267 265 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 269 269 12 12 - 271: 266(ptr) AccessChain 259(gRotMat) 142 - Store 271 270 - 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 273 273 12 12 - 274: 28(float) Load 70(s) - 275: 28(float) FNegate 274 - 276: 28(float) Load 114(c) - 277: 81(fvec4) CompositeConstruct 275 136 276 136 - 278: 266(ptr) AccessChain 259(gRotMat) 150 - Store 278 277 - 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 280 280 12 12 - 282: 266(ptr) AccessChain 259(gRotMat) 106 - Store 282 281 - 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 284 284 12 12 - 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 286 285(locPos) 74 - 292: 31(fvec3) Load 289(inPos) - 293: 126 Load 230(rotMat) - 294: 31(fvec3) VectorTimesMatrix 292 293 - 295: 28(float) CompositeExtract 294 0 - 296: 28(float) CompositeExtract 294 1 - 297: 28(float) CompositeExtract 294 2 - 298: 81(fvec4) CompositeConstruct 295 296 297 151 - Store 285(locPos) 298 - 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 300 300 12 12 - 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 302 301(pos) 74 - 305: 81(fvec4) Load 285(locPos) - 306: 31(fvec3) VectorShuffle 305 305 0 1 2 - 310: 28(float) Load 307(instanceScale) - 311: 31(fvec3) VectorTimesScalar 306 310 - 315: 31(fvec3) Load 312(instancePos) - 316: 31(fvec3) FAdd 311 315 - 317: 28(float) CompositeExtract 316 0 - 318: 28(float) CompositeExtract 316 1 - 319: 28(float) CompositeExtract 316 2 - 320: 81(fvec4) CompositeConstruct 317 318 319 151 - Store 301(pos) 320 - 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 322 322 12 12 - 340: 339(ptr) AccessChain 103(ubo) 133 - 341: 83 Load 340 - 342: 339(ptr) AccessChain 103(ubo) 142 - 343: 83 Load 342 - 344: 83 MatrixTimesMatrix 341 343 - 345: 83 Load 259(gRotMat) - 346: 83 MatrixTimesMatrix 344 345 - 347: 81(fvec4) Load 301(pos) - 348: 81(fvec4) MatrixTimesVector 346 347 - 350: 349(ptr) AccessChain 337 133 - Store 350 348 - 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 352 352 12 12 - 356: 339(ptr) AccessChain 103(ubo) 142 - 357: 83 Load 356 - 358: 83 Load 259(gRotMat) - 359: 83 MatrixTimesMatrix 357 358 - 360: 81(fvec4) CompositeExtract 359 0 - 361: 31(fvec3) VectorShuffle 360 360 0 1 2 - 362: 81(fvec4) CompositeExtract 359 1 - 363: 31(fvec3) VectorShuffle 362 362 0 1 2 - 364: 81(fvec4) CompositeExtract 359 2 - 365: 31(fvec3) VectorShuffle 364 364 0 1 2 - 366: 126 CompositeConstruct 361 363 365 - 367: 126 Load 230(rotMat) - 368: 126 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 367 - 369: 126 MatrixTimesMatrix 366 368 - 373: 31(fvec3) Load 370(inNormal) - 374: 31(fvec3) MatrixTimesVector 369 373 - Store 353(outNormal) 374 - 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 376 376 12 12 - 377: 339(ptr) AccessChain 103(ubo) 142 - 378: 83 Load 377 - 379: 31(fvec3) Load 289(inPos) - 380: 31(fvec3) Load 312(instancePos) - 381: 31(fvec3) FAdd 379 380 - 382: 28(float) CompositeExtract 381 0 - 383: 28(float) CompositeExtract 381 1 - 384: 28(float) CompositeExtract 381 2 - 385: 81(fvec4) CompositeConstruct 382 383 384 151 - 386: 81(fvec4) MatrixTimesVector 378 385 - Store 301(pos) 386 - 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 388 388 12 12 - 392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 390 389(lPos) 74 - 393: 339(ptr) AccessChain 103(ubo) 142 - 394: 83 Load 393 - 395: 81(fvec4) CompositeExtract 394 0 - 396: 31(fvec3) VectorShuffle 395 395 0 1 2 - 397: 81(fvec4) CompositeExtract 394 1 - 398: 31(fvec3) VectorShuffle 397 397 0 1 2 - 399: 81(fvec4) CompositeExtract 394 2 - 400: 31(fvec3) VectorShuffle 399 399 0 1 2 - 401: 126 CompositeConstruct 396 398 400 - 403: 402(ptr) AccessChain 103(ubo) 150 - 404: 81(fvec4) Load 403 - 405: 31(fvec3) VectorShuffle 404 404 0 1 2 - 406: 31(fvec3) MatrixTimesVector 401 405 - Store 389(lPos) 406 - 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 408 408 12 12 - 412: 31(fvec3) Load 389(lPos) - 413: 81(fvec4) Load 301(pos) - 414: 31(fvec3) VectorShuffle 413 413 0 1 2 - 415: 31(fvec3) FSub 412 414 - Store 409(outLightVec) 415 - 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 417 417 12 12 - 421: 81(fvec4) Load 301(pos) - 422: 31(fvec3) VectorShuffle 421 421 0 1 2 - 423: 31(fvec3) FNegate 422 - Store 418(outViewVec) 423 + 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 + 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 + 43: 32(fvec3) Load 40(inColor) + Store 35(outColor) 43 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 45 45 12 12 + 55: 49(fvec2) Load 52(inUV) + 63: 56(int) Load 60(instanceTexIndex) + 64: 29(float) ConvertSToF 63 + 65: 29(float) CompositeExtract 55 0 + 66: 29(float) CompositeExtract 55 1 + 67: 32(fvec3) CompositeConstruct 65 66 64 + Store 46(outUV) 67 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12 + 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 + 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 + 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 Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.comp.out b/Test/baseResults/spv.debuginfo.hlsl.comp.out index 30cd581a..1845cfe0 100644 --- a/Test/baseResults/spv.debuginfo.hlsl.comp.out +++ b/Test/baseResults/spv.debuginfo.hlsl.comp.out @@ -1,20 +1,20 @@ spv.debuginfo.hlsl.comp // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 976 +// Id's are bound by 978 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" 971 + EntryPoint GLCompute 6 "main" 973 ExecutionMode 6 LocalSize 10 10 1 1: String "" 9: String "float" 12: String "uint" - 28: String "springForce" - 31: String "// OpModuleProcessed auto-map-locations + 29: String "springForce" + 32: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed entry-point main // OpModuleProcessed client vulkan100 @@ -23,153 +23,153 @@ spv.debuginfo.hlsl.comp // OpModuleProcessed hlsl-offsets #line 1 " - 40: String "p0" - 44: String "p1" - 48: String "restDist" - 57: String "@main" - 63: String "id" - 71: String "dist" - 83: String "int" - 89: String "sphereRadius" - 100: String "gravity" - 105: String "particleCount" - 108: String "UBO" - 111: String "params" - 115: String "ubo" - 140: String "index" - 163: String "bool" - 177: String "normal" - 184: String "pinned" - 188: String "Particle" - 193: String "@data" - 197: String "particleIn" - 219: String "particleOut" - 244: String "force" - 257: String "pos" - 267: String "vel" - 567: String "f" - 616: String "sphereDist" - 669: String "calculateNormals" - 673: String "PushConstants" - 676: String "pushConstants" - 679: String "$Global" - 719: String "a" - 732: String "b" - 749: String "c" + 41: String "p0" + 45: String "p1" + 49: String "restDist" + 59: String "@main" + 65: String "id" + 73: String "dist" + 85: String "int" + 91: String "sphereRadius" + 102: String "gravity" + 107: String "particleCount" + 110: String "UBO" + 113: String "params" + 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" Name 6 "main" Name 27 "springForce(vf3;vf3;f1;" Name 24 "p0" Name 25 "p1" Name 26 "restDist" - Name 56 "@main(vu3;" - Name 55 "id" - Name 69 "dist" - Name 87 "UBO" - MemberName 87(UBO) 0 "deltaT" - MemberName 87(UBO) 1 "particleMass" - MemberName 87(UBO) 2 "springStiffness" - MemberName 87(UBO) 3 "damping" - MemberName 87(UBO) 4 "restDistH" - MemberName 87(UBO) 5 "restDistV" - MemberName 87(UBO) 6 "restDistD" - MemberName 87(UBO) 7 "sphereRadius" - MemberName 87(UBO) 8 "spherePos" - MemberName 87(UBO) 9 "gravity" - MemberName 87(UBO) 10 "particleCount" - Name 109 "ubo" - MemberName 109(ubo) 0 "params" - Name 117 "" - Name 138 "index" - Name 175 "Particle" - MemberName 175(Particle) 0 "pos" - MemberName 175(Particle) 1 "vel" - MemberName 175(Particle) 2 "uv" - MemberName 175(Particle) 3 "normal" - MemberName 175(Particle) 4 "pinned" - Name 191 "particleIn" - MemberName 191(particleIn) 0 "@data" - Name 199 "particleIn" - Name 215 "particleOut" - MemberName 215(particleOut) 0 "@data" - Name 221 "particleOut" - Name 242 "force" - Name 255 "pos" - Name 265 "vel" - Name 286 "param" - Name 290 "param" + Name 57 "@main(vu3;" + Name 56 "id" + Name 71 "dist" + Name 89 "UBO" + MemberName 89(UBO) 0 "deltaT" + MemberName 89(UBO) 1 "particleMass" + MemberName 89(UBO) 2 "springStiffness" + MemberName 89(UBO) 3 "damping" + MemberName 89(UBO) 4 "restDistH" + MemberName 89(UBO) 5 "restDistV" + MemberName 89(UBO) 6 "restDistD" + MemberName 89(UBO) 7 "sphereRadius" + MemberName 89(UBO) 8 "spherePos" + MemberName 89(UBO) 9 "gravity" + MemberName 89(UBO) 10 "particleCount" + Name 111 "ubo" + 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 316 "param" - Name 320 "param" + Name 294 "param" + Name 318 "param" Name 322 "param" - Name 350 "param" - Name 354 "param" + Name 324 "param" + Name 352 "param" Name 356 "param" - Name 379 "param" - Name 383 "param" + Name 358 "param" + Name 381 "param" Name 385 "param" - Name 420 "param" - Name 424 "param" + Name 387 "param" + Name 422 "param" Name 426 "param" - Name 456 "param" - Name 460 "param" + Name 428 "param" + Name 458 "param" Name 462 "param" - Name 500 "param" - Name 504 "param" + Name 464 "param" + Name 502 "param" Name 506 "param" - Name 540 "param" - Name 544 "param" + Name 508 "param" + Name 542 "param" Name 546 "param" - Name 565 "f" - Name 614 "sphereDist" - Name 667 "PushConstants" - MemberName 667(PushConstants) 0 "calculateNormals" - Name 674 "$Global" - MemberName 674($Global) 0 "pushConstants" - Name 681 "" - Name 693 "normal" - Name 717 "a" - Name 730 "b" - Name 747 "c" - Name 969 "id" + 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 "param" - MemberDecorate 87(UBO) 0 Offset 0 - MemberDecorate 87(UBO) 1 Offset 4 - MemberDecorate 87(UBO) 2 Offset 8 - MemberDecorate 87(UBO) 3 Offset 12 - MemberDecorate 87(UBO) 4 Offset 16 - MemberDecorate 87(UBO) 5 Offset 20 - MemberDecorate 87(UBO) 6 Offset 24 - MemberDecorate 87(UBO) 7 Offset 28 - MemberDecorate 87(UBO) 8 Offset 32 - MemberDecorate 87(UBO) 9 Offset 48 - MemberDecorate 87(UBO) 10 Offset 64 - MemberDecorate 109(ubo) 0 Offset 0 - Decorate 109(ubo) Block - Decorate 117 DescriptorSet 0 - Decorate 117 Binding 2 - MemberDecorate 175(Particle) 0 Offset 0 - MemberDecorate 175(Particle) 1 Offset 16 - MemberDecorate 175(Particle) 2 Offset 32 - MemberDecorate 175(Particle) 3 Offset 48 - MemberDecorate 175(Particle) 4 Offset 64 - Decorate 189 ArrayStride 80 - MemberDecorate 191(particleIn) 0 NonWritable - MemberDecorate 191(particleIn) 0 Offset 0 - Decorate 191(particleIn) BufferBlock - Decorate 199(particleIn) DescriptorSet 0 - Decorate 199(particleIn) Binding 0 - Decorate 213 ArrayStride 80 - MemberDecorate 215(particleOut) 0 Offset 0 - Decorate 215(particleOut) BufferBlock - Decorate 221(particleOut) DescriptorSet 0 - Decorate 221(particleOut) Binding 1 - MemberDecorate 667(PushConstants) 0 Offset 0 - MemberDecorate 674($Global) 0 Offset 0 - Decorate 674($Global) Block - Decorate 681 DescriptorSet 0 - Decorate 681 Binding 3 - Decorate 971(id) BuiltIn GlobalInvocationId + Name 973 "id" + Name 975 "param" + MemberDecorate 89(UBO) 0 Offset 0 + MemberDecorate 89(UBO) 1 Offset 4 + MemberDecorate 89(UBO) 2 Offset 8 + MemberDecorate 89(UBO) 3 Offset 12 + MemberDecorate 89(UBO) 4 Offset 16 + MemberDecorate 89(UBO) 5 Offset 20 + MemberDecorate 89(UBO) 6 Offset 24 + MemberDecorate 89(UBO) 7 Offset 28 + MemberDecorate 89(UBO) 8 Offset 32 + MemberDecorate 89(UBO) 9 Offset 48 + MemberDecorate 89(UBO) 10 Offset 64 + MemberDecorate 111(ubo) 0 Offset 0 + 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 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -186,233 +186,235 @@ spv.debuginfo.hlsl.comp 21: TypePointer Function 8(float) 22: TypeFunction 18(fvec3) 20(ptr) 20(ptr) 21(ptr) 23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 19 19 19 10 - 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 31 - 33: 11(int) Constant 1 - 34: 11(int) Constant 4 - 35: 11(int) Constant 5 - 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 33 34 30 35 - 29: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 28 23 30 16 16 32 28 17 16 - 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 40 19 30 16 16 29 34 33 - 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 45: 11(int) Constant 2 - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 44 19 30 16 16 29 34 45 - 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 48 10 30 16 16 29 34 17 - 50: TypeVector 11(int) 3 - 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17 - 52: TypePointer Function 50(ivec3) - 53: TypeFunction 4 52(ptr) - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 51 - 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 57 54 30 16 16 32 57 17 16 - 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 63 51 30 16 16 58 34 33 - 68: 11(int) Constant 76 - 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 71 19 30 68 16 29 34 - 77: 11(int) Constant 77 - 80: TypeVector 8(float) 4 - 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 34 - 82: TypeInt 32 1 - 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 83 14 34 16 - 85: TypeVector 82(int) 2 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 84 45 - 87(UBO): TypeStruct 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 80(fvec4) 80(fvec4) 85(ivec2) - 90: 11(int) Constant 48 - 91: 11(int) Constant 20 - 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 10 30 90 91 16 16 17 - 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 10 30 90 91 16 16 17 - 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 10 30 90 91 16 16 17 - 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 10 30 90 91 16 16 17 - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 10 30 90 91 16 16 17 - 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 10 30 90 91 16 16 17 - 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 10 30 90 91 16 16 17 - 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 89 10 30 90 91 16 16 17 - 101: 11(int) Constant 50 - 102: 11(int) Constant 16 - 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 81 30 101 102 16 16 17 - 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 81 30 101 102 16 16 17 - 106: 11(int) Constant 51 - 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 105 86 30 106 91 16 16 17 - 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 108 33 30 77 16 32 108 16 17 88 92 93 94 95 96 97 98 99 103 104 - 109(ubo): TypeStruct 87(UBO) - 112: 11(int) Constant 56 - 113: 11(int) Constant 12 - 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 111 107 30 112 113 16 16 17 - 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 115 33 30 77 16 32 115 16 17 110 - 116: TypePointer Uniform 109(ubo) - 117: 116(ptr) Variable Uniform - 119: 11(int) Constant 8 - 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 114 30 77 16 32 1 117 119 - 120: 82(int) Constant 0 - 121: 82(int) Constant 2 - 122: TypePointer Uniform 8(float) - 136: 11(int) Constant 83 - 137: TypePointer Function 11(int) - 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 140 13 30 136 16 58 34 - 144: 82(int) Constant 10 - 145: TypePointer Uniform 82(int) - 154: 11(int) Constant 84 - 162: TypeBool - 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 170: 11(int) Constant 85 - 174: 11(int) Constant 88 - 175(Particle): TypeStruct 80(fvec4) 80(fvec4) 80(fvec4) 80(fvec4) 8(float) - 178: 11(int) Constant 30 - 179: 11(int) Constant 15 - 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 177 81 30 178 179 16 16 17 - 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 177 81 30 178 179 16 16 17 - 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 177 81 30 178 179 16 16 17 - 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 177 81 30 178 179 16 16 17 - 185: 11(int) Constant 31 - 186: 11(int) Constant 14 - 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 184 10 30 185 186 16 16 17 - 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 188 33 30 174 16 32 188 16 17 176 180 181 182 183 - 189: TypeRuntimeArray 175(Particle) - 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 187 16 - 191(particleIn): TypeStruct 189 - 194: 11(int) Constant 35 - 195: 11(int) Constant 28 - 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 193 190 30 194 195 16 16 17 - 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 197 33 30 174 16 32 197 16 17 192 - 198: TypePointer Uniform 191(particleIn) - 199(particleIn): 198(ptr) Variable Uniform - 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 197 196 30 174 16 32 197 199(particleIn) 119 - 202: 82(int) Constant 4 - 205: 8(float) Constant 1065353216 - 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 212: 11(int) Constant 89 - 213: TypeRuntimeArray 175(Particle) - 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 187 16 -215(particleOut): TypeStruct 213 - 217: 11(int) Constant 37 - 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 193 214 30 217 178 16 16 17 - 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 219 33 30 212 16 32 219 16 17 216 - 220: TypePointer Uniform 215(particleOut) -221(particleOut): 220(ptr) Variable Uniform - 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 219 218 30 212 16 32 219 221(particleOut) 119 - 225: TypePointer Uniform 80(fvec4) - 230: 11(int) Constant 90 - 232: 82(int) Constant 1 - 233: 8(float) Constant 0 - 234: 80(fvec4) ConstantComposite 233 233 233 233 - 237: 11(int) Constant 91 - 241: 11(int) Constant 95 - 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 244 19 30 241 16 58 34 - 246: 82(int) Constant 9 - 254: 11(int) Constant 97 - 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 257 19 30 254 16 58 34 - 264: 11(int) Constant 98 - 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 267 19 30 264 16 58 34 - 274: 11(int) Constant 102 - 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 283: 11(int) Constant 103 - 300: 11(int) Constant 106 - 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 313: 11(int) Constant 107 - 330: 11(int) Constant 110 - 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 343: 11(int) Constant 111 - 349: 82(int) Constant 5 - 364: 11(int) Constant 114 - 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 373: 11(int) Constant 115 - 393: 11(int) Constant 118 - 396: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 412: 11(int) Constant 119 - 419: 82(int) Constant 6 - 434: 11(int) Constant 122 - 437: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 449: 11(int) Constant 123 - 470: 11(int) Constant 126 - 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 493: 11(int) Constant 127 - 514: 11(int) Constant 130 - 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 533: 11(int) Constant 131 - 554: 11(int) Constant 134 - 555: 82(int) Constant 3 - 564: 11(int) Constant 137 - 566: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 567 19 30 564 16 58 34 - 575: 11(int) Constant 138 - 583: 8(float) Constant 1056964608 - 599: 11(int) Constant 139 - 613: 11(int) Constant 142 - 615: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 616 19 30 613 16 58 34 - 622: 82(int) Constant 8 - 628: 11(int) Constant 143 - 631: 82(int) Constant 7 - 634: 8(float) Constant 1008981770 - 636: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 642: 11(int) Constant 145 - 661: 11(int) Constant 147 - 666: 11(int) Constant 151 -667(PushConstants): TypeStruct 11(int) - 670: 11(int) Constant 67 - 671: 11(int) Constant 23 - 668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 669 13 30 670 671 16 16 17 - 672: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 673 33 30 666 16 32 673 16 17 668 - 674($Global): TypeStruct 667(PushConstants) - 677: 11(int) Constant 71 - 675: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 676 672 30 677 179 16 16 17 - 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 679 33 30 666 16 32 679 16 17 675 - 680: TypePointer Uniform 674($Global) - 681: 680(ptr) Variable Uniform - 682: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 678 30 666 16 32 1 681 119 - 683: TypePointer Uniform 11(int) - 686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 692: 11(int) Constant 152 - 694: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 177 19 30 692 16 58 34 - 696: 18(fvec3) ConstantComposite 233 233 233 - 698: 11(int) Constant 154 - 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 707: 11(int) Constant 155 - 710: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 716: 11(int) Constant 156 - 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 719 19 30 716 16 58 34 - 729: 11(int) Constant 157 - 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 732 19 30 729 16 58 34 - 746: 11(int) Constant 158 - 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 749 19 30 746 16 58 34 - 762: 11(int) Constant 159 - 774: 11(int) Constant 161 - 781: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 787: 11(int) Constant 162 - 799: 11(int) Constant 163 - 812: 11(int) Constant 164 - 821: 11(int) Constant 165 - 833: 11(int) Constant 168 - 840: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 846: 11(int) Constant 169 - 849: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 855: 11(int) Constant 170 - 867: 11(int) Constant 171 - 880: 11(int) Constant 172 - 889: 11(int) Constant 173 - 901: 11(int) Constant 175 - 908: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 163 14 45 16 - 914: 11(int) Constant 176 - 923: 11(int) Constant 177 - 936: 11(int) Constant 178 - 948: 11(int) Constant 179 - 960: 11(int) Constant 182 - 970: TypePointer Input 50(ivec3) - 971(id): 970(ptr) Variable Input + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 32 + 33: 11(int) Constant 75 + 35: 11(int) Constant 1 + 36: 11(int) Constant 4 + 37: 11(int) Constant 5 + 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 35 36 31 37 + 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 29 23 31 33 16 34 29 17 33 + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 41 19 31 33 16 30 36 35 + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 46: 11(int) Constant 2 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 19 31 33 16 30 36 46 + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 10 31 33 16 30 36 17 + 51: TypeVector 11(int) 3 + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17 + 53: TypePointer Function 51(ivec3) + 54: TypeFunction 4 53(ptr) + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 52 + 61: 11(int) Constant 82 + 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 59 55 31 61 16 34 59 17 61 + 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 65 52 31 61 16 60 36 35 + 70: 11(int) Constant 76 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 73 19 31 70 16 30 36 + 79: 11(int) Constant 77 + 82: TypeVector 8(float) 4 + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 36 + 84: TypeInt 32 1 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 85 14 36 16 + 87: TypeVector 84(int) 2 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 86 46 + 89(UBO): TypeStruct 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 82(fvec4) 82(fvec4) 87(ivec2) + 92: 11(int) Constant 48 + 93: 11(int) Constant 20 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 + 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 + 103: 11(int) Constant 50 + 104: 11(int) Constant 16 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 102 83 31 103 104 16 16 17 + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 102 83 31 103 104 16 16 17 + 108: 11(int) Constant 51 + 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 107 88 31 108 93 16 16 17 + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 110 35 31 79 16 34 110 16 17 90 94 95 96 97 98 99 100 101 105 106 + 111(ubo): TypeStruct 89(UBO) + 114: 11(int) Constant 56 + 115: 11(int) Constant 12 + 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 113 109 31 114 115 16 16 17 + 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 117 35 31 79 16 34 117 16 17 112 + 118: TypePointer Uniform 111(ubo) + 119: 118(ptr) Variable Uniform + 121: 11(int) Constant 8 + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 116 31 79 16 34 1 119 121 + 122: 84(int) Constant 0 + 123: 84(int) Constant 2 + 124: TypePointer Uniform 8(float) + 138: 11(int) Constant 83 + 139: TypePointer Function 11(int) + 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 142 13 31 138 16 60 36 + 146: 84(int) Constant 10 + 147: TypePointer Uniform 84(int) + 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 + 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 Line 1 82 1 6(main): 4 Function None 5 7: Label - 969(id): 52(ptr) Variable Function - 973(param): 52(ptr) Variable Function + 971(id): 53(ptr) Variable Function + 975(param): 53(ptr) Variable Function Line 1 82 0 - 972: 50(ivec3) Load 971(id) - Store 969(id) 972 - 974: 50(ivec3) Load 969(id) - Store 973(param) 974 - 975: 4 FunctionCall 56(@main(vu3;) 973(param) + 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) Return FunctionEnd Line 1 75 1 @@ -420,816 +422,816 @@ spv.debuginfo.hlsl.comp 24(p0): 20(ptr) FunctionParameter 25(p1): 20(ptr) FunctionParameter 26(restDist): 21(ptr) FunctionParameter - 36: Label - 69(dist): 20(ptr) Variable Function - 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 29 - 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 16 16 16 16 - 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 39 24(p0) 42 - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 43 25(p1) 42 - 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 47 26(restDist) 42 - 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 29 27(springForce(vf3;vf3;f1;) - 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 29 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 68 68 16 16 - 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 70 69(dist) 42 - 73: 18(fvec3) Load 24(p0) - 74: 18(fvec3) Load 25(p1) - 75: 18(fvec3) FSub 73 74 - Store 69(dist) 75 - 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 77 77 16 16 - 78: 18(fvec3) Load 69(dist) - 79: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 78 - 123: 122(ptr) AccessChain 117 120 121 - 124: 8(float) Load 123 - 125: 18(fvec3) VectorTimesScalar 79 124 - 126: 18(fvec3) Load 69(dist) - 127: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 126 - 128: 8(float) Load 26(restDist) - 129: 8(float) FSub 127 128 - 130: 18(fvec3) VectorTimesScalar 125 129 - ReturnValue 130 + 28: Label + 71(dist): 20(ptr) Variable Function + 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30 + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 33 33 16 16 + 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 40 24(p0) 43 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 25(p1) 43 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 26(restDist) 43 + 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 30 27(springForce(vf3;vf3;f1;) + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30 + 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 70 70 16 16 + 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(dist) 43 + 75: 18(fvec3) Load 24(p0) + 76: 18(fvec3) Load 25(p1) + 77: 18(fvec3) FSub 75 76 + Store 71(dist) 77 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 79 79 16 16 + 80: 18(fvec3) Load 71(dist) + 81: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 80 + 125: 124(ptr) AccessChain 119 122 123 + 126: 8(float) Load 125 + 127: 18(fvec3) VectorTimesScalar 81 126 + 128: 18(fvec3) Load 71(dist) + 129: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 128 + 130: 8(float) Load 26(restDist) + 131: 8(float) FSub 129 130 + 132: 18(fvec3) VectorTimesScalar 127 131 + ReturnValue 132 FunctionEnd Line 1 82 1 - 56(@main(vu3;): 4 Function None 53 - 55(id): 52(ptr) FunctionParameter - 59: Label - 138(index): 137(ptr) Variable Function - 242(force): 20(ptr) Variable Function - 255(pos): 20(ptr) Variable Function - 265(vel): 20(ptr) Variable Function - 286(param): 20(ptr) Variable Function - 290(param): 20(ptr) Variable Function - 292(param): 21(ptr) Variable Function - 316(param): 20(ptr) Variable Function - 320(param): 20(ptr) Variable Function - 322(param): 21(ptr) Variable Function - 350(param): 20(ptr) Variable Function - 354(param): 20(ptr) Variable Function - 356(param): 21(ptr) Variable Function - 379(param): 20(ptr) Variable Function - 383(param): 20(ptr) Variable Function - 385(param): 21(ptr) Variable Function - 420(param): 20(ptr) Variable Function - 424(param): 20(ptr) Variable Function - 426(param): 21(ptr) Variable Function - 456(param): 20(ptr) Variable Function - 460(param): 20(ptr) Variable Function - 462(param): 21(ptr) Variable Function - 500(param): 20(ptr) Variable Function - 504(param): 20(ptr) Variable Function - 506(param): 21(ptr) Variable Function - 540(param): 20(ptr) Variable Function - 544(param): 20(ptr) Variable Function - 546(param): 21(ptr) Variable Function - 565(f): 20(ptr) Variable Function - 614(sphereDist): 20(ptr) Variable Function - 693(normal): 20(ptr) Variable Function - 717(a): 20(ptr) Variable Function - 730(b): 20(ptr) Variable Function - 747(c): 20(ptr) Variable Function - 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 16 16 16 16 - 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 62 55(id) 42 - 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 58 56(@main(vu3;) - 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 136 136 16 16 - 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 139 138(index) 42 - 142: 137(ptr) AccessChain 55(id) 33 - 143: 11(int) Load 142 - 146: 145(ptr) AccessChain 117 120 144 16 - 147: 82(int) Load 146 - 148: 11(int) Bitcast 147 - 149: 11(int) IMul 143 148 - 150: 137(ptr) AccessChain 55(id) 16 - 151: 11(int) Load 150 - 152: 11(int) IAdd 149 151 - Store 138(index) 152 - 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 154 154 16 16 - 155: 11(int) Load 138(index) - 156: 145(ptr) AccessChain 117 120 144 16 - 157: 82(int) Load 156 - 158: 145(ptr) AccessChain 117 120 144 33 - 159: 82(int) Load 158 - 160: 82(int) IMul 157 159 - 161: 11(int) Bitcast 160 - 165: 162(bool) UGreaterThan 155 161 - SelectionMerge 167 None - BranchConditional 165 166 167 - 166: Label - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 170 170 16 16 + 57(@main(vu3;): 4 Function None 54 + 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 + 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 + 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 + 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 60 57(@main(vu3;) + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 + 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 138 138 16 16 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 141 140(index) 43 + 144: 139(ptr) AccessChain 56(id) 35 + 145: 11(int) Load 144 + 148: 147(ptr) AccessChain 119 122 146 16 + 149: 84(int) Load 148 + 150: 11(int) Bitcast 149 + 151: 11(int) IMul 145 150 + 152: 139(ptr) AccessChain 56(id) 16 + 153: 11(int) Load 152 + 154: 11(int) IAdd 151 153 + Store 140(index) 154 + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 156 156 16 16 + 157: 11(int) Load 140(index) + 158: 147(ptr) AccessChain 119 122 146 16 + 159: 84(int) Load 158 + 160: 147(ptr) AccessChain 119 122 146 35 + 161: 84(int) Load 160 + 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 Return - 167: Label - 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 174 174 16 16 - 201: 11(int) Load 138(index) - 203: 122(ptr) AccessChain 199(particleIn) 120 201 202 - 204: 8(float) Load 203 - 207: 162(bool) FOrdEqual 204 205 - SelectionMerge 209 None - BranchConditional 207 208 209 - 208: Label - 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 212 212 16 16 - 223: 11(int) Load 138(index) - 224: 11(int) Load 138(index) - 226: 225(ptr) AccessChain 221(particleOut) 120 224 120 - 227: 80(fvec4) Load 226 - 228: 225(ptr) AccessChain 221(particleOut) 120 223 120 - Store 228 227 - 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 230 230 16 16 - 231: 11(int) Load 138(index) - 235: 225(ptr) AccessChain 221(particleOut) 120 231 232 - Store 235 234 - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 237 237 16 16 + 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 Return - 209: Label - 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 241 241 16 16 - 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 243 242(force) 42 - 247: 225(ptr) AccessChain 117 120 246 - 248: 80(fvec4) Load 247 - 249: 18(fvec3) VectorShuffle 248 248 0 1 2 - 250: 122(ptr) AccessChain 117 120 232 - 251: 8(float) Load 250 - 252: 18(fvec3) VectorTimesScalar 249 251 - Store 242(force) 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(pos) 42 - 259: 11(int) Load 138(index) - 260: 225(ptr) AccessChain 199(particleIn) 120 259 120 - 261: 80(fvec4) Load 260 - 262: 18(fvec3) VectorShuffle 261 261 0 1 2 - Store 255(pos) 262 - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 264 264 16 16 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 266 265(vel) 42 - 269: 11(int) Load 138(index) - 270: 225(ptr) AccessChain 199(particleIn) 120 269 232 - 271: 80(fvec4) Load 270 - 272: 18(fvec3) VectorShuffle 271 271 0 1 2 - Store 265(vel) 272 - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 274 274 16 16 - 275: 137(ptr) AccessChain 55(id) 16 - 276: 11(int) Load 275 - 278: 162(bool) UGreaterThan 276 16 - SelectionMerge 280 None - BranchConditional 278 279 280 - 279: Label - 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 283 283 16 16 - 284: 11(int) Load 138(index) - 285: 11(int) ISub 284 33 - 287: 225(ptr) AccessChain 199(particleIn) 120 285 120 - 288: 80(fvec4) Load 287 - 289: 18(fvec3) VectorShuffle 288 288 0 1 2 - Store 286(param) 289 - 291: 18(fvec3) Load 255(pos) - Store 290(param) 291 - 293: 122(ptr) AccessChain 117 120 202 - 294: 8(float) Load 293 - Store 292(param) 294 - 295: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 286(param) 290(param) 292(param) - 296: 18(fvec3) Load 242(force) - 297: 18(fvec3) FAdd 296 295 - Store 242(force) 297 - Branch 280 - 280: Label - 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 300 300 16 16 - 301: 137(ptr) AccessChain 55(id) 16 - 302: 11(int) Load 301 - 303: 145(ptr) AccessChain 117 120 144 16 - 304: 82(int) Load 303 - 305: 82(int) ISub 304 232 - 306: 11(int) Bitcast 305 - 308: 162(bool) ULessThan 302 306 - SelectionMerge 310 None - BranchConditional 308 309 310 - 309: Label - 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 313 313 16 16 - 314: 11(int) Load 138(index) - 315: 11(int) IAdd 314 33 - 317: 225(ptr) AccessChain 199(particleIn) 120 315 120 - 318: 80(fvec4) Load 317 - 319: 18(fvec3) VectorShuffle 318 318 0 1 2 - Store 316(param) 319 - 321: 18(fvec3) Load 255(pos) - Store 320(param) 321 - 323: 122(ptr) AccessChain 117 120 202 - 324: 8(float) Load 323 - Store 322(param) 324 - 325: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 316(param) 320(param) 322(param) - 326: 18(fvec3) Load 242(force) - 327: 18(fvec3) FAdd 326 325 - Store 242(force) 327 - Branch 310 - 310: Label - 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 330 330 16 16 - 331: 137(ptr) AccessChain 55(id) 33 - 332: 11(int) Load 331 - 333: 145(ptr) AccessChain 117 120 144 33 - 334: 82(int) Load 333 - 335: 82(int) ISub 334 232 - 336: 11(int) Bitcast 335 - 338: 162(bool) ULessThan 332 336 - SelectionMerge 340 None - BranchConditional 338 339 340 - 339: Label - 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 343 343 16 16 - 344: 11(int) Load 138(index) - 345: 145(ptr) AccessChain 117 120 144 16 - 346: 82(int) Load 345 - 347: 11(int) Bitcast 346 - 348: 11(int) IAdd 344 347 - 351: 225(ptr) AccessChain 199(particleIn) 120 348 120 - 352: 80(fvec4) Load 351 - 353: 18(fvec3) VectorShuffle 352 352 0 1 2 - Store 350(param) 353 - 355: 18(fvec3) Load 255(pos) - Store 354(param) 355 - 357: 122(ptr) AccessChain 117 120 349 - 358: 8(float) Load 357 - Store 356(param) 358 - 359: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 350(param) 354(param) 356(param) - 360: 18(fvec3) Load 242(force) - 361: 18(fvec3) FAdd 360 359 - Store 242(force) 361 - Branch 340 - 340: Label - 362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 364 364 16 16 - 365: 137(ptr) AccessChain 55(id) 33 - 366: 11(int) Load 365 - 368: 162(bool) UGreaterThan 366 16 - SelectionMerge 370 None - BranchConditional 368 369 370 - 369: Label - 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 373 373 16 16 - 374: 11(int) Load 138(index) - 375: 145(ptr) AccessChain 117 120 144 16 - 376: 82(int) Load 375 - 377: 11(int) Bitcast 376 - 378: 11(int) ISub 374 377 - 380: 225(ptr) AccessChain 199(particleIn) 120 378 120 - 381: 80(fvec4) Load 380 - 382: 18(fvec3) VectorShuffle 381 381 0 1 2 - Store 379(param) 382 - 384: 18(fvec3) Load 255(pos) - Store 383(param) 384 - 386: 122(ptr) AccessChain 117 120 349 - 387: 8(float) Load 386 - Store 385(param) 387 - 388: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 379(param) 383(param) 385(param) - 389: 18(fvec3) Load 242(force) - 390: 18(fvec3) FAdd 389 388 - Store 242(force) 390 - Branch 370 - 370: Label - 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 393 393 16 16 - 394: 137(ptr) AccessChain 55(id) 16 - 395: 11(int) Load 394 - 397: 162(bool) UGreaterThan 395 16 - 398: 137(ptr) AccessChain 55(id) 33 - 399: 11(int) Load 398 - 400: 145(ptr) AccessChain 117 120 144 33 - 401: 82(int) Load 400 - 402: 82(int) ISub 401 232 - 403: 11(int) Bitcast 402 - 405: 162(bool) ULessThan 399 403 - 407: 162(bool) LogicalAnd 397 405 - SelectionMerge 409 None - BranchConditional 407 408 409 - 408: Label - 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 412 412 16 16 - 413: 11(int) Load 138(index) - 414: 145(ptr) AccessChain 117 120 144 16 - 415: 82(int) Load 414 - 416: 11(int) Bitcast 415 - 417: 11(int) IAdd 413 416 - 418: 11(int) ISub 417 33 - 421: 225(ptr) AccessChain 199(particleIn) 120 418 120 - 422: 80(fvec4) Load 421 - 423: 18(fvec3) VectorShuffle 422 422 0 1 2 - Store 420(param) 423 - 425: 18(fvec3) Load 255(pos) - Store 424(param) 425 - 427: 122(ptr) AccessChain 117 120 419 - 428: 8(float) Load 427 - Store 426(param) 428 - 429: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 420(param) 424(param) 426(param) - 430: 18(fvec3) Load 242(force) - 431: 18(fvec3) FAdd 430 429 - Store 242(force) 431 - Branch 409 - 409: Label - 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 433: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 434 434 16 16 - 435: 137(ptr) AccessChain 55(id) 16 - 436: 11(int) Load 435 - 438: 162(bool) UGreaterThan 436 16 - 439: 137(ptr) AccessChain 55(id) 33 - 440: 11(int) Load 439 - 442: 162(bool) UGreaterThan 440 16 - 444: 162(bool) LogicalAnd 438 442 - SelectionMerge 446 None - BranchConditional 444 445 446 - 445: Label - 447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 449 449 16 16 - 450: 11(int) Load 138(index) - 451: 145(ptr) AccessChain 117 120 144 16 - 452: 82(int) Load 451 - 453: 11(int) Bitcast 452 - 454: 11(int) ISub 450 453 - 455: 11(int) ISub 454 33 - 457: 225(ptr) AccessChain 199(particleIn) 120 455 120 - 458: 80(fvec4) Load 457 - 459: 18(fvec3) VectorShuffle 458 458 0 1 2 - Store 456(param) 459 - 461: 18(fvec3) Load 255(pos) - Store 460(param) 461 - 463: 122(ptr) AccessChain 117 120 419 - 464: 8(float) Load 463 - Store 462(param) 464 - 465: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 456(param) 460(param) 462(param) - 466: 18(fvec3) Load 242(force) - 467: 18(fvec3) FAdd 466 465 - Store 242(force) 467 - Branch 446 - 446: Label - 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 470 470 16 16 - 471: 137(ptr) AccessChain 55(id) 16 - 472: 11(int) Load 471 - 473: 145(ptr) AccessChain 117 120 144 16 - 474: 82(int) Load 473 - 475: 82(int) ISub 474 232 - 476: 11(int) Bitcast 475 - 478: 162(bool) ULessThan 472 476 - 479: 137(ptr) AccessChain 55(id) 33 - 480: 11(int) Load 479 - 481: 145(ptr) AccessChain 117 120 144 33 - 482: 82(int) Load 481 - 483: 82(int) ISub 482 232 - 484: 11(int) Bitcast 483 - 486: 162(bool) ULessThan 480 484 - 488: 162(bool) LogicalAnd 478 486 - SelectionMerge 490 None - BranchConditional 488 489 490 - 489: Label - 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 492: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 493 493 16 16 - 494: 11(int) Load 138(index) - 495: 145(ptr) AccessChain 117 120 144 16 - 496: 82(int) Load 495 - 497: 11(int) Bitcast 496 - 498: 11(int) IAdd 494 497 - 499: 11(int) IAdd 498 33 - 501: 225(ptr) AccessChain 199(particleIn) 120 499 120 - 502: 80(fvec4) Load 501 - 503: 18(fvec3) VectorShuffle 502 502 0 1 2 - Store 500(param) 503 - 505: 18(fvec3) Load 255(pos) - Store 504(param) 505 - 507: 122(ptr) AccessChain 117 120 419 - 508: 8(float) Load 507 - Store 506(param) 508 - 509: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 500(param) 504(param) 506(param) - 510: 18(fvec3) Load 242(force) - 511: 18(fvec3) FAdd 510 509 - Store 242(force) 511 - Branch 490 - 490: Label - 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 514 514 16 16 - 515: 137(ptr) AccessChain 55(id) 16 - 516: 11(int) Load 515 - 517: 145(ptr) AccessChain 117 120 144 16 - 518: 82(int) Load 517 - 519: 82(int) ISub 518 232 - 520: 11(int) Bitcast 519 - 522: 162(bool) ULessThan 516 520 - 523: 137(ptr) AccessChain 55(id) 33 - 524: 11(int) Load 523 - 526: 162(bool) UGreaterThan 524 16 - 528: 162(bool) LogicalAnd 522 526 - SelectionMerge 530 None - BranchConditional 528 529 530 - 529: Label - 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 533 533 16 16 - 534: 11(int) Load 138(index) - 535: 145(ptr) AccessChain 117 120 144 16 - 536: 82(int) Load 535 - 537: 11(int) Bitcast 536 - 538: 11(int) ISub 534 537 - 539: 11(int) IAdd 538 33 - 541: 225(ptr) AccessChain 199(particleIn) 120 539 120 - 542: 80(fvec4) Load 541 - 543: 18(fvec3) VectorShuffle 542 542 0 1 2 - Store 540(param) 543 - 545: 18(fvec3) Load 255(pos) - Store 544(param) 545 - 547: 122(ptr) AccessChain 117 120 419 - 548: 8(float) Load 547 - Store 546(param) 548 - 549: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 540(param) 544(param) 546(param) - 550: 18(fvec3) Load 242(force) - 551: 18(fvec3) FAdd 550 549 - Store 242(force) 551 - Branch 530 - 530: Label - 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 554 554 16 16 - 556: 122(ptr) AccessChain 117 120 555 - 557: 8(float) Load 556 - 558: 8(float) FNegate 557 - 559: 18(fvec3) Load 265(vel) - 560: 18(fvec3) VectorTimesScalar 559 558 - 561: 18(fvec3) Load 242(force) - 562: 18(fvec3) FAdd 561 560 - Store 242(force) 562 - 563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 564 564 16 16 - 568: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 566 565(f) 42 - 569: 18(fvec3) Load 242(force) - 570: 122(ptr) AccessChain 117 120 232 - 571: 8(float) Load 570 - 572: 8(float) FDiv 205 571 - 573: 18(fvec3) VectorTimesScalar 569 572 - Store 565(f) 573 - 574: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 575 575 16 16 - 576: 11(int) Load 138(index) - 577: 18(fvec3) Load 255(pos) - 578: 18(fvec3) Load 265(vel) - 579: 122(ptr) AccessChain 117 120 120 - 580: 8(float) Load 579 - 581: 18(fvec3) VectorTimesScalar 578 580 - 582: 18(fvec3) FAdd 577 581 - 584: 18(fvec3) Load 565(f) - 585: 18(fvec3) VectorTimesScalar 584 583 - 586: 122(ptr) AccessChain 117 120 120 - 587: 8(float) Load 586 - 588: 18(fvec3) VectorTimesScalar 585 587 - 589: 122(ptr) AccessChain 117 120 120 - 590: 8(float) Load 589 - 591: 18(fvec3) VectorTimesScalar 588 590 - 592: 18(fvec3) FAdd 582 591 - 593: 8(float) CompositeExtract 592 0 - 594: 8(float) CompositeExtract 592 1 - 595: 8(float) CompositeExtract 592 2 - 596: 80(fvec4) CompositeConstruct 593 594 595 205 - 597: 225(ptr) AccessChain 221(particleOut) 120 576 120 - Store 597 596 - 598: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 599 599 16 16 - 600: 11(int) Load 138(index) - 601: 18(fvec3) Load 265(vel) - 602: 18(fvec3) Load 565(f) - 603: 122(ptr) AccessChain 117 120 120 - 604: 8(float) Load 603 - 605: 18(fvec3) VectorTimesScalar 602 604 - 606: 18(fvec3) FAdd 601 605 - 607: 8(float) CompositeExtract 606 0 - 608: 8(float) CompositeExtract 606 1 - 609: 8(float) CompositeExtract 606 2 - 610: 80(fvec4) CompositeConstruct 607 608 609 233 - 611: 225(ptr) AccessChain 221(particleOut) 120 600 232 - Store 611 610 - 612: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 613 613 16 16 - 617: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 615 614(sphereDist) 42 - 618: 11(int) Load 138(index) - 619: 225(ptr) AccessChain 221(particleOut) 120 618 120 - 620: 80(fvec4) Load 619 - 621: 18(fvec3) VectorShuffle 620 620 0 1 2 - 623: 225(ptr) AccessChain 117 120 622 - 624: 80(fvec4) Load 623 - 625: 18(fvec3) VectorShuffle 624 624 0 1 2 - 626: 18(fvec3) FSub 621 625 - Store 614(sphereDist) 626 - 627: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 628 628 16 16 - 629: 18(fvec3) Load 614(sphereDist) - 630: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 629 - 632: 122(ptr) AccessChain 117 120 631 - 633: 8(float) Load 632 - 635: 8(float) FAdd 633 634 - 637: 162(bool) FOrdLessThan 630 635 - SelectionMerge 639 None - BranchConditional 637 638 639 - 638: Label - 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 642 642 16 16 - 643: 11(int) Load 138(index) - 644: 225(ptr) AccessChain 117 120 622 - 645: 80(fvec4) Load 644 - 646: 18(fvec3) VectorShuffle 645 645 0 1 2 - 647: 18(fvec3) Load 614(sphereDist) - 648: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 647 - 649: 122(ptr) AccessChain 117 120 631 - 650: 8(float) Load 649 - 651: 8(float) FAdd 650 634 - 652: 18(fvec3) VectorTimesScalar 648 651 - 653: 18(fvec3) FAdd 646 652 - 654: 122(ptr) AccessChain 221(particleOut) 120 643 120 16 - 655: 8(float) CompositeExtract 653 0 - Store 654 655 - 656: 122(ptr) AccessChain 221(particleOut) 120 643 120 33 - 657: 8(float) CompositeExtract 653 1 + 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 + 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: 122(ptr) AccessChain 221(particleOut) 120 643 120 45 - 659: 8(float) CompositeExtract 653 2 + 658: 124(ptr) AccessChain 223(particleOut) 122 645 122 35 + 659: 8(float) CompositeExtract 655 1 Store 658 659 - 660: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 661 661 16 16 - 662: 11(int) Load 138(index) - 663: 225(ptr) AccessChain 221(particleOut) 120 662 232 - Store 663 234 - Branch 639 - 639: Label - 664: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 666 666 16 16 - 684: 683(ptr) AccessChain 681 120 120 - 685: 11(int) Load 684 - 687: 162(bool) IEqual 685 33 - SelectionMerge 689 None - BranchConditional 687 688 689 - 688: Label - 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 691: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 692 692 16 16 - 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 694 693(normal) 42 - Store 693(normal) 696 - 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 698 698 16 16 - 699: 137(ptr) AccessChain 55(id) 33 - 700: 11(int) Load 699 - 702: 162(bool) UGreaterThan 700 16 - SelectionMerge 704 None - BranchConditional 702 703 704 - 703: Label - 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 706: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 707 707 16 16 - 708: 137(ptr) AccessChain 55(id) 16 - 709: 11(int) Load 708 - 711: 162(bool) UGreaterThan 709 16 - SelectionMerge 713 None - BranchConditional 711 712 713 - 712: Label - 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 715: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 716 716 16 16 - 720: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 718 717(a) 42 - 721: 11(int) Load 138(index) - 722: 11(int) ISub 721 33 - 723: 225(ptr) AccessChain 199(particleIn) 120 722 120 - 724: 80(fvec4) Load 723 - 725: 18(fvec3) VectorShuffle 724 724 0 1 2 - 726: 18(fvec3) Load 255(pos) - 727: 18(fvec3) FSub 725 726 - Store 717(a) 727 - 728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 729 729 16 16 - 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 731 730(b) 42 - 734: 11(int) Load 138(index) - 735: 145(ptr) AccessChain 117 120 144 16 - 736: 82(int) Load 735 - 737: 11(int) Bitcast 736 - 738: 11(int) ISub 734 737 - 739: 11(int) ISub 738 33 - 740: 225(ptr) AccessChain 199(particleIn) 120 739 120 - 741: 80(fvec4) Load 740 - 742: 18(fvec3) VectorShuffle 741 741 0 1 2 - 743: 18(fvec3) Load 255(pos) - 744: 18(fvec3) FSub 742 743 - Store 730(b) 744 - 745: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 746 746 16 16 - 750: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 748 747(c) 42 - 751: 11(int) Load 138(index) - 752: 145(ptr) AccessChain 117 120 144 16 - 753: 82(int) Load 752 - 754: 11(int) Bitcast 753 - 755: 11(int) ISub 751 754 - 756: 225(ptr) AccessChain 199(particleIn) 120 755 120 - 757: 80(fvec4) Load 756 - 758: 18(fvec3) VectorShuffle 757 757 0 1 2 - 759: 18(fvec3) Load 255(pos) - 760: 18(fvec3) FSub 758 759 - Store 747(c) 760 - 761: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 762 762 16 16 - 763: 18(fvec3) Load 717(a) - 764: 18(fvec3) Load 730(b) - 765: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 763 764 - 766: 18(fvec3) Load 730(b) - 767: 18(fvec3) Load 747(c) - 768: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 766 767 - 769: 18(fvec3) FAdd 765 768 - 770: 18(fvec3) Load 693(normal) - 771: 18(fvec3) FAdd 770 769 - Store 693(normal) 771 - Branch 713 - 713: Label - 772: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 773: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 774 774 16 16 - 775: 137(ptr) AccessChain 55(id) 16 - 776: 11(int) Load 775 - 777: 145(ptr) AccessChain 117 120 144 16 - 778: 82(int) Load 777 - 779: 82(int) ISub 778 232 - 780: 11(int) Bitcast 779 - 782: 162(bool) ULessThan 776 780 - SelectionMerge 784 None - BranchConditional 782 783 784 - 783: Label - 785: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 786: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 787 787 16 16 - 788: 11(int) Load 138(index) - 789: 145(ptr) AccessChain 117 120 144 16 - 790: 82(int) Load 789 - 791: 11(int) Bitcast 790 - 792: 11(int) ISub 788 791 - 793: 225(ptr) AccessChain 199(particleIn) 120 792 120 - 794: 80(fvec4) Load 793 - 795: 18(fvec3) VectorShuffle 794 794 0 1 2 - 796: 18(fvec3) Load 255(pos) - 797: 18(fvec3) FSub 795 796 - Store 717(a) 797 - 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 799 799 16 16 - 800: 11(int) Load 138(index) - 801: 145(ptr) AccessChain 117 120 144 16 - 802: 82(int) Load 801 - 803: 11(int) Bitcast 802 - 804: 11(int) ISub 800 803 - 805: 11(int) IAdd 804 33 - 806: 225(ptr) AccessChain 199(particleIn) 120 805 120 - 807: 80(fvec4) Load 806 - 808: 18(fvec3) VectorShuffle 807 807 0 1 2 - 809: 18(fvec3) Load 255(pos) - 810: 18(fvec3) FSub 808 809 - Store 730(b) 810 - 811: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 812 812 16 16 - 813: 11(int) Load 138(index) - 814: 11(int) IAdd 813 33 - 815: 225(ptr) AccessChain 199(particleIn) 120 814 120 - 816: 80(fvec4) Load 815 - 817: 18(fvec3) VectorShuffle 816 816 0 1 2 - 818: 18(fvec3) Load 255(pos) - 819: 18(fvec3) FSub 817 818 - Store 747(c) 819 - 820: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 821 821 16 16 - 822: 18(fvec3) Load 717(a) - 823: 18(fvec3) Load 730(b) - 824: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 822 823 - 825: 18(fvec3) Load 730(b) - 826: 18(fvec3) Load 747(c) - 827: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 825 826 - 828: 18(fvec3) FAdd 824 827 - 829: 18(fvec3) Load 693(normal) - 830: 18(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) 58 - 832: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 833 833 16 16 - 834: 137(ptr) AccessChain 55(id) 33 - 835: 11(int) Load 834 - 836: 145(ptr) AccessChain 117 120 144 33 - 837: 82(int) Load 836 - 838: 82(int) ISub 837 232 - 839: 11(int) Bitcast 838 - 841: 162(bool) ULessThan 835 839 - SelectionMerge 843 None - BranchConditional 841 842 843 - 842: Label - 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 845: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 846 846 16 16 - 847: 137(ptr) AccessChain 55(id) 16 - 848: 11(int) Load 847 - 850: 162(bool) UGreaterThan 848 16 - SelectionMerge 852 None - BranchConditional 850 851 852 - 851: Label - 853: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 854: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 855 855 16 16 - 856: 11(int) Load 138(index) - 857: 145(ptr) AccessChain 117 120 144 16 - 858: 82(int) Load 857 - 859: 11(int) Bitcast 858 - 860: 11(int) IAdd 856 859 - 861: 225(ptr) AccessChain 199(particleIn) 120 860 120 - 862: 80(fvec4) Load 861 - 863: 18(fvec3) VectorShuffle 862 862 0 1 2 - 864: 18(fvec3) Load 255(pos) - 865: 18(fvec3) FSub 863 864 - Store 717(a) 865 - 866: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 867 867 16 16 - 868: 11(int) Load 138(index) - 869: 145(ptr) AccessChain 117 120 144 16 - 870: 82(int) Load 869 - 871: 11(int) Bitcast 870 - 872: 11(int) IAdd 868 871 - 873: 11(int) ISub 872 33 - 874: 225(ptr) AccessChain 199(particleIn) 120 873 120 - 875: 80(fvec4) Load 874 - 876: 18(fvec3) VectorShuffle 875 875 0 1 2 - 877: 18(fvec3) Load 255(pos) - 878: 18(fvec3) FSub 876 877 - Store 730(b) 878 - 879: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 880 880 16 16 - 881: 11(int) Load 138(index) - 882: 11(int) ISub 881 33 - 883: 225(ptr) AccessChain 199(particleIn) 120 882 120 - 884: 80(fvec4) Load 883 - 885: 18(fvec3) VectorShuffle 884 884 0 1 2 - 886: 18(fvec3) Load 255(pos) - 887: 18(fvec3) FSub 885 886 - Store 747(c) 887 - 888: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 889 889 16 16 - 890: 18(fvec3) Load 717(a) - 891: 18(fvec3) Load 730(b) - 892: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 890 891 - 893: 18(fvec3) Load 730(b) - 894: 18(fvec3) Load 747(c) - 895: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 893 894 - 896: 18(fvec3) FAdd 892 895 - 897: 18(fvec3) Load 693(normal) - 898: 18(fvec3) FAdd 897 896 - Store 693(normal) 898 - Branch 852 - 852: Label - 899: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 900: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 901 901 16 16 - 902: 137(ptr) AccessChain 55(id) 16 - 903: 11(int) Load 902 - 904: 145(ptr) AccessChain 117 120 144 16 - 905: 82(int) Load 904 - 906: 82(int) ISub 905 232 - 907: 11(int) Bitcast 906 - 909: 162(bool) ULessThan 903 907 - SelectionMerge 911 None - BranchConditional 909 910 911 - 910: Label - 912: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 - 913: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 914 914 16 16 - 915: 11(int) Load 138(index) - 916: 11(int) IAdd 915 33 - 917: 225(ptr) AccessChain 199(particleIn) 120 916 120 - 918: 80(fvec4) Load 917 - 919: 18(fvec3) VectorShuffle 918 918 0 1 2 - 920: 18(fvec3) Load 255(pos) - 921: 18(fvec3) FSub 919 920 - Store 717(a) 921 - 922: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 923 923 16 16 - 924: 11(int) Load 138(index) - 925: 145(ptr) AccessChain 117 120 144 16 - 926: 82(int) Load 925 - 927: 11(int) Bitcast 926 - 928: 11(int) IAdd 924 927 - 929: 11(int) IAdd 928 33 - 930: 225(ptr) AccessChain 199(particleIn) 120 929 120 - 931: 80(fvec4) Load 930 - 932: 18(fvec3) VectorShuffle 931 931 0 1 2 - 933: 18(fvec3) Load 255(pos) - 934: 18(fvec3) FSub 932 933 - Store 730(b) 934 - 935: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 936 936 16 16 - 937: 11(int) Load 138(index) - 938: 145(ptr) AccessChain 117 120 144 16 - 939: 82(int) Load 938 - 940: 11(int) Bitcast 939 - 941: 11(int) IAdd 937 940 - 942: 225(ptr) AccessChain 199(particleIn) 120 941 120 - 943: 80(fvec4) Load 942 - 944: 18(fvec3) VectorShuffle 943 943 0 1 2 - 945: 18(fvec3) Load 255(pos) - 946: 18(fvec3) FSub 944 945 - Store 747(c) 946 - 947: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 948 948 16 16 - 949: 18(fvec3) Load 717(a) - 950: 18(fvec3) Load 730(b) - 951: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 949 950 - 952: 18(fvec3) Load 730(b) - 953: 18(fvec3) Load 747(c) - 954: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 952 953 - 955: 18(fvec3) FAdd 951 954 - 956: 18(fvec3) Load 693(normal) - 957: 18(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) 58 - 959: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 960 960 16 16 - 961: 11(int) Load 138(index) - 962: 18(fvec3) Load 693(normal) - 963: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 962 - 964: 8(float) CompositeExtract 963 0 - 965: 8(float) CompositeExtract 963 1 - 966: 8(float) CompositeExtract 963 2 - 967: 80(fvec4) CompositeConstruct 964 965 966 233 - 968: 225(ptr) AccessChain 221(particleOut) 120 961 555 - Store 968 967 - Branch 689 - 689: Label + 660: 124(ptr) AccessChain 223(particleOut) 122 645 122 46 + 661: 8(float) CompositeExtract 655 2 + Store 660 661 + 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 + 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 + 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 Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.frag.out b/Test/baseResults/spv.debuginfo.hlsl.frag.out index 600976c8..42bf069d 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 886 +// Id's are bound by 890 Capability Shader Capability ImageQuery @@ -9,13 +9,13 @@ spv.debuginfo.hlsl.frag 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Fragment 6 "main" 879 882 + EntryPoint Fragment 6 "main" 883 886 ExecutionMode 6 OriginUpperLeft 1: String "" 9: String "float" 12: String "uint" - 33: String "textureProj" - 36: String "// OpModuleProcessed auto-map-locations + 34: String "textureProj" + 37: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed entry-point main // OpModuleProcessed client vulkan100 @@ -24,191 +24,191 @@ spv.debuginfo.hlsl.frag // OpModuleProcessed hlsl-offsets #line 1 " - 44: String "P" - 48: String "layer" - 51: String "offset" - 58: String "filterPCF" - 64: String "sc" - 76: String "shadow" - 82: String "fragcolor" - 85: String "fragPos" - 91: String "@main" - 97: String "inUV" - 111: String "shadowCoord" - 136: String "bool" - 152: String "dist" - 156: String "type.2d.image" - 157: String "@type.2d.image" - 162: String "textureShadowMap" - 167: String "type.sampler" - 168: String "@type.sampler" - 172: String "samplerShadowMap" - 176: String "type.sampled.image" - 177: String "@type.sampled.image" - 224: String "sizeQueryTemp" - 229: String "int" - 236: String "texDim" - 250: String "elements" - 257: String "levels" - 266: String "scale" - 273: String "dx" - 285: String "dy" - 297: String "shadowFactor" - 303: String "count" - 310: String "range" - 317: String "x" - 339: String "y" - 403: String "i" - 423: String "shadowClip" - 435: String "color" - 441: String "viewMatrix" - 445: String "Light" - 451: String "lights" - 454: String "displayDebugTarget" - 459: String "UBO" - 462: String "ubo" - 512: String "textureposition" - 517: String "samplerposition" - 529: String "normal" - 533: String "textureNormal" - 538: String "samplerNormal" - 548: String "albedo" - 552: String "textureAlbedo" - 557: String "samplerAlbedo" - 647: String "N" - 673: String "L" - 697: String "V" - 712: String "lightCosInnerAngle" - 719: String "lightCosOuterAngle" - 726: String "lightRange" - 733: String "dir" - 749: String "cosDir" - 758: String "spotEffect" - 768: String "heightAttenuation" - 777: String "NdotL" - 787: String "diff" - 795: String "R" - 805: String "NdotR" - 815: String "spec" + 45: String "P" + 49: String "layer" + 52: String "offset" + 60: String "filterPCF" + 66: String "sc" + 79: String "shadow" + 85: String "fragcolor" + 88: String "fragPos" + 95: String "@main" + 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" Name 6 "main" Name 32 "textureProj(vf4;f1;vf2;" Name 29 "P" Name 30 "layer" Name 31 "offset" - Name 57 "filterPCF(vf4;f1;" - Name 55 "sc" - Name 56 "layer" - Name 75 "shadow(vf3;vf3;" - Name 73 "fragcolor" - Name 74 "fragPos" - Name 90 "@main(vf2;" - Name 89 "inUV" - Name 103 "shadow" - Name 109 "shadowCoord" - Name 150 "dist" - Name 160 "textureShadowMap" - Name 170 "samplerShadowMap" - Name 222 "sizeQueryTemp" - Name 234 "texDim" - Name 248 "elements" - Name 255 "levels" - Name 264 "scale" - Name 271 "dx" - Name 283 "dy" - Name 295 "shadowFactor" - Name 301 "count" - Name 308 "range" - Name 315 "x" - Name 337 "y" - Name 368 "param" - Name 370 "param" + Name 58 "filterPCF(vf4;f1;" + Name 56 "sc" + Name 57 "layer" + Name 77 "shadow(vf3;vf3;" + Name 75 "fragcolor" + Name 76 "fragPos" + Name 93 "@main(vf2;" + 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 401 "i" - Name 421 "shadowClip" - Name 433 "Light" - MemberName 433(Light) 0 "position" - MemberName 433(Light) 1 "target" - MemberName 433(Light) 2 "color" - MemberName 433(Light) 3 "viewMatrix" - Name 448 "UBO" - MemberName 448(UBO) 0 "viewPos" - MemberName 448(UBO) 1 "lights" - MemberName 448(UBO) 2 "useShadows" - MemberName 448(UBO) 3 "displayDebugTarget" - Name 460 "ubo" - MemberName 460(ubo) 0 "ubo" - Name 467 "" - Name 476 "shadowFactor" - Name 481 "param" - Name 483 "param" - Name 504 "fragPos" - Name 510 "textureposition" - Name 515 "samplerposition" - Name 527 "normal" - Name 531 "textureNormal" - Name 536 "samplerNormal" - Name 546 "albedo" - Name 550 "textureAlbedo" - Name 555 "samplerAlbedo" - Name 585 "fragcolor" - Name 589 "param" - Name 590 "param" - Name 645 "N" - Name 653 "i" - Name 671 "L" - Name 684 "dist" - Name 695 "V" - Name 710 "lightCosInnerAngle" - Name 717 "lightCosOuterAngle" - Name 724 "lightRange" - Name 731 "dir" - Name 747 "cosDir" - Name 756 "spotEffect" - Name 766 "heightAttenuation" - Name 775 "NdotL" - Name 785 "diff" - Name 793 "R" - Name 803 "NdotR" - Name 813 "spec" - Name 862 "param" - Name 864 "param" - Name 877 "inUV" - Name 879 "inUV" - Name 882 "@entryPointOutput" - Name 883 "param" - Decorate 160(textureShadowMap) DescriptorSet 0 - Decorate 160(textureShadowMap) Binding 5 - Decorate 170(samplerShadowMap) DescriptorSet 0 - Decorate 170(samplerShadowMap) Binding 5 - MemberDecorate 433(Light) 0 Offset 0 - MemberDecorate 433(Light) 1 Offset 16 - MemberDecorate 433(Light) 2 Offset 32 - MemberDecorate 433(Light) 3 RowMajor - MemberDecorate 433(Light) 3 Offset 48 - MemberDecorate 433(Light) 3 MatrixStride 16 - Decorate 446 ArrayStride 112 - MemberDecorate 448(UBO) 0 Offset 0 - MemberDecorate 448(UBO) 1 Offset 16 - MemberDecorate 448(UBO) 2 Offset 352 - MemberDecorate 448(UBO) 3 Offset 356 - MemberDecorate 460(ubo) 0 Offset 0 - Decorate 460(ubo) Block - Decorate 467 DescriptorSet 0 - Decorate 467 Binding 4 - Decorate 510(textureposition) DescriptorSet 0 - Decorate 510(textureposition) Binding 1 - Decorate 515(samplerposition) DescriptorSet 0 - Decorate 515(samplerposition) Binding 1 - Decorate 531(textureNormal) DescriptorSet 0 - Decorate 531(textureNormal) Binding 2 - Decorate 536(samplerNormal) DescriptorSet 0 - Decorate 536(samplerNormal) Binding 2 - Decorate 550(textureAlbedo) DescriptorSet 0 - Decorate 550(textureAlbedo) Binding 3 - Decorate 555(samplerAlbedo) DescriptorSet 0 - Decorate 555(samplerAlbedo) Binding 3 - Decorate 879(inUV) Location 0 - Decorate 882(@entryPointOutput) Location 0 + 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 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -230,261 +230,265 @@ spv.debuginfo.hlsl.frag 26: TypePointer Function 23(fvec2) 27: TypeFunction 8(float) 21(ptr) 22(ptr) 26(ptr) 28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 10 25 - 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 36 - 38: 11(int) Constant 1 - 39: 11(int) Constant 5 - 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 38 19 35 39 - 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 33 28 35 16 16 37 33 17 16 - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 44 20 35 16 16 34 19 38 - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 48 10 35 16 16 34 19 24 - 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 51 25 35 16 16 34 19 17 - 53: TypeFunction 8(float) 21(ptr) 22(ptr) - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 10 - 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 58 54 35 16 16 37 58 17 16 - 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 64 20 35 16 16 59 19 38 - 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 48 10 35 16 16 59 19 24 - 68: TypeVector 8(float) 3 - 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 - 70: TypePointer Function 68(fvec3) - 71: TypeFunction 68(fvec3) 70(ptr) 70(ptr) - 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 69 69 69 - 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 76 72 35 16 16 37 76 17 16 - 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 82 69 35 16 16 77 19 38 - 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 69 35 16 16 77 19 24 - 87: TypeFunction 18(fvec4) 26(ptr) - 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 20 25 - 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 91 88 35 16 16 37 91 17 16 - 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 97 25 35 16 16 92 19 38 - 102: 11(int) Constant 62 - 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 76 10 35 102 16 34 19 - 106: 8(float) Constant 1065353216 - 108: 11(int) Constant 63 - 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 111 20 35 108 16 34 19 - 119: 11(int) Constant 64 - 122: 8(float) Constant 1056964608 - 131: 11(int) Constant 66 - 134: 8(float) Constant 3212836864 - 135: TypeBool - 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 149: 11(int) Constant 68 - 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 152 10 35 149 16 34 19 - 154: TypeImage 8(float) 2D array sampled format:Unknown - 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 156 16 35 149 16 37 157 158 17 - 159: TypePointer UniformConstant 154 -160(textureShadowMap): 159(ptr) Variable UniformConstant - 163: 11(int) Constant 8 - 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 162 155 35 149 16 37 162 160(textureShadowMap) 163 - 165: TypeSampler - 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 167 38 35 149 16 37 168 158 17 - 169: TypePointer UniformConstant 165 -170(samplerShadowMap): 169(ptr) Variable UniformConstant - 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 172 166 35 149 16 37 172 170(samplerShadowMap) 163 - 174: TypeSampledImage 154 - 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 176 16 35 149 16 37 177 158 17 - 190: 11(int) Constant 69 - 193: 8(float) Constant 0 - 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 207: 11(int) Constant 71 - 208: 8(float) Constant 1048576000 - 211: 11(int) Constant 74 - 218: 11(int) Constant 80 - 219: TypeVector 11(int) 3 - 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17 - 221: TypePointer Function 219(ivec3) - 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 224 220 35 218 16 59 19 - 228: TypeInt 32 1 - 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 229 14 19 16 - 231: TypeVector 228(int) 2 - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 230 24 - 233: TypePointer Function 231(ivec2) - 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 236 232 35 218 16 59 19 - 238: TypePointer Function 11(int) - 242: TypePointer Function 228(int) - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 250 230 35 218 16 59 19 - 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 257 230 35 218 16 59 19 - 263: 11(int) Constant 81 - 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 266 10 35 263 16 59 19 - 268: 8(float) Constant 1069547520 - 270: 11(int) Constant 82 - 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 273 10 35 270 16 59 19 - 282: 11(int) Constant 83 - 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 285 10 35 282 16 59 19 - 294: 11(int) Constant 85 - 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 297 10 35 294 16 59 19 - 300: 11(int) Constant 86 - 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 230 35 300 16 59 19 - 305: 228(int) Constant 0 - 307: 11(int) Constant 87 - 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 310 230 35 307 16 59 19 - 312: 228(int) Constant 1 - 314: 11(int) Constant 89 - 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 317 230 35 314 16 59 19 - 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 336: 11(int) Constant 91 - 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 339 230 35 336 16 59 19 - 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 358: 11(int) Constant 93 - 377: 11(int) Constant 94 - 390: 11(int) Constant 98 - 400: 11(int) Constant 102 - 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 403 230 35 400 16 77 19 - 415: 228(int) Constant 3 - 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 420: 11(int) Constant 104 - 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 423 20 35 420 16 77 19 - 430: TypeMatrix 18(fvec4) 4 - 432: 135(bool) ConstantTrue - 431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 432 - 433(Light): TypeStruct 18(fvec4) 18(fvec4) 18(fvec4) 430 - 436: 11(int) Constant 46 - 437: 11(int) Constant 14 - 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 435 20 35 436 437 16 16 17 - 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 435 20 35 436 437 16 16 17 - 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 435 20 35 436 437 16 16 17 - 442: 11(int) Constant 47 - 443: 11(int) Constant 21 - 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 441 431 35 442 443 16 16 17 - 444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 445 38 35 420 16 37 445 16 17 434 438 439 440 - 446: TypeArray 433(Light) 17 - 447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 444 17 - 448(UBO): TypeStruct 18(fvec4) 446 228(int) 228(int) - 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 435 20 35 436 437 16 16 17 - 452: 11(int) Constant 53 - 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 451 447 35 452 437 16 16 17 - 455: 11(int) Constant 55 - 456: 11(int) Constant 24 - 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 454 230 35 455 456 16 16 17 - 457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 454 230 35 455 456 16 16 17 - 458: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 459 38 35 420 16 37 459 16 17 449 450 453 457 - 460(ubo): TypeStruct 448(UBO) - 463: 11(int) Constant 58 - 464: 11(int) Constant 37 - 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 462 458 35 463 464 16 16 17 - 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 462 38 35 420 16 37 462 16 17 461 - 466: TypePointer Uniform 460(ubo) - 467: 466(ptr) Variable Uniform - 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 465 35 420 16 37 1 467 163 - 470: TypePointer Uniform 430 - 475: 11(int) Constant 108 - 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 297 10 35 475 16 77 19 - 486: 11(int) Constant 113 - 496: 11(int) Constant 115 - 503: 11(int) Constant 121 - 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 69 35 503 16 92 19 - 507: TypeImage 8(float) 2D sampled format:Unknown - 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 156 16 35 503 16 37 157 158 17 - 509: TypePointer UniformConstant 507 -510(textureposition): 509(ptr) Variable UniformConstant - 511: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 512 508 35 503 16 37 512 510(textureposition) 163 - 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 167 38 35 503 16 37 168 158 17 -515(samplerposition): 169(ptr) Variable UniformConstant - 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 517 514 35 503 16 37 517 515(samplerposition) 163 - 519: TypeSampledImage 507 - 520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 176 16 35 503 16 37 177 158 17 - 526: 11(int) Constant 122 - 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 529 69 35 526 16 92 19 -531(textureNormal): 509(ptr) Variable UniformConstant - 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 533 508 35 526 16 37 533 531(textureNormal) 163 - 535: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 167 38 35 526 16 37 168 158 17 -536(samplerNormal): 169(ptr) Variable UniformConstant - 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 538 535 35 526 16 37 538 536(samplerNormal) 163 - 545: 11(int) Constant 123 - 547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 548 20 35 545 16 92 19 -550(textureAlbedo): 509(ptr) Variable UniformConstant - 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 552 508 35 545 16 37 552 550(textureAlbedo) 163 - 554: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 167 38 35 545 16 37 168 158 17 -555(samplerAlbedo): 169(ptr) Variable UniformConstant - 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 557 554 35 545 16 37 557 555(samplerAlbedo) 163 - 563: 11(int) Constant 128 - 564: TypePointer Uniform 228(int) - 567: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 573: 11(int) Constant 129 - 584: 11(int) Constant 131 - 586: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 82 69 35 584 16 92 19 - 588: 68(fvec3) ConstantComposite 106 106 106 - 594: 11(int) Constant 132 - 598: 11(int) Constant 134 - 601: 11(int) Constant 135 - 605: 11(int) Constant 137 - 608: 11(int) Constant 138 - 612: 11(int) Constant 140 - 616: 11(int) Constant 141 - 620: 11(int) Constant 143 - 624: 11(int) Constant 144 - 629: 11(int) Constant 146 - 638: 11(int) Constant 150 - 641: 8(float) Constant 1036831949 - 644: 11(int) Constant 152 - 646: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 647 69 35 644 16 92 19 - 652: 11(int) Constant 154 - 654: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 403 230 35 652 16 92 19 - 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 670: 11(int) Constant 157 - 672: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 673 69 35 670 16 92 19 - 676: TypePointer Uniform 18(fvec4) - 683: 11(int) Constant 159 - 685: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 152 10 35 683 16 92 19 - 690: 11(int) Constant 160 - 694: 11(int) Constant 163 - 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 697 69 35 694 16 92 19 - 705: 11(int) Constant 164 - 709: 11(int) Constant 166 - 711: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 712 10 35 709 16 92 19 - 714: 8(float) Constant 1064781546 - 716: 11(int) Constant 167 - 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 719 10 35 716 16 92 19 - 721: 8(float) Constant 1063781322 - 723: 11(int) Constant 168 - 725: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 726 10 35 723 16 92 19 - 728: 8(float) Constant 1120403456 - 730: 11(int) Constant 171 - 732: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 733 69 35 730 16 92 19 - 746: 11(int) Constant 174 - 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 749 10 35 746 16 92 19 - 755: 11(int) Constant 175 - 757: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 758 10 35 755 16 92 19 - 765: 11(int) Constant 176 - 767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 768 10 35 765 16 92 19 - 774: 11(int) Constant 179 - 776: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 777 10 35 774 16 92 19 - 784: 11(int) Constant 180 - 786: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 787 69 35 784 16 92 19 - 792: 11(int) Constant 183 - 794: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 795 69 35 792 16 92 19 - 802: 11(int) Constant 184 - 804: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 805 10 35 802 16 92 19 - 812: 11(int) Constant 185 - 814: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 815 69 35 812 16 92 19 - 818: 8(float) Constant 1098907648 - 823: 8(float) Constant 1075838976 - 827: 11(int) Constant 187 - 836: 228(int) Constant 2 - 852: 11(int) Constant 191 - 855: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 136 14 24 16 - 861: 11(int) Constant 193 - 869: 11(int) Constant 196 - 878: TypePointer Input 23(fvec2) - 879(inUV): 878(ptr) Variable Input - 881: TypePointer Output 18(fvec4) -882(@entryPointOutput): 881(ptr) Variable Output + 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 37 + 38: 11(int) Constant 61 + 40: 11(int) Constant 1 + 41: 11(int) Constant 5 + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 40 19 36 41 + 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 34 28 36 38 16 39 34 17 38 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 20 36 38 16 35 19 40 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 10 36 38 16 35 19 24 + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 25 36 38 16 35 19 17 + 54: TypeFunction 8(float) 21(ptr) 22(ptr) + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 10 + 62: 11(int) Constant 78 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 60 55 36 62 16 39 60 17 62 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 66 20 36 62 16 61 19 40 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 10 36 62 16 61 19 24 + 70: TypeVector 8(float) 3 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 + 72: TypePointer Function 70(fvec3) + 73: TypeFunction 70(fvec3) 72(ptr) 72(ptr) + 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 71 71 71 + 81: 11(int) Constant 101 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 79 74 36 81 16 39 79 17 81 + 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 36 81 16 80 19 40 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 71 36 81 16 80 19 24 + 90: TypeFunction 18(fvec4) 26(ptr) + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 20 25 + 97: 11(int) Constant 119 + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 95 91 36 97 16 39 95 17 97 + 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 101 25 36 97 16 96 19 40 + 106: 11(int) Constant 62 + 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 10 36 106 16 35 19 + 110: 8(float) Constant 1065353216 + 112: 11(int) Constant 63 + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 115 20 36 112 16 35 19 + 123: 11(int) Constant 64 + 126: 8(float) Constant 1056964608 + 135: 11(int) Constant 66 + 138: 8(float) Constant 3212836864 + 139: TypeBool + 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 153: 11(int) Constant 68 + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 156 10 36 153 16 35 19 + 158: TypeImage 8(float) 2D array sampled format:Unknown + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 16 36 153 16 39 161 162 17 + 163: TypePointer UniformConstant 158 +164(textureShadowMap): 163(ptr) Variable UniformConstant + 167: 11(int) Constant 8 + 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 166 159 36 153 16 39 166 164(textureShadowMap) 167 + 169: TypeSampler + 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 153 16 39 172 162 17 + 173: TypePointer UniformConstant 169 +174(samplerShadowMap): 173(ptr) Variable UniformConstant + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 176 170 36 153 16 39 176 174(samplerShadowMap) 167 + 178: TypeSampledImage 158 + 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 180 16 36 153 16 39 181 162 17 + 194: 11(int) Constant 69 + 197: 8(float) Constant 0 + 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 211: 11(int) Constant 71 + 212: 8(float) Constant 1048576000 + 215: 11(int) Constant 74 + 222: 11(int) Constant 80 + 223: TypeVector 11(int) 3 + 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17 + 225: TypePointer Function 223(ivec3) + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 228 224 36 222 16 61 19 + 232: TypeInt 32 1 + 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 233 14 19 16 + 235: TypeVector 232(int) 2 + 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 234 24 + 237: TypePointer Function 235(ivec2) + 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 240 236 36 222 16 61 19 + 242: TypePointer Function 11(int) + 246: TypePointer Function 232(int) + 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 254 234 36 222 16 61 19 + 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 261 234 36 222 16 61 19 + 267: 11(int) Constant 81 + 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 270 10 36 267 16 61 19 + 272: 8(float) Constant 1069547520 + 274: 11(int) Constant 82 + 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 277 10 36 274 16 61 19 + 286: 11(int) Constant 83 + 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 289 10 36 286 16 61 19 + 298: 11(int) Constant 85 + 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 301 10 36 298 16 61 19 + 304: 11(int) Constant 86 + 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 307 234 36 304 16 61 19 + 309: 232(int) Constant 0 + 311: 11(int) Constant 87 + 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 314 234 36 311 16 61 19 + 316: 232(int) Constant 1 + 318: 11(int) Constant 89 + 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 321 234 36 318 16 61 19 + 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 340: 11(int) Constant 91 + 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 343 234 36 340 16 61 19 + 358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 362: 11(int) Constant 93 + 381: 11(int) Constant 94 + 394: 11(int) Constant 98 + 404: 11(int) Constant 102 + 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 407 234 36 404 16 80 19 + 419: 232(int) Constant 3 + 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 424: 11(int) Constant 104 + 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 427 20 36 424 16 80 19 + 434: TypeMatrix 18(fvec4) 4 + 436: 139(bool) ConstantTrue + 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 436 + 437(Light): TypeStruct 18(fvec4) 18(fvec4) 18(fvec4) 434 + 440: 11(int) Constant 46 + 441: 11(int) Constant 14 + 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17 + 442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17 + 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17 + 446: 11(int) Constant 47 + 447: 11(int) Constant 21 + 444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 445 435 36 446 447 16 16 17 + 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 449 40 36 424 16 39 449 16 17 438 442 443 444 + 450: TypeArray 437(Light) 17 + 451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 448 17 + 452(UBO): TypeStruct 18(fvec4) 450 232(int) 232(int) + 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 439 20 36 440 441 16 16 17 + 456: 11(int) Constant 53 + 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 455 451 36 456 441 16 16 17 + 459: 11(int) Constant 55 + 460: 11(int) Constant 24 + 457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 458 234 36 459 460 16 16 17 + 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 458 234 36 459 460 16 16 17 + 462: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 463 40 36 424 16 39 463 16 17 453 454 457 461 + 464(ubo): TypeStruct 452(UBO) + 467: 11(int) Constant 58 + 468: 11(int) Constant 37 + 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 466 462 36 467 468 16 16 17 + 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 466 40 36 424 16 39 466 16 17 465 + 470: TypePointer Uniform 464(ubo) + 471: 470(ptr) Variable Uniform + 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 469 36 424 16 39 1 471 167 + 474: TypePointer Uniform 434 + 479: 11(int) Constant 108 + 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 301 10 36 479 16 80 19 + 490: 11(int) Constant 113 + 500: 11(int) Constant 115 + 507: 11(int) Constant 121 + 509: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 71 36 507 16 96 19 + 511: TypeImage 8(float) 2D sampled format:Unknown + 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 16 36 507 16 39 161 162 17 + 513: TypePointer UniformConstant 511 +514(textureposition): 513(ptr) Variable UniformConstant + 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 516 512 36 507 16 39 516 514(textureposition) 167 + 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 507 16 39 172 162 17 +519(samplerposition): 173(ptr) Variable UniformConstant + 520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 521 518 36 507 16 39 521 519(samplerposition) 167 + 523: TypeSampledImage 511 + 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 180 16 36 507 16 39 181 162 17 + 530: 11(int) Constant 122 + 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 533 71 36 530 16 96 19 +535(textureNormal): 513(ptr) Variable UniformConstant + 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 537 512 36 530 16 39 537 535(textureNormal) 167 + 539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 530 16 39 172 162 17 +540(samplerNormal): 173(ptr) Variable UniformConstant + 541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 542 539 36 530 16 39 542 540(samplerNormal) 167 + 549: 11(int) Constant 123 + 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 552 20 36 549 16 96 19 +554(textureAlbedo): 513(ptr) Variable UniformConstant + 555: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 556 512 36 549 16 39 556 554(textureAlbedo) 167 + 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 171 40 36 549 16 39 172 162 17 +559(samplerAlbedo): 173(ptr) Variable UniformConstant + 560: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 561 558 36 549 16 39 561 559(samplerAlbedo) 167 + 567: 11(int) Constant 128 + 568: TypePointer Uniform 232(int) + 571: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 577: 11(int) Constant 129 + 588: 11(int) Constant 131 + 590: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 36 588 16 96 19 + 592: 70(fvec3) ConstantComposite 110 110 110 + 598: 11(int) Constant 132 + 602: 11(int) Constant 134 + 605: 11(int) Constant 135 + 609: 11(int) Constant 137 + 612: 11(int) Constant 138 + 616: 11(int) Constant 140 + 620: 11(int) Constant 141 + 624: 11(int) Constant 143 + 628: 11(int) Constant 144 + 633: 11(int) Constant 146 + 642: 11(int) Constant 150 + 645: 8(float) Constant 1036831949 + 648: 11(int) Constant 152 + 650: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 651 71 36 648 16 96 19 + 656: 11(int) Constant 154 + 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 407 234 36 656 16 96 19 + 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 24 16 + 674: 11(int) Constant 157 + 676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 677 71 36 674 16 96 19 + 680: TypePointer Uniform 18(fvec4) + 687: 11(int) Constant 159 + 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 156 10 36 687 16 96 19 + 694: 11(int) Constant 160 + 698: 11(int) Constant 163 + 700: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 701 71 36 698 16 96 19 + 709: 11(int) Constant 164 + 713: 11(int) Constant 166 + 715: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 716 10 36 713 16 96 19 + 718: 8(float) Constant 1064781546 + 720: 11(int) Constant 167 + 722: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 723 10 36 720 16 96 19 + 725: 8(float) Constant 1063781322 + 727: 11(int) Constant 168 + 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 730 10 36 727 16 96 19 + 732: 8(float) Constant 1120403456 + 734: 11(int) Constant 171 + 736: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 737 71 36 734 16 96 19 + 750: 11(int) Constant 174 + 752: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 753 10 36 750 16 96 19 + 759: 11(int) Constant 175 + 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 Line 1 119 1 6(main): 4 Function None 5 7: Label - 877(inUV): 26(ptr) Variable Function - 883(param): 26(ptr) Variable Function + 881(inUV): 26(ptr) Variable Function + 887(param): 26(ptr) Variable Function Line 1 119 0 - 880: 23(fvec2) Load 879(inUV) - Store 877(inUV) 880 - 884: 23(fvec2) Load 877(inUV) - Store 883(param) 884 - 885: 18(fvec4) FunctionCall 90(@main(vf2;) 883(param) - Store 882(@entryPointOutput) 885 + 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 Return FunctionEnd Line 1 61 1 @@ -492,652 +496,652 @@ spv.debuginfo.hlsl.frag 29(P): 21(ptr) FunctionParameter 30(layer): 22(ptr) FunctionParameter 31(offset): 26(ptr) FunctionParameter - 40: Label - 103(shadow): 22(ptr) Variable Function -109(shadowCoord): 21(ptr) Variable Function - 150(dist): 22(ptr) Variable Function - 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 34 - 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 16 16 16 16 - 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 43 29(P) 46 - 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 47 30(layer) 46 - 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 50 31(offset) 46 - 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 34 32(textureProj(vf4;f1;vf2;) - 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 34 - 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 102 102 16 16 - 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 104 103(shadow) 46 - Store 103(shadow) 106 - 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 108 108 16 16 - 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 110 109(shadowCoord) 46 - 113: 18(fvec4) Load 29(P) - 114: 22(ptr) AccessChain 29(P) 17 - 115: 8(float) Load 114 - 116: 18(fvec4) CompositeConstruct 115 115 115 115 - 117: 18(fvec4) FDiv 113 116 - Store 109(shadowCoord) 117 - 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 119 119 16 16 - 120: 18(fvec4) Load 109(shadowCoord) - 121: 23(fvec2) VectorShuffle 120 120 0 1 - 123: 23(fvec2) VectorTimesScalar 121 122 - 124: 23(fvec2) CompositeConstruct 122 122 - 125: 23(fvec2) FAdd 123 124 - 126: 22(ptr) AccessChain 109(shadowCoord) 16 - 127: 8(float) CompositeExtract 125 0 - Store 126 127 - 128: 22(ptr) AccessChain 109(shadowCoord) 38 - 129: 8(float) CompositeExtract 125 1 - Store 128 129 - 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 131 131 16 16 - 132: 22(ptr) AccessChain 109(shadowCoord) 24 - 133: 8(float) Load 132 - 138: 135(bool) FOrdGreaterThan 133 134 - 139: 22(ptr) AccessChain 109(shadowCoord) 24 - 140: 8(float) Load 139 - 142: 135(bool) FOrdLessThan 140 106 - 144: 135(bool) LogicalAnd 138 142 - SelectionMerge 146 None - BranchConditional 144 145 146 - 145: Label - 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 34 - 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 149 149 16 16 - 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 151 150(dist) 46 - 164: 154 Load 160(textureShadowMap) - 173: 165 Load 170(samplerShadowMap) - 178: 174 SampledImage 164 173 - 179: 18(fvec4) Load 109(shadowCoord) - 180: 23(fvec2) VectorShuffle 179 179 0 1 - 181: 23(fvec2) Load 31(offset) - 182: 23(fvec2) FAdd 180 181 - 183: 8(float) Load 30(layer) - 184: 8(float) CompositeExtract 182 0 - 185: 8(float) CompositeExtract 182 1 - 186: 68(fvec3) CompositeConstruct 184 185 183 - 187: 18(fvec4) ImageSampleImplicitLod 178 186 - 188: 8(float) CompositeExtract 187 0 - Store 150(dist) 188 - 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 190 190 16 16 - 191: 22(ptr) AccessChain 109(shadowCoord) 17 - 192: 8(float) Load 191 - 195: 135(bool) FOrdGreaterThan 192 193 - 196: 8(float) Load 150(dist) - 197: 22(ptr) AccessChain 109(shadowCoord) 24 - 198: 8(float) Load 197 - 200: 135(bool) FOrdLessThan 196 198 - 202: 135(bool) LogicalAnd 195 200 - SelectionMerge 204 None - BranchConditional 202 203 204 - 203: Label - 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 34 - 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 207 207 16 16 - Store 103(shadow) 208 - Branch 204 - 204: Label - Branch 146 - 146: Label - 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 34 - 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 211 211 16 16 - 212: 8(float) Load 103(shadow) - ReturnValue 212 + 33: Label + 107(shadow): 22(ptr) Variable Function +113(shadowCoord): 21(ptr) Variable Function + 154(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 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 30(layer) 47 + 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 51 31(offset) 47 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 35 32(textureProj(vf4;f1;vf2;) + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35 + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 106 106 16 16 + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 108 107(shadow) 47 + Store 107(shadow) 110 + 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 112 112 16 16 + 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 114 113(shadowCoord) 47 + 117: 18(fvec4) Load 29(P) + 118: 22(ptr) AccessChain 29(P) 17 + 119: 8(float) Load 118 + 120: 18(fvec4) CompositeConstruct 119 119 119 119 + 121: 18(fvec4) FDiv 117 120 + Store 113(shadowCoord) 121 + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 123 123 16 16 + 124: 18(fvec4) Load 113(shadowCoord) + 125: 23(fvec2) VectorShuffle 124 124 0 1 + 127: 23(fvec2) VectorTimesScalar 125 126 + 128: 23(fvec2) CompositeConstruct 126 126 + 129: 23(fvec2) FAdd 127 128 + 130: 22(ptr) AccessChain 113(shadowCoord) 16 + 131: 8(float) CompositeExtract 129 0 + Store 130 131 + 132: 22(ptr) AccessChain 113(shadowCoord) 40 + 133: 8(float) CompositeExtract 129 1 + Store 132 133 + 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 135 135 16 16 + 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 FunctionEnd Line 1 78 1 -57(filterPCF(vf4;f1;): 8(float) Function None 53 - 55(sc): 21(ptr) FunctionParameter - 56(layer): 22(ptr) FunctionParameter - 60: Label -222(sizeQueryTemp): 221(ptr) Variable Function - 234(texDim): 233(ptr) Variable Function - 248(elements): 242(ptr) Variable Function - 255(levels): 242(ptr) Variable Function - 264(scale): 22(ptr) Variable Function - 271(dx): 22(ptr) Variable Function - 283(dy): 22(ptr) Variable Function -295(shadowFactor): 22(ptr) Variable Function - 301(count): 242(ptr) Variable Function - 308(range): 242(ptr) Variable Function - 315(x): 242(ptr) Variable Function - 337(y): 242(ptr) Variable Function - 368(param): 21(ptr) Variable Function - 370(param): 22(ptr) Variable Function - 372(param): 26(ptr) Variable Function - 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 16 16 16 16 - 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 63 55(sc) 46 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 66 56(layer) 46 - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 57(filterPCF(vf4;f1;) - 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 218 218 16 16 - 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 223 222(sizeQueryTemp) 46 - 226: 154 Load 160(textureShadowMap) - 227: 219(ivec3) ImageQuerySizeLod 226 16 - Store 222(sizeQueryTemp) 227 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 235 234(texDim) 46 - 239: 238(ptr) AccessChain 222(sizeQueryTemp) 16 - 240: 11(int) Load 239 - 241: 228(int) Bitcast 240 - 243: 242(ptr) AccessChain 234(texDim) 16 - Store 243 241 - 244: 238(ptr) AccessChain 222(sizeQueryTemp) 38 - 245: 11(int) Load 244 - 246: 228(int) Bitcast 245 - 247: 242(ptr) AccessChain 234(texDim) 38 - Store 247 246 - 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 249 248(elements) 46 - 252: 238(ptr) AccessChain 222(sizeQueryTemp) 24 - 253: 11(int) Load 252 - 254: 228(int) Bitcast 253 - Store 248(elements) 254 - 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 256 255(levels) 46 - 259: 154 Load 160(textureShadowMap) - 260: 11(int) ImageQueryLevels 259 - 261: 228(int) Bitcast 260 - Store 255(levels) 261 - 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 263 263 16 16 - 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 265 264(scale) 46 - Store 264(scale) 268 - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 270 270 16 16 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 272 271(dx) 46 - 275: 8(float) Load 264(scale) - 276: 8(float) FMul 275 106 - 277: 242(ptr) AccessChain 234(texDim) 16 - 278: 228(int) Load 277 - 279: 8(float) ConvertSToF 278 - 280: 8(float) FDiv 276 279 - Store 271(dx) 280 - 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 282 282 16 16 - 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 284 283(dy) 46 - 287: 8(float) Load 264(scale) - 288: 8(float) FMul 287 106 - 289: 242(ptr) AccessChain 234(texDim) 38 - 290: 228(int) Load 289 - 291: 8(float) ConvertSToF 290 - 292: 8(float) FDiv 288 291 - Store 283(dy) 292 - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 294 294 16 16 - 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 296 295(shadowFactor) 46 - Store 295(shadowFactor) 193 - 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 300 300 16 16 - 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 302 301(count) 46 - Store 301(count) 305 - 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 307 307 16 16 - 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 309 308(range) 46 - Store 308(range) 312 - 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 314 314 16 16 - 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 316 315(x) 46 - 319: 228(int) Load 308(range) - 320: 228(int) SNegate 319 - Store 315(x) 320 - Branch 321 - 321: Label - 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 314 314 16 16 - LoopMerge 323 324 None - Branch 327 - 327: Label - 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 314 314 16 16 - 330: 228(int) Load 315(x) - 331: 228(int) Load 308(range) - 333: 135(bool) SLessThanEqual 330 331 - BranchConditional 333 322 323 - 322: Label - 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 336 336 16 16 - 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 338 337(y) 46 - 341: 228(int) Load 308(range) - 342: 228(int) SNegate 341 - Store 337(y) 342 - Branch 343 - 343: Label - 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 336 336 16 16 - LoopMerge 345 346 None - Branch 349 - 349: Label - 350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 336 336 16 16 - 352: 228(int) Load 337(y) - 353: 228(int) Load 308(range) - 355: 135(bool) SLessThanEqual 352 353 - BranchConditional 355 344 345 - 344: Label - 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 358 358 16 16 - 359: 8(float) Load 271(dx) - 360: 228(int) Load 315(x) - 361: 8(float) ConvertSToF 360 - 362: 8(float) FMul 359 361 - 363: 8(float) Load 283(dy) - 364: 228(int) Load 337(y) +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 + 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 + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 304 304 16 16 + 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 306 305(count) 47 + Store 305(count) 309 + 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 311 311 16 16 + 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 313 312(range) 47 + Store 312(range) 316 + 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16 + 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 320 319(x) 47 + 323: 232(int) Load 312(range) + 324: 232(int) SNegate 323 + Store 319(x) 324 + Branch 325 + 325: Label + 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16 + LoopMerge 327 328 None + Branch 331 + 331: Label + 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 318 318 16 16 + 334: 232(int) Load 319(x) + 335: 232(int) Load 312(range) + 337: 139(bool) SLessThanEqual 334 335 + BranchConditional 337 326 327 + 326: Label + 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 + 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 340 340 16 16 + 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 342 341(y) 47 + 345: 232(int) Load 312(range) + 346: 232(int) SNegate 345 + Store 341(y) 346 + 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: 23(fvec2) CompositeConstruct 362 366 - 369: 18(fvec4) Load 55(sc) - Store 368(param) 369 - 371: 8(float) Load 56(layer) - Store 370(param) 371 - Store 372(param) 367 - 373: 8(float) FunctionCall 32(textureProj(vf4;f1;vf2;) 368(param) 370(param) 372(param) - 374: 8(float) Load 295(shadowFactor) - 375: 8(float) FAdd 374 373 - Store 295(shadowFactor) 375 - 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 377 377 16 16 - 378: 228(int) Load 301(count) - 379: 228(int) IAdd 378 312 - Store 301(count) 379 - Branch 346 - 346: Label - 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 336 336 16 16 - 382: 228(int) Load 337(y) - 383: 228(int) IAdd 382 312 - Store 337(y) 383 - Branch 343 - 345: Label - Branch 324 - 324: Label - 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 314 314 16 16 - 386: 228(int) Load 315(x) - 387: 228(int) IAdd 386 312 - Store 315(x) 387 - Branch 321 - 323: Label - 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 390 390 16 16 - 391: 8(float) Load 295(shadowFactor) - 392: 228(int) Load 301(count) - 393: 8(float) ConvertSToF 392 - 394: 8(float) FDiv 391 393 - ReturnValue 394 + 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 FunctionEnd Line 1 101 49 -75(shadow(vf3;vf3;): 68(fvec3) Function None 71 - 73(fragcolor): 70(ptr) FunctionParameter - 74(fragPos): 70(ptr) FunctionParameter +77(shadow(vf3;vf3;): 70(fvec3) Function None 73 + 75(fragcolor): 72(ptr) FunctionParameter + 76(fragPos): 72(ptr) FunctionParameter 78: Label - 401(i): 242(ptr) Variable Function - 421(shadowClip): 21(ptr) Variable Function -476(shadowFactor): 22(ptr) Variable Function - 481(param): 21(ptr) Variable Function - 483(param): 22(ptr) Variable Function - 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 77 - 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 16 16 16 16 - 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 81 73(fragcolor) 46 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 74(fragPos) 46 - 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 77 75(shadow(vf3;vf3;) - 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 77 - 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 400 400 16 16 - 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 402 401(i) 46 - Store 401(i) 305 - Branch 405 - 405: Label - 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 77 - 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 400 400 16 16 - LoopMerge 407 408 None - Branch 411 + 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 + 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 - 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 77 - 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 400 400 16 16 - 414: 228(int) Load 401(i) - 417: 135(bool) SLessThan 414 415 - BranchConditional 417 406 407 - 406: Label - 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 77 - 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 420 420 16 16 - 424: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 422 421(shadowClip) 46 - 425: 68(fvec3) Load 74(fragPos) - 426: 8(float) CompositeExtract 425 0 - 427: 8(float) CompositeExtract 425 1 - 428: 8(float) CompositeExtract 425 2 - 429: 18(fvec4) CompositeConstruct 426 427 428 106 - 469: 228(int) Load 401(i) - 471: 470(ptr) AccessChain 467 305 312 469 415 - 472: 430 Load 471 - 473: 18(fvec4) VectorTimesMatrix 429 472 - Store 421(shadowClip) 473 - 474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 475 475 16 16 - 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 477 476(shadowFactor) 46 - 479: 228(int) Load 401(i) - 480: 8(float) ConvertSToF 479 - 482: 18(fvec4) Load 421(shadowClip) - Store 481(param) 482 - Store 483(param) 480 - 484: 8(float) FunctionCall 57(filterPCF(vf4;f1;) 481(param) 483(param) - Store 476(shadowFactor) 484 - 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 486 486 16 16 - 487: 8(float) Load 476(shadowFactor) - 488: 68(fvec3) Load 73(fragcolor) - 489: 68(fvec3) VectorTimesScalar 488 487 - Store 73(fragcolor) 489 - Branch 408 - 408: Label - 490: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 77 - 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 400 400 16 16 - 492: 228(int) Load 401(i) - 493: 228(int) IAdd 492 312 - Store 401(i) 493 - Branch 405 - 407: Label - 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 77 - 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 496 496 16 16 - 497: 68(fvec3) Load 73(fragcolor) - ReturnValue 497 + 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 FunctionEnd Line 1 119 1 - 90(@main(vf2;): 18(fvec4) Function None 87 - 89(inUV): 26(ptr) FunctionParameter - 93: Label - 504(fragPos): 70(ptr) Variable Function - 527(normal): 70(ptr) Variable Function - 546(albedo): 21(ptr) Variable Function - 585(fragcolor): 70(ptr) Variable Function - 589(param): 70(ptr) Variable Function - 590(param): 70(ptr) Variable Function - 645(N): 70(ptr) Variable Function - 653(i): 242(ptr) Variable Function - 671(L): 70(ptr) Variable Function - 684(dist): 22(ptr) Variable Function - 695(V): 70(ptr) Variable Function -710(lightCosInnerAngle): 22(ptr) Variable Function -717(lightCosOuterAngle): 22(ptr) Variable Function - 724(lightRange): 22(ptr) Variable Function - 731(dir): 70(ptr) Variable Function - 747(cosDir): 22(ptr) Variable Function - 756(spotEffect): 22(ptr) Variable Function -766(heightAttenuation): 22(ptr) Variable Function - 775(NdotL): 22(ptr) Variable Function - 785(diff): 70(ptr) Variable Function - 793(R): 70(ptr) Variable Function - 803(NdotR): 22(ptr) Variable Function - 813(spec): 70(ptr) Variable Function - 862(param): 70(ptr) Variable Function - 864(param): 70(ptr) Variable Function - 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 16 16 16 16 - 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 96 89(inUV) 46 - 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 92 90(@main(vf2;) - 501: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 503 503 16 16 - 506: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 505 504(fragPos) 46 - 513: 507 Load 510(textureposition) - 518: 165 Load 515(samplerposition) - 521: 519 SampledImage 513 518 - 522: 23(fvec2) Load 89(inUV) - 523: 18(fvec4) ImageSampleImplicitLod 521 522 - 524: 68(fvec3) VectorShuffle 523 523 0 1 2 - Store 504(fragPos) 524 - 525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 526 526 16 16 - 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 528 527(normal) 46 - 534: 507 Load 531(textureNormal) - 539: 165 Load 536(samplerNormal) - 540: 519 SampledImage 534 539 - 541: 23(fvec2) Load 89(inUV) - 542: 18(fvec4) ImageSampleImplicitLod 540 541 - 543: 68(fvec3) VectorShuffle 542 542 0 1 2 - Store 527(normal) 543 - 544: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 545 545 16 16 - 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 547 546(albedo) 46 - 553: 507 Load 550(textureAlbedo) - 558: 165 Load 555(samplerAlbedo) - 559: 519 SampledImage 553 558 - 560: 23(fvec2) Load 89(inUV) - 561: 18(fvec4) ImageSampleImplicitLod 559 560 - Store 546(albedo) 561 - 562: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 563 563 16 16 - 565: 564(ptr) AccessChain 467 305 415 - 566: 228(int) Load 565 - 568: 135(bool) SGreaterThan 566 305 - SelectionMerge 570 None - BranchConditional 568 569 570 - 569: Label - 571: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 572: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 573 573 16 16 - 574: 564(ptr) AccessChain 467 305 415 - 575: 228(int) Load 574 - SelectionMerge 581 None - Switch 575 581 - case 1: 576 - case 2: 577 - case 3: 578 - case 4: 579 - case 5: 580 - 576: Label - 582: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 583: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 584 584 16 16 - 587: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 586 585(fragcolor) 46 - Store 589(param) 588 - 591: 68(fvec3) Load 504(fragPos) - Store 590(param) 591 - 592: 68(fvec3) FunctionCall 75(shadow(vf3;vf3;) 589(param) 590(param) - Store 585(fragcolor) 592 - 593: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 594 594 16 16 - Branch 581 - 577: Label - 596: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 597: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 598 598 16 16 - 599: 68(fvec3) Load 504(fragPos) - Store 585(fragcolor) 599 - 600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 601 601 16 16 - Branch 581 - 578: Label - 603: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 604: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 605 605 16 16 - 606: 68(fvec3) Load 527(normal) - Store 585(fragcolor) 606 - 607: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 608 608 16 16 - Branch 581 - 579: Label - 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 611: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 612 612 16 16 - 613: 18(fvec4) Load 546(albedo) - 614: 68(fvec3) VectorShuffle 613 613 0 1 2 - Store 585(fragcolor) 614 - 615: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 616 616 16 16 - Branch 581 + 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 + 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 - 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 620 620 16 16 - 621: 18(fvec4) Load 546(albedo) - 622: 68(fvec3) VectorShuffle 621 621 3 3 3 - Store 585(fragcolor) 622 - 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 624 624 16 16 - Branch 581 - 581: Label - 627: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 628: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 629 629 16 16 - 630: 68(fvec3) Load 585(fragcolor) - 631: 8(float) CompositeExtract 630 0 - 632: 8(float) CompositeExtract 630 1 - 633: 8(float) CompositeExtract 630 2 - 634: 18(fvec4) CompositeConstruct 631 632 633 106 - ReturnValue 634 - 570: Label - 636: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 637: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 638 638 16 16 - 639: 18(fvec4) Load 546(albedo) - 640: 68(fvec3) VectorShuffle 639 639 0 1 2 - 642: 68(fvec3) VectorTimesScalar 640 641 - Store 585(fragcolor) 642 - 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 644 644 16 16 - 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 646 645(N) 46 - 649: 68(fvec3) Load 527(normal) - 650: 68(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 649 - Store 645(N) 650 - 651: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 652 652 16 16 - 655: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 654 653(i) 46 - Store 653(i) 305 - Branch 656 - 656: Label - 660: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 661: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 652 652 16 16 - LoopMerge 658 659 None - Branch 662 - 662: Label - 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 664: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 652 652 16 16 - 665: 228(int) Load 653(i) - 667: 135(bool) SLessThan 665 415 - BranchConditional 667 657 658 - 657: Label - 668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 670 670 16 16 - 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 672 671(L) 46 - 675: 228(int) Load 653(i) - 677: 676(ptr) AccessChain 467 305 312 675 305 - 678: 18(fvec4) Load 677 - 679: 68(fvec3) VectorShuffle 678 678 0 1 2 - 680: 68(fvec3) Load 504(fragPos) - 681: 68(fvec3) FSub 679 680 - Store 671(L) 681 - 682: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 683 683 16 16 - 686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 685 684(dist) 46 - 687: 68(fvec3) Load 671(L) - 688: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 687 - Store 684(dist) 688 - 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 690 690 16 16 - 691: 68(fvec3) Load 671(L) - 692: 68(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 691 - Store 671(L) 692 - 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 694 694 16 16 - 698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 696 695(V) 46 - 699: 676(ptr) AccessChain 467 305 305 - 700: 18(fvec4) Load 699 - 701: 68(fvec3) VectorShuffle 700 700 0 1 2 - 702: 68(fvec3) Load 504(fragPos) - 703: 68(fvec3) FSub 701 702 - Store 695(V) 703 - 704: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 705 705 16 16 - 706: 68(fvec3) Load 695(V) - 707: 68(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 706 - Store 695(V) 707 - 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 709 709 16 16 - 713: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 711 710(lightCosInnerAngle) 46 - Store 710(lightCosInnerAngle) 714 - 715: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 716 716 16 16 - 720: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 718 717(lightCosOuterAngle) 46 - Store 717(lightCosOuterAngle) 721 - 722: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 723 723 16 16 - 727: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 725 724(lightRange) 46 - Store 724(lightRange) 728 - 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 730 730 16 16 - 734: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 732 731(dir) 46 - 735: 228(int) Load 653(i) - 736: 676(ptr) AccessChain 467 305 312 735 305 - 737: 18(fvec4) Load 736 - 738: 68(fvec3) VectorShuffle 737 737 0 1 2 - 739: 228(int) Load 653(i) - 740: 676(ptr) AccessChain 467 305 312 739 312 + 586: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 587: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 588 588 16 16 + 591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 590 589(fragcolor) 47 + Store 593(param) 592 + 595: 70(fvec3) Load 508(fragPos) + Store 594(param) 595 + 596: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 593(param) 594(param) + Store 589(fragcolor) 596 + 597: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 598 598 16 16 + Branch 585 + 581: Label + 600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 601: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 602 602 16 16 + 603: 70(fvec3) Load 508(fragPos) + Store 589(fragcolor) 603 + 604: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 605 605 16 16 + Branch 585 + 582: Label + 607: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 608: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 609 609 16 16 + 610: 70(fvec3) Load 531(normal) + Store 589(fragcolor) 610 + 611: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 612 612 16 16 + Branch 585 + 583: Label + 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 615: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 616 616 16 16 + 617: 18(fvec4) Load 550(albedo) + 618: 70(fvec3) VectorShuffle 617 617 0 1 2 + Store 589(fragcolor) 618 + 619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 620 620 16 16 + Branch 585 + 584: Label + 622: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 624 624 16 16 + 625: 18(fvec4) Load 550(albedo) + 626: 70(fvec3) VectorShuffle 625 625 3 3 3 + Store 589(fragcolor) 626 + 627: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 628 628 16 16 + Branch 585 + 585: Label + 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 633 633 16 16 + 634: 70(fvec3) Load 589(fragcolor) + 635: 8(float) CompositeExtract 634 0 + 636: 8(float) CompositeExtract 634 1 + 637: 8(float) CompositeExtract 634 2 + 638: 18(fvec4) CompositeConstruct 635 636 637 110 + ReturnValue 638 + 574: Label + 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 642 642 16 16 + 643: 18(fvec4) Load 550(albedo) + 644: 70(fvec3) VectorShuffle 643 643 0 1 2 + 646: 70(fvec3) VectorTimesScalar 644 645 + Store 589(fragcolor) 646 + 647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 648 648 16 16 + 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 650 649(N) 47 + 653: 70(fvec3) Load 531(normal) + 654: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 653 + Store 649(N) 654 + 655: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16 + 659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 658 657(i) 47 + Store 657(i) 309 + Branch 660 + 660: Label + 664: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16 + LoopMerge 662 663 None + Branch 666 + 666: Label + 667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 656 656 16 16 + 669: 232(int) Load 657(i) + 671: 139(bool) SLessThan 669 419 + BranchConditional 671 661 662 + 661: Label + 672: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 674 674 16 16 + 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 676 675(L) 47 + 679: 232(int) Load 657(i) + 681: 680(ptr) AccessChain 471 309 316 679 309 + 682: 18(fvec4) Load 681 + 683: 70(fvec3) VectorShuffle 682 682 0 1 2 + 684: 70(fvec3) Load 508(fragPos) + 685: 70(fvec3) FSub 683 684 + Store 675(L) 685 + 686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 687 687 16 16 + 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 689 688(dist) 47 + 691: 70(fvec3) Load 675(L) + 692: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 691 + Store 688(dist) 692 + 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 694 694 16 16 + 695: 70(fvec3) Load 675(L) + 696: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 695 + Store 675(L) 696 + 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 698 698 16 16 + 702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 700 699(V) 47 + 703: 680(ptr) AccessChain 471 309 309 + 704: 18(fvec4) Load 703 + 705: 70(fvec3) VectorShuffle 704 704 0 1 2 + 706: 70(fvec3) Load 508(fragPos) + 707: 70(fvec3) FSub 705 706 + Store 699(V) 707 + 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 709 709 16 16 + 710: 70(fvec3) Load 699(V) + 711: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 710 + Store 699(V) 711 + 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 713 713 16 16 + 717: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 715 714(lightCosInnerAngle) 47 + Store 714(lightCosInnerAngle) 718 + 719: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 720 720 16 16 + 724: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 722 721(lightCosOuterAngle) 47 + Store 721(lightCosOuterAngle) 725 + 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 727 727 16 16 + 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 729 728(lightRange) 47 + Store 728(lightRange) 732 + 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 734 734 16 16 + 738: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 736 735(dir) 47 + 739: 232(int) Load 657(i) + 740: 680(ptr) AccessChain 471 309 316 739 309 741: 18(fvec4) Load 740 - 742: 68(fvec3) VectorShuffle 741 741 0 1 2 - 743: 68(fvec3) FSub 738 742 - 744: 68(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 743 - Store 731(dir) 744 - 745: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 746 746 16 16 - 750: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 748 747(cosDir) 46 - 751: 68(fvec3) Load 671(L) - 752: 68(fvec3) Load 731(dir) - 753: 8(float) Dot 751 752 - Store 747(cosDir) 753 - 754: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 755 755 16 16 - 759: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 757 756(spotEffect) 46 - 760: 8(float) Load 717(lightCosOuterAngle) - 761: 8(float) Load 710(lightCosInnerAngle) - 762: 8(float) Load 747(cosDir) - 763: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 760 761 762 - Store 756(spotEffect) 763 - 764: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 765 765 16 16 - 769: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 767 766(heightAttenuation) 46 - 770: 8(float) Load 724(lightRange) - 771: 8(float) Load 684(dist) - 772: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 770 193 771 - Store 766(heightAttenuation) 772 - 773: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 774 774 16 16 - 778: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 776 775(NdotL) 46 - 779: 68(fvec3) Load 645(N) - 780: 68(fvec3) Load 671(L) - 781: 8(float) Dot 779 780 - 782: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 193 781 - Store 775(NdotL) 782 - 783: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 784 784 16 16 - 788: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 786 785(diff) 46 - 789: 8(float) Load 775(NdotL) - 790: 68(fvec3) CompositeConstruct 789 789 789 - Store 785(diff) 790 - 791: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 792 792 16 16 - 796: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 794 793(R) 46 - 797: 68(fvec3) Load 671(L) - 798: 68(fvec3) FNegate 797 - 799: 68(fvec3) Load 645(N) - 800: 68(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 798 799 - Store 793(R) 800 - 801: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 802 802 16 16 - 806: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 804 803(NdotR) 46 - 807: 68(fvec3) Load 793(R) - 808: 68(fvec3) Load 695(V) - 809: 8(float) Dot 807 808 - 810: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 193 809 - Store 803(NdotR) 810 - 811: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 812 812 16 16 - 816: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 814 813(spec) 46 - 817: 8(float) Load 803(NdotR) - 819: 8(float) ExtInst 3(GLSL.std.450) 26(Pow) 817 818 - 820: 22(ptr) AccessChain 546(albedo) 17 - 821: 8(float) Load 820 - 822: 8(float) FMul 819 821 - 824: 8(float) FMul 822 823 - 825: 68(fvec3) CompositeConstruct 824 824 824 - Store 813(spec) 825 - 826: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 827 827 16 16 - 828: 68(fvec3) Load 785(diff) - 829: 68(fvec3) Load 813(spec) - 830: 68(fvec3) FAdd 828 829 - 831: 8(float) Load 756(spotEffect) - 832: 68(fvec3) VectorTimesScalar 830 831 - 833: 8(float) Load 766(heightAttenuation) - 834: 68(fvec3) VectorTimesScalar 832 833 - 835: 228(int) Load 653(i) - 837: 676(ptr) AccessChain 467 305 312 835 836 - 838: 18(fvec4) Load 837 - 839: 68(fvec3) VectorShuffle 838 838 0 1 2 - 840: 68(fvec3) FMul 834 839 - 841: 18(fvec4) Load 546(albedo) - 842: 68(fvec3) VectorShuffle 841 841 0 1 2 - 843: 68(fvec3) FMul 840 842 - 844: 68(fvec3) Load 585(fragcolor) - 845: 68(fvec3) FAdd 844 843 - Store 585(fragcolor) 845 - Branch 659 - 659: Label - 846: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 652 652 16 16 - 848: 228(int) Load 653(i) - 849: 228(int) IAdd 848 312 - Store 653(i) 849 - Branch 656 - 658: Label - 850: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 851: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 852 852 16 16 - 853: 564(ptr) AccessChain 467 305 836 - 854: 228(int) Load 853 - 856: 135(bool) SGreaterThan 854 305 - SelectionMerge 858 None - BranchConditional 856 857 858 - 857: Label - 859: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 860: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 861 861 16 16 - 863: 68(fvec3) Load 585(fragcolor) - Store 862(param) 863 - 865: 68(fvec3) Load 504(fragPos) - Store 864(param) 865 - 866: 68(fvec3) FunctionCall 75(shadow(vf3;vf3;) 862(param) 864(param) - Store 585(fragcolor) 866 - Branch 858 - 858: Label - 867: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 92 - 868: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 869 869 16 16 - 870: 68(fvec3) Load 585(fragcolor) - 871: 8(float) CompositeExtract 870 0 - 872: 8(float) CompositeExtract 870 1 - 873: 8(float) CompositeExtract 870 2 - 874: 18(fvec4) CompositeConstruct 871 872 873 106 - ReturnValue 874 + 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 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.geom.out b/Test/baseResults/spv.debuginfo.hlsl.geom.out index c4d39a1f..07acacc1 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 353 +// Id's are bound by 354 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" 255 261 266 272 277 282 287 302 309 314 338 341 + EntryPoint Geometry 6 "main" 256 262 267 273 278 283 288 303 310 315 339 342 ExecutionMode 6 Triangles ExecutionMode 6 Invocations 2 ExecutionMode 6 OutputTriangleStrip @@ -32,29 +32,29 @@ spv.debuginfo.hlsl.geom 47: String "PrimitiveID" 52: String "LightVec" 58: String "GSOutput" - 68: String "@main" - 74: String "input" - 78: String "outStream" - 82: String "InvocationID" - 91: String "int" - 96: String "i" - 111: String "bool" - 119: String "output" - 141: String "projection" - 145: String "modelview" - 149: String "lightPos" - 153: String "UBO" - 156: String "ubo" - 191: String "pos" - 200: String "worldPos" - 211: String "lPos" - 257: String "outStream.Pos" - 263: String "outStream.ViewportIndex" - 268: String "outStream.PrimitiveID" - 274: String "outStream.Normal" - 279: String "outStream.Color" - 284: String "outStream.ViewVec" - 289: String "outStream.LightVec" + 69: String "@main" + 75: String "input" + 79: String "outStream" + 83: String "InvocationID" + 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" Name 6 "main" Name 23 "VSOutput" MemberName 23(VSOutput) 0 "Pos" @@ -73,63 +73,63 @@ spv.debuginfo.hlsl.geom Name 64 "outStream" Name 65 "InvocationID" Name 66 "PrimitiveID" - Name 94 "i" - Name 117 "output" - Name 139 "UBO" - MemberName 139(UBO) 0 "projection" - MemberName 139(UBO) 1 "modelview" - MemberName 139(UBO) 2 "lightPos" - Name 154 "ubo" - MemberName 154(ubo) 0 "ubo" - Name 160 "" - Name 189 "pos" - Name 198 "worldPos" - Name 209 "lPos" - Name 255 "outStream.Pos" - Name 261 "outStream.ViewportIndex" - Name 266 "outStream.PrimitiveID" - Name 272 "outStream.Normal" - Name 277 "outStream.Color" - Name 282 "outStream.ViewVec" - Name 287 "outStream.LightVec" - Name 299 "input" - Name 302 "input.Pos" - Name 309 "input.Normal" - Name 314 "input.Color" - Name 336 "InvocationID" - Name 338 "InvocationID" - Name 340 "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 343 "outStream" - Name 344 "param" - Name 346 "param" + Name 342 "PrimitiveID" + Name 344 "outStream" + Name 345 "param" Name 347 "param" - Name 349 "param" - Decorate 135 ArrayStride 64 - Decorate 137 ArrayStride 64 - MemberDecorate 139(UBO) 0 RowMajor - MemberDecorate 139(UBO) 0 Offset 0 - MemberDecorate 139(UBO) 0 MatrixStride 16 - MemberDecorate 139(UBO) 1 RowMajor - MemberDecorate 139(UBO) 1 Offset 128 - MemberDecorate 139(UBO) 1 MatrixStride 16 - MemberDecorate 139(UBO) 2 Offset 256 - MemberDecorate 154(ubo) 0 Offset 0 - Decorate 154(ubo) Block - Decorate 160 DescriptorSet 0 - Decorate 160 Binding 0 - Decorate 255(outStream.Pos) BuiltIn Position - Decorate 261(outStream.ViewportIndex) BuiltIn ViewportIndex - Decorate 266(outStream.PrimitiveID) BuiltIn PrimitiveId - Decorate 272(outStream.Normal) Location 0 - Decorate 277(outStream.Color) Location 1 - Decorate 282(outStream.ViewVec) Location 2 - Decorate 287(outStream.LightVec) Location 3 - Decorate 302(input.Pos) BuiltIn Position - Decorate 309(input.Normal) Location 0 - Decorate 314(input.Color) Location 1 - Decorate 338(InvocationID) BuiltIn InvocationId - Decorate 341(PrimitiveID) BuiltIn PrimitiveId + Name 348 "param" + Name 350 "param" + Decorate 136 ArrayStride 64 + 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 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -178,170 +178,171 @@ spv.debuginfo.hlsl.geom 60: TypePointer Function 11(int) 61: TypeFunction 4 42(ptr) 59(ptr) 60(ptr) 60(ptr) 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 57 13 13 - 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 68 62 26 16 16 38 68 17 16 - 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 74 41 26 16 16 69 19 37 - 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 79: 11(int) Constant 2 - 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 78 57 26 16 16 69 19 79 - 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 82 13 26 16 16 69 19 17 - 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 13 26 16 16 69 19 19 - 89: 11(int) Constant 57 - 90: TypeInt 32 1 - 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 91 14 19 16 - 93: TypePointer Function 90(int) - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 96 92 26 89 16 69 19 - 98: 90(int) Constant 0 - 109: 90(int) Constant 3 - 110: TypeBool - 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 111 14 79 16 - 116: 11(int) Constant 59 - 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 57 26 116 16 69 19 - 121: 8(float) Constant 0 - 122: 18(fvec4) ConstantComposite 121 121 121 121 - 123: 21(fvec3) ConstantComposite 121 121 121 - 124:43(GSOutput) ConstantComposite 122 16 16 123 123 123 123 - 126: 11(int) Constant 60 - 128: 90(int) Constant 1 - 129: TypePointer Function 21(fvec3) - 132: TypeMatrix 18(fvec4) 4 - 134: 110(bool) ConstantTrue - 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 134 - 135: TypeArray 132 79 - 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 133 79 - 137: TypeArray 132 79 - 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 133 79 - 139(UBO): TypeStruct 135 137 18(fvec4) - 142: 11(int) Constant 28 - 143: 11(int) Constant 21 - 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 141 136 26 142 143 16 16 17 - 146: 11(int) Constant 29 - 147: 11(int) Constant 20 - 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 138 26 146 147 16 16 17 - 150: 11(int) Constant 30 - 151: 11(int) Constant 17 - 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 20 26 150 151 16 16 17 - 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 37 26 126 16 38 153 16 17 140 144 148 - 154(ubo): TypeStruct 139(UBO) - 157: 11(int) Constant 33 - 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 152 26 157 28 16 16 17 - 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 156 37 26 126 16 38 156 16 17 155 - 159: TypePointer Uniform 154(ubo) - 160: 159(ptr) Variable Uniform - 162: 11(int) Constant 8 - 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 158 26 126 16 38 1 160 162 - 164: TypePointer Uniform 132 - 167: TypeMatrix 21(fvec3) 3 - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 134 - 179: 11(int) Constant 61 - 180: 90(int) Constant 4 - 182: 90(int) Constant 2 - 187: 11(int) Constant 63 - 188: TypePointer Function 18(fvec4) - 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 191 20 26 187 16 69 19 - 197: 11(int) Constant 64 - 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 200 20 26 197 16 69 19 - 208: 11(int) Constant 66 - 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 211 22 26 208 16 69 19 - 213: TypePointer Uniform 18(fvec4) - 222: 11(int) Constant 67 - 223: 90(int) Constant 6 - 230: 11(int) Constant 68 - 231: 90(int) Constant 5 - 237: 11(int) Constant 70 - 245: 11(int) Constant 73 - 249: 11(int) Constant 74 - 253: 11(int) Constant 75 - 254: TypePointer Output 18(fvec4) -255(outStream.Pos): 254(ptr) Variable Output - 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 257 20 26 253 16 38 257 255(outStream.Pos) 162 - 260: TypePointer Output 11(int) -261(outStream.ViewportIndex): 260(ptr) Variable Output - 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 263 13 26 253 16 38 263 261(outStream.ViewportIndex) 162 -266(outStream.PrimitiveID): 260(ptr) Variable Output - 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 268 13 26 253 16 38 268 266(outStream.PrimitiveID) 162 - 271: TypePointer Output 21(fvec3) -272(outStream.Normal): 271(ptr) Variable Output - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 274 22 26 253 16 38 274 272(outStream.Normal) 162 -277(outStream.Color): 271(ptr) Variable Output - 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 279 22 26 253 16 38 279 277(outStream.Color) 162 -282(outStream.ViewVec): 271(ptr) Variable Output - 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 284 22 26 253 16 38 284 282(outStream.ViewVec) 162 -287(outStream.LightVec): 271(ptr) Variable Output - 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 289 22 26 253 16 38 289 287(outStream.LightVec) 162 - 298: 11(int) Constant 78 - 300: TypeArray 18(fvec4) 17 - 301: TypePointer Input 300 - 302(input.Pos): 301(ptr) Variable Input - 303: TypePointer Input 18(fvec4) - 307: TypeArray 21(fvec3) 17 - 308: TypePointer Input 307 -309(input.Normal): 308(ptr) Variable Input - 310: TypePointer Input 21(fvec3) -314(input.Color): 308(ptr) Variable Input - 337: TypePointer Input 11(int) -338(InvocationID): 337(ptr) Variable Input -341(PrimitiveID): 337(ptr) Variable Input + 71: 11(int) Constant 56 + 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 69 62 26 71 16 38 69 17 71 + 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 75 41 26 71 16 70 19 37 + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 80: 11(int) Constant 2 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 57 26 71 16 70 19 80 + 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 13 26 71 16 70 19 17 + 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 13 26 71 16 70 19 19 + 90: 11(int) Constant 57 + 91: TypeInt 32 1 + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 92 14 19 16 + 94: TypePointer Function 91(int) + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 97 93 26 90 16 70 19 + 99: 91(int) Constant 0 + 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 Line 1 56 1 6(main): 4 Function None 5 7: Label - 299(input): 42(ptr) Variable Function -336(InvocationID): 60(ptr) Variable Function -340(PrimitiveID): 60(ptr) Variable Function - 343(outStream): 59(ptr) Variable Function - 344(param): 42(ptr) Variable Function - 346(param): 59(ptr) Variable Function - 347(param): 60(ptr) Variable Function - 349(param): 60(ptr) Variable Function + 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 Line 1 56 0 - 304: 303(ptr) AccessChain 302(input.Pos) 98 - 305: 18(fvec4) Load 304 - 306: 188(ptr) AccessChain 299(input) 98 98 - Store 306 305 - 311: 310(ptr) AccessChain 309(input.Normal) 98 - 312: 21(fvec3) Load 311 - 313: 129(ptr) AccessChain 299(input) 98 128 - Store 313 312 - 315: 310(ptr) AccessChain 314(input.Color) 98 - 316: 21(fvec3) Load 315 - 317: 129(ptr) AccessChain 299(input) 98 182 - Store 317 316 - 318: 303(ptr) AccessChain 302(input.Pos) 128 - 319: 18(fvec4) Load 318 - 320: 188(ptr) AccessChain 299(input) 128 98 - Store 320 319 - 321: 310(ptr) AccessChain 309(input.Normal) 128 - 322: 21(fvec3) Load 321 - 323: 129(ptr) AccessChain 299(input) 128 128 - Store 323 322 - 324: 310(ptr) AccessChain 314(input.Color) 128 - 325: 21(fvec3) Load 324 - 326: 129(ptr) AccessChain 299(input) 128 182 - Store 326 325 - 327: 303(ptr) AccessChain 302(input.Pos) 182 - 328: 18(fvec4) Load 327 - 329: 188(ptr) AccessChain 299(input) 182 98 - Store 329 328 - 330: 310(ptr) AccessChain 309(input.Normal) 182 - 331: 21(fvec3) Load 330 - 332: 129(ptr) AccessChain 299(input) 182 128 - Store 332 331 - 333: 310(ptr) AccessChain 314(input.Color) 182 - 334: 21(fvec3) Load 333 - 335: 129(ptr) AccessChain 299(input) 182 182 - Store 335 334 - 339: 11(int) Load 338(InvocationID) - Store 336(InvocationID) 339 - 342: 11(int) Load 341(PrimitiveID) - Store 340(PrimitiveID) 342 - 345: 40 Load 299(input) - Store 344(param) 345 - 348: 11(int) Load 336(InvocationID) - Store 347(param) 348 - 350: 11(int) Load 340(PrimitiveID) - Store 349(param) 350 - 351: 4 FunctionCall 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 344(param) 346(param) 347(param) 349(param) - 352:43(GSOutput) Load 346(param) - Store 343(outStream) 352 + 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 + Store 321 320 + 322: 311(ptr) AccessChain 310(input.Normal) 129 + 323: 21(fvec3) Load 322 + 324: 130(ptr) AccessChain 300(input) 129 129 + Store 324 323 + 325: 311(ptr) AccessChain 315(input.Color) 129 + 326: 21(fvec3) Load 325 + 327: 130(ptr) AccessChain 300(input) 129 183 + Store 327 326 + 328: 304(ptr) AccessChain 303(input.Pos) 183 + 329: 18(fvec4) Load 328 + 330: 189(ptr) AccessChain 300(input) 183 99 + Store 330 329 + 331: 311(ptr) AccessChain 310(input.Normal) 183 + 332: 21(fvec3) Load 331 + 333: 130(ptr) AccessChain 300(input) 183 129 + Store 333 332 + 334: 311(ptr) AccessChain 315(input.Color) 183 + 335: 21(fvec3) Load 334 + 336: 130(ptr) AccessChain 300(input) 183 183 + 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) + 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 Return FunctionEnd Line 1 56 1 @@ -350,150 +351,150 @@ spv.debuginfo.hlsl.geom 64(outStream): 59(ptr) FunctionParameter 65(InvocationID): 60(ptr) FunctionParameter 66(PrimitiveID): 60(ptr) FunctionParameter - 70: Label - 94(i): 93(ptr) Variable Function - 117(output): 59(ptr) Variable Function - 189(pos): 188(ptr) Variable Function - 198(worldPos): 188(ptr) Variable Function - 209(lPos): 129(ptr) Variable Function - 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69 - 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 16 16 16 16 - 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 73 63(input) 76 - 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 77 64(outStream) 76 - 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 81 65(InvocationID) 76 - 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 66(PrimitiveID) 76 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 69 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) - 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69 - 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16 - 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 95 94(i) 76 - Store 94(i) 98 - Branch 99 - 99: Label - 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69 - 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16 - LoopMerge 101 102 None - Branch 105 - 105: Label - 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69 - 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16 - 108: 90(int) Load 94(i) - 113: 110(bool) SLessThan 108 109 - BranchConditional 113 100 101 - 100: Label - 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69 - 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 116 116 16 16 - 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(output) 76 - Store 117(output) 124 - 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 126 126 16 16 - 127: 90(int) Load 94(i) - 130: 129(ptr) AccessChain 63(input) 127 128 - 131: 21(fvec3) Load 130 - 163: 11(int) Load 65(InvocationID) - 165: 164(ptr) AccessChain 160 98 128 163 - 166: 132 Load 165 - 169: 18(fvec4) CompositeExtract 166 0 - 170: 21(fvec3) VectorShuffle 169 169 0 1 2 - 171: 18(fvec4) CompositeExtract 166 1 - 172: 21(fvec3) VectorShuffle 171 171 0 1 2 - 173: 18(fvec4) CompositeExtract 166 2 - 174: 21(fvec3) VectorShuffle 173 173 0 1 2 - 175: 167 CompositeConstruct 170 172 174 - 176: 21(fvec3) VectorTimesMatrix 131 175 - 177: 129(ptr) AccessChain 117(output) 109 - Store 177 176 - 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 179 179 16 16 - 181: 90(int) Load 94(i) - 183: 129(ptr) AccessChain 63(input) 181 182 - 184: 21(fvec3) Load 183 - 185: 129(ptr) AccessChain 117(output) 180 - Store 185 184 - 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 187 187 16 16 - 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 190 189(pos) 76 - 193: 90(int) Load 94(i) - 194: 188(ptr) AccessChain 63(input) 193 98 - 195: 18(fvec4) Load 194 - Store 189(pos) 195 - 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 197 197 16 16 - 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 199 198(worldPos) 76 - 202: 18(fvec4) Load 189(pos) - 203: 11(int) Load 65(InvocationID) - 204: 164(ptr) AccessChain 160 98 128 203 - 205: 132 Load 204 - 206: 18(fvec4) VectorTimesMatrix 202 205 - Store 198(worldPos) 206 - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 208 208 16 16 - 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 210 209(lPos) 76 - 214: 213(ptr) AccessChain 160 98 182 - 215: 18(fvec4) Load 214 - 216: 11(int) Load 65(InvocationID) - 217: 164(ptr) AccessChain 160 98 128 216 - 218: 132 Load 217 - 219: 18(fvec4) VectorTimesMatrix 215 218 - 220: 21(fvec3) VectorShuffle 219 219 0 1 2 - Store 209(lPos) 220 - 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 222 222 16 16 - 224: 21(fvec3) Load 209(lPos) - 225: 18(fvec4) Load 198(worldPos) - 226: 21(fvec3) VectorShuffle 225 225 0 1 2 - 227: 21(fvec3) FSub 224 226 - 228: 129(ptr) AccessChain 117(output) 223 - Store 228 227 - 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 230 230 16 16 - 232: 18(fvec4) Load 198(worldPos) - 233: 21(fvec3) VectorShuffle 232 232 0 1 2 - 234: 21(fvec3) FNegate 233 - 235: 129(ptr) AccessChain 117(output) 231 - Store 235 234 - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 237 237 16 16 - 238: 18(fvec4) Load 198(worldPos) - 239: 11(int) Load 65(InvocationID) - 240: 164(ptr) AccessChain 160 98 98 239 - 241: 132 Load 240 - 242: 18(fvec4) VectorTimesMatrix 238 241 - 243: 188(ptr) AccessChain 117(output) 98 - Store 243 242 - 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 245 245 16 16 - 246: 11(int) Load 65(InvocationID) - 247: 60(ptr) AccessChain 117(output) 128 - Store 247 246 - 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 249 249 16 16 - 250: 11(int) Load 66(PrimitiveID) - 251: 60(ptr) AccessChain 117(output) 182 - Store 251 250 - 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 253 253 16 16 - 258: 188(ptr) AccessChain 117(output) 98 - 259: 18(fvec4) Load 258 - Store 255(outStream.Pos) 259 - 264: 60(ptr) AccessChain 117(output) 128 - 265: 11(int) Load 264 - Store 261(outStream.ViewportIndex) 265 - 269: 60(ptr) AccessChain 117(output) 182 - 270: 11(int) Load 269 - Store 266(outStream.PrimitiveID) 270 - 275: 129(ptr) AccessChain 117(output) 109 - 276: 21(fvec3) Load 275 - Store 272(outStream.Normal) 276 - 280: 129(ptr) AccessChain 117(output) 180 - 281: 21(fvec3) Load 280 - Store 277(outStream.Color) 281 - 285: 129(ptr) AccessChain 117(output) 231 - 286: 21(fvec3) Load 285 - Store 282(outStream.ViewVec) 286 - 290: 129(ptr) AccessChain 117(output) 223 - 291: 21(fvec3) Load 290 - Store 287(outStream.LightVec) 291 + 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 + 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 + 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 78 64(outStream) 77 + 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 65(InvocationID) 77 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 85 66(PrimitiveID) 77 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 70 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 96 95(i) 77 + Store 95(i) 99 + Branch 100 + 100: Label + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 + LoopMerge 102 103 None + Branch 106 + 106: Label + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 + 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 + 109: 91(int) Load 95(i) + 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 EmitVertex - Branch 102 - 102: Label - 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69 - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16 - 294: 90(int) Load 94(i) - 295: 90(int) IAdd 294 128 - Store 94(i) 295 - Branch 99 - 101: Label - 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69 - 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 298 298 16 16 + 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 + 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 EndPrimitive Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.tesc.out b/Test/baseResults/spv.debuginfo.hlsl.tesc.out index 998eef5f..34a6d0a8 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 688 +// Id's are bound by 692 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" 580 587 594 628 637 644 651 666 681 + EntryPoint TessellationControl 6 "main" 584 591 598 632 641 648 655 670 685 ExecutionMode 6 OutputVertices 4 ExecutionMode 6 Quads ExecutionMode 6 SpacingEqual @@ -18,8 +18,8 @@ WARNING: 0:158: '' : attribute does not apply to entry point 1: String "" 9: String "float" 12: String "uint" - 27: String "screenSpaceTessFactor" - 30: String "// OpModuleProcessed auto-map-locations + 28: String "screenSpaceTessFactor" + 31: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed entry-point main // OpModuleProcessed client vulkan100 @@ -28,151 +28,151 @@ WARNING: 0:158: '' : attribute does not apply to entry point // OpModuleProcessed hlsl-offsets #line 1 " - 38: String "p0" - 42: String "p1" - 49: String "bool" - 56: String "frustumCheck" - 62: String "Pos" - 65: String "inUV" - 74: String "Normal" - 78: String "UV" - 82: String "VSOutput" - 92: String "TessLevelOuter" - 96: String "TessLevelInner" - 99: String "ConstantsHSOutput" - 104: String "ConstantsHS" - 110: String "patch" - 121: String "HSOutput" - 127: String "@main" - 135: String "InvocationID" - 143: String "midPoint" - 155: String "radius" - 166: String "v0" - 176: String "modelview" - 181: String "lightPos" - 185: String "frustumPlanes" - 188: String "tessellatedEdgeSize" - 192: String "viewportDim" - 196: String "UBO" - 199: String "ubo" - 207: String "int" - 219: String "clip0" - 237: String "clip1" - 312: String "pos" - 319: String "type.2d.image" - 320: String "@type.2d.image" - 325: String "textureHeight" - 329: String "type.sampler" - 330: String "@type.sampler" - 334: String "samplerHeight" - 338: String "type.sampled.image" - 339: String "@type.sampled.image" - 357: String "i" - 410: String "output" + 39: String "p0" + 43: String "p1" + 50: String "bool" + 58: String "frustumCheck" + 64: String "Pos" + 67: String "inUV" + 76: String "Normal" + 80: String "UV" + 84: String "VSOutput" + 94: String "TessLevelOuter" + 98: String "TessLevelInner" + 101: String "ConstantsHSOutput" + 107: String "ConstantsHS" + 113: String "patch" + 124: String "HSOutput" + 131: String "@main" + 139: String "InvocationID" + 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" Name 6 "main" Name 26 "screenSpaceTessFactor(vf4;vf4;" Name 24 "p0" Name 25 "p1" - Name 55 "frustumCheck(vf4;vf2;" - Name 53 "Pos" - Name 54 "inUV" - Name 69 "VSOutput" - MemberName 69(VSOutput) 0 "Pos" - MemberName 69(VSOutput) 1 "Normal" - MemberName 69(VSOutput) 2 "UV" - Name 90 "ConstantsHSOutput" - MemberName 90(ConstantsHSOutput) 0 "TessLevelOuter" - MemberName 90(ConstantsHSOutput) 1 "TessLevelInner" - Name 103 "ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];" - Name 102 "patch" - Name 113 "HSOutput" - MemberName 113(HSOutput) 0 "Pos" - MemberName 113(HSOutput) 1 "Normal" - MemberName 113(HSOutput) 2 "UV" - Name 126 "@main(struct-VSOutput-vf4-vf3-vf21[4];u1;" - Name 124 "patch" - Name 125 "InvocationID" - Name 141 "midPoint" - Name 153 "radius" - Name 164 "v0" - Name 174 "UBO" - MemberName 174(UBO) 0 "projection" - MemberName 174(UBO) 1 "modelview" - MemberName 174(UBO) 2 "lightPos" - MemberName 174(UBO) 3 "frustumPlanes" - MemberName 174(UBO) 4 "displacementFactor" - MemberName 174(UBO) 5 "tessellationFactor" - MemberName 174(UBO) 6 "viewportDim" - MemberName 174(UBO) 7 "tessellatedEdgeSize" - Name 197 "ubo" - MemberName 197(ubo) 0 "ubo" - Name 203 "" - Name 217 "clip0" - Name 235 "clip1" - Name 310 "pos" - Name 323 "textureHeight" - Name 332 "samplerHeight" - Name 355 "i" - Name 408 "output" - Name 418 "param" - Name 421 "param" - Name 462 "param" - Name 465 "param" - Name 472 "param" - Name 475 "param" - Name 482 "param" - Name 485 "param" - Name 492 "param" - Name 495 "param" - Name 547 "output" - Name 577 "patch" - Name 580 "patch.Pos" - Name 587 "patch.Normal" - Name 594 "patch.UV" - Name 626 "InvocationID" - Name 628 "InvocationID" - Name 630 "flattenTemp" - Name 631 "param" - Name 633 "param" - Name 637 "@entryPointOutput.Pos" - Name 644 "@entryPointOutput.Normal" - Name 651 "@entryPointOutput.UV" - Name 661 "@patchConstantResult" - Name 662 "param" - Name 666 "@patchConstantOutput.TessLevelOuter" - Name 681 "@patchConstantOutput.TessLevelInner" - Decorate 172 ArrayStride 16 - MemberDecorate 174(UBO) 0 RowMajor - MemberDecorate 174(UBO) 0 Offset 0 - MemberDecorate 174(UBO) 0 MatrixStride 16 - MemberDecorate 174(UBO) 1 RowMajor - MemberDecorate 174(UBO) 1 Offset 64 - MemberDecorate 174(UBO) 1 MatrixStride 16 - MemberDecorate 174(UBO) 2 Offset 128 - MemberDecorate 174(UBO) 3 Offset 144 - MemberDecorate 174(UBO) 4 Offset 240 - MemberDecorate 174(UBO) 5 Offset 244 - MemberDecorate 174(UBO) 6 Offset 248 - MemberDecorate 174(UBO) 7 Offset 256 - MemberDecorate 197(ubo) 0 Offset 0 - Decorate 197(ubo) Block - Decorate 203 DescriptorSet 0 - Decorate 203 Binding 0 - Decorate 323(textureHeight) DescriptorSet 0 - Decorate 323(textureHeight) Binding 1 - Decorate 332(samplerHeight) DescriptorSet 0 - Decorate 332(samplerHeight) Binding 1 - Decorate 580(patch.Pos) BuiltIn Position - Decorate 587(patch.Normal) Location 0 - Decorate 594(patch.UV) Location 1 - Decorate 628(InvocationID) BuiltIn InvocationId - Decorate 637(@entryPointOutput.Pos) BuiltIn Position - Decorate 644(@entryPointOutput.Normal) Location 0 - Decorate 651(@entryPointOutput.UV) Location 1 - Decorate 666(@patchConstantOutput.TessLevelOuter) Patch - Decorate 666(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter - Decorate 681(@patchConstantOutput.TessLevelInner) Patch - Decorate 681(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner + Name 56 "frustumCheck(vf4;vf2;" + Name 54 "Pos" + Name 55 "inUV" + Name 71 "VSOutput" + MemberName 71(VSOutput) 0 "Pos" + MemberName 71(VSOutput) 1 "Normal" + MemberName 71(VSOutput) 2 "UV" + Name 92 "ConstantsHSOutput" + MemberName 92(ConstantsHSOutput) 0 "TessLevelOuter" + MemberName 92(ConstantsHSOutput) 1 "TessLevelInner" + Name 105 "ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];" + Name 104 "patch" + Name 116 "HSOutput" + MemberName 116(HSOutput) 0 "Pos" + MemberName 116(HSOutput) 1 "Normal" + MemberName 116(HSOutput) 2 "UV" + Name 129 "@main(struct-VSOutput-vf4-vf3-vf21[4];u1;" + Name 127 "patch" + Name 128 "InvocationID" + 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 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 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -189,729 +189,733 @@ WARNING: 0:158: '' : attribute does not apply to entry point 21: TypePointer Function 18(fvec4) 22: TypeFunction 8(float) 21(ptr) 21(ptr) 23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 20 - 29: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 30 - 32: 11(int) Constant 1 - 33: 11(int) Constant 5 - 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 32 19 29 33 - 28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 27 23 29 16 16 31 27 17 16 - 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 38 20 29 16 16 28 19 32 - 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 43: 11(int) Constant 2 - 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 42 20 29 16 16 28 19 43 - 45: TypeVector 8(float) 2 - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 43 - 47: TypePointer Function 45(fvec2) - 48: TypeBool - 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 14 43 16 - 51: TypeFunction 48(bool) 21(ptr) 47(ptr) - 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 50 20 46 - 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 56 52 29 16 16 31 56 17 16 - 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 62 20 29 16 16 57 19 32 - 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 65 46 29 16 16 57 19 43 - 67: TypeVector 8(float) 3 - 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 - 69(VSOutput): TypeStruct 18(fvec4) 67(fvec3) 45(fvec2) - 71: 11(int) Constant 44 - 72: 11(int) Constant 13 - 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 62 20 29 71 72 16 16 17 - 75: 11(int) Constant 45 - 76: 11(int) Constant 35 - 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 74 68 29 75 76 16 16 17 - 79: 11(int) Constant 46 - 80: 11(int) Constant 31 - 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 46 29 79 80 16 16 17 - 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 82 32 29 16 16 31 82 16 17 70 73 77 - 83: TypeArray 69(VSOutput) 19 - 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 81 19 - 85: TypePointer Function 83 - 86: TypeArray 8(float) 19 - 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 19 - 88: TypeArray 8(float) 43 - 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 43 -90(ConstantsHSOutput): TypeStruct 86 88 - 93: 11(int) Constant 58 - 94: 11(int) Constant 25 - 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 87 29 93 94 16 16 17 - 97: 11(int) Constant 59 - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 96 89 29 97 94 16 16 17 - 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 99 32 29 16 16 31 99 16 17 91 95 - 100: TypeFunction 90(ConstantsHSOutput) 85(ptr) - 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 98 84 - 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 104 101 29 16 16 31 104 17 16 - 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 110 84 29 16 16 105 19 32 - 112: TypePointer Function 11(int) - 113(HSOutput): TypeStruct 18(fvec4) 67(fvec3) 45(fvec2) - 115: 11(int) Constant 51 - 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 62 20 29 115 14 16 16 17 - 117: 11(int) Constant 52 - 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 74 68 29 117 76 16 16 17 - 119: 11(int) Constant 53 - 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 46 29 119 80 16 16 17 - 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 121 32 29 16 16 31 121 16 17 114 116 118 - 122: TypeFunction 113(HSOutput) 85(ptr) 112(ptr) - 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 120 84 13 - 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 127 123 29 16 16 31 127 17 16 - 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 110 84 29 16 16 128 19 32 - 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 135 13 29 16 16 128 19 43 - 140: 11(int) Constant 67 - 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 143 20 29 140 16 28 19 - 145: 8(float) Constant 1056964608 - 151: 11(int) Constant 69 - 152: TypePointer Function 8(float) - 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 155 10 29 151 16 28 19 - 160: 8(float) Constant 1073741824 - 163: 11(int) Constant 72 - 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 166 20 29 163 16 28 19 - 169: TypeMatrix 18(fvec4) 4 - 171: 48(bool) ConstantTrue - 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 171 - 172: TypeArray 18(fvec4) 15 - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 20 15 - 174(UBO): TypeStruct 169 169 18(fvec4) 172 8(float) 8(float) 45(fvec2) 8(float) - 177: 11(int) Constant 29 - 178: 11(int) Constant 20 - 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 176 170 29 177 178 16 16 17 - 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 176 170 29 177 178 16 16 17 - 182: 11(int) Constant 30 - 183: 11(int) Constant 17 - 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 181 20 29 182 183 16 16 17 - 186: 11(int) Constant 22 - 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 185 173 29 80 186 16 16 17 - 189: 11(int) Constant 27 - 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 188 10 29 76 189 16 16 17 - 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 188 10 29 76 189 16 16 17 - 193: 11(int) Constant 34 - 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 192 46 29 193 178 16 16 17 - 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 188 10 29 76 189 16 16 17 - 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 196 32 29 163 16 31 196 16 17 175 179 180 184 187 190 191 194 - 197(ubo): TypeStruct 174(UBO) - 200: 11(int) Constant 37 - 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 199 195 29 200 200 16 16 17 - 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 199 32 29 163 16 31 199 16 17 198 - 202: TypePointer Uniform 197(ubo) - 203: 202(ptr) Variable Uniform - 205: 11(int) Constant 8 - 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 201 29 163 16 31 1 203 205 - 206: TypeInt 32 1 - 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 207 14 19 16 - 209: 206(int) Constant 0 - 210: 206(int) Constant 1 - 211: TypePointer Uniform 169 - 216: 11(int) Constant 75 - 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 219 20 29 216 16 28 19 - 223: 8(float) Constant 0 - 224: 67(fvec3) ConstantComposite 223 223 223 - 234: 11(int) Constant 76 - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 237 20 29 234 16 28 19 - 250: 11(int) Constant 79 - 257: 11(int) Constant 80 - 264: 11(int) Constant 83 - 265: 206(int) Constant 6 - 266: TypePointer Uniform 45(fvec2) - 277: 11(int) Constant 84 - 288: 11(int) Constant 89 - 292: 206(int) Constant 7 - 293: TypePointer Uniform 8(float) - 297: 206(int) Constant 5 - 301: 8(float) Constant 1065353216 - 302: 8(float) Constant 1115684864 - 309: 11(int) Constant 98 - 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 312 20 29 309 16 57 19 - 316: 11(int) Constant 99 - 317: TypeImage 8(float) 2D sampled format:Unknown - 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 319 16 29 316 16 31 320 321 17 - 322: TypePointer UniformConstant 317 -323(textureHeight): 322(ptr) Variable UniformConstant - 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 325 318 29 316 16 31 325 323(textureHeight) 205 - 327: TypeSampler - 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 329 32 29 316 16 31 330 321 17 - 331: TypePointer UniformConstant 327 -332(samplerHeight): 331(ptr) Variable UniformConstant - 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 334 328 29 316 16 31 334 332(samplerHeight) 205 - 336: TypeSampledImage 317 - 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 338 16 29 316 16 31 339 321 17 - 344: 206(int) Constant 4 - 353: 11(int) Constant 102 - 354: TypePointer Function 206(int) - 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 357 208 29 353 16 57 19 - 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 14 43 16 - 373: 11(int) Constant 103 - 375: 206(int) Constant 3 - 377: TypePointer Uniform 18(fvec4) - 381: 8(float) Constant 1090519040 - 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 14 43 16 - 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 14 43 16 - 388: 48(bool) ConstantFalse - 391: 11(int) Constant 105 - 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 14 43 16 - 400: 11(int) Constant 108 - 406: 11(int) Constant 113 - 407: TypePointer Function 90(ConstantsHSOutput) - 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 98 29 406 16 105 19 - 412: 86 ConstantComposite 223 223 223 223 - 413: 88 ConstantComposite 223 223 - 414:90(ConstantsHSOutput) ConstantComposite 412 413 - 416: 11(int) Constant 115 - 417: 206(int) Constant 2 - 425: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 14 43 16 - 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 14 43 16 - 432: 11(int) Constant 117 - 435: 11(int) Constant 118 - 438: 11(int) Constant 119 - 441: 11(int) Constant 120 - 444: 11(int) Constant 121 - 447: 11(int) Constant 122 - 452: 11(int) Constant 126 - 455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 14 43 16 - 461: 11(int) Constant 128 - 471: 11(int) Constant 129 - 481: 11(int) Constant 130 - 491: 11(int) Constant 131 - 501: 11(int) Constant 132 - 509: 11(int) Constant 133 - 519: 11(int) Constant 139 - 522: 11(int) Constant 140 - 525: 11(int) Constant 141 - 528: 11(int) Constant 142 - 531: 11(int) Constant 143 - 534: 11(int) Constant 144 - 538: 11(int) Constant 148 - 545: 11(int) Constant 159 - 546: TypePointer Function 113(HSOutput) - 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 120 29 545 16 128 19 - 550: 18(fvec4) ConstantComposite 223 223 223 223 - 551: 45(fvec2) ConstantComposite 223 223 - 552:113(HSOutput) ConstantComposite 550 224 551 - 554: 11(int) Constant 160 - 560: 11(int) Constant 161 - 562: TypePointer Function 67(fvec3) - 567: 11(int) Constant 162 - 573: 11(int) Constant 163 - 578: TypeArray 18(fvec4) 19 - 579: TypePointer Input 578 - 580(patch.Pos): 579(ptr) Variable Input - 581: TypePointer Input 18(fvec4) - 585: TypeArray 67(fvec3) 19 - 586: TypePointer Input 585 -587(patch.Normal): 586(ptr) Variable Input - 588: TypePointer Input 67(fvec3) - 592: TypeArray 45(fvec2) 19 - 593: TypePointer Input 592 - 594(patch.UV): 593(ptr) Variable Input - 595: TypePointer Input 45(fvec2) - 627: TypePointer Input 11(int) -628(InvocationID): 627(ptr) Variable Input - 636: TypePointer Output 578 -637(@entryPointOutput.Pos): 636(ptr) Variable Output - 641: TypePointer Output 18(fvec4) - 643: TypePointer Output 585 -644(@entryPointOutput.Normal): 643(ptr) Variable Output - 648: TypePointer Output 67(fvec3) - 650: TypePointer Output 592 -651(@entryPointOutput.UV): 650(ptr) Variable Output - 655: TypePointer Output 45(fvec2) - 665: TypePointer Output 86 -666(@patchConstantOutput.TessLevelOuter): 665(ptr) Variable Output - 669: TypePointer Output 8(float) - 680: TypePointer Output 88 -681(@patchConstantOutput.TessLevelInner): 680(ptr) Variable Output + 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 31 + 32: 11(int) Constant 65 + 34: 11(int) Constant 1 + 35: 11(int) Constant 5 + 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 34 19 30 35 + 29: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 28 23 30 32 16 33 28 17 32 + 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 39 20 30 32 16 29 19 34 + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 44: 11(int) Constant 2 + 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 43 20 30 32 16 29 19 44 + 46: TypeVector 8(float) 2 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 44 + 48: TypePointer Function 46(fvec2) + 49: TypeBool + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 + 52: TypeFunction 49(bool) 21(ptr) 48(ptr) + 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 51 20 47 + 60: 11(int) Constant 95 + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 58 53 30 60 16 33 58 17 60 + 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 64 20 30 60 16 59 19 34 + 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 67 47 30 60 16 59 19 44 + 69: TypeVector 8(float) 3 + 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 + 71(VSOutput): TypeStruct 18(fvec4) 69(fvec3) 46(fvec2) + 73: 11(int) Constant 44 + 74: 11(int) Constant 13 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 20 30 73 74 16 16 17 + 77: 11(int) Constant 45 + 78: 11(int) Constant 35 + 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 70 30 77 78 16 16 17 + 81: 11(int) Constant 46 + 82: 11(int) Constant 31 + 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 80 47 30 81 82 16 16 17 + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 84 34 30 60 16 33 84 16 17 72 75 79 + 85: TypeArray 71(VSOutput) 19 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 83 19 + 87: TypePointer Function 85 + 88: TypeArray 8(float) 19 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 19 + 90: TypeArray 8(float) 44 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 44 +92(ConstantsHSOutput): TypeStruct 88 90 + 95: 11(int) Constant 58 + 96: 11(int) Constant 25 + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 94 89 30 95 96 16 16 17 + 99: 11(int) Constant 59 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 91 30 99 96 16 16 17 + 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 101 34 30 60 16 33 101 16 17 93 97 + 102: TypeFunction 92(ConstantsHSOutput) 87(ptr) + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 100 86 + 109: 11(int) Constant 112 + 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 107 103 30 109 16 33 107 17 109 + 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 113 86 30 109 16 108 19 34 + 115: TypePointer Function 11(int) + 116(HSOutput): TypeStruct 18(fvec4) 69(fvec3) 46(fvec2) + 118: 11(int) Constant 51 + 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 20 30 118 14 16 16 17 + 120: 11(int) Constant 52 + 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 70 30 120 78 16 16 17 + 122: 11(int) Constant 53 + 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 80 47 30 122 82 16 16 17 + 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 124 34 30 109 16 33 124 16 17 117 119 121 + 125: TypeFunction 116(HSOutput) 87(ptr) 115(ptr) + 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 123 86 13 + 133: 11(int) Constant 158 + 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 131 126 30 133 16 33 131 17 133 + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 113 86 30 133 16 132 19 34 + 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 139 13 30 133 16 132 19 44 + 144: 11(int) Constant 67 + 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 147 20 30 144 16 29 19 + 149: 8(float) Constant 1056964608 + 155: 11(int) Constant 69 + 156: TypePointer Function 8(float) + 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 159 10 30 155 16 29 19 + 164: 8(float) Constant 1073741824 + 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 + 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 Line 1 158 1 6(main): 4 Function None 5 7: Label - 577(patch): 85(ptr) Variable Function -626(InvocationID): 112(ptr) Variable Function -630(flattenTemp): 546(ptr) Variable Function - 631(param): 85(ptr) Variable Function - 633(param): 112(ptr) Variable Function -661(@patchConstantResult): 407(ptr) Variable Function - 662(param): 85(ptr) Variable Function + 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 Line 1 158 0 - 582: 581(ptr) AccessChain 580(patch.Pos) 209 - 583: 18(fvec4) Load 582 - 584: 21(ptr) AccessChain 577(patch) 209 209 - Store 584 583 - 589: 588(ptr) AccessChain 587(patch.Normal) 209 - 590: 67(fvec3) Load 589 - 591: 562(ptr) AccessChain 577(patch) 209 210 - Store 591 590 - 596: 595(ptr) AccessChain 594(patch.UV) 209 - 597: 45(fvec2) Load 596 - 598: 47(ptr) AccessChain 577(patch) 209 417 - Store 598 597 - 599: 581(ptr) AccessChain 580(patch.Pos) 210 - 600: 18(fvec4) Load 599 - 601: 21(ptr) AccessChain 577(patch) 210 209 - Store 601 600 - 602: 588(ptr) AccessChain 587(patch.Normal) 210 - 603: 67(fvec3) Load 602 - 604: 562(ptr) AccessChain 577(patch) 210 210 - Store 604 603 - 605: 595(ptr) AccessChain 594(patch.UV) 210 - 606: 45(fvec2) Load 605 - 607: 47(ptr) AccessChain 577(patch) 210 417 - Store 607 606 - 608: 581(ptr) AccessChain 580(patch.Pos) 417 - 609: 18(fvec4) Load 608 - 610: 21(ptr) AccessChain 577(patch) 417 209 - Store 610 609 - 611: 588(ptr) AccessChain 587(patch.Normal) 417 - 612: 67(fvec3) Load 611 - 613: 562(ptr) AccessChain 577(patch) 417 210 - Store 613 612 - 614: 595(ptr) AccessChain 594(patch.UV) 417 - 615: 45(fvec2) Load 614 - 616: 47(ptr) AccessChain 577(patch) 417 417 - Store 616 615 - 617: 581(ptr) AccessChain 580(patch.Pos) 375 - 618: 18(fvec4) Load 617 - 619: 21(ptr) AccessChain 577(patch) 375 209 - Store 619 618 - 620: 588(ptr) AccessChain 587(patch.Normal) 375 - 621: 67(fvec3) Load 620 - 622: 562(ptr) AccessChain 577(patch) 375 210 - Store 622 621 - 623: 595(ptr) AccessChain 594(patch.UV) 375 - 624: 45(fvec2) Load 623 - 625: 47(ptr) AccessChain 577(patch) 375 417 - Store 625 624 - 629: 11(int) Load 628(InvocationID) - Store 626(InvocationID) 629 - 632: 83 Load 577(patch) - Store 631(param) 632 - 634: 11(int) Load 626(InvocationID) - Store 633(param) 634 - 635:113(HSOutput) FunctionCall 126(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 631(param) 633(param) - Store 630(flattenTemp) 635 - 638: 11(int) Load 628(InvocationID) - 639: 21(ptr) AccessChain 630(flattenTemp) 209 - 640: 18(fvec4) Load 639 - 642: 641(ptr) AccessChain 637(@entryPointOutput.Pos) 638 - Store 642 640 - 645: 11(int) Load 628(InvocationID) - 646: 562(ptr) AccessChain 630(flattenTemp) 210 - 647: 67(fvec3) Load 646 - 649: 648(ptr) AccessChain 644(@entryPointOutput.Normal) 645 - Store 649 647 - 652: 11(int) Load 628(InvocationID) - 653: 47(ptr) AccessChain 630(flattenTemp) 417 - 654: 45(fvec2) Load 653 - 656: 655(ptr) AccessChain 651(@entryPointOutput.UV) 652 - Store 656 654 - ControlBarrier 43 19 16 - 657: 11(int) Load 628(InvocationID) - 658: 48(bool) IEqual 657 209 - SelectionMerge 660 None - BranchConditional 658 659 660 - 659: Label - 663: 83 Load 577(patch) - Store 662(param) 663 - 664:90(ConstantsHSOutput) FunctionCall 103(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 662(param) - Store 661(@patchConstantResult) 664 - 667: 152(ptr) AccessChain 661(@patchConstantResult) 209 209 - 668: 8(float) Load 667 - 670: 669(ptr) AccessChain 666(@patchConstantOutput.TessLevelOuter) 209 - Store 670 668 - 671: 152(ptr) AccessChain 661(@patchConstantResult) 209 210 + 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 + 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 + 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 - 673: 669(ptr) AccessChain 666(@patchConstantOutput.TessLevelOuter) 210 - Store 673 672 - 674: 152(ptr) AccessChain 661(@patchConstantResult) 209 417 - 675: 8(float) Load 674 - 676: 669(ptr) AccessChain 666(@patchConstantOutput.TessLevelOuter) 417 - Store 676 675 - 677: 152(ptr) AccessChain 661(@patchConstantResult) 209 375 - 678: 8(float) Load 677 - 679: 669(ptr) AccessChain 666(@patchConstantOutput.TessLevelOuter) 375 - Store 679 678 - 682: 152(ptr) AccessChain 661(@patchConstantResult) 210 209 - 683: 8(float) Load 682 - 684: 669(ptr) AccessChain 681(@patchConstantOutput.TessLevelInner) 209 - Store 684 683 - 685: 152(ptr) AccessChain 661(@patchConstantResult) 210 210 - 686: 8(float) Load 685 - 687: 669(ptr) AccessChain 681(@patchConstantOutput.TessLevelInner) 210 - Store 687 686 - Branch 660 - 660: Label + 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 + 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 Return FunctionEnd Line 1 65 1 26(screenSpaceTessFactor(vf4;vf4;): 8(float) Function None 22 24(p0): 21(ptr) FunctionParameter 25(p1): 21(ptr) FunctionParameter - 34: Label - 141(midPoint): 21(ptr) Variable Function - 153(radius): 152(ptr) Variable Function - 164(v0): 21(ptr) Variable Function - 217(clip0): 21(ptr) Variable Function - 235(clip1): 21(ptr) Variable Function - 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 28 - 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 16 16 16 16 - 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 37 24(p0) 40 - 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 41 25(p1) 40 - 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 28 26(screenSpaceTessFactor(vf4;vf4;) - 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 28 - 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 140 140 16 16 - 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 142 141(midPoint) 40 - 146: 18(fvec4) Load 24(p0) - 147: 18(fvec4) Load 25(p1) - 148: 18(fvec4) FAdd 146 147 - 149: 18(fvec4) VectorTimesScalar 148 145 - Store 141(midPoint) 149 - 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 151 151 16 16 - 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 154 153(radius) 40 - 157: 18(fvec4) Load 24(p0) - 158: 18(fvec4) Load 25(p1) - 159: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 157 158 - 161: 8(float) FDiv 159 160 - Store 153(radius) 161 - 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 163 163 16 16 - 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 165 164(v0) 40 - 168: 18(fvec4) Load 141(midPoint) - 212: 211(ptr) AccessChain 203 209 210 - 213: 169 Load 212 - 214: 18(fvec4) VectorTimesMatrix 168 213 - Store 164(v0) 214 - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 216 216 16 16 - 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 218 217(clip0) 40 - 221: 18(fvec4) Load 164(v0) - 222: 8(float) Load 153(radius) - 225: 8(float) CompositeExtract 224 0 - 226: 8(float) CompositeExtract 224 1 - 227: 8(float) CompositeExtract 224 2 - 228: 18(fvec4) CompositeConstruct 222 225 226 227 - 229: 18(fvec4) FSub 221 228 - 230: 211(ptr) AccessChain 203 209 209 - 231: 169 Load 230 - 232: 18(fvec4) VectorTimesMatrix 229 231 - Store 217(clip0) 232 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 234 234 16 16 - 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 236 235(clip1) 40 - 239: 18(fvec4) Load 164(v0) - 240: 8(float) Load 153(radius) - 241: 8(float) CompositeExtract 224 0 - 242: 8(float) CompositeExtract 224 1 - 243: 8(float) CompositeExtract 224 2 - 244: 18(fvec4) CompositeConstruct 240 241 242 243 - 245: 18(fvec4) FAdd 239 244 - 246: 211(ptr) AccessChain 203 209 209 - 247: 169 Load 246 - 248: 18(fvec4) VectorTimesMatrix 245 247 - Store 235(clip1) 248 - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 250 250 16 16 - 251: 152(ptr) AccessChain 217(clip0) 17 - 252: 8(float) Load 251 - 253: 18(fvec4) Load 217(clip0) - 254: 18(fvec4) CompositeConstruct 252 252 252 252 - 255: 18(fvec4) FDiv 253 254 - Store 217(clip0) 255 - 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 257 257 16 16 - 258: 152(ptr) AccessChain 235(clip1) 17 - 259: 8(float) Load 258 - 260: 18(fvec4) Load 235(clip1) - 261: 18(fvec4) CompositeConstruct 259 259 259 259 - 262: 18(fvec4) FDiv 260 261 - Store 235(clip1) 262 - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 264 264 16 16 - 267: 266(ptr) AccessChain 203 209 265 - 268: 45(fvec2) Load 267 - 269: 18(fvec4) Load 217(clip0) - 270: 45(fvec2) VectorShuffle 269 269 0 1 - 271: 45(fvec2) FMul 270 268 - 272: 152(ptr) AccessChain 217(clip0) 16 - 273: 8(float) CompositeExtract 271 0 - Store 272 273 - 274: 152(ptr) AccessChain 217(clip0) 32 - 275: 8(float) CompositeExtract 271 1 - Store 274 275 - 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 277 277 16 16 - 278: 266(ptr) AccessChain 203 209 265 - 279: 45(fvec2) Load 278 - 280: 18(fvec4) Load 235(clip1) - 281: 45(fvec2) VectorShuffle 280 280 0 1 - 282: 45(fvec2) FMul 281 279 - 283: 152(ptr) AccessChain 235(clip1) 16 - 284: 8(float) CompositeExtract 282 0 - Store 283 284 - 285: 152(ptr) AccessChain 235(clip1) 32 - 286: 8(float) CompositeExtract 282 1 - Store 285 286 - 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 288 288 16 16 - 289: 18(fvec4) Load 217(clip0) - 290: 18(fvec4) Load 235(clip1) - 291: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 289 290 - 294: 293(ptr) AccessChain 203 209 292 - 295: 8(float) Load 294 - 296: 8(float) FDiv 291 295 - 298: 293(ptr) AccessChain 203 209 297 + 27: Label + 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 + 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 + 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 42 25(p1) 41 + 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 29 26(screenSpaceTessFactor(vf4;vf4;) + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 29 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 144 144 16 16 + 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 146 145(midPoint) 41 + 150: 18(fvec4) Load 24(p0) + 151: 18(fvec4) Load 25(p1) + 152: 18(fvec4) FAdd 150 151 + 153: 18(fvec4) VectorTimesScalar 152 149 + Store 145(midPoint) 153 + 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 155 155 16 16 + 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 158 157(radius) 41 + 161: 18(fvec4) Load 24(p0) + 162: 18(fvec4) Load 25(p1) + 163: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 161 162 + 165: 8(float) FDiv 163 164 + Store 157(radius) 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(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) FMul 296 299 - 303: 8(float) ExtInst 3(GLSL.std.450) 43(FClamp) 300 301 302 - ReturnValue 303 + 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 FunctionEnd Line 1 95 1 -55(frustumCheck(vf4;vf2;): 48(bool) Function None 51 - 53(Pos): 21(ptr) FunctionParameter - 54(inUV): 47(ptr) FunctionParameter - 58: Label - 310(pos): 21(ptr) Variable Function - 355(i): 354(ptr) Variable Function - 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 16 16 16 16 - 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 61 53(Pos) 40 - 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 64 54(inUV) 40 - 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 55(frustumCheck(vf4;vf2;) - 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 309 309 16 16 - 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 311 310(pos) 40 - 314: 18(fvec4) Load 53(Pos) - Store 310(pos) 314 - 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 316 316 16 16 - 326: 317 Load 323(textureHeight) - 335: 327 Load 332(samplerHeight) - 340: 336 SampledImage 326 335 - 341: 45(fvec2) Load 54(inUV) - 342: 18(fvec4) ImageSampleExplicitLod 340 341 Lod 223 - 343: 8(float) CompositeExtract 342 0 - 345: 293(ptr) AccessChain 203 209 344 - 346: 8(float) Load 345 - 347: 8(float) FMul 343 346 - 348: 152(ptr) AccessChain 310(pos) 32 - 349: 8(float) Load 348 - 350: 8(float) FSub 349 347 - 351: 152(ptr) AccessChain 310(pos) 32 - Store 351 350 - 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 353 353 16 16 - 358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 356 355(i) 40 - Store 355(i) 209 - Branch 359 - 359: Label - 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 353 353 16 16 - LoopMerge 361 362 None - Branch 365 +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 + 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 - 366: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 353 353 16 16 - 368: 206(int) Load 355(i) - 370: 48(bool) SLessThan 368 265 - BranchConditional 370 360 361 - 360: Label - 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 373 373 16 16 - 374: 18(fvec4) Load 310(pos) - 376: 206(int) Load 355(i) - 378: 377(ptr) AccessChain 203 209 375 376 - 379: 18(fvec4) Load 378 - 380: 8(float) Dot 374 379 - 382: 8(float) FAdd 380 381 - 384: 48(bool) FOrdLessThan 382 223 - SelectionMerge 386 None - BranchConditional 384 385 386 - 385: Label - 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 391 391 16 16 - ReturnValue 388 - 386: Label - Branch 362 - 362: Label - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 353 353 16 16 - 395: 206(int) Load 355(i) - 396: 206(int) IAdd 395 210 - Store 355(i) 396 - Branch 359 - 361: Label - 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 400 400 16 16 - ReturnValue 171 + 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 FunctionEnd Line 1 112 1 -103(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):90(ConstantsHSOutput) Function None 100 - 102(patch): 85(ptr) FunctionParameter +105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):92(ConstantsHSOutput) Function None 102 + 104(patch): 87(ptr) FunctionParameter 106: Label - 408(output): 407(ptr) Variable Function - 418(param): 21(ptr) Variable Function - 421(param): 47(ptr) Variable Function - 462(param): 21(ptr) Variable Function - 465(param): 21(ptr) Variable Function - 472(param): 21(ptr) Variable Function - 475(param): 21(ptr) Variable Function - 482(param): 21(ptr) Variable Function - 485(param): 21(ptr) Variable Function - 492(param): 21(ptr) Variable Function - 495(param): 21(ptr) Variable Function - 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 105 - 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 16 16 16 16 - 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 109 102(patch) 40 - 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 105 103(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) - 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 105 - 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 406 406 16 16 - 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 409 408(output) 40 - Store 408(output) 414 - 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 416 416 16 16 - 419: 21(ptr) AccessChain 102(patch) 209 209 - 420: 18(fvec4) Load 419 - Store 418(param) 420 - 422: 47(ptr) AccessChain 102(patch) 209 417 - 423: 45(fvec2) Load 422 - Store 421(param) 423 - 424: 48(bool) FunctionCall 55(frustumCheck(vf4;vf2;) 418(param) 421(param) - 427: 48(bool) LogicalNot 424 - SelectionMerge 429 None - BranchConditional 427 428 449 - 428: Label - 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 105 - 431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 432 432 16 16 - 433: 152(ptr) AccessChain 408(output) 210 209 - Store 433 223 - 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 435 435 16 16 - 436: 152(ptr) AccessChain 408(output) 210 210 - Store 436 223 - 437: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 438 438 16 16 - 439: 152(ptr) AccessChain 408(output) 209 209 - Store 439 223 - 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 441 441 16 16 - 442: 152(ptr) AccessChain 408(output) 209 210 - Store 442 223 - 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 444 444 16 16 - 445: 152(ptr) AccessChain 408(output) 209 417 - Store 445 223 - 446: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 447 447 16 16 - 448: 152(ptr) AccessChain 408(output) 209 375 - Store 448 223 - Branch 429 - 449: Label - 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 105 - 451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 452 452 16 16 - 453: 293(ptr) AccessChain 203 209 297 - 454: 8(float) Load 453 - 456: 48(bool) FOrdGreaterThan 454 223 - SelectionMerge 458 None - BranchConditional 456 457 516 - 457: Label - 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 105 - 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 461 461 16 16 - 463: 21(ptr) AccessChain 102(patch) 375 209 - 464: 18(fvec4) Load 463 - Store 462(param) 464 - 466: 21(ptr) AccessChain 102(patch) 209 209 - 467: 18(fvec4) Load 466 - Store 465(param) 467 - 468: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 462(param) 465(param) - 469: 152(ptr) AccessChain 408(output) 209 209 - Store 469 468 - 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 471 471 16 16 - 473: 21(ptr) AccessChain 102(patch) 209 209 - 474: 18(fvec4) Load 473 - Store 472(param) 474 - 476: 21(ptr) AccessChain 102(patch) 210 209 - 477: 18(fvec4) Load 476 - Store 475(param) 477 - 478: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 472(param) 475(param) - 479: 152(ptr) AccessChain 408(output) 209 210 - Store 479 478 - 480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 481 481 16 16 - 483: 21(ptr) AccessChain 102(patch) 210 209 - 484: 18(fvec4) Load 483 - Store 482(param) 484 - 486: 21(ptr) AccessChain 102(patch) 417 209 - 487: 18(fvec4) Load 486 - Store 485(param) 487 - 488: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 482(param) 485(param) - 489: 152(ptr) AccessChain 408(output) 209 417 - Store 489 488 - 490: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 491 491 16 16 - 493: 21(ptr) AccessChain 102(patch) 417 209 - 494: 18(fvec4) Load 493 - Store 492(param) 494 - 496: 21(ptr) AccessChain 102(patch) 375 209 - 497: 18(fvec4) Load 496 - Store 495(param) 497 - 498: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 492(param) 495(param) - 499: 152(ptr) AccessChain 408(output) 209 375 - Store 499 498 - 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 501 501 16 16 - 502: 152(ptr) AccessChain 408(output) 209 209 - 503: 8(float) Load 502 - 504: 152(ptr) AccessChain 408(output) 209 375 - 505: 8(float) Load 504 - 506: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 503 505 145 - 507: 152(ptr) AccessChain 408(output) 210 209 - Store 507 506 - 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 509 509 16 16 - 510: 152(ptr) AccessChain 408(output) 209 417 - 511: 8(float) Load 510 - 512: 152(ptr) AccessChain 408(output) 209 210 - 513: 8(float) Load 512 - 514: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 511 513 145 - 515: 152(ptr) AccessChain 408(output) 210 210 - Store 515 514 - Branch 458 - 516: Label - 517: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 105 - 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 519 519 16 16 - 520: 152(ptr) AccessChain 408(output) 210 209 - Store 520 301 - 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 522 522 16 16 - 523: 152(ptr) AccessChain 408(output) 210 210 - Store 523 301 - 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 525 525 16 16 - 526: 152(ptr) AccessChain 408(output) 209 209 - Store 526 301 - 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 528 528 16 16 - 529: 152(ptr) AccessChain 408(output) 209 210 - Store 529 301 - 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 531 531 16 16 - 532: 152(ptr) AccessChain 408(output) 209 417 - Store 532 301 - 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 534 534 16 16 - 535: 152(ptr) AccessChain 408(output) 209 375 - Store 535 301 - Branch 458 - 458: Label - Branch 429 - 429: Label - 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 105 - 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 538 538 16 16 - 539:90(ConstantsHSOutput) Load 408(output) - ReturnValue 539 + 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 + 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 + 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 + 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 + 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 + 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 + 474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 475 475 16 16 + 477: 21(ptr) AccessChain 104(patch) 213 213 + 478: 18(fvec4) Load 477 + Store 476(param) 478 + 480: 21(ptr) AccessChain 104(patch) 214 213 + 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 + 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 + 488: 18(fvec4) Load 487 + Store 486(param) 488 + 490: 21(ptr) AccessChain 104(patch) 421 213 + 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 + 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 + 498: 18(fvec4) Load 497 + Store 496(param) 498 + 500: 21(ptr) AccessChain 104(patch) 379 213 + 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 + 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 + 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 + 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 FunctionEnd Line 1 158 1 -126(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):113(HSOutput) Function None 122 - 124(patch): 85(ptr) FunctionParameter -125(InvocationID): 112(ptr) FunctionParameter - 129: Label - 547(output): 546(ptr) Variable Function - 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 128 - 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 16 16 16 16 - 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 132 124(patch) 40 - 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 134 125(InvocationID) 40 - 542: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 128 126(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) - 543: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 128 - 544: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 545 545 16 16 - 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 548 547(output) 40 - Store 547(output) 552 - 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 554 554 16 16 - 555: 11(int) Load 125(InvocationID) - 556: 21(ptr) AccessChain 124(patch) 555 209 - 557: 18(fvec4) Load 556 - 558: 21(ptr) AccessChain 547(output) 209 - Store 558 557 - 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 560 560 16 16 - 561: 11(int) Load 125(InvocationID) - 563: 562(ptr) AccessChain 124(patch) 561 210 - 564: 67(fvec3) Load 563 - 565: 562(ptr) AccessChain 547(output) 210 - Store 565 564 - 566: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 567 567 16 16 - 568: 11(int) Load 125(InvocationID) - 569: 47(ptr) AccessChain 124(patch) 568 417 - 570: 45(fvec2) Load 569 - 571: 47(ptr) AccessChain 547(output) 417 - Store 571 570 - 572: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 29 573 573 16 16 - 574:113(HSOutput) Load 547(output) - ReturnValue 574 +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 + 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 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.tese.out b/Test/baseResults/spv.debuginfo.hlsl.tese.out index d0901eb6..47ee2bd5 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 461 +// Id's are bound by 462 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" 352 367 376 385 392 398 438 442 446 449 452 455 458 + EntryPoint TessellationEvaluation 6 "main" 353 368 377 386 393 399 439 443 447 450 453 456 459 ExecutionMode 6 Quads 1: String "" 9: String "float" @@ -31,34 +31,34 @@ spv.debuginfo.hlsl.tese 60: String "HSOutput" 68: String "WorldPos" 78: String "DSOutput" - 85: String "@main" - 91: String "input" - 95: String "TessCoord" - 98: String "patch" - 107: String "output" - 118: String "uv1" - 121: String "int" - 137: String "uv2" - 160: String "n1" - 172: String "n2" - 194: String "pos1" - 206: String "pos2" - 218: String "pos" - 230: String "type.2d.image" - 231: String "@type.2d.image" - 236: String "displacementMapTexture" - 241: String "type.sampler" - 242: String "@type.sampler" - 246: String "displacementMapSampler" - 250: String "type.sampled.image" - 251: String "@type.sampled.image" - 265: String "modelview" - 270: String "lightPos" - 274: String "frustumPlanes" - 277: String "tessellatedEdgeSize" - 281: String "viewportDim" - 285: String "UBO" - 288: String "ubo" + 86: String "@main" + 92: String "input" + 96: String "TessCoord" + 99: String "patch" + 108: String "output" + 119: String "uv1" + 122: String "int" + 138: String "uv2" + 161: String "n1" + 173: String "n2" + 195: String "pos1" + 207: String "pos2" + 219: String "pos" + 231: String "type.2d.image" + 232: String "@type.2d.image" + 237: String "displacementMapTexture" + 242: String "type.sampler" + 243: String "@type.sampler" + 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" Name 6 "main" Name 24 "ConstantsHSOutput" MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter" @@ -79,84 +79,84 @@ spv.debuginfo.hlsl.tese Name 81 "input" Name 82 "TessCoord" Name 83 "patch" - Name 105 "output" - Name 116 "uv1" - Name 135 "uv2" - Name 158 "n1" - Name 170 "n2" - Name 192 "pos1" - Name 204 "pos2" - Name 216 "pos" - Name 234 "displacementMapTexture" - Name 244 "displacementMapSampler" - Name 263 "UBO" - MemberName 263(UBO) 0 "projection" - MemberName 263(UBO) 1 "modelview" - MemberName 263(UBO) 2 "lightPos" - MemberName 263(UBO) 3 "frustumPlanes" - MemberName 263(UBO) 4 "displacementFactor" - MemberName 263(UBO) 5 "tessellationFactor" - MemberName 263(UBO) 6 "viewportDim" - MemberName 263(UBO) 7 "tessellatedEdgeSize" - Name 286 "ubo" - MemberName 286(ubo) 0 "ubo" - Name 291 "" - Name 350 "input" - Name 352 "input.TessLevelOuter" - Name 367 "input.TessLevelInner" - Name 374 "TessCoord" - Name 376 "TessCoord" - Name 382 "patch" - Name 385 "patch.Pos" - Name 392 "patch.Normal" - Name 398 "patch.UV" - Name 430 "flattenTemp" - Name 432 "param" - Name 434 "param" - Name 438 "@entryPointOutput.Pos" - Name 442 "@entryPointOutput.Normal" - Name 446 "@entryPointOutput.UV" - Name 449 "@entryPointOutput.ViewVec" - Name 452 "@entryPointOutput.LightVec" - Name 455 "@entryPointOutput.EyePos" - Name 458 "@entryPointOutput.WorldPos" - Decorate 234(displacementMapTexture) DescriptorSet 0 - Decorate 234(displacementMapTexture) Binding 1 - Decorate 244(displacementMapSampler) DescriptorSet 0 - Decorate 244(displacementMapSampler) Binding 1 - Decorate 261 ArrayStride 16 - MemberDecorate 263(UBO) 0 RowMajor - MemberDecorate 263(UBO) 0 Offset 0 - MemberDecorate 263(UBO) 0 MatrixStride 16 - MemberDecorate 263(UBO) 1 RowMajor - MemberDecorate 263(UBO) 1 Offset 64 - MemberDecorate 263(UBO) 1 MatrixStride 16 - MemberDecorate 263(UBO) 2 Offset 128 - MemberDecorate 263(UBO) 3 Offset 144 - MemberDecorate 263(UBO) 4 Offset 240 - MemberDecorate 263(UBO) 5 Offset 244 - MemberDecorate 263(UBO) 6 Offset 248 - MemberDecorate 263(UBO) 7 Offset 256 - MemberDecorate 286(ubo) 0 Offset 0 - Decorate 286(ubo) Block - Decorate 291 DescriptorSet 0 - Decorate 291 Binding 0 - Decorate 352(input.TessLevelOuter) Patch - Decorate 352(input.TessLevelOuter) BuiltIn TessLevelOuter - Decorate 367(input.TessLevelInner) Patch - Decorate 367(input.TessLevelInner) BuiltIn TessLevelInner - Decorate 376(TessCoord) Patch - Decorate 376(TessCoord) BuiltIn TessCoord - Decorate 385(patch.Pos) BuiltIn Position - Decorate 392(patch.Normal) Location 0 - Decorate 398(patch.UV) Location 1 - Decorate 438(@entryPointOutput.Pos) BuiltIn Position - Decorate 442(@entryPointOutput.Normal) Location 0 - Decorate 446(@entryPointOutput.UV) Location 1 - Decorate 449(@entryPointOutput.ViewVec) Location 2 - Decorate 452(@entryPointOutput.LightVec) Location 3 - Decorate 455(@entryPointOutput.EyePos) Location 4 - Decorate 458(@entryPointOutput.WorldPos) Location 5 + Name 106 "output" + Name 117 "uv1" + Name 136 "uv2" + Name 159 "n1" + Name 171 "n2" + Name 193 "pos1" + Name 205 "pos2" + 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 377 "TessCoord" + Name 383 "patch" + Name 386 "patch.Pos" + Name 393 "patch.Normal" + Name 399 "patch.UV" + Name 431 "flattenTemp" + Name 433 "param" + 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" + 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 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -220,244 +220,245 @@ spv.debuginfo.hlsl.tese 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 78 36 27 16 16 37 78 16 17 64 67 71 73 74 75 76 79: TypeFunction 63(DSOutput) 39(ptr) 42(ptr) 61 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 77 34 41 59 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 85 80 27 16 16 37 85 17 16 - 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 91 34 27 16 16 86 18 36 - 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 95 41 27 16 16 86 18 21 - 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 98 59 27 16 16 86 18 17 - 103: 11(int) Constant 70 - 104: TypePointer Function 63(DSOutput) - 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 107 77 27 103 16 86 18 - 109: 8(float) Constant 0 - 110: 43(fvec4) ConstantComposite 109 109 109 109 - 111: 45(fvec3) ConstantComposite 109 109 109 - 112: 40(fvec2) ConstantComposite 109 109 - 113:63(DSOutput) ConstantComposite 110 111 112 111 111 111 111 - 115: 11(int) Constant 71 - 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 118 41 27 115 16 86 18 - 120: TypeInt 32 1 - 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 121 14 18 16 - 123: 120(int) Constant 0 - 124: 120(int) Constant 2 - 126: 120(int) Constant 1 - 128: TypePointer Function 8(float) - 134: 11(int) Constant 72 - 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 137 41 27 134 16 86 18 - 139: 120(int) Constant 3 - 147: 11(int) Constant 73 - 156: 11(int) Constant 75 - 157: TypePointer Function 45(fvec3) - 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 160 46 27 156 16 86 18 - 169: 11(int) Constant 76 - 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 46 27 169 16 86 18 - 181: 11(int) Constant 77 - 190: 11(int) Constant 80 - 191: TypePointer Function 43(fvec4) - 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 194 44 27 190 16 86 18 - 203: 11(int) Constant 81 - 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 206 44 27 203 16 86 18 - 215: 11(int) Constant 82 - 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 218 44 27 215 16 86 18 - 227: 11(int) Constant 84 - 228: TypeImage 8(float) 2D sampled format:Unknown - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 230 16 27 227 16 37 231 232 17 - 233: TypePointer UniformConstant 228 -234(displacementMapTexture): 233(ptr) Variable UniformConstant - 237: 11(int) Constant 8 - 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 236 229 27 227 16 37 236 234(displacementMapTexture) 237 - 239: TypeSampler - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 241 36 27 227 16 37 242 232 17 - 243: TypePointer UniformConstant 239 -244(displacementMapSampler): 243(ptr) Variable UniformConstant - 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 246 240 27 227 16 37 246 244(displacementMapSampler) 237 - 248: TypeSampledImage 228 - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 250 16 27 227 16 37 251 232 17 - 257: TypeMatrix 43(fvec4) 4 - 259: TypeBool - 260: 259(bool) ConstantTrue - 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 260 - 261: TypeArray 43(fvec4) 15 - 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15 - 263(UBO): TypeStruct 257 257 43(fvec4) 261 8(float) 8(float) 40(fvec2) 8(float) - 266: 11(int) Constant 29 - 267: 11(int) Constant 20 - 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 265 258 27 266 267 16 16 17 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 265 258 27 266 267 16 16 17 - 271: 11(int) Constant 30 - 272: 11(int) Constant 17 - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 270 44 27 271 272 16 16 17 - 275: 11(int) Constant 22 - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 274 262 27 58 275 16 16 17 - 278: 11(int) Constant 27 - 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 10 27 54 278 16 16 17 - 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 10 27 54 278 16 16 17 - 282: 11(int) Constant 34 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 281 41 27 282 267 16 16 17 - 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 10 27 54 278 16 16 17 - 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 285 36 27 227 16 37 285 16 17 264 268 269 273 276 279 280 283 - 286(ubo): TypeStruct 263(UBO) - 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 288 284 27 70 70 16 16 17 - 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 288 36 27 227 16 37 288 16 17 287 - 290: TypePointer Uniform 286(ubo) - 291: 290(ptr) Variable Uniform - 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 289 27 227 16 37 1 291 237 - 293: 120(int) Constant 4 - 294: TypePointer Uniform 8(float) - 303: 11(int) Constant 86 - 305: TypePointer Uniform 257 - 314: 11(int) Constant 89 - 320: 11(int) Constant 90 - 321: TypePointer Uniform 43(fvec4) - 331: 11(int) Constant 91 - 332: 120(int) Constant 6 - 337: 11(int) Constant 92 - 338: 120(int) Constant 5 - 346: 11(int) Constant 93 - 351: TypePointer Input 19 -352(input.TessLevelOuter): 351(ptr) Variable Input - 353: TypePointer Input 8(float) - 366: TypePointer Input 22 -367(input.TessLevelInner): 366(ptr) Variable Input - 375: TypePointer Input 45(fvec3) - 376(TessCoord): 375(ptr) Variable Input - 381: TypePointer Function 61 - 383: TypeArray 43(fvec4) 18 - 384: TypePointer Input 383 - 385(patch.Pos): 384(ptr) Variable Input - 386: TypePointer Input 43(fvec4) - 390: TypeArray 45(fvec3) 18 - 391: TypePointer Input 390 -392(patch.Normal): 391(ptr) Variable Input - 396: TypeArray 40(fvec2) 18 - 397: TypePointer Input 396 - 398(patch.UV): 397(ptr) Variable Input - 399: TypePointer Input 40(fvec2) - 437: TypePointer Output 43(fvec4) -438(@entryPointOutput.Pos): 437(ptr) Variable Output - 441: TypePointer Output 45(fvec3) -442(@entryPointOutput.Normal): 441(ptr) Variable Output - 445: TypePointer Output 40(fvec2) -446(@entryPointOutput.UV): 445(ptr) Variable Output -449(@entryPointOutput.ViewVec): 441(ptr) Variable Output -452(@entryPointOutput.LightVec): 441(ptr) Variable Output -455(@entryPointOutput.EyePos): 441(ptr) Variable Output -458(@entryPointOutput.WorldPos): 441(ptr) Variable Output + 88: 11(int) Constant 68 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 86 80 27 88 16 37 86 17 88 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 92 34 27 88 16 87 18 36 + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 96 41 27 88 16 87 18 21 + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 59 27 88 16 87 18 17 + 104: 11(int) Constant 70 + 105: TypePointer Function 63(DSOutput) + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 108 77 27 104 16 87 18 + 110: 8(float) Constant 0 + 111: 43(fvec4) ConstantComposite 110 110 110 110 + 112: 45(fvec3) ConstantComposite 110 110 110 + 113: 40(fvec2) ConstantComposite 110 110 + 114:63(DSOutput) ConstantComposite 111 112 113 112 112 112 112 + 116: 11(int) Constant 71 + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 41 27 116 16 87 18 + 121: TypeInt 32 1 + 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 122 14 18 16 + 124: 121(int) Constant 0 + 125: 121(int) Constant 2 + 127: 121(int) Constant 1 + 129: TypePointer Function 8(float) + 135: 11(int) Constant 72 + 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 138 41 27 135 16 87 18 + 140: 121(int) Constant 3 + 148: 11(int) Constant 73 + 157: 11(int) Constant 75 + 158: TypePointer Function 45(fvec3) + 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 46 27 157 16 87 18 + 170: 11(int) Constant 76 + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 173 46 27 170 16 87 18 + 182: 11(int) Constant 77 + 191: 11(int) Constant 80 + 192: TypePointer Function 43(fvec4) + 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 195 44 27 191 16 87 18 + 204: 11(int) Constant 81 + 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 207 44 27 204 16 87 18 + 216: 11(int) Constant 82 + 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 219 44 27 216 16 87 18 + 228: 11(int) Constant 84 + 229: TypeImage 8(float) 2D sampled format:Unknown + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 231 16 27 228 16 37 232 233 17 + 234: TypePointer UniformConstant 229 +235(displacementMapTexture): 234(ptr) Variable UniformConstant + 238: 11(int) Constant 8 + 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 237 230 27 228 16 37 237 235(displacementMapTexture) 238 + 240: TypeSampler + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 242 36 27 228 16 37 243 233 17 + 244: TypePointer UniformConstant 240 +245(displacementMapSampler): 244(ptr) Variable UniformConstant + 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 247 241 27 228 16 37 247 245(displacementMapSampler) 238 + 249: TypeSampledImage 229 + 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 Line 1 68 1 6(main): 4 Function None 5 7: Label - 350(input): 39(ptr) Variable Function - 374(TessCoord): 42(ptr) Variable Function - 382(patch): 381(ptr) Variable Function -430(flattenTemp): 104(ptr) Variable Function - 432(param): 39(ptr) Variable Function - 434(param): 42(ptr) Variable Function + 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 Line 1 68 0 - 354: 353(ptr) AccessChain 352(input.TessLevelOuter) 123 - 355: 8(float) Load 354 - 356: 128(ptr) AccessChain 350(input) 123 123 - Store 356 355 - 357: 353(ptr) AccessChain 352(input.TessLevelOuter) 126 - 358: 8(float) Load 357 - 359: 128(ptr) AccessChain 350(input) 123 126 - Store 359 358 - 360: 353(ptr) AccessChain 352(input.TessLevelOuter) 124 - 361: 8(float) Load 360 - 362: 128(ptr) AccessChain 350(input) 123 124 - Store 362 361 - 363: 353(ptr) AccessChain 352(input.TessLevelOuter) 139 - 364: 8(float) Load 363 - 365: 128(ptr) AccessChain 350(input) 123 139 - Store 365 364 - 368: 353(ptr) AccessChain 367(input.TessLevelInner) 123 - 369: 8(float) Load 368 - 370: 128(ptr) AccessChain 350(input) 126 123 - Store 370 369 - 371: 353(ptr) AccessChain 367(input.TessLevelInner) 126 - 372: 8(float) Load 371 - 373: 128(ptr) AccessChain 350(input) 126 126 - Store 373 372 - 377: 45(fvec3) Load 376(TessCoord) - 378: 8(float) CompositeExtract 377 0 - 379: 8(float) CompositeExtract 377 1 - 380: 40(fvec2) CompositeConstruct 378 379 - Store 374(TessCoord) 380 - 387: 386(ptr) AccessChain 385(patch.Pos) 123 - 388: 43(fvec4) Load 387 - 389: 191(ptr) AccessChain 382(patch) 123 123 - Store 389 388 - 393: 375(ptr) AccessChain 392(patch.Normal) 123 - 394: 45(fvec3) Load 393 - 395: 157(ptr) AccessChain 382(patch) 123 126 - Store 395 394 - 400: 399(ptr) AccessChain 398(patch.UV) 123 - 401: 40(fvec2) Load 400 - 402: 42(ptr) AccessChain 382(patch) 123 124 - Store 402 401 - 403: 386(ptr) AccessChain 385(patch.Pos) 126 - 404: 43(fvec4) Load 403 - 405: 191(ptr) AccessChain 382(patch) 126 123 - Store 405 404 - 406: 375(ptr) AccessChain 392(patch.Normal) 126 - 407: 45(fvec3) Load 406 - 408: 157(ptr) AccessChain 382(patch) 126 126 - Store 408 407 - 409: 399(ptr) AccessChain 398(patch.UV) 126 - 410: 40(fvec2) Load 409 - 411: 42(ptr) AccessChain 382(patch) 126 124 - Store 411 410 - 412: 386(ptr) AccessChain 385(patch.Pos) 124 - 413: 43(fvec4) Load 412 - 414: 191(ptr) AccessChain 382(patch) 124 123 - Store 414 413 - 415: 375(ptr) AccessChain 392(patch.Normal) 124 - 416: 45(fvec3) Load 415 - 417: 157(ptr) AccessChain 382(patch) 124 126 - Store 417 416 - 418: 399(ptr) AccessChain 398(patch.UV) 124 - 419: 40(fvec2) Load 418 - 420: 42(ptr) AccessChain 382(patch) 124 124 - Store 420 419 - 421: 386(ptr) AccessChain 385(patch.Pos) 139 - 422: 43(fvec4) Load 421 - 423: 191(ptr) AccessChain 382(patch) 139 123 - Store 423 422 - 424: 375(ptr) AccessChain 392(patch.Normal) 139 - 425: 45(fvec3) Load 424 - 426: 157(ptr) AccessChain 382(patch) 139 126 - Store 426 425 - 427: 399(ptr) AccessChain 398(patch.UV) 139 - 428: 40(fvec2) Load 427 - 429: 42(ptr) AccessChain 382(patch) 139 124 - Store 429 428 - 431: 61 Load 382(patch) - 433:24(ConstantsHSOutput) Load 350(input) - Store 432(param) 433 - 435: 40(fvec2) Load 374(TessCoord) - Store 434(param) 435 - 436:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 432(param) 434(param) 431 - Store 430(flattenTemp) 436 - 439: 191(ptr) AccessChain 430(flattenTemp) 123 - 440: 43(fvec4) Load 439 - Store 438(@entryPointOutput.Pos) 440 - 443: 157(ptr) AccessChain 430(flattenTemp) 126 - 444: 45(fvec3) Load 443 - Store 442(@entryPointOutput.Normal) 444 - 447: 42(ptr) AccessChain 430(flattenTemp) 124 - 448: 40(fvec2) Load 447 - Store 446(@entryPointOutput.UV) 448 - 450: 157(ptr) AccessChain 430(flattenTemp) 139 - 451: 45(fvec3) Load 450 - Store 449(@entryPointOutput.ViewVec) 451 - 453: 157(ptr) AccessChain 430(flattenTemp) 293 - 454: 45(fvec3) Load 453 - Store 452(@entryPointOutput.LightVec) 454 - 456: 157(ptr) AccessChain 430(flattenTemp) 338 - 457: 45(fvec3) Load 456 - Store 455(@entryPointOutput.EyePos) 457 - 459: 157(ptr) AccessChain 430(flattenTemp) 332 - 460: 45(fvec3) Load 459 - Store 458(@entryPointOutput.WorldPos) 460 + 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) + 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 Return FunctionEnd Line 1 68 1 @@ -465,162 +466,162 @@ spv.debuginfo.hlsl.tese 81(input): 39(ptr) FunctionParameter 82(TessCoord): 42(ptr) FunctionParameter 83(patch): 61 FunctionParameter - 87: Label - 105(output): 104(ptr) Variable Function - 116(uv1): 42(ptr) Variable Function - 135(uv2): 42(ptr) Variable Function - 158(n1): 157(ptr) Variable Function - 170(n2): 157(ptr) Variable Function - 192(pos1): 191(ptr) Variable Function - 204(pos2): 191(ptr) Variable Function - 216(pos): 191(ptr) Variable Function - 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 86 - 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 16 16 16 16 - 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 90 81(input) 93 - 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 94 82(TessCoord) 93 - 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 97 83(patch) 93 - 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 86 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) - 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 86 - 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 103 103 16 16 - 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 106 105(output) 93 - Store 105(output) 113 - 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 115 115 16 16 - 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 117 116(uv1) 93 - 125: 40(fvec2) CompositeExtract 83(patch) 0 2 - 127: 40(fvec2) CompositeExtract 83(patch) 1 2 - 129: 128(ptr) AccessChain 82(TessCoord) 16 - 130: 8(float) Load 129 - 131: 40(fvec2) CompositeConstruct 130 130 - 132: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 125 127 131 - Store 116(uv1) 132 - 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 134 134 16 16 - 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 135(uv2) 93 - 140: 40(fvec2) CompositeExtract 83(patch) 3 2 - 141: 40(fvec2) CompositeExtract 83(patch) 2 2 - 142: 128(ptr) AccessChain 82(TessCoord) 16 - 143: 8(float) Load 142 - 144: 40(fvec2) CompositeConstruct 143 143 - 145: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 140 141 144 - Store 135(uv2) 145 - 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 147 147 16 16 - 148: 40(fvec2) Load 116(uv1) - 149: 40(fvec2) Load 135(uv2) - 150: 128(ptr) AccessChain 82(TessCoord) 36 - 151: 8(float) Load 150 - 152: 40(fvec2) CompositeConstruct 151 151 - 153: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 148 149 152 - 154: 42(ptr) AccessChain 105(output) 124 - Store 154 153 - 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 156 156 16 16 - 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 159 158(n1) 93 - 162: 45(fvec3) CompositeExtract 83(patch) 0 1 - 163: 45(fvec3) CompositeExtract 83(patch) 1 1 - 164: 128(ptr) AccessChain 82(TessCoord) 16 - 165: 8(float) Load 164 - 166: 45(fvec3) CompositeConstruct 165 165 165 - 167: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 162 163 166 - Store 158(n1) 167 - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 169 169 16 16 - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 171 170(n2) 93 - 174: 45(fvec3) CompositeExtract 83(patch) 3 1 - 175: 45(fvec3) CompositeExtract 83(patch) 2 1 - 176: 128(ptr) AccessChain 82(TessCoord) 16 - 177: 8(float) Load 176 - 178: 45(fvec3) CompositeConstruct 177 177 177 - 179: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 174 175 178 - Store 170(n2) 179 - 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 181 181 16 16 - 182: 45(fvec3) Load 158(n1) - 183: 45(fvec3) Load 170(n2) - 184: 128(ptr) AccessChain 82(TessCoord) 36 - 185: 8(float) Load 184 - 186: 45(fvec3) CompositeConstruct 185 185 185 - 187: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 182 183 186 - 188: 157(ptr) AccessChain 105(output) 126 - Store 188 187 - 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 190 190 16 16 - 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 193 192(pos1) 93 - 196: 43(fvec4) CompositeExtract 83(patch) 0 0 - 197: 43(fvec4) CompositeExtract 83(patch) 1 0 - 198: 128(ptr) AccessChain 82(TessCoord) 16 - 199: 8(float) Load 198 - 200: 43(fvec4) CompositeConstruct 199 199 199 199 - 201: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 196 197 200 - Store 192(pos1) 201 - 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 203 203 16 16 - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 205 204(pos2) 93 - 208: 43(fvec4) CompositeExtract 83(patch) 3 0 - 209: 43(fvec4) CompositeExtract 83(patch) 2 0 - 210: 128(ptr) AccessChain 82(TessCoord) 16 - 211: 8(float) Load 210 - 212: 43(fvec4) CompositeConstruct 211 211 211 211 - 213: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 208 209 212 - Store 204(pos2) 213 - 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 215 215 16 16 - 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 217 216(pos) 93 - 220: 43(fvec4) Load 192(pos1) - 221: 43(fvec4) Load 204(pos2) - 222: 128(ptr) AccessChain 82(TessCoord) 36 - 223: 8(float) Load 222 - 224: 43(fvec4) CompositeConstruct 223 223 223 223 - 225: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 220 221 224 - Store 216(pos) 225 - 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 227 227 16 16 - 238: 228 Load 234(displacementMapTexture) - 247: 239 Load 244(displacementMapSampler) - 252: 248 SampledImage 238 247 - 253: 42(ptr) AccessChain 105(output) 124 - 254: 40(fvec2) Load 253 - 255: 43(fvec4) ImageSampleExplicitLod 252 254 Lod 109 - 256: 8(float) CompositeExtract 255 0 - 295: 294(ptr) AccessChain 291 123 293 - 296: 8(float) Load 295 - 297: 8(float) FMul 256 296 - 298: 128(ptr) AccessChain 216(pos) 36 - 299: 8(float) Load 298 - 300: 8(float) FSub 299 297 - 301: 128(ptr) AccessChain 216(pos) 36 - Store 301 300 - 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 303 303 16 16 - 304: 43(fvec4) Load 216(pos) - 306: 305(ptr) AccessChain 291 123 126 - 307: 257 Load 306 - 308: 43(fvec4) VectorTimesMatrix 304 307 - 309: 305(ptr) AccessChain 291 123 123 - 310: 257 Load 309 - 311: 43(fvec4) VectorTimesMatrix 308 310 - 312: 191(ptr) AccessChain 105(output) 123 - Store 312 311 - 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 314 314 16 16 - 315: 43(fvec4) Load 216(pos) - 316: 45(fvec3) VectorShuffle 315 315 0 1 2 - 317: 45(fvec3) FNegate 316 - 318: 157(ptr) AccessChain 105(output) 139 - Store 318 317 - 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 320 320 16 16 - 322: 321(ptr) AccessChain 291 123 124 - 323: 43(fvec4) Load 322 - 324: 45(fvec3) VectorShuffle 323 323 0 1 2 - 325: 157(ptr) AccessChain 105(output) 139 - 326: 45(fvec3) Load 325 - 327: 45(fvec3) FAdd 324 326 - 328: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 327 - 329: 157(ptr) AccessChain 105(output) 293 - Store 329 328 - 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 331 331 16 16 - 333: 43(fvec4) Load 216(pos) - 334: 45(fvec3) VectorShuffle 333 333 0 1 2 - 335: 157(ptr) AccessChain 105(output) 332 - Store 335 334 - 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 337 337 16 16 - 339: 43(fvec4) Load 216(pos) - 340: 305(ptr) AccessChain 291 123 126 - 341: 257 Load 340 - 342: 43(fvec4) VectorTimesMatrix 339 341 - 343: 45(fvec3) VectorShuffle 342 342 0 1 2 - 344: 157(ptr) AccessChain 105(output) 338 - Store 344 343 - 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 346 346 16 16 - 347:63(DSOutput) Load 105(output) - ReturnValue 347 + 85: Label + 106(output): 105(ptr) Variable Function + 117(uv1): 42(ptr) Variable Function + 136(uv2): 42(ptr) Variable Function + 159(n1): 158(ptr) Variable Function + 171(n2): 158(ptr) Variable Function + 193(pos1): 192(ptr) Variable Function + 205(pos2): 192(ptr) Variable Function + 217(pos): 192(ptr) Variable Function + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 87 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 88 88 16 16 + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 91 81(input) 94 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 95 82(TessCoord) 94 + 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 83(patch) 94 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 87 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) + 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 87 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 104 104 16 16 + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 107 106(output) 94 + Store 106(output) 114 + 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 116 116 16 16 + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(uv1) 94 + 126: 40(fvec2) CompositeExtract 83(patch) 0 2 + 128: 40(fvec2) CompositeExtract 83(patch) 1 2 + 130: 129(ptr) AccessChain 82(TessCoord) 16 + 131: 8(float) Load 130 + 132: 40(fvec2) CompositeConstruct 131 131 + 133: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 126 128 132 + Store 117(uv1) 133 + 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 135 135 16 16 + 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 137 136(uv2) 94 + 141: 40(fvec2) CompositeExtract 83(patch) 3 2 + 142: 40(fvec2) CompositeExtract 83(patch) 2 2 + 143: 129(ptr) AccessChain 82(TessCoord) 16 + 144: 8(float) Load 143 + 145: 40(fvec2) CompositeConstruct 144 144 + 146: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 141 142 145 + Store 136(uv2) 146 + 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 148 148 16 16 + 149: 40(fvec2) Load 117(uv1) + 150: 40(fvec2) Load 136(uv2) + 151: 129(ptr) AccessChain 82(TessCoord) 36 + 152: 8(float) Load 151 + 153: 40(fvec2) CompositeConstruct 152 152 + 154: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 149 150 153 + 155: 42(ptr) AccessChain 106(output) 125 + Store 155 154 + 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 157 157 16 16 + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(n1) 94 + 163: 45(fvec3) CompositeExtract 83(patch) 0 1 + 164: 45(fvec3) CompositeExtract 83(patch) 1 1 + 165: 129(ptr) AccessChain 82(TessCoord) 16 + 166: 8(float) Load 165 + 167: 45(fvec3) CompositeConstruct 166 166 166 + 168: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 163 164 167 + Store 159(n1) 168 + 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 170 170 16 16 + 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 172 171(n2) 94 + 175: 45(fvec3) CompositeExtract 83(patch) 3 1 + 176: 45(fvec3) CompositeExtract 83(patch) 2 1 + 177: 129(ptr) AccessChain 82(TessCoord) 16 + 178: 8(float) Load 177 + 179: 45(fvec3) CompositeConstruct 178 178 178 + 180: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 175 176 179 + Store 171(n2) 180 + 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 182 182 16 16 + 183: 45(fvec3) Load 159(n1) + 184: 45(fvec3) Load 171(n2) + 185: 129(ptr) AccessChain 82(TessCoord) 36 + 186: 8(float) Load 185 + 187: 45(fvec3) CompositeConstruct 186 186 186 + 188: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 183 184 187 + 189: 158(ptr) AccessChain 106(output) 127 + Store 189 188 + 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 191 191 16 16 + 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 194 193(pos1) 94 + 197: 43(fvec4) CompositeExtract 83(patch) 0 0 + 198: 43(fvec4) CompositeExtract 83(patch) 1 0 + 199: 129(ptr) AccessChain 82(TessCoord) 16 + 200: 8(float) Load 199 + 201: 43(fvec4) CompositeConstruct 200 200 200 200 + 202: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 197 198 201 + Store 193(pos1) 202 + 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 204 204 16 16 + 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 206 205(pos2) 94 + 209: 43(fvec4) CompositeExtract 83(patch) 3 0 + 210: 43(fvec4) CompositeExtract 83(patch) 2 0 + 211: 129(ptr) AccessChain 82(TessCoord) 16 + 212: 8(float) Load 211 + 213: 43(fvec4) CompositeConstruct 212 212 212 212 + 214: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 209 210 213 + Store 205(pos2) 214 + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 216 216 16 16 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 218 217(pos) 94 + 221: 43(fvec4) Load 193(pos1) + 222: 43(fvec4) Load 205(pos2) + 223: 129(ptr) AccessChain 82(TessCoord) 36 + 224: 8(float) Load 223 + 225: 43(fvec4) CompositeConstruct 224 224 224 224 + 226: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 221 222 225 + Store 217(pos) 226 + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 228 228 16 16 + 239: 229 Load 235(displacementMapTexture) + 248: 240 Load 245(displacementMapSampler) + 253: 249 SampledImage 239 248 + 254: 42(ptr) AccessChain 106(output) 125 + 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 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.vert.out b/Test/baseResults/spv.debuginfo.hlsl.vert.out index 94431edd..b436bc83 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 495 +// Id's are bound by 496 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" 444 447 451 454 457 460 464 468 476 480 483 486 489 492 + EntryPoint Vertex 6 "main" 445 448 452 455 458 461 465 469 477 481 484 487 490 493 1: String "" 9: String "float" 12: String "uint" @@ -30,24 +30,24 @@ spv.debuginfo.hlsl.vert 60: String "Pos" 64: String "LightVec" 71: String "VSOutput" - 76: String "@main" - 82: String "input" - 92: String "output" - 125: String "s" - 136: String "modelview" - 141: String "lightPos" - 145: String "globSpeed" - 149: String "UBO" - 152: String "ubo" - 169: String "c" - 184: String "mx" - 219: String "my" - 253: String "mz" - 273: String "rotMat" - 302: String "gRotMat" - 329: String "locPos" - 343: String "pos" - 408: String "lPos" + 77: String "@main" + 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" Name 6 "main" Name 27 "VSInput" MemberName 27(VSInput) 0 "Pos" @@ -67,70 +67,70 @@ spv.debuginfo.hlsl.vert MemberName 58(VSOutput) 5 "LightVec" Name 75 "@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;" Name 74 "input" - Name 90 "output" - Name 123 "s" - Name 134 "UBO" - MemberName 134(UBO) 0 "projection" - MemberName 134(UBO) 1 "modelview" - MemberName 134(UBO) 2 "lightPos" - MemberName 134(UBO) 3 "locSpeed" - MemberName 134(UBO) 4 "globSpeed" - Name 150 "ubo" - MemberName 150(ubo) 0 "ubo" - Name 156 "" - Name 167 "c" - Name 182 "mx" - Name 217 "my" - Name 251 "mz" - Name 271 "rotMat" - Name 300 "gRotMat" - Name 327 "locPos" - Name 341 "pos" - Name 406 "lPos" - Name 442 "input" - Name 444 "input.Pos" - Name 447 "input.Normal" - Name 451 "input.UV" - Name 454 "input.Color" - Name 457 "input.instancePos" - Name 460 "input.instanceRot" - Name 464 "input.instanceScale" - Name 468 "input.instanceTexIndex" - Name 471 "flattenTemp" - Name 472 "param" - Name 476 "@entryPointOutput.Pos" - Name 480 "@entryPointOutput.Normal" - Name 483 "@entryPointOutput.Color" - Name 486 "@entryPointOutput.UV" - Name 489 "@entryPointOutput.ViewVec" - Name 492 "@entryPointOutput.LightVec" - MemberDecorate 134(UBO) 0 RowMajor - MemberDecorate 134(UBO) 0 Offset 0 - MemberDecorate 134(UBO) 0 MatrixStride 16 - MemberDecorate 134(UBO) 1 RowMajor - MemberDecorate 134(UBO) 1 Offset 64 - MemberDecorate 134(UBO) 1 MatrixStride 16 - MemberDecorate 134(UBO) 2 Offset 128 - MemberDecorate 134(UBO) 3 Offset 144 - MemberDecorate 134(UBO) 4 Offset 148 - MemberDecorate 150(ubo) 0 Offset 0 - Decorate 150(ubo) Block - Decorate 156 DescriptorSet 0 - Decorate 156 Binding 0 - Decorate 444(input.Pos) Location 0 - Decorate 447(input.Normal) Location 1 - Decorate 451(input.UV) Location 2 - Decorate 454(input.Color) Location 3 - Decorate 457(input.instancePos) Location 4 - Decorate 460(input.instanceRot) Location 5 - Decorate 464(input.instanceScale) Location 6 - Decorate 468(input.instanceTexIndex) Location 7 - Decorate 476(@entryPointOutput.Pos) BuiltIn Position - Decorate 480(@entryPointOutput.Normal) Location 0 - Decorate 483(@entryPointOutput.Color) Location 1 - Decorate 486(@entryPointOutput.UV) Location 2 - Decorate 489(@entryPointOutput.ViewVec) Location 3 - Decorate 492(@entryPointOutput.LightVec) Location 4 + 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 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -187,456 +187,457 @@ spv.debuginfo.hlsl.vert 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 71 52 30 16 16 53 71 16 17 59 63 66 67 68 69 72: TypeFunction 58(VSOutput) 55(ptr) 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 70 50 - 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 76 73 30 16 16 53 76 17 16 - 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 82 50 30 16 16 77 26 52 - 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) - 88: 11(int) Constant 63 - 89: TypePointer Function 58(VSOutput) - 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 92 70 30 88 16 77 26 - 94: 8(float) Constant 0 - 95: 56(fvec4) ConstantComposite 94 94 94 94 - 96: 18(fvec3) ConstantComposite 94 94 94 - 97:58(VSOutput) ConstantComposite 95 96 96 96 96 96 - 99: 11(int) Constant 64 - 100: 23(int) Constant 2 - 101: 23(int) Constant 3 - 102: TypePointer Function 18(fvec3) - 107: 11(int) Constant 65 - 108: TypePointer Function 20(fvec2) - 111: 23(int) Constant 7 - 112: TypePointer Function 23(int) - 121: 11(int) Constant 68 - 122: TypePointer Function 8(float) - 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 125 10 30 121 16 77 26 - 127: 23(int) Constant 5 - 130: TypeMatrix 56(fvec4) 4 - 132: TypeBool - 133: 132(bool) ConstantTrue - 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 57 26 133 - 134(UBO): TypeStruct 130 130 56(fvec4) 8(float) 8(float) - 137: 11(int) Constant 43 - 138: 11(int) Constant 20 - 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 136 131 30 137 138 16 16 17 - 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 136 131 30 137 138 16 16 17 - 142: 11(int) Constant 44 - 143: 11(int) Constant 17 - 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 141 57 30 142 143 16 16 17 - 146: 11(int) Constant 46 - 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 10 30 146 143 16 16 17 - 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 10 30 146 143 16 16 17 - 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 149 52 30 121 16 53 149 16 17 135 139 140 144 147 - 150(ubo): TypeStruct 134(UBO) - 153: 11(int) Constant 49 - 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 148 30 153 48 16 16 17 - 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 152 52 30 121 16 53 152 16 17 151 - 155: TypePointer Uniform 150(ubo) - 156: 155(ptr) Variable Uniform - 158: 11(int) Constant 8 - 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 154 30 121 16 53 1 156 158 - 159: 23(int) Constant 0 - 160: TypePointer Uniform 8(float) - 166: 11(int) Constant 69 - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 169 10 30 166 16 77 26 - 178: 11(int) Constant 71 - 179: TypeMatrix 18(fvec3) 3 - 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 133 - 181: TypePointer Function 179 - 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 184 180 30 178 16 77 26 - 190: 11(int) Constant 72 - 193: 8(float) Constant 1065353216 - 200: 11(int) Constant 76 - 208: 11(int) Constant 77 - 216: 11(int) Constant 79 - 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 219 180 30 216 16 77 26 - 225: 11(int) Constant 81 - 234: 11(int) Constant 84 - 242: 11(int) Constant 85 - 250: 11(int) Constant 87 - 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 253 180 30 250 16 77 26 - 256: 11(int) Constant 88 - 261: 11(int) Constant 89 - 270: 11(int) Constant 91 - 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 273 180 30 270 16 77 26 - 281: 11(int) Constant 94 - 284: 23(int) Constant 4 - 290: 11(int) Constant 95 - 298: 11(int) Constant 96 - 299: TypePointer Function 130 - 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 302 131 30 298 16 77 26 - 308: TypePointer Function 56(fvec4) - 311: 11(int) Constant 97 - 312: 23(int) Constant 1 - 313: 56(fvec4) ConstantComposite 94 193 94 94 - 316: 11(int) Constant 98 - 322: 11(int) Constant 99 - 323: 56(fvec4) ConstantComposite 94 94 94 193 - 326: 11(int) Constant 101 - 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 329 57 30 326 16 77 26 - 340: 11(int) Constant 102 - 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 343 57 30 340 16 77 26 - 347: 23(int) Constant 6 - 359: 11(int) Constant 104 - 363: TypePointer Uniform 130 - 372: 11(int) Constant 105 - 391: 11(int) Constant 107 - 405: 11(int) Constant 108 - 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 408 19 30 405 16 77 26 - 410: TypePointer Uniform 56(fvec4) - 425: 11(int) Constant 109 - 432: 11(int) Constant 110 - 438: 11(int) Constant 111 - 443: TypePointer Input 18(fvec3) - 444(input.Pos): 443(ptr) Variable Input -447(input.Normal): 443(ptr) Variable Input - 450: TypePointer Input 20(fvec2) - 451(input.UV): 450(ptr) Variable Input -454(input.Color): 443(ptr) Variable Input -457(input.instancePos): 443(ptr) Variable Input -460(input.instanceRot): 443(ptr) Variable Input - 463: TypePointer Input 8(float) -464(input.instanceScale): 463(ptr) Variable Input - 467: TypePointer Input 23(int) -468(input.instanceTexIndex): 467(ptr) Variable Input - 475: TypePointer Output 56(fvec4) -476(@entryPointOutput.Pos): 475(ptr) Variable Output - 479: TypePointer Output 18(fvec3) -480(@entryPointOutput.Normal): 479(ptr) Variable Output -483(@entryPointOutput.Color): 479(ptr) Variable Output -486(@entryPointOutput.UV): 479(ptr) Variable Output -489(@entryPointOutput.ViewVec): 479(ptr) Variable Output -492(@entryPointOutput.LightVec): 479(ptr) Variable Output + 79: 11(int) Constant 62 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 77 73 30 79 16 53 77 17 79 + 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 50 30 79 16 78 26 52 + 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 89: 11(int) Constant 63 + 90: TypePointer Function 58(VSOutput) + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 70 30 89 16 78 26 + 95: 8(float) Constant 0 + 96: 56(fvec4) ConstantComposite 95 95 95 95 + 97: 18(fvec3) ConstantComposite 95 95 95 + 98:58(VSOutput) ConstantComposite 96 97 97 97 97 97 + 100: 11(int) Constant 64 + 101: 23(int) Constant 2 + 102: 23(int) Constant 3 + 103: TypePointer Function 18(fvec3) + 108: 11(int) Constant 65 + 109: TypePointer Function 20(fvec2) + 112: 23(int) Constant 7 + 113: TypePointer Function 23(int) + 122: 11(int) Constant 68 + 123: TypePointer Function 8(float) + 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 126 10 30 122 16 78 26 + 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 Line 1 62 1 6(main): 4 Function None 5 7: Label - 442(input): 55(ptr) Variable Function -471(flattenTemp): 89(ptr) Variable Function - 472(param): 55(ptr) Variable Function + 443(input): 55(ptr) Variable Function +472(flattenTemp): 90(ptr) Variable Function + 473(param): 55(ptr) Variable Function Line 1 62 0 - 445: 18(fvec3) Load 444(input.Pos) - 446: 102(ptr) AccessChain 442(input) 159 - Store 446 445 - 448: 18(fvec3) Load 447(input.Normal) - 449: 102(ptr) AccessChain 442(input) 312 - Store 449 448 - 452: 20(fvec2) Load 451(input.UV) - 453: 108(ptr) AccessChain 442(input) 100 - Store 453 452 - 455: 18(fvec3) Load 454(input.Color) - 456: 102(ptr) AccessChain 442(input) 101 - Store 456 455 - 458: 18(fvec3) Load 457(input.instancePos) - 459: 102(ptr) AccessChain 442(input) 284 - Store 459 458 - 461: 18(fvec3) Load 460(input.instanceRot) - 462: 102(ptr) AccessChain 442(input) 127 - Store 462 461 - 465: 8(float) Load 464(input.instanceScale) - 466: 122(ptr) AccessChain 442(input) 347 - Store 466 465 - 469: 23(int) Load 468(input.instanceTexIndex) - 470: 112(ptr) AccessChain 442(input) 111 - Store 470 469 - 473: 27(VSInput) Load 442(input) - Store 472(param) 473 - 474:58(VSOutput) FunctionCall 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 472(param) - Store 471(flattenTemp) 474 - 477: 308(ptr) AccessChain 471(flattenTemp) 159 - 478: 56(fvec4) Load 477 - Store 476(@entryPointOutput.Pos) 478 - 481: 102(ptr) AccessChain 471(flattenTemp) 312 - 482: 18(fvec3) Load 481 - Store 480(@entryPointOutput.Normal) 482 - 484: 102(ptr) AccessChain 471(flattenTemp) 100 - 485: 18(fvec3) Load 484 - Store 483(@entryPointOutput.Color) 485 - 487: 102(ptr) AccessChain 471(flattenTemp) 101 - 488: 18(fvec3) Load 487 - Store 486(@entryPointOutput.UV) 488 - 490: 102(ptr) AccessChain 471(flattenTemp) 284 - 491: 18(fvec3) Load 490 - Store 489(@entryPointOutput.ViewVec) 491 - 493: 102(ptr) AccessChain 471(flattenTemp) 127 - 494: 18(fvec3) Load 493 - Store 492(@entryPointOutput.LightVec) 494 + 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 + 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 + Store 457 456 + 459: 18(fvec3) Load 458(input.instancePos) + 460: 103(ptr) AccessChain 443(input) 285 + Store 460 459 + 462: 18(fvec3) Load 461(input.instanceRot) + 463: 103(ptr) AccessChain 443(input) 128 + 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 + 486: 18(fvec3) Load 485 + Store 484(@entryPointOutput.Color) 486 + 488: 103(ptr) AccessChain 472(flattenTemp) 102 + 489: 18(fvec3) Load 488 + Store 487(@entryPointOutput.UV) 489 + 491: 103(ptr) AccessChain 472(flattenTemp) 285 + 492: 18(fvec3) Load 491 + Store 490(@entryPointOutput.ViewVec) 492 + 494: 103(ptr) AccessChain 472(flattenTemp) 128 + 495: 18(fvec3) Load 494 + Store 493(@entryPointOutput.LightVec) 495 Return FunctionEnd Line 1 62 1 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;):58(VSOutput) Function None 72 74(input): 55(ptr) FunctionParameter - 78: Label - 90(output): 89(ptr) Variable Function - 123(s): 122(ptr) Variable Function - 167(c): 122(ptr) Variable Function - 182(mx): 181(ptr) Variable Function - 217(my): 181(ptr) Variable Function - 251(mz): 181(ptr) Variable Function - 271(rotMat): 181(ptr) Variable Function - 300(gRotMat): 299(ptr) Variable Function - 327(locPos): 308(ptr) Variable Function - 341(pos): 308(ptr) Variable Function - 406(lPos): 102(ptr) Variable Function - 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 77 - 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 16 16 16 16 - 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 81 74(input) 84 - 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 77 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 77 - 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 88 88 16 16 - 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 91 90(output) 84 - Store 90(output) 97 - 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 99 99 16 16 - 103: 102(ptr) AccessChain 74(input) 101 - 104: 18(fvec3) Load 103 - 105: 102(ptr) AccessChain 90(output) 100 - Store 105 104 - 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 107 107 16 16 - 109: 108(ptr) AccessChain 74(input) 100 - 110: 20(fvec2) Load 109 - 113: 112(ptr) AccessChain 74(input) 111 - 114: 23(int) Load 113 - 115: 8(float) ConvertSToF 114 - 116: 8(float) CompositeExtract 110 0 - 117: 8(float) CompositeExtract 110 1 - 118: 18(fvec3) CompositeConstruct 116 117 115 - 119: 102(ptr) AccessChain 90(output) 101 - Store 119 118 - 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 121 121 16 16 - 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 124 123(s) 84 - 128: 122(ptr) AccessChain 74(input) 127 16 - 129: 8(float) Load 128 - 161: 160(ptr) AccessChain 156 159 101 - 162: 8(float) Load 161 - 163: 8(float) FAdd 129 162 - 164: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 163 - Store 123(s) 164 - 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 166 166 16 16 - 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 168 167(c) 84 - 171: 122(ptr) AccessChain 74(input) 127 16 - 172: 8(float) Load 171 - 173: 160(ptr) AccessChain 156 159 101 - 174: 8(float) Load 173 - 175: 8(float) FAdd 172 174 - 176: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 175 - Store 167(c) 176 - 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 178 178 16 16 - 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 183 182(mx) 84 - 186: 8(float) Load 167(c) - 187: 8(float) Load 123(s) - 188: 8(float) FNegate 187 - 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 190 190 16 16 - 191: 8(float) Load 123(s) - 192: 8(float) Load 167(c) - 194: 18(fvec3) CompositeConstruct 186 188 94 - 195: 18(fvec3) CompositeConstruct 191 192 94 - 196: 18(fvec3) CompositeConstruct 94 94 193 - 197: 179 CompositeConstruct 194 195 196 - 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 178 178 16 16 - Store 182(mx) 197 - 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 200 200 16 16 - 201: 122(ptr) AccessChain 74(input) 127 52 - 202: 8(float) Load 201 - 203: 160(ptr) AccessChain 156 159 101 - 204: 8(float) Load 203 - 205: 8(float) FAdd 202 204 - 206: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 205 - Store 123(s) 206 - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 208 208 16 16 - 209: 122(ptr) AccessChain 74(input) 127 52 - 210: 8(float) Load 209 - 211: 160(ptr) AccessChain 156 159 101 - 212: 8(float) Load 211 - 213: 8(float) FAdd 210 212 - 214: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 213 - Store 167(c) 214 - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 216 216 16 16 - 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 218 217(my) 84 - 221: 8(float) Load 167(c) - 222: 8(float) Load 123(s) - 223: 8(float) FNegate 222 - 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 225 225 16 16 - 226: 8(float) Load 123(s) - 227: 8(float) Load 167(c) - 228: 18(fvec3) CompositeConstruct 221 94 223 - 229: 18(fvec3) CompositeConstruct 94 193 94 - 230: 18(fvec3) CompositeConstruct 226 94 227 - 231: 179 CompositeConstruct 228 229 230 - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 216 216 16 16 - Store 217(my) 231 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 234 234 16 16 - 235: 122(ptr) AccessChain 74(input) 127 21 - 236: 8(float) Load 235 - 237: 160(ptr) AccessChain 156 159 101 - 238: 8(float) Load 237 - 239: 8(float) FAdd 236 238 - 240: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 239 - Store 123(s) 240 - 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 242 242 16 16 - 243: 122(ptr) AccessChain 74(input) 127 21 - 244: 8(float) Load 243 - 245: 160(ptr) AccessChain 156 159 101 - 246: 8(float) Load 245 - 247: 8(float) FAdd 244 246 - 248: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 247 - Store 167(c) 248 - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 250 250 16 16 - 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 252 251(mz) 84 - 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 256 256 16 16 - 257: 8(float) Load 167(c) - 258: 8(float) Load 123(s) - 259: 8(float) FNegate 258 - 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 261 261 16 16 - 262: 8(float) Load 123(s) - 263: 8(float) Load 167(c) - 264: 18(fvec3) CompositeConstruct 193 94 94 - 265: 18(fvec3) CompositeConstruct 94 257 259 - 266: 18(fvec3) CompositeConstruct 94 262 263 - 267: 179 CompositeConstruct 264 265 266 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 250 250 16 16 - Store 251(mz) 267 - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 270 270 16 16 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 272 271(rotMat) 84 - 275: 179 Load 182(mx) - 276: 179 Load 217(my) - 277: 179 MatrixTimesMatrix 275 276 - 278: 179 Load 251(mz) - 279: 179 MatrixTimesMatrix 277 278 - Store 271(rotMat) 279 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 281 281 16 16 - 282: 122(ptr) AccessChain 74(input) 127 52 - 283: 8(float) Load 282 - 285: 160(ptr) AccessChain 156 159 284 - 286: 8(float) Load 285 - 287: 8(float) FAdd 283 286 - 288: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 287 - Store 123(s) 288 - 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 290 290 16 16 - 291: 122(ptr) AccessChain 74(input) 127 52 - 292: 8(float) Load 291 - 293: 160(ptr) AccessChain 156 159 284 - 294: 8(float) Load 293 - 295: 8(float) FAdd 292 294 - 296: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 295 - Store 167(c) 296 - 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 298 298 16 16 - 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 301 300(gRotMat) 84 - 304: 8(float) Load 167(c) - 305: 8(float) Load 123(s) - 306: 8(float) FNegate 305 - 307: 56(fvec4) CompositeConstruct 304 94 306 94 - 309: 308(ptr) AccessChain 300(gRotMat) 159 - Store 309 307 - 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 311 311 16 16 - 314: 308(ptr) AccessChain 300(gRotMat) 312 - Store 314 313 - 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 316 316 16 16 - 317: 8(float) Load 123(s) - 318: 8(float) Load 167(c) - 319: 56(fvec4) CompositeConstruct 317 94 318 94 - 320: 308(ptr) AccessChain 300(gRotMat) 100 - Store 320 319 - 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 322 322 16 16 - 324: 308(ptr) AccessChain 300(gRotMat) 101 - Store 324 323 - 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 326 326 16 16 - 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 328 327(locPos) 84 - 331: 102(ptr) AccessChain 74(input) 159 - 332: 18(fvec3) Load 331 - 333: 179 Load 271(rotMat) - 334: 18(fvec3) VectorTimesMatrix 332 333 - 335: 8(float) CompositeExtract 334 0 - 336: 8(float) CompositeExtract 334 1 - 337: 8(float) CompositeExtract 334 2 - 338: 56(fvec4) CompositeConstruct 335 336 337 193 - Store 327(locPos) 338 - 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 340 340 16 16 - 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 342 341(pos) 84 - 345: 56(fvec4) Load 327(locPos) - 346: 18(fvec3) VectorShuffle 345 345 0 1 2 - 348: 122(ptr) AccessChain 74(input) 347 - 349: 8(float) Load 348 - 350: 18(fvec3) VectorTimesScalar 346 349 - 351: 102(ptr) AccessChain 74(input) 284 - 352: 18(fvec3) Load 351 - 353: 18(fvec3) FAdd 350 352 - 354: 8(float) CompositeExtract 353 0 - 355: 8(float) CompositeExtract 353 1 - 356: 8(float) CompositeExtract 353 2 - 357: 56(fvec4) CompositeConstruct 354 355 356 193 - Store 341(pos) 357 - 358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 359 359 16 16 - 360: 56(fvec4) Load 341(pos) - 361: 130 Load 300(gRotMat) - 362: 56(fvec4) VectorTimesMatrix 360 361 - 364: 363(ptr) AccessChain 156 159 312 - 365: 130 Load 364 - 366: 56(fvec4) VectorTimesMatrix 362 365 - 367: 363(ptr) AccessChain 156 159 159 - 368: 130 Load 367 - 369: 56(fvec4) VectorTimesMatrix 366 368 - 370: 308(ptr) AccessChain 90(output) 159 - Store 370 369 - 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 372 372 16 16 - 373: 102(ptr) AccessChain 74(input) 312 - 374: 18(fvec3) Load 373 - 375: 179 Load 271(rotMat) - 376: 18(fvec3) VectorTimesMatrix 374 375 - 377: 130 Load 300(gRotMat) - 378: 363(ptr) AccessChain 156 159 312 - 379: 130 Load 378 - 380: 130 MatrixTimesMatrix 377 379 - 381: 56(fvec4) CompositeExtract 380 0 - 382: 18(fvec3) VectorShuffle 381 381 0 1 2 - 383: 56(fvec4) CompositeExtract 380 1 - 384: 18(fvec3) VectorShuffle 383 383 0 1 2 - 385: 56(fvec4) CompositeExtract 380 2 - 386: 18(fvec3) VectorShuffle 385 385 0 1 2 - 387: 179 CompositeConstruct 382 384 386 - 388: 18(fvec3) VectorTimesMatrix 376 387 - 389: 102(ptr) AccessChain 90(output) 312 - Store 389 388 - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 391 391 16 16 - 392: 102(ptr) AccessChain 74(input) 159 - 393: 18(fvec3) Load 392 - 394: 102(ptr) AccessChain 74(input) 284 - 395: 18(fvec3) Load 394 - 396: 18(fvec3) FAdd 393 395 - 397: 8(float) CompositeExtract 396 0 - 398: 8(float) CompositeExtract 396 1 - 399: 8(float) CompositeExtract 396 2 - 400: 56(fvec4) CompositeConstruct 397 398 399 193 - 401: 363(ptr) AccessChain 156 159 312 - 402: 130 Load 401 - 403: 56(fvec4) VectorTimesMatrix 400 402 - Store 341(pos) 403 - 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 405 405 16 16 - 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 407 406(lPos) 84 - 411: 410(ptr) AccessChain 156 159 100 - 412: 56(fvec4) Load 411 - 413: 18(fvec3) VectorShuffle 412 412 0 1 2 - 414: 363(ptr) AccessChain 156 159 312 - 415: 130 Load 414 - 416: 56(fvec4) CompositeExtract 415 0 - 417: 18(fvec3) VectorShuffle 416 416 0 1 2 - 418: 56(fvec4) CompositeExtract 415 1 - 419: 18(fvec3) VectorShuffle 418 418 0 1 2 - 420: 56(fvec4) CompositeExtract 415 2 - 421: 18(fvec3) VectorShuffle 420 420 0 1 2 - 422: 179 CompositeConstruct 417 419 421 - 423: 18(fvec3) VectorTimesMatrix 413 422 - Store 406(lPos) 423 - 424: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 425 425 16 16 - 426: 18(fvec3) Load 406(lPos) - 427: 56(fvec4) Load 341(pos) - 428: 18(fvec3) VectorShuffle 427 427 0 1 2 - 429: 18(fvec3) FSub 426 428 - 430: 102(ptr) AccessChain 90(output) 127 - Store 430 429 - 431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 432 432 16 16 - 433: 56(fvec4) Load 341(pos) - 434: 18(fvec3) VectorShuffle 433 433 0 1 2 - 435: 18(fvec3) FNegate 434 - 436: 102(ptr) AccessChain 90(output) 284 - Store 436 435 - 437: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 438 438 16 16 - 439:58(VSOutput) Load 90(output) - ReturnValue 439 + 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 + 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 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 78 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 78 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 89 89 16 16 + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 91(output) 85 + Store 91(output) 98 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 100 100 16 16 + 104: 103(ptr) AccessChain 74(input) 102 + 105: 18(fvec3) Load 104 + 106: 103(ptr) AccessChain 91(output) 101 + Store 106 105 + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 108 108 16 16 + 110: 109(ptr) AccessChain 74(input) 101 + 111: 20(fvec2) Load 110 + 114: 113(ptr) AccessChain 74(input) 112 + 115: 23(int) Load 114 + 116: 8(float) ConvertSToF 115 + 117: 8(float) CompositeExtract 111 0 + 118: 8(float) CompositeExtract 111 1 + 119: 18(fvec3) CompositeConstruct 117 118 116 + 120: 103(ptr) AccessChain 91(output) 102 + Store 120 119 + 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 122 122 16 16 + 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 + 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 + 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 + 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 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out b/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out index 30ad60c8..f3319c20 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 146 +// Id's are bound by 147 Capability Shader Capability Float16 @@ -17,8 +17,8 @@ spv.debuginfo.scalar_types.glsl.frag ExecutionMode 14 OriginUpperLeft 1: String "" 8: String "uint" - 15: String "main" - 18: String "// OpModuleProcessed auto-map-locations + 16: String "main" + 19: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -26,43 +26,43 @@ spv.debuginfo.scalar_types.glsl.frag // OpModuleProcessed entry-point main #line 1 " - 29: String "bool" - 34: String "VAR_bool" - 41: String "int" - 46: String "VAR_int" - 53: String "VAR_uint" - 57: String "float" - 62: String "VAR_float" - 67: String "double" - 73: String "VAR_double" - 78: String "int8_t" - 83: String "VAR_int8_t" - 88: String "uint8_t" - 93: String "VAR_uint8_t" - 98: String "int16_t" - 104: String "VAR_int16_t" - 109: String "uint16_t" - 114: String "VAR_uint16_t" - 119: String "int64_t" - 124: String "VAR_int64_t" - 129: String "uint64_t" - 134: String "VAR_uint64_t" - 139: String "float16_t" - 144: String "VAR_float16_t" + 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" SourceExtension "GL_EXT_shader_explicit_arithmetic_types" Name 14 "main" - Name 32 "VAR_bool" - Name 44 "VAR_int" - Name 51 "VAR_uint" - Name 60 "VAR_float" - Name 71 "VAR_double" - Name 81 "VAR_int8_t" - Name 91 "VAR_uint8_t" - Name 102 "VAR_int16_t" - Name 112 "VAR_uint16_t" - Name 122 "VAR_int64_t" - Name 132 "VAR_uint64_t" - Name 142 "VAR_float16_t" + 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" 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -72,125 +72,126 @@ spv.debuginfo.scalar_types.glsl.frag 9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 - 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18 - 20: 7(int) Constant 1 - 21: 7(int) Constant 4 - 22: 7(int) Constant 2 - 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22 - 16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12 - 27: 7(int) Constant 43 - 28: TypeBool - 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 22 12 - 31: TypePointer Private 28(bool) - 32(VAR_bool): 31(ptr) Variable Private - 35: 7(int) Constant 8 - 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 34 30 17 27 12 19 34 32(VAR_bool) 35 - 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 22 12 - 37: 28(bool) ConstantFalse - 39: 7(int) Constant 44 - 40: TypeInt 32 1 - 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 41 10 21 12 - 43: TypePointer Private 40(int) - 44(VAR_int): 43(ptr) Variable Private - 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 46 42 17 39 12 19 46 44(VAR_int) 35 - 47: 40(int) Constant 0 - 49: 7(int) Constant 45 - 50: TypePointer Private 7(int) - 51(VAR_uint): 50(ptr) Variable Private - 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 53 9 17 49 12 19 53 51(VAR_uint) 35 - 55: 7(int) Constant 46 - 56: TypeFloat 32 - 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 13 12 - 59: TypePointer Private 56(float) - 60(VAR_float): 59(ptr) Variable Private - 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 17 55 12 19 62 60(VAR_float) 35 - 63: 56(float) Constant 0 - 65: 7(int) Constant 47 - 66: TypeFloat 64 - 69: 7(int) Constant 64 - 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 67 69 13 12 - 70: TypePointer Private 66(float64_t) - 71(VAR_double): 70(ptr) Variable Private - 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 73 68 17 65 12 19 73 71(VAR_double) 35 - 74:66(float64_t) Constant 0 0 - 76: 7(int) Constant 48 - 77: TypeInt 8 1 - 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 78 35 21 12 - 80: TypePointer Private 77(int8_t) - 81(VAR_int8_t): 80(ptr) Variable Private - 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 83 79 17 76 12 19 83 81(VAR_int8_t) 35 - 84: 77(int8_t) Constant 0 - 86: 7(int) Constant 49 - 87: TypeInt 8 0 - 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 88 35 11 12 - 90: TypePointer Private 87(int8_t) - 91(VAR_uint8_t): 90(ptr) Variable Private - 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 93 89 17 86 12 19 93 91(VAR_uint8_t) 35 - 94: 87(int8_t) Constant 0 - 96: 7(int) Constant 50 - 97: TypeInt 16 1 - 100: 7(int) Constant 16 - 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 98 100 21 12 - 101: TypePointer Private 97(int16_t) -102(VAR_int16_t): 101(ptr) Variable Private - 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 104 99 17 96 12 19 104 102(VAR_int16_t) 35 - 105: 97(int16_t) Constant 0 - 107: 7(int) Constant 51 - 108: TypeInt 16 0 - 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 109 100 11 12 - 111: TypePointer Private 108(int16_t) -112(VAR_uint16_t): 111(ptr) Variable Private - 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 114 110 17 107 12 19 114 112(VAR_uint16_t) 35 - 115:108(int16_t) Constant 0 - 117: 7(int) Constant 52 - 118: TypeInt 64 1 - 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 119 69 21 12 - 121: TypePointer Private 118(int64_t) -122(VAR_int64_t): 121(ptr) Variable Private - 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 124 120 17 117 12 19 124 122(VAR_int64_t) 35 - 125:118(int64_t) Constant 0 0 - 127: 7(int) Constant 53 - 128: TypeInt 64 0 - 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 129 69 11 12 - 131: TypePointer Private 128(int64_t) -132(VAR_uint64_t): 131(ptr) Variable Private - 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 134 130 17 127 12 19 134 132(VAR_uint64_t) 35 - 135:128(int64_t) Constant 0 0 - 137: 7(int) Constant 54 - 138: TypeFloat 16 - 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 100 13 12 - 141: TypePointer Private 138(float16_t) -142(VAR_float16_t): 141(ptr) Variable Private - 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 144 140 17 137 12 19 144 142(VAR_float16_t) 35 - 145:138(float16_t) Constant 0 + 18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19 + 20: 7(int) Constant 42 + 22: 7(int) Constant 1 + 23: 7(int) Constant 4 + 24: 7(int) Constant 2 + 21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24 + 17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20 + 28: 7(int) Constant 43 + 29: TypeBool + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12 + 32: TypePointer Private 29(bool) + 33(VAR_bool): 32(ptr) Variable Private + 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 Line 1 42 11 14(main): 4 Function None 5 - 23: Label - 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main) - 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16 - 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12 - Store 32(VAR_bool) 37 - 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 39 39 12 12 - Store 44(VAR_int) 47 - 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 49 49 12 12 - Store 51(VAR_uint) 12 - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 55 55 12 12 - Store 60(VAR_float) 63 - 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 65 65 12 12 - Store 71(VAR_double) 74 - 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 76 76 12 12 - Store 81(VAR_int8_t) 84 - 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 86 86 12 12 - Store 91(VAR_uint8_t) 94 - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 96 96 12 12 - Store 102(VAR_int16_t) 105 - 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 107 107 12 12 - Store 112(VAR_uint16_t) 115 - 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 117 117 12 12 - Store 122(VAR_int64_t) 125 - 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 127 127 12 12 - Store 132(VAR_uint64_t) 135 - 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 137 137 12 12 - Store 142(VAR_float16_t) 145 + 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 Return FunctionEnd