diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index 9216817a..b6752d2d 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -242,6 +242,11 @@ Id Builder::makePointer(StorageClass storageClass, Id pointee) constantsTypesGlobals.push_back(std::unique_ptr(type)); module.mapInstruction(type); + if (emitNonSemanticShaderDebugInfo) { + const Id debugResultId = makePointerDebugType(storageClass, pointee); + debugId[type->getResultId()] = debugResultId; + } + return type->getResultId(); } @@ -1070,6 +1075,34 @@ Id Builder::makeCompositeDebugType(std::vector const& memberTypes, char cons return type->getResultId(); } +Id Builder::makePointerDebugType(StorageClass storageClass, Id const baseType) +{ + const Id debugBaseType = debugId[baseType]; + if (!debugBaseType) { + return makeDebugInfoNone(); + } + const Id scID = makeUintConstant(storageClass); + for (Instruction* otherType : groupedDebugTypes[NonSemanticShaderDebugInfo100DebugTypePointer]) { + if (otherType->getIdOperand(2) == debugBaseType && + otherType->getIdOperand(3) == scID) { + return otherType->getResultId(); + } + } + + Instruction* type = new Instruction(getUniqueId(), makeVoidType(), OpExtInst); + type->addIdOperand(nonSemanticShaderDebugInfo); + type->addImmediateOperand(NonSemanticShaderDebugInfo100DebugTypePointer); + type->addIdOperand(debugBaseType); + type->addIdOperand(scID); + type->addIdOperand(makeUintConstant(0)); + + groupedDebugTypes[NonSemanticShaderDebugInfo100DebugTypePointer].push_back(type); + constantsTypesGlobals.push_back(std::unique_ptr(type)); + module.mapInstruction(type); + + return type->getResultId(); +} + Id Builder::makeDebugSource(const Id fileName) { if (debugSourceId.find(fileName) != debugSourceId.end()) return debugSourceId[fileName]; diff --git a/SPIRV/SpvBuilder.h b/SPIRV/SpvBuilder.h index b1ca6ce1..dac5881b 100644 --- a/SPIRV/SpvBuilder.h +++ b/SPIRV/SpvBuilder.h @@ -226,6 +226,7 @@ public: Id makeMemberDebugType(Id const memberType, DebugTypeLoc const& debugTypeLoc); Id makeCompositeDebugType(std::vector const& memberTypes, char const*const name, NonSemanticShaderDebugInfo100DebugCompositeType const tag, bool const isOpaqueType = false); + Id makePointerDebugType(StorageClass storageClass, Id const baseType); Id makeDebugSource(const Id fileName); Id makeDebugCompilationUnit(); Id createDebugGlobalVariable(Id const type, char const*const name, Id const variable); diff --git a/Test/baseResults/spv.debuginfo.bufferref.glsl.frag.out b/Test/baseResults/spv.debuginfo.bufferref.glsl.frag.out index f196fb0b..92031461 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 132 +// Id's are bound by 143 Capability Shader Capability PhysicalStorageBufferAddressesEXT @@ -11,7 +11,7 @@ spv.debuginfo.bufferref.glsl.frag 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel PhysicalStorageBuffer64EXT GLSL450 - EntryPoint Fragment 14 "main" 70 123 + EntryPoint Fragment 14 "main" 75 134 ExecutionMode 14 OriginUpperLeft 1: String "" 8: String "uint" @@ -28,42 +28,42 @@ spv.debuginfo.bufferref.glsl.frag 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" + 50: String "meshData" + 62: String "PerPass_meshes" + 68: String "perPass_meshes" + 70: String "int" + 77: String "tri_idx0" + 95: String "vertex_pos0" + 136: String "out_fragColor" SourceExtension "GL_EXT_buffer_reference" Name 14 "main" 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" + Name 48 "meshData" + Name 53 "Mesh" + MemberName 53(Mesh) 0 "positions" + Name 57 "PerPass_meshes" + MemberName 57(PerPass_meshes) 0 "data" + Name 66 "perPass_meshes" + Name 75 "tri_idx0" + Name 93 "vertex_pos0" + Name 134 "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 + MemberDecorate 53(Mesh) 0 Offset 0 + Decorate 55 ArrayStride 8 + MemberDecorate 57(PerPass_meshes) 0 NonWritable + MemberDecorate 57(PerPass_meshes) 0 Offset 0 + Decorate 57(PerPass_meshes) Block + Decorate 66(perPass_meshes) DescriptorSet 0 + Decorate 66(perPass_meshes) Binding 0 + Decorate 75(tri_idx0) Flat + Decorate 75(tri_idx0) Location 0 + Decorate 134(out_fragColor) Location 0 + Decorate 48(meshData) DecorationAliasedPointerEXT 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -95,93 +95,104 @@ spv.debuginfo.bufferref.glsl.frag 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 + 46: 7(int) Constant 7 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 46 12 + 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 31 18 28 12 17 23 + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 53(Mesh): TypeStruct 29(ptr) + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13 + 55: TypeRuntimeArray 53(Mesh) + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 54 12 +57(PerPass_meshes): TypeStruct 55 + 59: 7(int) Constant 13 + 60: 7(int) Constant 8 + 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 56 18 59 60 12 12 13 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 62 22 18 28 12 21 62 12 13 58 + 63: TypePointer StorageBuffer 57(PerPass_meshes) + 64: 7(int) Constant 12 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 61 64 12 +66(perPass_meshes): 63(ptr) Variable StorageBuffer + 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 68 61 18 28 12 21 68 66(perPass_meshes) 60 + 69: TypeInt 32 1 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 70 10 23 12 + 72: 69(int) Constant 0 + 73: TypePointer Input 7(int) + 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 22 12 + 75(tri_idx0): 73(ptr) Variable Input + 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 77 9 18 28 12 21 77 75(tri_idx0) 60 + 79: TypePointer StorageBuffer 53(Mesh) + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 54 64 12 + 84: TypePointer Function 29(ptr) + 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 88: 7(int) Constant 23 + 89: TypeVector 33(float) 3 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 13 + 91: TypePointer Function 89(fvec3) + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 90 46 12 + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 95 90 18 88 12 17 23 + 98: 7(int) Constant 25 + 104: TypePointer PhysicalStorageBufferEXT 33(float) + 105: 7(int) Constant 5349 + 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 35 105 12 + 110: 7(int) Constant 24 + 129: 7(int) Constant 27 + 130: TypeVector 33(float) 4 + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 23 + 132: TypePointer Output 130(fvec4) + 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 131 13 12 +134(out_fragColor): 132(ptr) Variable Output + 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 131 18 129 12 21 136 134(out_fragColor) 60 + 138: 33(float) Constant 1065353216 Line 1 20 11 14(main): 4 Function None 5 15: Label - 46(meshData): 45(ptr) Variable Function - 85(vertex_pos0): 84(ptr) Variable Function + 48(meshData): 45(ptr) Variable Function + 93(vertex_pos0): 91(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 + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 48(meshData) 52 + 78: 7(int) Load 75(tri_idx0) + 81: 79(ptr) AccessChain 66(perPass_meshes) 72 78 + 82: 53(Mesh) Load 81 + 83: 29(ptr) CompositeExtract 82 0 + 86: 84(ptr) AccessChain 48(meshData) 72 + Store 86 83 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 88 88 12 12 + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 94 93(vertex_pos0) 52 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 98 98 12 12 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 88 88 12 12 + 100: 84(ptr) AccessChain 48(meshData) 72 + 101: 29(ptr) Load 100 + 102: 7(int) Load 75(tri_idx0) + 103: 7(int) IMul 13 102 + 107: 104(ptr) AccessChain 101 72 103 + 108: 33(float) Load 107 Aligned 4 + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 110 110 12 12 + 111: 84(ptr) AccessChain 48(meshData) 72 + 112: 29(ptr) Load 111 + 113: 7(int) Load 75(tri_idx0) + 114: 7(int) IMul 13 113 + 115: 7(int) IAdd 114 22 + 116: 104(ptr) AccessChain 112 72 115 + 117: 33(float) Load 116 Aligned 4 + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 98 98 12 12 + 119: 84(ptr) AccessChain 48(meshData) 72 + 120: 29(ptr) Load 119 + 121: 7(int) Load 75(tri_idx0) + 122: 7(int) IMul 13 121 + 123: 7(int) IAdd 122 24 + 124: 104(ptr) AccessChain 120 72 123 + 125: 33(float) Load 124 Aligned 4 + 126: 89(fvec3) CompositeConstruct 108 117 125 + 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 88 88 12 12 + Store 93(vertex_pos0) 126 + 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 129 129 12 12 + 137: 89(fvec3) Load 93(vertex_pos0) + 139: 33(float) CompositeExtract 137 0 + 140: 33(float) CompositeExtract 137 1 + 141: 33(float) CompositeExtract 137 2 + 142: 130(fvec4) CompositeConstruct 139 140 141 138 + Store 134(out_fragColor) 142 Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.comp.out b/Test/baseResults/spv.debuginfo.glsl.comp.out index ab5d8397..962c99f4 100644 --- a/Test/baseResults/spv.debuginfo.glsl.comp.out +++ b/Test/baseResults/spv.debuginfo.glsl.comp.out @@ -1,20 +1,20 @@ spv.debuginfo.glsl.comp // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 950 +// Id's are bound by 964 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" 126 + EntryPoint GLCompute 14 "main" 132 ExecutionMode 14 LocalSize 10 10 1 1: String "" 8: String "uint" 17: String "float" - 30: String "springForce" - 33: String "// OpModuleProcessed auto-map-locations + 33: String "springForce" + 36: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -22,142 +22,142 @@ spv.debuginfo.glsl.comp // OpModuleProcessed entry-point main #line 1 " - 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" - 209: String "particleOut" - 212: String "ParticleOut" - 237: String "force" - 250: String "pos" - 260: String "vel" - 560: String "f" - 609: String "sphereDist" - 661: String "calculateNormals" - 664: String "PushConsts" - 668: String "pushConsts" - 702: String "a" - 715: String "b" - 732: String "c" + 45: String "p0" + 49: String "p1" + 52: String "restDist" + 54: String "main" + 63: String "dist" + 75: String "int" + 81: String "sphereRadius" + 92: String "gravity" + 96: String "particleCount" + 99: String "UBO" + 104: String "params" + 128: String "id" + 134: String "gl_GlobalInvocationID" + 142: String "index" + 166: String "bool" + 180: String "normal" + 186: String "pinned" + 188: String "Particle" + 193: String "particleIn" + 197: String "ParticleIn" + 218: String "particleOut" + 221: String "ParticleOut" + 248: String "force" + 261: String "pos" + 271: String "vel" + 571: String "f" + 620: String "sphereDist" + 672: String "calculateNormals" + 675: String "PushConsts" + 681: String "pushConsts" + 716: String "a" + 729: String "b" + 746: String "c" Name 14 "main" - 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 207 "ParticleOut" - MemberName 207(ParticleOut) 0 "particleOut" - Name 214 "" - Name 235 "force" - Name 248 "pos" - Name 258 "vel" - Name 278 "param" - Name 282 "param" - Name 284 "param" - Name 307 "param" - Name 311 "param" - Name 313 "param" - Name 340 "param" - Name 344 "param" - Name 346 "param" - Name 368 "param" - Name 372 "param" - Name 374 "param" - Name 410 "param" - Name 414 "param" - Name 416 "param" - Name 447 "param" - Name 451 "param" - Name 453 "param" - Name 492 "param" - Name 496 "param" - Name 498 "param" - Name 533 "param" - Name 537 "param" - Name 539 "param" - Name 558 "f" - Name 607 "sphereDist" - Name 659 "PushConsts" - MemberName 659(PushConsts) 0 "calculateNormals" - Name 666 "pushConsts" - Name 678 "normal" - Name 700 "a" - Name 713 "b" - Name 730 "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 205 ArrayStride 80 - MemberDecorate 207(ParticleOut) 0 Offset 0 - Decorate 207(ParticleOut) BufferBlock - Decorate 214 DescriptorSet 0 - Decorate 214 Binding 1 - MemberDecorate 659(PushConsts) 0 Offset 0 - Decorate 659(PushConsts) Block - Decorate 949 BuiltIn WorkgroupSize + Name 31 "springForce(vf3;vf3;f1;" + Name 28 "p0" + Name 29 "p1" + Name 30 "restDist" + Name 61 "dist" + Name 79 "UBO" + MemberName 79(UBO) 0 "deltaT" + MemberName 79(UBO) 1 "particleMass" + MemberName 79(UBO) 2 "springStiffness" + MemberName 79(UBO) 3 "damping" + MemberName 79(UBO) 4 "restDistH" + MemberName 79(UBO) 5 "restDistV" + MemberName 79(UBO) 6 "restDistD" + MemberName 79(UBO) 7 "sphereRadius" + MemberName 79(UBO) 8 "spherePos" + MemberName 79(UBO) 9 "gravity" + MemberName 79(UBO) 10 "particleCount" + Name 102 "params" + Name 126 "id" + Name 132 "gl_GlobalInvocationID" + Name 140 "index" + Name 178 "Particle" + MemberName 178(Particle) 0 "pos" + MemberName 178(Particle) 1 "vel" + MemberName 178(Particle) 2 "uv" + MemberName 178(Particle) 3 "normal" + MemberName 178(Particle) 4 "pinned" + Name 191 "ParticleIn" + MemberName 191(ParticleIn) 0 "particleIn" + Name 200 "" + Name 216 "ParticleOut" + MemberName 216(ParticleOut) 0 "particleOut" + Name 224 "" + Name 246 "force" + Name 259 "pos" + Name 269 "vel" + Name 289 "param" + Name 293 "param" + Name 295 "param" + Name 318 "param" + Name 322 "param" + Name 324 "param" + Name 351 "param" + Name 355 "param" + Name 357 "param" + Name 379 "param" + Name 383 "param" + Name 385 "param" + Name 421 "param" + Name 425 "param" + Name 427 "param" + Name 458 "param" + Name 462 "param" + Name 464 "param" + Name 503 "param" + Name 507 "param" + Name 509 "param" + Name 544 "param" + Name 548 "param" + Name 550 "param" + Name 569 "f" + Name 618 "sphereDist" + Name 670 "PushConsts" + MemberName 670(PushConsts) 0 "calculateNormals" + Name 679 "pushConsts" + Name 692 "normal" + Name 714 "a" + Name 727 "b" + Name 744 "c" + MemberDecorate 79(UBO) 0 Offset 0 + MemberDecorate 79(UBO) 1 Offset 4 + MemberDecorate 79(UBO) 2 Offset 8 + MemberDecorate 79(UBO) 3 Offset 12 + MemberDecorate 79(UBO) 4 Offset 16 + MemberDecorate 79(UBO) 5 Offset 20 + MemberDecorate 79(UBO) 6 Offset 24 + MemberDecorate 79(UBO) 7 Offset 28 + MemberDecorate 79(UBO) 8 Offset 32 + MemberDecorate 79(UBO) 9 Offset 48 + MemberDecorate 79(UBO) 10 Offset 64 + Decorate 79(UBO) Block + Decorate 102(params) DescriptorSet 0 + Decorate 102(params) Binding 2 + Decorate 132(gl_GlobalInvocationID) BuiltIn GlobalInvocationId + MemberDecorate 178(Particle) 0 Offset 0 + MemberDecorate 178(Particle) 1 Offset 16 + MemberDecorate 178(Particle) 2 Offset 32 + MemberDecorate 178(Particle) 3 Offset 48 + MemberDecorate 178(Particle) 4 Offset 64 + Decorate 189 ArrayStride 80 + MemberDecorate 191(ParticleIn) 0 Offset 0 + Decorate 191(ParticleIn) BufferBlock + Decorate 200 DescriptorSet 0 + Decorate 200 Binding 0 + Decorate 214 ArrayStride 80 + MemberDecorate 216(ParticleOut) 0 Offset 0 + Decorate 216(ParticleOut) BufferBlock + Decorate 224 DescriptorSet 0 + Decorate 224 Binding 1 + MemberDecorate 670(PushConsts) 0 Offset 0 + Decorate 670(PushConsts) Block + Decorate 963 BuiltIn WorkgroupSize 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -172,1033 +172,1047 @@ spv.debuginfo.glsl.comp 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 - 204: 7(int) Constant 82 - 205: TypeRuntimeArray 170(Particle) - 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 179 12 -207(ParticleOut): TypeStruct 205 - 210: 7(int) Constant 40 - 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 209 206 32 210 187 12 12 13 - 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 212 36 32 204 12 35 212 12 13 208 - 213: TypePointer Uniform 207(ParticleOut) - 214: 213(ptr) Variable Uniform - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 211 32 204 12 35 1 214 80 - 218: TypePointer Uniform 69(fvec4) - 223: 7(int) Constant 83 - 225: 71(int) Constant 1 - 226: 16(float) Constant 0 - 227: 69(fvec4) ConstantComposite 226 226 226 226 - 230: 7(int) Constant 84 - 234: 7(int) Constant 88 - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 237 20 32 234 12 52 37 - 239: 71(int) Constant 9 - 247: 7(int) Constant 90 - 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 250 20 32 247 12 52 37 - 257: 7(int) Constant 91 - 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 260 20 32 257 12 52 37 - 267: 7(int) Constant 95 - 275: 7(int) Constant 96 - 292: 7(int) Constant 99 - 304: 7(int) Constant 100 - 321: 7(int) Constant 103 - 333: 7(int) Constant 104 - 339: 71(int) Constant 5 - 354: 7(int) Constant 107 - 362: 7(int) Constant 108 - 382: 7(int) Constant 111 - 402: 7(int) Constant 112 - 409: 71(int) Constant 6 - 424: 7(int) Constant 115 - 440: 7(int) Constant 116 - 461: 7(int) Constant 119 - 485: 7(int) Constant 120 - 506: 7(int) Constant 123 - 526: 7(int) Constant 124 - 547: 7(int) Constant 127 - 548: 71(int) Constant 3 - 557: 7(int) Constant 130 - 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 560 20 32 557 12 52 37 - 568: 7(int) Constant 131 - 576: 16(float) Constant 1056964608 - 592: 7(int) Constant 132 - 606: 7(int) Constant 135 - 608: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 609 20 32 606 12 52 37 - 615: 71(int) Constant 8 - 621: 7(int) Constant 136 - 624: 71(int) Constant 7 - 627: 16(float) Constant 1008981770 - 634: 7(int) Constant 138 - 653: 7(int) Constant 140 - 658: 7(int) Constant 144 - 659(PushConsts): TypeStruct 7(int) - 662: 7(int) Constant 63 - 660: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 661 9 32 662 91 12 12 13 - 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 664 36 32 658 12 35 664 12 13 660 - 665: TypePointer PushConstant 659(PushConsts) - 666(pushConsts): 665(ptr) Variable PushConstant - 667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 668 663 32 658 12 35 668 666(pushConsts) 80 - 669: TypePointer PushConstant 7(int) - 677: 7(int) Constant 145 - 679: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 20 32 677 12 52 37 - 681: 19(fvec3) ConstantComposite 226 226 226 - 683: 7(int) Constant 147 - 691: 7(int) Constant 148 - 699: 7(int) Constant 149 - 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 702 20 32 699 12 52 37 - 712: 7(int) Constant 150 - 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 715 20 32 712 12 52 37 - 729: 7(int) Constant 151 - 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 732 20 32 729 12 52 37 - 745: 7(int) Constant 152 - 757: 7(int) Constant 154 - 769: 7(int) Constant 155 - 781: 7(int) Constant 156 - 794: 7(int) Constant 157 - 803: 7(int) Constant 158 - 815: 7(int) Constant 161 - 827: 7(int) Constant 162 - 835: 7(int) Constant 163 - 847: 7(int) Constant 164 - 860: 7(int) Constant 165 - 869: 7(int) Constant 166 - 881: 7(int) Constant 168 - 893: 7(int) Constant 169 - 902: 7(int) Constant 170 - 915: 7(int) Constant 171 - 927: 7(int) Constant 172 - 939: 7(int) Constant 175 - 948: 7(int) Constant 10 - 949: 118(ivec3) ConstantComposite 948 948 36 + 22: 7(int) Constant 7 + 23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 22 12 + 24: TypePointer Function 16(float) + 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 22 12 + 26: TypeFunction 19(fvec3) 21(ptr) 21(ptr) 24(ptr) + 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 20 20 20 18 + 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 36 + 37: 7(int) Constant 66 + 39: 7(int) Constant 1 + 40: 7(int) Constant 4 + 41: 7(int) Constant 2 + 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 39 40 35 41 + 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 33 27 35 37 12 38 33 13 37 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 20 35 37 12 34 40 39 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 20 35 37 12 34 40 41 + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 18 35 37 12 34 40 13 + 56: 7(int) Constant 72 + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 54 6 35 56 12 38 54 13 56 + 60: 7(int) Constant 68 + 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 63 20 35 60 12 34 40 + 69: 7(int) Constant 69 + 72: TypeVector 16(float) 4 + 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 40 + 74: TypeInt 32 1 + 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 75 10 40 12 + 77: TypeVector 74(int) 2 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 76 41 + 79(UBO): TypeStruct 16(float) 16(float) 16(float) 16(float) 16(float) 16(float) 16(float) 16(float) 72(fvec4) 72(fvec4) 77(ivec2) + 82: 7(int) Constant 56 + 83: 7(int) Constant 8 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 18 35 82 83 12 12 13 + 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 18 35 82 83 12 12 13 + 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 18 35 82 83 12 12 13 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 18 35 82 83 12 12 13 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 18 35 82 83 12 12 13 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 18 35 82 83 12 12 13 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 18 35 82 83 12 12 13 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 18 35 82 83 12 12 13 + 93: 7(int) Constant 58 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 73 35 93 22 12 12 13 + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 73 35 93 22 12 12 13 + 97: 7(int) Constant 59 + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 96 78 35 97 83 12 12 13 + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 99 39 35 69 12 38 99 12 13 80 84 85 86 87 88 89 90 91 94 95 + 100: TypePointer Uniform 79(UBO) + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 98 41 12 + 102(params): 100(ptr) Variable Uniform + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 104 98 35 69 12 38 104 102(params) 83 + 105: 74(int) Constant 2 + 106: TypePointer Uniform 16(float) + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 41 12 + 121: 7(int) Constant 74 + 122: TypeVector 7(int) 3 + 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 9 13 + 124: TypePointer Function 122(ivec3) + 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 123 22 12 + 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 128 123 35 121 12 55 40 + 130: TypePointer Input 122(ivec3) + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 123 39 12 +132(gl_GlobalInvocationID): 130(ptr) Variable Input + 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 134 123 35 121 12 38 134 132(gl_GlobalInvocationID) 83 + 137: 7(int) Constant 76 + 138: TypePointer Function 7(int) + 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 22 12 + 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 142 9 35 137 12 55 40 + 146: 74(int) Constant 10 + 147: TypePointer Uniform 74(int) + 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 76 41 12 + 157: 7(int) Constant 77 + 165: TypeBool + 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 166 10 41 12 + 173: 7(int) Constant 78 + 177: 7(int) Constant 81 + 178(Particle): TypeStruct 72(fvec4) 72(fvec4) 72(fvec4) 72(fvec4) 16(float) + 181: 7(int) Constant 31 + 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 73 35 181 22 12 12 13 + 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 73 35 181 22 12 12 13 + 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 73 35 181 22 12 12 13 + 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 73 35 181 22 12 12 13 + 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 186 18 35 10 83 12 12 13 + 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 188 39 35 177 12 38 188 12 13 179 182 183 184 185 + 189: TypeRuntimeArray 178(Particle) + 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 187 12 + 191(ParticleIn): TypeStruct 189 + 194: 7(int) Constant 36 + 195: 7(int) Constant 11 + 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 193 190 35 194 195 12 12 13 + 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 197 39 35 177 12 38 197 12 13 192 + 198: TypePointer Uniform 191(ParticleIn) + 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 196 41 12 + 200: 198(ptr) Variable Uniform + 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 196 35 177 12 38 1 200 83 + 202: 74(int) Constant 0 + 204: 74(int) Constant 4 + 207: 16(float) Constant 1065353216 + 213: 7(int) Constant 82 + 214: TypeRuntimeArray 178(Particle) + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 187 12 +216(ParticleOut): TypeStruct 214 + 219: 7(int) Constant 40 + 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 218 215 35 219 195 12 12 13 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 221 39 35 213 12 38 221 12 13 217 + 222: TypePointer Uniform 216(ParticleOut) + 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 220 41 12 + 224: 222(ptr) Variable Uniform + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 220 35 213 12 38 1 224 83 + 228: TypePointer Uniform 72(fvec4) + 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 73 41 12 + 234: 7(int) Constant 83 + 236: 74(int) Constant 1 + 237: 16(float) Constant 0 + 238: 72(fvec4) ConstantComposite 237 237 237 237 + 241: 7(int) Constant 84 + 245: 7(int) Constant 88 + 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 248 20 35 245 12 55 40 + 250: 74(int) Constant 9 + 258: 7(int) Constant 90 + 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 261 20 35 258 12 55 40 + 268: 7(int) Constant 91 + 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 271 20 35 268 12 55 40 + 278: 7(int) Constant 95 + 286: 7(int) Constant 96 + 303: 7(int) Constant 99 + 315: 7(int) Constant 100 + 332: 7(int) Constant 103 + 344: 7(int) Constant 104 + 350: 74(int) Constant 5 + 365: 7(int) Constant 107 + 373: 7(int) Constant 108 + 393: 7(int) Constant 111 + 413: 7(int) Constant 112 + 420: 74(int) Constant 6 + 435: 7(int) Constant 115 + 451: 7(int) Constant 116 + 472: 7(int) Constant 119 + 496: 7(int) Constant 120 + 517: 7(int) Constant 123 + 537: 7(int) Constant 124 + 558: 7(int) Constant 127 + 559: 74(int) Constant 3 + 568: 7(int) Constant 130 + 570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 571 20 35 568 12 55 40 + 579: 7(int) Constant 131 + 587: 16(float) Constant 1056964608 + 603: 7(int) Constant 132 + 617: 7(int) Constant 135 + 619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 620 20 35 617 12 55 40 + 626: 74(int) Constant 8 + 632: 7(int) Constant 136 + 635: 74(int) Constant 7 + 638: 16(float) Constant 1008981770 + 645: 7(int) Constant 138 + 664: 7(int) Constant 140 + 669: 7(int) Constant 144 + 670(PushConsts): TypeStruct 7(int) + 673: 7(int) Constant 63 + 671: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 672 9 35 673 22 12 12 13 + 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 675 39 35 669 12 38 675 12 13 671 + 676: TypePointer PushConstant 670(PushConsts) + 677: 7(int) Constant 9 + 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 674 677 12 + 679(pushConsts): 676(ptr) Variable PushConstant + 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 681 674 35 669 12 38 681 679(pushConsts) 83 + 682: TypePointer PushConstant 7(int) + 683: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 677 12 + 691: 7(int) Constant 145 + 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 180 20 35 691 12 55 40 + 695: 19(fvec3) ConstantComposite 237 237 237 + 697: 7(int) Constant 147 + 705: 7(int) Constant 148 + 713: 7(int) Constant 149 + 715: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 716 20 35 713 12 55 40 + 726: 7(int) Constant 150 + 728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 729 20 35 726 12 55 40 + 743: 7(int) Constant 151 + 745: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 746 20 35 743 12 55 40 + 759: 7(int) Constant 152 + 771: 7(int) Constant 154 + 783: 7(int) Constant 155 + 795: 7(int) Constant 156 + 808: 7(int) Constant 157 + 817: 7(int) Constant 158 + 829: 7(int) Constant 161 + 841: 7(int) Constant 162 + 849: 7(int) Constant 163 + 861: 7(int) Constant 164 + 874: 7(int) Constant 165 + 883: 7(int) Constant 166 + 895: 7(int) Constant 168 + 907: 7(int) Constant 169 + 916: 7(int) Constant 170 + 929: 7(int) Constant 171 + 941: 7(int) Constant 172 + 953: 7(int) Constant 175 + 962: 7(int) Constant 10 + 963: 122(ivec3) ConstantComposite 962 962 39 Line 1 72 11 14(main): 4 Function None 5 15: Label - 121(id): 120(ptr) Variable Function - 133(index): 132(ptr) Variable Function - 235(force): 21(ptr) Variable Function - 248(pos): 21(ptr) Variable Function - 258(vel): 21(ptr) Variable Function - 278(param): 21(ptr) Variable Function - 282(param): 21(ptr) Variable Function - 284(param): 22(ptr) Variable Function - 307(param): 21(ptr) Variable Function - 311(param): 21(ptr) Variable Function - 313(param): 22(ptr) Variable Function - 340(param): 21(ptr) Variable Function - 344(param): 21(ptr) Variable Function - 346(param): 22(ptr) Variable Function - 368(param): 21(ptr) Variable Function - 372(param): 21(ptr) Variable Function - 374(param): 22(ptr) Variable Function - 410(param): 21(ptr) Variable Function - 414(param): 21(ptr) Variable Function - 416(param): 22(ptr) Variable Function - 447(param): 21(ptr) Variable Function - 451(param): 21(ptr) Variable Function - 453(param): 22(ptr) Variable Function - 492(param): 21(ptr) Variable Function - 496(param): 21(ptr) Variable Function - 498(param): 22(ptr) Variable Function - 533(param): 21(ptr) Variable Function - 537(param): 21(ptr) Variable Function - 539(param): 22(ptr) Variable Function - 558(f): 21(ptr) Variable Function - 607(sphereDist): 21(ptr) Variable Function - 678(normal): 21(ptr) Variable Function - 700(a): 21(ptr) Variable Function - 713(b): 21(ptr) Variable Function - 730(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 + 126(id): 124(ptr) Variable Function + 140(index): 138(ptr) Variable Function + 246(force): 21(ptr) Variable Function + 259(pos): 21(ptr) Variable Function + 269(vel): 21(ptr) Variable Function + 289(param): 21(ptr) Variable Function + 293(param): 21(ptr) Variable Function + 295(param): 24(ptr) Variable Function + 318(param): 21(ptr) Variable Function + 322(param): 21(ptr) Variable Function + 324(param): 24(ptr) Variable Function + 351(param): 21(ptr) Variable Function + 355(param): 21(ptr) Variable Function + 357(param): 24(ptr) Variable Function + 379(param): 21(ptr) Variable Function + 383(param): 21(ptr) Variable Function + 385(param): 24(ptr) Variable Function + 421(param): 21(ptr) Variable Function + 425(param): 21(ptr) Variable Function + 427(param): 24(ptr) Variable Function + 458(param): 21(ptr) Variable Function + 462(param): 21(ptr) Variable Function + 464(param): 24(ptr) Variable Function + 503(param): 21(ptr) Variable Function + 507(param): 21(ptr) Variable Function + 509(param): 24(ptr) Variable Function + 544(param): 21(ptr) Variable Function + 548(param): 21(ptr) Variable Function + 550(param): 24(ptr) Variable Function + 569(f): 21(ptr) Variable Function + 618(sphereDist): 21(ptr) Variable Function + 692(normal): 21(ptr) Variable Function + 714(a): 21(ptr) Variable Function + 727(b): 21(ptr) Variable Function + 744(c): 21(ptr) Variable Function + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 55 14(main) + 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 121 121 12 12 + 129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 127 126(id) 47 + 135: 122(ivec3) Load 132(gl_GlobalInvocationID) + Store 126(id) 135 + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 137 137 12 12 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 141 140(index) 47 + 144: 138(ptr) AccessChain 126(id) 39 + 145: 7(int) Load 144 + 149: 147(ptr) AccessChain 102(params) 146 12 + 150: 74(int) Load 149 + 151: 7(int) Bitcast 150 + 152: 7(int) IMul 145 151 + 153: 138(ptr) AccessChain 126(id) 12 + 154: 7(int) Load 153 + 155: 7(int) IAdd 152 154 + Store 140(index) 155 + 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 157 157 12 12 + 158: 7(int) Load 140(index) + 159: 147(ptr) AccessChain 102(params) 146 12 + 160: 74(int) Load 159 + 161: 147(ptr) AccessChain 102(params) 146 39 + 162: 74(int) Load 161 + 163: 74(int) IMul 160 162 + 164: 7(int) Bitcast 163 + 168: 165(bool) UGreaterThan 158 164 + SelectionMerge 170 None + BranchConditional 168 169 170 + 169: Label + 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 173 173 12 12 Return - 162: Label - 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 169 169 12 12 - 194: 7(int) Load 133(index) - 196: 103(ptr) AccessChain 191 193 194 195 - 197: 16(float) Load 196 - 199: 157(bool) FOrdEqual 197 198 - SelectionMerge 201 None - BranchConditional 199 200 201 - 200: Label - 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 204 204 12 12 - 216: 7(int) Load 133(index) - 217: 7(int) Load 133(index) - 219: 218(ptr) AccessChain 214 193 217 193 - 220: 69(fvec4) Load 219 - 221: 218(ptr) AccessChain 214 193 216 193 - Store 221 220 - 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 223 223 12 12 - 224: 7(int) Load 133(index) - 228: 218(ptr) AccessChain 214 193 224 225 - Store 228 227 - 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 230 230 12 12 + 170: Label + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 177 177 12 12 + 203: 7(int) Load 140(index) + 205: 106(ptr) AccessChain 200 202 203 204 + 206: 16(float) Load 205 + 208: 165(bool) FOrdEqual 206 207 + SelectionMerge 210 None + BranchConditional 208 209 210 + 209: Label + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 213 213 12 12 + 226: 7(int) Load 140(index) + 227: 7(int) Load 140(index) + 230: 228(ptr) AccessChain 224 202 227 202 + 231: 72(fvec4) Load 230 + 232: 228(ptr) AccessChain 224 202 226 202 + Store 232 231 + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 234 234 12 12 + 235: 7(int) Load 140(index) + 239: 228(ptr) AccessChain 224 202 235 236 + Store 239 238 + 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 241 241 12 12 Return - 201: Label - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 234 234 12 12 - 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 236 235(force) 44 - 240: 218(ptr) AccessChain 99(params) 239 - 241: 69(fvec4) Load 240 - 242: 19(fvec3) VectorShuffle 241 241 0 1 2 - 243: 103(ptr) AccessChain 99(params) 225 - 244: 16(float) Load 243 - 245: 19(fvec3) VectorTimesScalar 242 244 - Store 235(force) 245 - 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 247 247 12 12 - 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 249 248(pos) 44 - 252: 7(int) Load 133(index) - 253: 218(ptr) AccessChain 191 193 252 193 - 254: 69(fvec4) Load 253 - 255: 19(fvec3) VectorShuffle 254 254 0 1 2 - Store 248(pos) 255 - 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 257 257 12 12 - 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 259 258(vel) 44 - 262: 7(int) Load 133(index) - 263: 218(ptr) AccessChain 191 193 262 225 - 264: 69(fvec4) Load 263 - 265: 19(fvec3) VectorShuffle 264 264 0 1 2 - Store 258(vel) 265 - 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 267 267 12 12 - 268: 132(ptr) AccessChain 121(id) 12 - 269: 7(int) Load 268 - 270: 157(bool) UGreaterThan 269 12 - SelectionMerge 272 None - BranchConditional 270 271 272 - 271: Label - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 275 275 12 12 - 276: 7(int) Load 133(index) - 277: 7(int) ISub 276 36 - 279: 218(ptr) AccessChain 191 193 277 193 - 280: 69(fvec4) Load 279 - 281: 19(fvec3) VectorShuffle 280 280 0 1 2 - Store 278(param) 281 - 283: 19(fvec3) Load 248(pos) - Store 282(param) 283 - 285: 103(ptr) AccessChain 99(params) 195 - 286: 16(float) Load 285 - Store 284(param) 286 - 287: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 278(param) 282(param) 284(param) - 288: 19(fvec3) Load 235(force) - 289: 19(fvec3) FAdd 288 287 - Store 235(force) 289 - Branch 272 - 272: Label - 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 292 292 12 12 - 293: 132(ptr) AccessChain 121(id) 12 - 294: 7(int) Load 293 - 295: 140(ptr) AccessChain 99(params) 139 12 - 296: 71(int) Load 295 - 297: 71(int) ISub 296 225 - 298: 7(int) Bitcast 297 - 299: 157(bool) ULessThan 294 298 - SelectionMerge 301 None - BranchConditional 299 300 301 - 300: Label - 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 304 304 12 12 - 305: 7(int) Load 133(index) - 306: 7(int) IAdd 305 36 - 308: 218(ptr) AccessChain 191 193 306 193 - 309: 69(fvec4) Load 308 - 310: 19(fvec3) VectorShuffle 309 309 0 1 2 - Store 307(param) 310 - 312: 19(fvec3) Load 248(pos) - Store 311(param) 312 - 314: 103(ptr) AccessChain 99(params) 195 - 315: 16(float) Load 314 - Store 313(param) 315 - 316: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 307(param) 311(param) 313(param) - 317: 19(fvec3) Load 235(force) - 318: 19(fvec3) FAdd 317 316 - Store 235(force) 318 - Branch 301 - 301: Label - 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 321 321 12 12 - 322: 132(ptr) AccessChain 121(id) 36 - 323: 7(int) Load 322 - 324: 140(ptr) AccessChain 99(params) 139 36 - 325: 71(int) Load 324 - 326: 71(int) ISub 325 225 - 327: 7(int) Bitcast 326 - 328: 157(bool) ULessThan 323 327 - SelectionMerge 330 None - BranchConditional 328 329 330 - 329: Label - 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 333 333 12 12 - 334: 7(int) Load 133(index) - 335: 140(ptr) AccessChain 99(params) 139 12 - 336: 71(int) Load 335 - 337: 7(int) Bitcast 336 - 338: 7(int) IAdd 334 337 - 341: 218(ptr) AccessChain 191 193 338 193 - 342: 69(fvec4) Load 341 - 343: 19(fvec3) VectorShuffle 342 342 0 1 2 - Store 340(param) 343 - 345: 19(fvec3) Load 248(pos) - Store 344(param) 345 - 347: 103(ptr) AccessChain 99(params) 339 - 348: 16(float) Load 347 - Store 346(param) 348 - 349: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 340(param) 344(param) 346(param) - 350: 19(fvec3) Load 235(force) - 351: 19(fvec3) FAdd 350 349 - Store 235(force) 351 - Branch 330 - 330: Label - 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 354 354 12 12 - 355: 132(ptr) AccessChain 121(id) 36 - 356: 7(int) Load 355 - 357: 157(bool) UGreaterThan 356 12 - SelectionMerge 359 None - BranchConditional 357 358 359 - 358: Label - 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 362 362 12 12 - 363: 7(int) Load 133(index) - 364: 140(ptr) AccessChain 99(params) 139 12 - 365: 71(int) Load 364 - 366: 7(int) Bitcast 365 - 367: 7(int) ISub 363 366 - 369: 218(ptr) AccessChain 191 193 367 193 - 370: 69(fvec4) Load 369 - 371: 19(fvec3) VectorShuffle 370 370 0 1 2 - Store 368(param) 371 - 373: 19(fvec3) Load 248(pos) - Store 372(param) 373 - 375: 103(ptr) AccessChain 99(params) 339 - 376: 16(float) Load 375 - Store 374(param) 376 - 377: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 368(param) 372(param) 374(param) - 378: 19(fvec3) Load 235(force) - 379: 19(fvec3) FAdd 378 377 - Store 235(force) 379 - Branch 359 - 359: Label - 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 382 382 12 12 - 383: 132(ptr) AccessChain 121(id) 12 - 384: 7(int) Load 383 - 385: 157(bool) UGreaterThan 384 12 - SelectionMerge 387 None - BranchConditional 385 386 387 - 386: Label - 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 382 382 12 12 - 390: 132(ptr) AccessChain 121(id) 36 - 391: 7(int) Load 390 - 392: 140(ptr) AccessChain 99(params) 139 36 - 393: 71(int) Load 392 - 394: 71(int) ISub 393 225 - 395: 7(int) Bitcast 394 - 396: 157(bool) ULessThan 391 395 - Branch 387 - 387: Label - 397: 157(bool) Phi 385 359 396 386 - SelectionMerge 399 None - BranchConditional 397 398 399 - 398: Label - 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 402 402 12 12 - 403: 7(int) Load 133(index) - 404: 140(ptr) AccessChain 99(params) 139 12 - 405: 71(int) Load 404 + 210: Label + 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 245 245 12 12 + 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 247 246(force) 47 + 251: 228(ptr) AccessChain 102(params) 250 + 252: 72(fvec4) Load 251 + 253: 19(fvec3) VectorShuffle 252 252 0 1 2 + 254: 106(ptr) AccessChain 102(params) 236 + 255: 16(float) Load 254 + 256: 19(fvec3) VectorTimesScalar 253 255 + Store 246(force) 256 + 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 258 258 12 12 + 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 260 259(pos) 47 + 263: 7(int) Load 140(index) + 264: 228(ptr) AccessChain 200 202 263 202 + 265: 72(fvec4) Load 264 + 266: 19(fvec3) VectorShuffle 265 265 0 1 2 + Store 259(pos) 266 + 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 268 268 12 12 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 270 269(vel) 47 + 273: 7(int) Load 140(index) + 274: 228(ptr) AccessChain 200 202 273 236 + 275: 72(fvec4) Load 274 + 276: 19(fvec3) VectorShuffle 275 275 0 1 2 + Store 269(vel) 276 + 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 278 278 12 12 + 279: 138(ptr) AccessChain 126(id) 12 + 280: 7(int) Load 279 + 281: 165(bool) UGreaterThan 280 12 + SelectionMerge 283 None + BranchConditional 281 282 283 + 282: Label + 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 286 286 12 12 + 287: 7(int) Load 140(index) + 288: 7(int) ISub 287 39 + 290: 228(ptr) AccessChain 200 202 288 202 + 291: 72(fvec4) Load 290 + 292: 19(fvec3) VectorShuffle 291 291 0 1 2 + Store 289(param) 292 + 294: 19(fvec3) Load 259(pos) + Store 293(param) 294 + 296: 106(ptr) AccessChain 102(params) 204 + 297: 16(float) Load 296 + Store 295(param) 297 + 298: 19(fvec3) FunctionCall 31(springForce(vf3;vf3;f1;) 289(param) 293(param) 295(param) + 299: 19(fvec3) Load 246(force) + 300: 19(fvec3) FAdd 299 298 + Store 246(force) 300 + Branch 283 + 283: Label + 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 303 303 12 12 + 304: 138(ptr) AccessChain 126(id) 12 + 305: 7(int) Load 304 + 306: 147(ptr) AccessChain 102(params) 146 12 + 307: 74(int) Load 306 + 308: 74(int) ISub 307 236 + 309: 7(int) Bitcast 308 + 310: 165(bool) ULessThan 305 309 + SelectionMerge 312 None + BranchConditional 310 311 312 + 311: Label + 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 315 315 12 12 + 316: 7(int) Load 140(index) + 317: 7(int) IAdd 316 39 + 319: 228(ptr) AccessChain 200 202 317 202 + 320: 72(fvec4) Load 319 + 321: 19(fvec3) VectorShuffle 320 320 0 1 2 + Store 318(param) 321 + 323: 19(fvec3) Load 259(pos) + Store 322(param) 323 + 325: 106(ptr) AccessChain 102(params) 204 + 326: 16(float) Load 325 + Store 324(param) 326 + 327: 19(fvec3) FunctionCall 31(springForce(vf3;vf3;f1;) 318(param) 322(param) 324(param) + 328: 19(fvec3) Load 246(force) + 329: 19(fvec3) FAdd 328 327 + Store 246(force) 329 + Branch 312 + 312: Label + 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 332 332 12 12 + 333: 138(ptr) AccessChain 126(id) 39 + 334: 7(int) Load 333 + 335: 147(ptr) AccessChain 102(params) 146 39 + 336: 74(int) Load 335 + 337: 74(int) ISub 336 236 + 338: 7(int) Bitcast 337 + 339: 165(bool) ULessThan 334 338 + SelectionMerge 341 None + BranchConditional 339 340 341 + 340: Label + 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 344 344 12 12 + 345: 7(int) Load 140(index) + 346: 147(ptr) AccessChain 102(params) 146 12 + 347: 74(int) Load 346 + 348: 7(int) Bitcast 347 + 349: 7(int) IAdd 345 348 + 352: 228(ptr) AccessChain 200 202 349 202 + 353: 72(fvec4) Load 352 + 354: 19(fvec3) VectorShuffle 353 353 0 1 2 + Store 351(param) 354 + 356: 19(fvec3) Load 259(pos) + Store 355(param) 356 + 358: 106(ptr) AccessChain 102(params) 350 + 359: 16(float) Load 358 + Store 357(param) 359 + 360: 19(fvec3) FunctionCall 31(springForce(vf3;vf3;f1;) 351(param) 355(param) 357(param) + 361: 19(fvec3) Load 246(force) + 362: 19(fvec3) FAdd 361 360 + Store 246(force) 362 + Branch 341 + 341: Label + 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 365 365 12 12 + 366: 138(ptr) AccessChain 126(id) 39 + 367: 7(int) Load 366 + 368: 165(bool) UGreaterThan 367 12 + SelectionMerge 370 None + BranchConditional 368 369 370 + 369: Label + 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 373 373 12 12 + 374: 7(int) Load 140(index) + 375: 147(ptr) AccessChain 102(params) 146 12 + 376: 74(int) Load 375 + 377: 7(int) Bitcast 376 + 378: 7(int) ISub 374 377 + 380: 228(ptr) AccessChain 200 202 378 202 + 381: 72(fvec4) Load 380 + 382: 19(fvec3) VectorShuffle 381 381 0 1 2 + Store 379(param) 382 + 384: 19(fvec3) Load 259(pos) + Store 383(param) 384 + 386: 106(ptr) AccessChain 102(params) 350 + 387: 16(float) Load 386 + Store 385(param) 387 + 388: 19(fvec3) FunctionCall 31(springForce(vf3;vf3;f1;) 379(param) 383(param) 385(param) + 389: 19(fvec3) Load 246(force) + 390: 19(fvec3) FAdd 389 388 + Store 246(force) 390 + Branch 370 + 370: Label + 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 393 393 12 12 + 394: 138(ptr) AccessChain 126(id) 12 + 395: 7(int) Load 394 + 396: 165(bool) UGreaterThan 395 12 + SelectionMerge 398 None + BranchConditional 396 397 398 + 397: Label + 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 393 393 12 12 + 401: 138(ptr) AccessChain 126(id) 39 + 402: 7(int) Load 401 + 403: 147(ptr) AccessChain 102(params) 146 39 + 404: 74(int) Load 403 + 405: 74(int) ISub 404 236 406: 7(int) Bitcast 405 - 407: 7(int) IAdd 403 406 - 408: 7(int) ISub 407 36 - 411: 218(ptr) AccessChain 191 193 408 193 - 412: 69(fvec4) Load 411 - 413: 19(fvec3) VectorShuffle 412 412 0 1 2 - Store 410(param) 413 - 415: 19(fvec3) Load 248(pos) - Store 414(param) 415 - 417: 103(ptr) AccessChain 99(params) 409 - 418: 16(float) Load 417 - Store 416(param) 418 - 419: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 410(param) 414(param) 416(param) - 420: 19(fvec3) Load 235(force) - 421: 19(fvec3) FAdd 420 419 - Store 235(force) 421 - Branch 399 - 399: Label - 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 424 424 12 12 - 425: 132(ptr) AccessChain 121(id) 12 - 426: 7(int) Load 425 - 427: 157(bool) UGreaterThan 426 12 - SelectionMerge 429 None - BranchConditional 427 428 429 - 428: Label - 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 424 424 12 12 - 432: 132(ptr) AccessChain 121(id) 36 - 433: 7(int) Load 432 - 434: 157(bool) UGreaterThan 433 12 - Branch 429 - 429: Label - 435: 157(bool) Phi 427 399 434 428 - 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 440 440 12 12 - 441: 7(int) Load 133(index) - 442: 140(ptr) AccessChain 99(params) 139 12 - 443: 71(int) Load 442 - 444: 7(int) Bitcast 443 - 445: 7(int) ISub 441 444 - 446: 7(int) ISub 445 36 - 448: 218(ptr) AccessChain 191 193 446 193 - 449: 69(fvec4) Load 448 - 450: 19(fvec3) VectorShuffle 449 449 0 1 2 - Store 447(param) 450 - 452: 19(fvec3) Load 248(pos) - Store 451(param) 452 - 454: 103(ptr) AccessChain 99(params) 409 - 455: 16(float) Load 454 - Store 453(param) 455 - 456: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 447(param) 451(param) 453(param) - 457: 19(fvec3) Load 235(force) - 458: 19(fvec3) FAdd 457 456 - Store 235(force) 458 - Branch 437 - 437: Label - 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 461 461 12 12 - 462: 132(ptr) AccessChain 121(id) 12 - 463: 7(int) Load 462 - 464: 140(ptr) AccessChain 99(params) 139 12 - 465: 71(int) Load 464 - 466: 71(int) ISub 465 225 - 467: 7(int) Bitcast 466 - 468: 157(bool) ULessThan 463 467 - SelectionMerge 470 None - BranchConditional 468 469 470 - 469: Label - 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 461 461 12 12 - 473: 132(ptr) AccessChain 121(id) 36 - 474: 7(int) Load 473 - 475: 140(ptr) AccessChain 99(params) 139 36 - 476: 71(int) Load 475 - 477: 71(int) ISub 476 225 - 478: 7(int) Bitcast 477 - 479: 157(bool) ULessThan 474 478 - Branch 470 - 470: Label - 480: 157(bool) Phi 468 437 479 469 - SelectionMerge 482 None - BranchConditional 480 481 482 - 481: Label - 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 485 485 12 12 - 486: 7(int) Load 133(index) - 487: 140(ptr) AccessChain 99(params) 139 12 - 488: 71(int) Load 487 + 407: 165(bool) ULessThan 402 406 + Branch 398 + 398: Label + 408: 165(bool) Phi 396 370 407 397 + SelectionMerge 410 None + BranchConditional 408 409 410 + 409: Label + 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 413 413 12 12 + 414: 7(int) Load 140(index) + 415: 147(ptr) AccessChain 102(params) 146 12 + 416: 74(int) Load 415 + 417: 7(int) Bitcast 416 + 418: 7(int) IAdd 414 417 + 419: 7(int) ISub 418 39 + 422: 228(ptr) AccessChain 200 202 419 202 + 423: 72(fvec4) Load 422 + 424: 19(fvec3) VectorShuffle 423 423 0 1 2 + Store 421(param) 424 + 426: 19(fvec3) Load 259(pos) + Store 425(param) 426 + 428: 106(ptr) AccessChain 102(params) 420 + 429: 16(float) Load 428 + Store 427(param) 429 + 430: 19(fvec3) FunctionCall 31(springForce(vf3;vf3;f1;) 421(param) 425(param) 427(param) + 431: 19(fvec3) Load 246(force) + 432: 19(fvec3) FAdd 431 430 + Store 246(force) 432 + Branch 410 + 410: Label + 433: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 435 435 12 12 + 436: 138(ptr) AccessChain 126(id) 12 + 437: 7(int) Load 436 + 438: 165(bool) UGreaterThan 437 12 + SelectionMerge 440 None + BranchConditional 438 439 440 + 439: Label + 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 435 435 12 12 + 443: 138(ptr) AccessChain 126(id) 39 + 444: 7(int) Load 443 + 445: 165(bool) UGreaterThan 444 12 + Branch 440 + 440: Label + 446: 165(bool) Phi 438 410 445 439 + SelectionMerge 448 None + BranchConditional 446 447 448 + 447: Label + 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 451 451 12 12 + 452: 7(int) Load 140(index) + 453: 147(ptr) AccessChain 102(params) 146 12 + 454: 74(int) Load 453 + 455: 7(int) Bitcast 454 + 456: 7(int) ISub 452 455 + 457: 7(int) ISub 456 39 + 459: 228(ptr) AccessChain 200 202 457 202 + 460: 72(fvec4) Load 459 + 461: 19(fvec3) VectorShuffle 460 460 0 1 2 + Store 458(param) 461 + 463: 19(fvec3) Load 259(pos) + Store 462(param) 463 + 465: 106(ptr) AccessChain 102(params) 420 + 466: 16(float) Load 465 + Store 464(param) 466 + 467: 19(fvec3) FunctionCall 31(springForce(vf3;vf3;f1;) 458(param) 462(param) 464(param) + 468: 19(fvec3) Load 246(force) + 469: 19(fvec3) FAdd 468 467 + Store 246(force) 469 + Branch 448 + 448: Label + 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 472 472 12 12 + 473: 138(ptr) AccessChain 126(id) 12 + 474: 7(int) Load 473 + 475: 147(ptr) AccessChain 102(params) 146 12 + 476: 74(int) Load 475 + 477: 74(int) ISub 476 236 + 478: 7(int) Bitcast 477 + 479: 165(bool) ULessThan 474 478 + SelectionMerge 481 None + BranchConditional 479 480 481 + 480: Label + 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 472 472 12 12 + 484: 138(ptr) AccessChain 126(id) 39 + 485: 7(int) Load 484 + 486: 147(ptr) AccessChain 102(params) 146 39 + 487: 74(int) Load 486 + 488: 74(int) ISub 487 236 489: 7(int) Bitcast 488 - 490: 7(int) IAdd 486 489 - 491: 7(int) IAdd 490 36 - 493: 218(ptr) AccessChain 191 193 491 193 - 494: 69(fvec4) Load 493 - 495: 19(fvec3) VectorShuffle 494 494 0 1 2 - Store 492(param) 495 - 497: 19(fvec3) Load 248(pos) - Store 496(param) 497 - 499: 103(ptr) AccessChain 99(params) 409 - 500: 16(float) Load 499 - Store 498(param) 500 - 501: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 492(param) 496(param) 498(param) - 502: 19(fvec3) Load 235(force) - 503: 19(fvec3) FAdd 502 501 - Store 235(force) 503 - Branch 482 - 482: Label - 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 506 506 12 12 - 507: 132(ptr) AccessChain 121(id) 12 - 508: 7(int) Load 507 - 509: 140(ptr) AccessChain 99(params) 139 12 - 510: 71(int) Load 509 - 511: 71(int) ISub 510 225 - 512: 7(int) Bitcast 511 - 513: 157(bool) ULessThan 508 512 - SelectionMerge 515 None - BranchConditional 513 514 515 - 514: Label - 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 517: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 506 506 12 12 - 518: 132(ptr) AccessChain 121(id) 36 - 519: 7(int) Load 518 - 520: 157(bool) UGreaterThan 519 12 - Branch 515 - 515: Label - 521: 157(bool) Phi 513 482 520 514 - SelectionMerge 523 None - BranchConditional 521 522 523 - 522: Label - 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 526 526 12 12 - 527: 7(int) Load 133(index) - 528: 140(ptr) AccessChain 99(params) 139 12 - 529: 71(int) Load 528 - 530: 7(int) Bitcast 529 - 531: 7(int) ISub 527 530 - 532: 7(int) IAdd 531 36 - 534: 218(ptr) AccessChain 191 193 532 193 - 535: 69(fvec4) Load 534 - 536: 19(fvec3) VectorShuffle 535 535 0 1 2 - Store 533(param) 536 - 538: 19(fvec3) Load 248(pos) - Store 537(param) 538 - 540: 103(ptr) AccessChain 99(params) 409 - 541: 16(float) Load 540 - Store 539(param) 541 - 542: 19(fvec3) FunctionCall 28(springForce(vf3;vf3;f1;) 533(param) 537(param) 539(param) - 543: 19(fvec3) Load 235(force) - 544: 19(fvec3) FAdd 543 542 - Store 235(force) 544 - Branch 523 - 523: Label - 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 547 547 12 12 - 549: 103(ptr) AccessChain 99(params) 548 - 550: 16(float) Load 549 - 551: 16(float) FNegate 550 - 552: 19(fvec3) Load 258(vel) - 553: 19(fvec3) VectorTimesScalar 552 551 - 554: 19(fvec3) Load 235(force) - 555: 19(fvec3) FAdd 554 553 - Store 235(force) 555 - 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 557 557 12 12 - 561: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 559 558(f) 44 - 562: 19(fvec3) Load 235(force) - 563: 103(ptr) AccessChain 99(params) 225 - 564: 16(float) Load 563 - 565: 16(float) FDiv 198 564 - 566: 19(fvec3) VectorTimesScalar 562 565 - Store 558(f) 566 - 567: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 568 568 12 12 - 569: 7(int) Load 133(index) - 570: 19(fvec3) Load 248(pos) - 571: 19(fvec3) Load 258(vel) - 572: 103(ptr) AccessChain 99(params) 193 - 573: 16(float) Load 572 - 574: 19(fvec3) VectorTimesScalar 571 573 - 575: 19(fvec3) FAdd 570 574 - 577: 19(fvec3) Load 558(f) - 578: 19(fvec3) VectorTimesScalar 577 576 - 579: 103(ptr) AccessChain 99(params) 193 - 580: 16(float) Load 579 - 581: 19(fvec3) VectorTimesScalar 578 580 - 582: 103(ptr) AccessChain 99(params) 193 - 583: 16(float) Load 582 - 584: 19(fvec3) VectorTimesScalar 581 583 - 585: 19(fvec3) FAdd 575 584 - 586: 16(float) CompositeExtract 585 0 - 587: 16(float) CompositeExtract 585 1 - 588: 16(float) CompositeExtract 585 2 - 589: 69(fvec4) CompositeConstruct 586 587 588 198 - 590: 218(ptr) AccessChain 214 193 569 193 - Store 590 589 - 591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 592 592 12 12 - 593: 7(int) Load 133(index) - 594: 19(fvec3) Load 258(vel) - 595: 19(fvec3) Load 558(f) - 596: 103(ptr) AccessChain 99(params) 193 - 597: 16(float) Load 596 - 598: 19(fvec3) VectorTimesScalar 595 597 - 599: 19(fvec3) FAdd 594 598 - 600: 16(float) CompositeExtract 599 0 - 601: 16(float) CompositeExtract 599 1 - 602: 16(float) CompositeExtract 599 2 - 603: 69(fvec4) CompositeConstruct 600 601 602 226 - 604: 218(ptr) AccessChain 214 193 593 225 - Store 604 603 - 605: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 606 606 12 12 - 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 608 607(sphereDist) 44 - 611: 7(int) Load 133(index) - 612: 218(ptr) AccessChain 214 193 611 193 - 613: 69(fvec4) Load 612 - 614: 19(fvec3) VectorShuffle 613 613 0 1 2 - 616: 218(ptr) AccessChain 99(params) 615 - 617: 69(fvec4) Load 616 - 618: 19(fvec3) VectorShuffle 617 617 0 1 2 - 619: 19(fvec3) FSub 614 618 - Store 607(sphereDist) 619 - 620: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 621 621 12 12 - 622: 19(fvec3) Load 607(sphereDist) - 623: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 622 - 625: 103(ptr) AccessChain 99(params) 624 - 626: 16(float) Load 625 - 628: 16(float) FAdd 626 627 - 629: 157(bool) FOrdLessThan 623 628 - SelectionMerge 631 None - BranchConditional 629 630 631 - 630: Label - 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 633: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 634 634 12 12 - 635: 7(int) Load 133(index) - 636: 218(ptr) AccessChain 99(params) 615 - 637: 69(fvec4) Load 636 - 638: 19(fvec3) VectorShuffle 637 637 0 1 2 - 639: 19(fvec3) Load 607(sphereDist) - 640: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 639 - 641: 103(ptr) AccessChain 99(params) 624 - 642: 16(float) Load 641 - 643: 16(float) FAdd 642 627 - 644: 19(fvec3) VectorTimesScalar 640 643 - 645: 19(fvec3) FAdd 638 644 - 646: 103(ptr) AccessChain 214 193 635 193 12 - 647: 16(float) CompositeExtract 645 0 - Store 646 647 - 648: 103(ptr) AccessChain 214 193 635 193 36 - 649: 16(float) CompositeExtract 645 1 - Store 648 649 - 650: 103(ptr) AccessChain 214 193 635 193 38 - 651: 16(float) CompositeExtract 645 2 - Store 650 651 - 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 653 653 12 12 - 654: 7(int) Load 133(index) - 655: 218(ptr) AccessChain 214 193 654 225 - Store 655 227 - Branch 631 - 631: Label - 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 657: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 658 658 12 12 - 670: 669(ptr) AccessChain 666(pushConsts) 193 - 671: 7(int) Load 670 - 672: 157(bool) IEqual 671 36 - SelectionMerge 674 None - BranchConditional 672 673 674 - 673: Label - 675: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 677 677 12 12 - 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 679 678(normal) 44 - Store 678(normal) 681 - 682: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 683 683 12 12 - 684: 132(ptr) AccessChain 121(id) 36 - 685: 7(int) Load 684 - 686: 157(bool) UGreaterThan 685 12 - SelectionMerge 688 None - BranchConditional 686 687 688 - 687: Label - 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 691 691 12 12 - 692: 132(ptr) AccessChain 121(id) 12 - 693: 7(int) Load 692 - 694: 157(bool) UGreaterThan 693 12 - SelectionMerge 696 None - BranchConditional 694 695 696 - 695: Label - 697: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 699 699 12 12 - 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 701 700(a) 44 - 704: 7(int) Load 133(index) - 705: 7(int) ISub 704 36 - 706: 218(ptr) AccessChain 191 193 705 193 - 707: 69(fvec4) Load 706 - 708: 19(fvec3) VectorShuffle 707 707 0 1 2 - 709: 19(fvec3) Load 248(pos) - 710: 19(fvec3) FSub 708 709 - Store 700(a) 710 - 711: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 712 712 12 12 - 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 714 713(b) 44 - 717: 7(int) Load 133(index) - 718: 140(ptr) AccessChain 99(params) 139 12 - 719: 71(int) Load 718 - 720: 7(int) Bitcast 719 - 721: 7(int) ISub 717 720 - 722: 7(int) ISub 721 36 - 723: 218(ptr) AccessChain 191 193 722 193 - 724: 69(fvec4) Load 723 - 725: 19(fvec3) VectorShuffle 724 724 0 1 2 - 726: 19(fvec3) Load 248(pos) - 727: 19(fvec3) FSub 725 726 - Store 713(b) 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(c) 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: 218(ptr) AccessChain 191 193 738 193 - 740: 69(fvec4) Load 739 - 741: 19(fvec3) VectorShuffle 740 740 0 1 2 - 742: 19(fvec3) Load 248(pos) - 743: 19(fvec3) FSub 741 742 - Store 730(c) 743 - 744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 745 745 12 12 - 746: 19(fvec3) Load 700(a) - 747: 19(fvec3) Load 713(b) - 748: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 746 747 - 749: 19(fvec3) Load 713(b) - 750: 19(fvec3) Load 730(c) - 751: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 749 750 - 752: 19(fvec3) FAdd 748 751 - 753: 19(fvec3) Load 678(normal) - 754: 19(fvec3) FAdd 753 752 - Store 678(normal) 754 - Branch 696 - 696: Label - 755: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 756: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 757 757 12 12 - 758: 132(ptr) AccessChain 121(id) 12 - 759: 7(int) Load 758 - 760: 140(ptr) AccessChain 99(params) 139 12 - 761: 71(int) Load 760 - 762: 71(int) ISub 761 225 - 763: 7(int) Bitcast 762 - 764: 157(bool) ULessThan 759 763 - SelectionMerge 766 None - BranchConditional 764 765 766 - 765: Label - 767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 768: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 769 769 12 12 - 770: 7(int) Load 133(index) - 771: 140(ptr) AccessChain 99(params) 139 12 - 772: 71(int) Load 771 - 773: 7(int) Bitcast 772 - 774: 7(int) ISub 770 773 - 775: 218(ptr) AccessChain 191 193 774 193 - 776: 69(fvec4) Load 775 - 777: 19(fvec3) VectorShuffle 776 776 0 1 2 - 778: 19(fvec3) Load 248(pos) - 779: 19(fvec3) FSub 777 778 - Store 700(a) 779 - 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 781 781 12 12 - 782: 7(int) Load 133(index) - 783: 140(ptr) AccessChain 99(params) 139 12 - 784: 71(int) Load 783 - 785: 7(int) Bitcast 784 - 786: 7(int) ISub 782 785 - 787: 7(int) IAdd 786 36 - 788: 218(ptr) AccessChain 191 193 787 193 - 789: 69(fvec4) Load 788 - 790: 19(fvec3) VectorShuffle 789 789 0 1 2 - 791: 19(fvec3) Load 248(pos) - 792: 19(fvec3) FSub 790 791 - Store 713(b) 792 - 793: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 794 794 12 12 - 795: 7(int) Load 133(index) - 796: 7(int) IAdd 795 36 - 797: 218(ptr) AccessChain 191 193 796 193 - 798: 69(fvec4) Load 797 - 799: 19(fvec3) VectorShuffle 798 798 0 1 2 - 800: 19(fvec3) Load 248(pos) - 801: 19(fvec3) FSub 799 800 - Store 730(c) 801 - 802: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 803 803 12 12 - 804: 19(fvec3) Load 700(a) - 805: 19(fvec3) Load 713(b) - 806: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 804 805 - 807: 19(fvec3) Load 713(b) - 808: 19(fvec3) Load 730(c) - 809: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 807 808 - 810: 19(fvec3) FAdd 806 809 - 811: 19(fvec3) Load 678(normal) - 812: 19(fvec3) FAdd 811 810 - Store 678(normal) 812 - Branch 766 - 766: Label - Branch 688 - 688: Label - 813: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 814: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 815 815 12 12 - 816: 132(ptr) AccessChain 121(id) 36 - 817: 7(int) Load 816 - 818: 140(ptr) AccessChain 99(params) 139 36 - 819: 71(int) Load 818 - 820: 71(int) ISub 819 225 - 821: 7(int) Bitcast 820 - 822: 157(bool) ULessThan 817 821 - SelectionMerge 824 None - BranchConditional 822 823 824 - 823: Label - 825: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 826: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 827 827 12 12 - 828: 132(ptr) AccessChain 121(id) 12 - 829: 7(int) Load 828 - 830: 157(bool) UGreaterThan 829 12 - SelectionMerge 832 None - BranchConditional 830 831 832 - 831: Label - 833: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 834: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 835 835 12 12 - 836: 7(int) Load 133(index) - 837: 140(ptr) AccessChain 99(params) 139 12 - 838: 71(int) Load 837 - 839: 7(int) Bitcast 838 - 840: 7(int) IAdd 836 839 - 841: 218(ptr) AccessChain 191 193 840 193 - 842: 69(fvec4) Load 841 - 843: 19(fvec3) VectorShuffle 842 842 0 1 2 - 844: 19(fvec3) Load 248(pos) - 845: 19(fvec3) FSub 843 844 - Store 700(a) 845 - 846: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 847 847 12 12 - 848: 7(int) Load 133(index) - 849: 140(ptr) AccessChain 99(params) 139 12 - 850: 71(int) Load 849 - 851: 7(int) Bitcast 850 - 852: 7(int) IAdd 848 851 - 853: 7(int) ISub 852 36 - 854: 218(ptr) AccessChain 191 193 853 193 - 855: 69(fvec4) Load 854 - 856: 19(fvec3) VectorShuffle 855 855 0 1 2 - 857: 19(fvec3) Load 248(pos) - 858: 19(fvec3) FSub 856 857 - Store 713(b) 858 - 859: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 860 860 12 12 - 861: 7(int) Load 133(index) - 862: 7(int) ISub 861 36 - 863: 218(ptr) AccessChain 191 193 862 193 - 864: 69(fvec4) Load 863 - 865: 19(fvec3) VectorShuffle 864 864 0 1 2 - 866: 19(fvec3) Load 248(pos) - 867: 19(fvec3) FSub 865 866 - Store 730(c) 867 - 868: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 869 869 12 12 - 870: 19(fvec3) Load 700(a) - 871: 19(fvec3) Load 713(b) - 872: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 870 871 - 873: 19(fvec3) Load 713(b) - 874: 19(fvec3) Load 730(c) - 875: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 873 874 - 876: 19(fvec3) FAdd 872 875 - 877: 19(fvec3) Load 678(normal) - 878: 19(fvec3) FAdd 877 876 - Store 678(normal) 878 - Branch 832 - 832: Label - 879: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 880: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 881 881 12 12 - 882: 132(ptr) AccessChain 121(id) 12 - 883: 7(int) Load 882 - 884: 140(ptr) AccessChain 99(params) 139 12 - 885: 71(int) Load 884 - 886: 71(int) ISub 885 225 - 887: 7(int) Bitcast 886 - 888: 157(bool) ULessThan 883 887 - SelectionMerge 890 None - BranchConditional 888 889 890 - 889: Label - 891: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 892: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 893 893 12 12 - 894: 7(int) Load 133(index) - 895: 7(int) IAdd 894 36 - 896: 218(ptr) AccessChain 191 193 895 193 - 897: 69(fvec4) Load 896 - 898: 19(fvec3) VectorShuffle 897 897 0 1 2 - 899: 19(fvec3) Load 248(pos) - 900: 19(fvec3) FSub 898 899 - Store 700(a) 900 - 901: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 902 902 12 12 - 903: 7(int) Load 133(index) - 904: 140(ptr) AccessChain 99(params) 139 12 - 905: 71(int) Load 904 - 906: 7(int) Bitcast 905 - 907: 7(int) IAdd 903 906 - 908: 7(int) IAdd 907 36 - 909: 218(ptr) AccessChain 191 193 908 193 - 910: 69(fvec4) Load 909 - 911: 19(fvec3) VectorShuffle 910 910 0 1 2 - 912: 19(fvec3) Load 248(pos) - 913: 19(fvec3) FSub 911 912 - Store 713(b) 913 - 914: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 915 915 12 12 - 916: 7(int) Load 133(index) - 917: 140(ptr) AccessChain 99(params) 139 12 - 918: 71(int) Load 917 - 919: 7(int) Bitcast 918 - 920: 7(int) IAdd 916 919 - 921: 218(ptr) AccessChain 191 193 920 193 - 922: 69(fvec4) Load 921 - 923: 19(fvec3) VectorShuffle 922 922 0 1 2 - 924: 19(fvec3) Load 248(pos) - 925: 19(fvec3) FSub 923 924 - Store 730(c) 925 - 926: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 927 927 12 12 - 928: 19(fvec3) Load 700(a) - 929: 19(fvec3) Load 713(b) - 930: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 928 929 - 931: 19(fvec3) Load 713(b) - 932: 19(fvec3) Load 730(c) - 933: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 931 932 - 934: 19(fvec3) FAdd 930 933 - 935: 19(fvec3) Load 678(normal) - 936: 19(fvec3) FAdd 935 934 - Store 678(normal) 936 - Branch 890 - 890: Label - Branch 824 - 824: Label - 937: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 52 - 938: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 939 939 12 12 - 940: 7(int) Load 133(index) - 941: 19(fvec3) Load 678(normal) - 942: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 941 - 943: 16(float) CompositeExtract 942 0 - 944: 16(float) CompositeExtract 942 1 - 945: 16(float) CompositeExtract 942 2 - 946: 69(fvec4) CompositeConstruct 943 944 945 226 - 947: 218(ptr) AccessChain 214 193 940 548 - Store 947 946 - Branch 674 - 674: Label + 490: 165(bool) ULessThan 485 489 + Branch 481 + 481: Label + 491: 165(bool) Phi 479 448 490 480 + SelectionMerge 493 None + BranchConditional 491 492 493 + 492: Label + 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 496 496 12 12 + 497: 7(int) Load 140(index) + 498: 147(ptr) AccessChain 102(params) 146 12 + 499: 74(int) Load 498 + 500: 7(int) Bitcast 499 + 501: 7(int) IAdd 497 500 + 502: 7(int) IAdd 501 39 + 504: 228(ptr) AccessChain 200 202 502 202 + 505: 72(fvec4) Load 504 + 506: 19(fvec3) VectorShuffle 505 505 0 1 2 + Store 503(param) 506 + 508: 19(fvec3) Load 259(pos) + Store 507(param) 508 + 510: 106(ptr) AccessChain 102(params) 420 + 511: 16(float) Load 510 + Store 509(param) 511 + 512: 19(fvec3) FunctionCall 31(springForce(vf3;vf3;f1;) 503(param) 507(param) 509(param) + 513: 19(fvec3) Load 246(force) + 514: 19(fvec3) FAdd 513 512 + Store 246(force) 514 + Branch 493 + 493: Label + 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 517 517 12 12 + 518: 138(ptr) AccessChain 126(id) 12 + 519: 7(int) Load 518 + 520: 147(ptr) AccessChain 102(params) 146 12 + 521: 74(int) Load 520 + 522: 74(int) ISub 521 236 + 523: 7(int) Bitcast 522 + 524: 165(bool) ULessThan 519 523 + SelectionMerge 526 None + BranchConditional 524 525 526 + 525: Label + 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 517 517 12 12 + 529: 138(ptr) AccessChain 126(id) 39 + 530: 7(int) Load 529 + 531: 165(bool) UGreaterThan 530 12 + Branch 526 + 526: Label + 532: 165(bool) Phi 524 493 531 525 + SelectionMerge 534 None + BranchConditional 532 533 534 + 533: Label + 535: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 537 537 12 12 + 538: 7(int) Load 140(index) + 539: 147(ptr) AccessChain 102(params) 146 12 + 540: 74(int) Load 539 + 541: 7(int) Bitcast 540 + 542: 7(int) ISub 538 541 + 543: 7(int) IAdd 542 39 + 545: 228(ptr) AccessChain 200 202 543 202 + 546: 72(fvec4) Load 545 + 547: 19(fvec3) VectorShuffle 546 546 0 1 2 + Store 544(param) 547 + 549: 19(fvec3) Load 259(pos) + Store 548(param) 549 + 551: 106(ptr) AccessChain 102(params) 420 + 552: 16(float) Load 551 + Store 550(param) 552 + 553: 19(fvec3) FunctionCall 31(springForce(vf3;vf3;f1;) 544(param) 548(param) 550(param) + 554: 19(fvec3) Load 246(force) + 555: 19(fvec3) FAdd 554 553 + Store 246(force) 555 + Branch 534 + 534: Label + 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 558 558 12 12 + 560: 106(ptr) AccessChain 102(params) 559 + 561: 16(float) Load 560 + 562: 16(float) FNegate 561 + 563: 19(fvec3) Load 269(vel) + 564: 19(fvec3) VectorTimesScalar 563 562 + 565: 19(fvec3) Load 246(force) + 566: 19(fvec3) FAdd 565 564 + Store 246(force) 566 + 567: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 568 568 12 12 + 572: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 570 569(f) 47 + 573: 19(fvec3) Load 246(force) + 574: 106(ptr) AccessChain 102(params) 236 + 575: 16(float) Load 574 + 576: 16(float) FDiv 207 575 + 577: 19(fvec3) VectorTimesScalar 573 576 + Store 569(f) 577 + 578: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 579 579 12 12 + 580: 7(int) Load 140(index) + 581: 19(fvec3) Load 259(pos) + 582: 19(fvec3) Load 269(vel) + 583: 106(ptr) AccessChain 102(params) 202 + 584: 16(float) Load 583 + 585: 19(fvec3) VectorTimesScalar 582 584 + 586: 19(fvec3) FAdd 581 585 + 588: 19(fvec3) Load 569(f) + 589: 19(fvec3) VectorTimesScalar 588 587 + 590: 106(ptr) AccessChain 102(params) 202 + 591: 16(float) Load 590 + 592: 19(fvec3) VectorTimesScalar 589 591 + 593: 106(ptr) AccessChain 102(params) 202 + 594: 16(float) Load 593 + 595: 19(fvec3) VectorTimesScalar 592 594 + 596: 19(fvec3) FAdd 586 595 + 597: 16(float) CompositeExtract 596 0 + 598: 16(float) CompositeExtract 596 1 + 599: 16(float) CompositeExtract 596 2 + 600: 72(fvec4) CompositeConstruct 597 598 599 207 + 601: 228(ptr) AccessChain 224 202 580 202 + Store 601 600 + 602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 603 603 12 12 + 604: 7(int) Load 140(index) + 605: 19(fvec3) Load 269(vel) + 606: 19(fvec3) Load 569(f) + 607: 106(ptr) AccessChain 102(params) 202 + 608: 16(float) Load 607 + 609: 19(fvec3) VectorTimesScalar 606 608 + 610: 19(fvec3) FAdd 605 609 + 611: 16(float) CompositeExtract 610 0 + 612: 16(float) CompositeExtract 610 1 + 613: 16(float) CompositeExtract 610 2 + 614: 72(fvec4) CompositeConstruct 611 612 613 237 + 615: 228(ptr) AccessChain 224 202 604 236 + Store 615 614 + 616: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 617 617 12 12 + 621: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 619 618(sphereDist) 47 + 622: 7(int) Load 140(index) + 623: 228(ptr) AccessChain 224 202 622 202 + 624: 72(fvec4) Load 623 + 625: 19(fvec3) VectorShuffle 624 624 0 1 2 + 627: 228(ptr) AccessChain 102(params) 626 + 628: 72(fvec4) Load 627 + 629: 19(fvec3) VectorShuffle 628 628 0 1 2 + 630: 19(fvec3) FSub 625 629 + Store 618(sphereDist) 630 + 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 632 632 12 12 + 633: 19(fvec3) Load 618(sphereDist) + 634: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 633 + 636: 106(ptr) AccessChain 102(params) 635 + 637: 16(float) Load 636 + 639: 16(float) FAdd 637 638 + 640: 165(bool) FOrdLessThan 634 639 + SelectionMerge 642 None + BranchConditional 640 641 642 + 641: Label + 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 645 645 12 12 + 646: 7(int) Load 140(index) + 647: 228(ptr) AccessChain 102(params) 626 + 648: 72(fvec4) Load 647 + 649: 19(fvec3) VectorShuffle 648 648 0 1 2 + 650: 19(fvec3) Load 618(sphereDist) + 651: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 650 + 652: 106(ptr) AccessChain 102(params) 635 + 653: 16(float) Load 652 + 654: 16(float) FAdd 653 638 + 655: 19(fvec3) VectorTimesScalar 651 654 + 656: 19(fvec3) FAdd 649 655 + 657: 106(ptr) AccessChain 224 202 646 202 12 + 658: 16(float) CompositeExtract 656 0 + Store 657 658 + 659: 106(ptr) AccessChain 224 202 646 202 39 + 660: 16(float) CompositeExtract 656 1 + Store 659 660 + 661: 106(ptr) AccessChain 224 202 646 202 41 + 662: 16(float) CompositeExtract 656 2 + Store 661 662 + 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 664 664 12 12 + 665: 7(int) Load 140(index) + 666: 228(ptr) AccessChain 224 202 665 236 + Store 666 238 + Branch 642 + 642: Label + 667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 669 669 12 12 + 684: 682(ptr) AccessChain 679(pushConsts) 202 + 685: 7(int) Load 684 + 686: 165(bool) IEqual 685 39 + SelectionMerge 688 None + BranchConditional 686 687 688 + 687: Label + 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 691 691 12 12 + 694: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 693 692(normal) 47 + Store 692(normal) 695 + 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 697 697 12 12 + 698: 138(ptr) AccessChain 126(id) 39 + 699: 7(int) Load 698 + 700: 165(bool) UGreaterThan 699 12 + SelectionMerge 702 None + BranchConditional 700 701 702 + 701: Label + 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 704: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 705 705 12 12 + 706: 138(ptr) AccessChain 126(id) 12 + 707: 7(int) Load 706 + 708: 165(bool) UGreaterThan 707 12 + SelectionMerge 710 None + BranchConditional 708 709 710 + 709: Label + 711: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 713 713 12 12 + 717: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 715 714(a) 47 + 718: 7(int) Load 140(index) + 719: 7(int) ISub 718 39 + 720: 228(ptr) AccessChain 200 202 719 202 + 721: 72(fvec4) Load 720 + 722: 19(fvec3) VectorShuffle 721 721 0 1 2 + 723: 19(fvec3) Load 259(pos) + 724: 19(fvec3) FSub 722 723 + Store 714(a) 724 + 725: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 726 726 12 12 + 730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 728 727(b) 47 + 731: 7(int) Load 140(index) + 732: 147(ptr) AccessChain 102(params) 146 12 + 733: 74(int) Load 732 + 734: 7(int) Bitcast 733 + 735: 7(int) ISub 731 734 + 736: 7(int) ISub 735 39 + 737: 228(ptr) AccessChain 200 202 736 202 + 738: 72(fvec4) Load 737 + 739: 19(fvec3) VectorShuffle 738 738 0 1 2 + 740: 19(fvec3) Load 259(pos) + 741: 19(fvec3) FSub 739 740 + Store 727(b) 741 + 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 743 743 12 12 + 747: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 745 744(c) 47 + 748: 7(int) Load 140(index) + 749: 147(ptr) AccessChain 102(params) 146 12 + 750: 74(int) Load 749 + 751: 7(int) Bitcast 750 + 752: 7(int) ISub 748 751 + 753: 228(ptr) AccessChain 200 202 752 202 + 754: 72(fvec4) Load 753 + 755: 19(fvec3) VectorShuffle 754 754 0 1 2 + 756: 19(fvec3) Load 259(pos) + 757: 19(fvec3) FSub 755 756 + Store 744(c) 757 + 758: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 759 759 12 12 + 760: 19(fvec3) Load 714(a) + 761: 19(fvec3) Load 727(b) + 762: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 760 761 + 763: 19(fvec3) Load 727(b) + 764: 19(fvec3) Load 744(c) + 765: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 763 764 + 766: 19(fvec3) FAdd 762 765 + 767: 19(fvec3) Load 692(normal) + 768: 19(fvec3) FAdd 767 766 + Store 692(normal) 768 + Branch 710 + 710: Label + 769: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 770: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 771 771 12 12 + 772: 138(ptr) AccessChain 126(id) 12 + 773: 7(int) Load 772 + 774: 147(ptr) AccessChain 102(params) 146 12 + 775: 74(int) Load 774 + 776: 74(int) ISub 775 236 + 777: 7(int) Bitcast 776 + 778: 165(bool) ULessThan 773 777 + SelectionMerge 780 None + BranchConditional 778 779 780 + 779: Label + 781: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 782: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 783 783 12 12 + 784: 7(int) Load 140(index) + 785: 147(ptr) AccessChain 102(params) 146 12 + 786: 74(int) Load 785 + 787: 7(int) Bitcast 786 + 788: 7(int) ISub 784 787 + 789: 228(ptr) AccessChain 200 202 788 202 + 790: 72(fvec4) Load 789 + 791: 19(fvec3) VectorShuffle 790 790 0 1 2 + 792: 19(fvec3) Load 259(pos) + 793: 19(fvec3) FSub 791 792 + Store 714(a) 793 + 794: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 795 795 12 12 + 796: 7(int) Load 140(index) + 797: 147(ptr) AccessChain 102(params) 146 12 + 798: 74(int) Load 797 + 799: 7(int) Bitcast 798 + 800: 7(int) ISub 796 799 + 801: 7(int) IAdd 800 39 + 802: 228(ptr) AccessChain 200 202 801 202 + 803: 72(fvec4) Load 802 + 804: 19(fvec3) VectorShuffle 803 803 0 1 2 + 805: 19(fvec3) Load 259(pos) + 806: 19(fvec3) FSub 804 805 + Store 727(b) 806 + 807: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 808 808 12 12 + 809: 7(int) Load 140(index) + 810: 7(int) IAdd 809 39 + 811: 228(ptr) AccessChain 200 202 810 202 + 812: 72(fvec4) Load 811 + 813: 19(fvec3) VectorShuffle 812 812 0 1 2 + 814: 19(fvec3) Load 259(pos) + 815: 19(fvec3) FSub 813 814 + Store 744(c) 815 + 816: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 817 817 12 12 + 818: 19(fvec3) Load 714(a) + 819: 19(fvec3) Load 727(b) + 820: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 818 819 + 821: 19(fvec3) Load 727(b) + 822: 19(fvec3) Load 744(c) + 823: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 821 822 + 824: 19(fvec3) FAdd 820 823 + 825: 19(fvec3) Load 692(normal) + 826: 19(fvec3) FAdd 825 824 + Store 692(normal) 826 + Branch 780 + 780: Label + Branch 702 + 702: Label + 827: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 828: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 829 829 12 12 + 830: 138(ptr) AccessChain 126(id) 39 + 831: 7(int) Load 830 + 832: 147(ptr) AccessChain 102(params) 146 39 + 833: 74(int) Load 832 + 834: 74(int) ISub 833 236 + 835: 7(int) Bitcast 834 + 836: 165(bool) ULessThan 831 835 + SelectionMerge 838 None + BranchConditional 836 837 838 + 837: Label + 839: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 840: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 841 841 12 12 + 842: 138(ptr) AccessChain 126(id) 12 + 843: 7(int) Load 842 + 844: 165(bool) UGreaterThan 843 12 + SelectionMerge 846 None + BranchConditional 844 845 846 + 845: Label + 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 848: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 849 849 12 12 + 850: 7(int) Load 140(index) + 851: 147(ptr) AccessChain 102(params) 146 12 + 852: 74(int) Load 851 + 853: 7(int) Bitcast 852 + 854: 7(int) IAdd 850 853 + 855: 228(ptr) AccessChain 200 202 854 202 + 856: 72(fvec4) Load 855 + 857: 19(fvec3) VectorShuffle 856 856 0 1 2 + 858: 19(fvec3) Load 259(pos) + 859: 19(fvec3) FSub 857 858 + Store 714(a) 859 + 860: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 861 861 12 12 + 862: 7(int) Load 140(index) + 863: 147(ptr) AccessChain 102(params) 146 12 + 864: 74(int) Load 863 + 865: 7(int) Bitcast 864 + 866: 7(int) IAdd 862 865 + 867: 7(int) ISub 866 39 + 868: 228(ptr) AccessChain 200 202 867 202 + 869: 72(fvec4) Load 868 + 870: 19(fvec3) VectorShuffle 869 869 0 1 2 + 871: 19(fvec3) Load 259(pos) + 872: 19(fvec3) FSub 870 871 + Store 727(b) 872 + 873: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 874 874 12 12 + 875: 7(int) Load 140(index) + 876: 7(int) ISub 875 39 + 877: 228(ptr) AccessChain 200 202 876 202 + 878: 72(fvec4) Load 877 + 879: 19(fvec3) VectorShuffle 878 878 0 1 2 + 880: 19(fvec3) Load 259(pos) + 881: 19(fvec3) FSub 879 880 + Store 744(c) 881 + 882: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 883 883 12 12 + 884: 19(fvec3) Load 714(a) + 885: 19(fvec3) Load 727(b) + 886: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 884 885 + 887: 19(fvec3) Load 727(b) + 888: 19(fvec3) Load 744(c) + 889: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 887 888 + 890: 19(fvec3) FAdd 886 889 + 891: 19(fvec3) Load 692(normal) + 892: 19(fvec3) FAdd 891 890 + Store 692(normal) 892 + Branch 846 + 846: Label + 893: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 894: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 895 895 12 12 + 896: 138(ptr) AccessChain 126(id) 12 + 897: 7(int) Load 896 + 898: 147(ptr) AccessChain 102(params) 146 12 + 899: 74(int) Load 898 + 900: 74(int) ISub 899 236 + 901: 7(int) Bitcast 900 + 902: 165(bool) ULessThan 897 901 + SelectionMerge 904 None + BranchConditional 902 903 904 + 903: Label + 905: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 906: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 907 907 12 12 + 908: 7(int) Load 140(index) + 909: 7(int) IAdd 908 39 + 910: 228(ptr) AccessChain 200 202 909 202 + 911: 72(fvec4) Load 910 + 912: 19(fvec3) VectorShuffle 911 911 0 1 2 + 913: 19(fvec3) Load 259(pos) + 914: 19(fvec3) FSub 912 913 + Store 714(a) 914 + 915: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 916 916 12 12 + 917: 7(int) Load 140(index) + 918: 147(ptr) AccessChain 102(params) 146 12 + 919: 74(int) Load 918 + 920: 7(int) Bitcast 919 + 921: 7(int) IAdd 917 920 + 922: 7(int) IAdd 921 39 + 923: 228(ptr) AccessChain 200 202 922 202 + 924: 72(fvec4) Load 923 + 925: 19(fvec3) VectorShuffle 924 924 0 1 2 + 926: 19(fvec3) Load 259(pos) + 927: 19(fvec3) FSub 925 926 + Store 727(b) 927 + 928: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 929 929 12 12 + 930: 7(int) Load 140(index) + 931: 147(ptr) AccessChain 102(params) 146 12 + 932: 74(int) Load 931 + 933: 7(int) Bitcast 932 + 934: 7(int) IAdd 930 933 + 935: 228(ptr) AccessChain 200 202 934 202 + 936: 72(fvec4) Load 935 + 937: 19(fvec3) VectorShuffle 936 936 0 1 2 + 938: 19(fvec3) Load 259(pos) + 939: 19(fvec3) FSub 937 938 + Store 744(c) 939 + 940: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 941 941 12 12 + 942: 19(fvec3) Load 714(a) + 943: 19(fvec3) Load 727(b) + 944: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 942 943 + 945: 19(fvec3) Load 727(b) + 946: 19(fvec3) Load 744(c) + 947: 19(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 945 946 + 948: 19(fvec3) FAdd 944 947 + 949: 19(fvec3) Load 692(normal) + 950: 19(fvec3) FAdd 949 948 + Store 692(normal) 950 + Branch 904 + 904: Label + Branch 838 + 838: Label + 951: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 + 952: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 953 953 12 12 + 954: 7(int) Load 140(index) + 955: 19(fvec3) Load 692(normal) + 956: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 955 + 957: 16(float) CompositeExtract 956 0 + 958: 16(float) CompositeExtract 956 1 + 959: 16(float) CompositeExtract 956 2 + 960: 72(fvec4) CompositeConstruct 957 958 959 237 + 961: 228(ptr) AccessChain 224 202 954 559 + Store 961 960 + Branch 688 + 688: Label Return FunctionEnd Line 1 66 50 -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 +31(springForce(vf3;vf3;f1;): 19(fvec3) Function None 26 + 28(p0): 21(ptr) FunctionParameter + 29(p1): 21(ptr) FunctionParameter + 30(restDist): 24(ptr) FunctionParameter + 32: Label + 61(dist): 21(ptr) Variable Function + 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 34 + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 37 37 12 12 + 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 28(p0) 47 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 29(p1) 47 + 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 51 30(restDist) 47 + 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 34 31(springForce(vf3;vf3;f1;) + 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 34 + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 60 60 12 12 + 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 62 61(dist) 47 + 65: 19(fvec3) Load 28(p0) + 66: 19(fvec3) Load 29(p1) + 67: 19(fvec3) FSub 65 66 + Store 61(dist) 67 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 35 69 69 12 12 + 70: 19(fvec3) Load 61(dist) + 71: 19(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 70 + 108: 106(ptr) AccessChain 102(params) 105 + 109: 16(float) Load 108 + 110: 19(fvec3) VectorTimesScalar 71 109 + 111: 19(fvec3) Load 61(dist) + 112: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 111 + 113: 16(float) Load 30(restDist) + 114: 16(float) FSub 112 113 + 115: 19(fvec3) VectorTimesScalar 110 114 + ReturnValue 115 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.frag.out b/Test/baseResults/spv.debuginfo.glsl.frag.out index dda34650..2c7bac82 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 854 +// Id's are bound by 870 Capability Shader Capability ImageQuery @@ -9,13 +9,13 @@ spv.debuginfo.glsl.frag 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Fragment 14 "main" 476 530 + EntryPoint Fragment 14 "main" 488 544 ExecutionMode 14 OriginUpperLeft 1: String "" 8: String "uint" 17: String "float" - 35: String "textureProj" - 38: String "// OpModuleProcessed auto-map-locations + 39: String "textureProj" + 42: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -23,164 +23,164 @@ spv.debuginfo.glsl.frag // OpModuleProcessed entry-point main #line 1 " - 45: String "P" - 49: String "layer" - 52: String "offset" - 60: String "filterPCF" - 66: String "sc" - 79: String "shadow" - 85: String "fragcolor" - 88: String "fragpos" - 90: String "main" - 97: String "int" - 102: String "global_var" - 117: String "shadowCoord" - 139: String "bool" - 160: String "dist" - 164: String "type.2d.image" - 165: String "@type.2d.image" - 169: String "type.sampled.image" - 170: String "@type.sampled.image" - 174: String "samplerShadowMap" - 222: String "texDim" - 234: String "scale" - 241: String "dx" - 254: String "dy" - 266: String "shadowFactor" - 272: String "count" - 278: String "range" - 285: String "x" - 306: String "y" - 369: String "i" - 388: String "shadowClip" - 395: String "color" - 401: String "viewMatrix" - 404: String "Light" - 410: String "lights" - 413: String "debugDisplayTarget" - 417: String "UBO" - 421: String "ubo" - 464: String "fragPos" - 473: String "samplerposition" - 478: String "inUV" - 486: String "normal" - 490: String "samplerNormal" - 499: String "albedo" - 503: String "samplerAlbedo" - 532: String "outFragColor" - 624: String "N" - 649: String "L" - 673: String "V" - 688: String "lightCosInnerAngle" - 695: String "lightCosOuterAngle" - 702: String "lightRange" - 709: String "dir" - 725: String "cosDir" - 734: String "spotEffect" - 744: String "heightAttenuation" - 753: String "NdotL" - 763: String "diff" - 771: String "R" - 781: String "NdotR" - 791: String "spec" + 49: String "P" + 53: String "layer" + 56: String "offset" + 64: String "filterPCF" + 70: String "sc" + 84: String "shadow" + 90: String "fragcolor" + 93: String "fragpos" + 95: String "main" + 102: String "int" + 108: String "global_var" + 123: String "shadowCoord" + 145: String "bool" + 166: String "dist" + 170: String "type.2d.image" + 171: String "@type.2d.image" + 175: String "type.sampled.image" + 176: String "@type.sampled.image" + 181: String "samplerShadowMap" + 230: String "texDim" + 242: String "scale" + 249: String "dx" + 263: String "dy" + 275: String "shadowFactor" + 281: String "count" + 287: String "range" + 294: String "x" + 315: String "y" + 378: String "i" + 397: String "shadowClip" + 404: String "color" + 409: String "viewMatrix" + 412: String "Light" + 418: String "lights" + 421: String "debugDisplayTarget" + 425: String "UBO" + 430: String "ubo" + 474: String "fragPos" + 484: String "samplerposition" + 490: String "inUV" + 498: String "normal" + 502: String "samplerNormal" + 511: String "albedo" + 515: String "samplerAlbedo" + 546: String "outFragColor" + 639: String "N" + 664: String "L" + 689: String "V" + 704: String "lightCosInnerAngle" + 711: String "lightCosOuterAngle" + 718: String "lightRange" + 725: String "dir" + 741: String "cosDir" + 750: String "spotEffect" + 760: String "heightAttenuation" + 769: String "NdotL" + 779: String "diff" + 787: String "R" + 797: String "NdotR" + 807: String "spec" Name 14 "main" - 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 100 "global_var" - Name 109 "shadow" - Name 115 "shadowCoord" - Name 158 "dist" - Name 172 "samplerShadowMap" - Name 220 "texDim" - Name 232 "scale" - Name 239 "dx" - Name 252 "dy" - Name 264 "shadowFactor" - Name 270 "count" - Name 276 "range" - Name 283 "x" - Name 304 "y" - Name 334 "param" - Name 336 "param" - Name 338 "param" - Name 367 "i" - Name 386 "shadowClip" - Name 393 "Light" - MemberName 393(Light) 0 "position" - MemberName 393(Light) 1 "target" - MemberName 393(Light) 2 "color" - MemberName 393(Light) 3 "viewMatrix" - Name 407 "UBO" - MemberName 407(UBO) 0 "viewPos" - MemberName 407(UBO) 1 "lights" - MemberName 407(UBO) 2 "useShadows" - MemberName 407(UBO) 3 "debugDisplayTarget" - Name 419 "ubo" - Name 434 "shadowFactor" - Name 439 "param" - Name 441 "param" - Name 462 "fragPos" - Name 471 "samplerposition" - Name 476 "inUV" - Name 484 "normal" - Name 488 "samplerNormal" - Name 497 "albedo" - Name 501 "samplerAlbedo" - Name 530 "outFragColor" - Name 534 "param" - Name 535 "param" - Name 613 "fragcolor" - Name 622 "N" - Name 630 "i" - Name 647 "L" - Name 660 "dist" - Name 671 "V" - Name 686 "lightCosInnerAngle" - Name 693 "lightCosOuterAngle" - Name 700 "lightRange" - Name 707 "dir" - Name 723 "cosDir" - Name 732 "spotEffect" - Name 742 "heightAttenuation" - Name 751 "NdotL" - Name 761 "diff" - Name 769 "R" - Name 779 "NdotR" - Name 789 "spec" - Name 841 "param" - Name 843 "param" - Decorate 172(samplerShadowMap) DescriptorSet 0 - Decorate 172(samplerShadowMap) Binding 5 - MemberDecorate 393(Light) 0 Offset 0 - MemberDecorate 393(Light) 1 Offset 16 - MemberDecorate 393(Light) 2 Offset 32 - MemberDecorate 393(Light) 3 ColMajor - MemberDecorate 393(Light) 3 Offset 48 - MemberDecorate 393(Light) 3 MatrixStride 16 - Decorate 405 ArrayStride 112 - MemberDecorate 407(UBO) 0 Offset 0 - MemberDecorate 407(UBO) 1 Offset 16 - MemberDecorate 407(UBO) 2 Offset 352 - MemberDecorate 407(UBO) 3 Offset 356 - Decorate 407(UBO) Block - Decorate 419(ubo) DescriptorSet 0 - Decorate 419(ubo) Binding 4 - Decorate 471(samplerposition) DescriptorSet 0 - Decorate 471(samplerposition) Binding 1 - Decorate 476(inUV) Location 0 - Decorate 488(samplerNormal) DescriptorSet 0 - Decorate 488(samplerNormal) Binding 2 - Decorate 501(samplerAlbedo) DescriptorSet 0 - Decorate 501(samplerAlbedo) Binding 3 - Decorate 530(outFragColor) Location 0 + Name 37 "textureProj(vf4;f1;vf2;" + Name 34 "P" + Name 35 "layer" + Name 36 "offset" + Name 62 "filterPCF(vf4;f1;" + Name 60 "sc" + Name 61 "layer" + Name 82 "shadow(vf3;vf3;" + Name 80 "fragcolor" + Name 81 "fragpos" + Name 106 "global_var" + Name 115 "shadow" + Name 121 "shadowCoord" + Name 164 "dist" + Name 179 "samplerShadowMap" + Name 228 "texDim" + Name 240 "scale" + Name 247 "dx" + Name 261 "dy" + Name 273 "shadowFactor" + Name 279 "count" + Name 285 "range" + Name 292 "x" + Name 313 "y" + Name 343 "param" + Name 345 "param" + Name 347 "param" + Name 376 "i" + Name 395 "shadowClip" + Name 402 "Light" + MemberName 402(Light) 0 "position" + MemberName 402(Light) 1 "target" + MemberName 402(Light) 2 "color" + MemberName 402(Light) 3 "viewMatrix" + Name 415 "UBO" + MemberName 415(UBO) 0 "viewPos" + MemberName 415(UBO) 1 "lights" + MemberName 415(UBO) 2 "useShadows" + MemberName 415(UBO) 3 "debugDisplayTarget" + Name 428 "ubo" + Name 444 "shadowFactor" + Name 449 "param" + Name 451 "param" + Name 472 "fragPos" + Name 482 "samplerposition" + Name 488 "inUV" + Name 496 "normal" + Name 500 "samplerNormal" + Name 509 "albedo" + Name 513 "samplerAlbedo" + Name 544 "outFragColor" + Name 548 "param" + Name 549 "param" + Name 628 "fragcolor" + Name 637 "N" + Name 645 "i" + Name 662 "L" + Name 676 "dist" + Name 687 "V" + Name 702 "lightCosInnerAngle" + Name 709 "lightCosOuterAngle" + Name 716 "lightRange" + Name 723 "dir" + Name 739 "cosDir" + Name 748 "spotEffect" + Name 758 "heightAttenuation" + Name 767 "NdotL" + Name 777 "diff" + Name 785 "R" + Name 795 "NdotR" + Name 805 "spec" + Name 857 "param" + Name 859 "param" + Decorate 179(samplerShadowMap) DescriptorSet 0 + Decorate 179(samplerShadowMap) Binding 5 + MemberDecorate 402(Light) 0 Offset 0 + MemberDecorate 402(Light) 1 Offset 16 + MemberDecorate 402(Light) 2 Offset 32 + MemberDecorate 402(Light) 3 ColMajor + MemberDecorate 402(Light) 3 Offset 48 + MemberDecorate 402(Light) 3 MatrixStride 16 + Decorate 413 ArrayStride 112 + MemberDecorate 415(UBO) 0 Offset 0 + MemberDecorate 415(UBO) 1 Offset 16 + MemberDecorate 415(UBO) 2 Offset 352 + MemberDecorate 415(UBO) 3 Offset 356 + Decorate 415(UBO) Block + Decorate 428(ubo) DescriptorSet 0 + Decorate 428(ubo) Binding 4 + Decorate 482(samplerposition) DescriptorSet 0 + Decorate 482(samplerposition) Binding 1 + Decorate 488(inUV) Location 0 + Decorate 500(samplerNormal) DescriptorSet 0 + Decorate 500(samplerNormal) Binding 2 + Decorate 513(samplerAlbedo) DescriptorSet 0 + Decorate 513(samplerAlbedo) Binding 3 + Decorate 544(outFragColor) Location 0 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -196,904 +196,920 @@ spv.debuginfo.glsl.frag 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 - 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 - 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 10 25 12 - 143: 16(float) Constant 3212836864 - 157: 7(int) Constant 67 - 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 160 18 37 157 12 36 20 - 162: TypeImage 16(float) 2D array sampled format:Unknown - 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 164 12 37 157 12 40 165 166 13 - 167: TypeSampledImage 162 - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 12 37 157 12 40 170 166 13 - 171: TypePointer UniformConstant 167 -172(samplerShadowMap): 171(ptr) Variable UniformConstant - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 174 168 37 157 12 40 174 172(samplerShadowMap) 103 - 187: 7(int) Constant 68 - 190: 16(float) Constant 0 - 205: 7(int) Constant 70 - 206: 16(float) Constant 1048576000 - 209: 7(int) Constant 73 - 216: 7(int) Constant 78 - 217: TypeVector 96(int) 2 - 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 25 - 219: TypePointer Function 217(ivec2) - 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 222 218 37 216 12 61 20 - 226: TypeVector 96(int) 3 - 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 98 13 - 231: 7(int) Constant 79 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 234 18 37 231 12 61 20 - 236: 16(float) Constant 1069547520 - 238: 7(int) Constant 80 - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 241 18 37 238 12 61 20 - 245: TypePointer Function 96(int) - 251: 7(int) Constant 81 - 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 254 18 37 251 12 61 20 - 263: 7(int) Constant 83 - 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 266 18 37 263 12 61 20 - 269: 7(int) Constant 84 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 272 98 37 269 12 61 20 - 275: 7(int) Constant 85 - 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 278 98 37 275 12 61 20 - 280: 96(int) Constant 1 - 282: 7(int) Constant 87 - 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 285 98 37 282 12 61 20 - 303: 7(int) Constant 89 - 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 98 37 303 12 61 20 - 324: 7(int) Constant 91 - 343: 7(int) Constant 92 - 356: 7(int) Constant 96 - 366: 7(int) Constant 100 - 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 369 98 37 366 12 80 20 - 381: 96(int) Constant 3 - 385: 7(int) Constant 102 - 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 388 21 37 385 12 80 20 - 390: TypeMatrix 19(fvec4) 4 - 392: 138(bool) ConstantTrue - 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 392 - 393(Light): TypeStruct 19(fvec4) 19(fvec4) 19(fvec4) 390 - 396: 7(int) Constant 47 - 397: 7(int) Constant 7 - 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 395 21 37 396 397 12 12 13 - 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 395 21 37 396 397 12 12 13 - 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 395 21 37 396 397 12 12 13 - 402: 7(int) Constant 48 - 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 401 391 37 402 397 12 12 13 - 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 404 41 37 385 12 40 404 12 13 394 398 399 400 - 405: TypeArray 393(Light) 13 - 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 403 13 - 407(UBO): TypeStruct 19(fvec4) 405 96(int) 96(int) - 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 395 21 37 396 397 12 12 13 - 411: 7(int) Constant 54 - 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 410 406 37 411 103 12 12 13 - 414: 7(int) Constant 56 - 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 413 98 37 414 11 12 12 13 - 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 413 98 37 414 11 12 12 13 - 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 417 41 37 385 12 40 417 12 13 408 409 412 415 - 418: TypePointer Uniform 407(UBO) - 419(ubo): 418(ptr) Variable Uniform - 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 421 416 37 385 12 40 421 419(ubo) 103 - 423: TypePointer Uniform 390 - 433: 7(int) Constant 106 - 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 266 18 37 433 12 80 20 - 444: 7(int) Constant 111 - 454: 7(int) Constant 113 - 461: 7(int) Constant 119 - 463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 464 71 37 461 12 91 20 - 466: TypeImage 16(float) 2D sampled format:Unknown - 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 164 12 37 461 12 40 165 166 13 - 468: TypeSampledImage 466 - 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 12 37 461 12 40 170 166 13 - 470: TypePointer UniformConstant 468 -471(samplerposition): 470(ptr) Variable UniformConstant - 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 473 469 37 461 12 40 473 471(samplerposition) 103 - 475: TypePointer Input 24(fvec2) - 476(inUV): 475(ptr) Variable Input - 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 478 26 37 461 12 40 478 476(inUV) 103 - 483: 7(int) Constant 120 - 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 486 71 37 483 12 91 20 -488(samplerNormal): 470(ptr) Variable UniformConstant - 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 490 469 37 483 12 40 490 488(samplerNormal) 103 - 496: 7(int) Constant 121 - 498: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 499 21 37 496 12 91 20 -501(samplerAlbedo): 470(ptr) Variable UniformConstant - 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 503 469 37 496 12 40 503 501(samplerAlbedo) 103 - 508: 7(int) Constant 124 - 509: TypePointer Uniform 96(int) - 517: 7(int) Constant 125 - 528: 7(int) Constant 127 - 529: TypePointer Output 19(fvec4) -530(outFragColor): 529(ptr) Variable Output - 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 532 21 37 528 12 40 532 530(outFragColor) 103 - 533: 70(fvec3) ConstantComposite 112 112 112 - 538: TypePointer Output 16(float) - 546: 7(int) Constant 128 - 550: 7(int) Constant 130 - 559: 7(int) Constant 131 - 563: 7(int) Constant 133 - 572: 7(int) Constant 134 - 576: 7(int) Constant 136 - 586: 7(int) Constant 137 - 590: 7(int) Constant 139 - 600: 7(int) Constant 140 - 605: 7(int) Constant 142 - 608: 7(int) Constant 143 - 612: 7(int) Constant 147 - 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 37 612 12 91 20 - 618: 16(float) Constant 1036831949 - 621: 7(int) Constant 149 - 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 624 71 37 621 12 91 20 - 629: 7(int) Constant 151 - 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 369 98 37 629 12 91 20 - 646: 7(int) Constant 154 - 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 649 71 37 646 12 91 20 - 652: TypePointer Uniform 19(fvec4) - 659: 7(int) Constant 156 - 661: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 160 18 37 659 12 91 20 - 666: 7(int) Constant 157 - 670: 7(int) Constant 160 - 672: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 673 71 37 670 12 91 20 - 681: 7(int) Constant 161 - 685: 7(int) Constant 163 - 687: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 688 18 37 685 12 91 20 - 690: 16(float) Constant 1064781546 - 692: 7(int) Constant 164 - 694: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 695 18 37 692 12 91 20 - 697: 16(float) Constant 1063781322 - 699: 7(int) Constant 165 - 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 702 18 37 699 12 91 20 - 704: 16(float) Constant 1120403456 - 706: 7(int) Constant 168 - 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 709 71 37 706 12 91 20 - 722: 7(int) Constant 171 - 724: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 725 18 37 722 12 91 20 - 731: 7(int) Constant 172 - 733: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 734 18 37 731 12 91 20 - 741: 7(int) Constant 173 - 743: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 744 18 37 741 12 91 20 - 750: 7(int) Constant 176 - 752: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 753 18 37 750 12 91 20 - 760: 7(int) Constant 177 - 762: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 763 71 37 760 12 91 20 - 768: 7(int) Constant 180 - 770: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 771 71 37 768 12 91 20 - 778: 7(int) Constant 181 - 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 781 18 37 778 12 91 20 - 788: 7(int) Constant 182 - 790: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 791 71 37 788 12 91 20 - 794: 16(float) Constant 1098907648 - 799: 16(float) Constant 1075838976 - 803: 7(int) Constant 184 - 816: 96(int) Constant 2 - 832: 7(int) Constant 188 - 840: 7(int) Constant 190 - 848: 7(int) Constant 193 + 23: 7(int) Constant 7 + 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 23 12 + 25: TypePointer Function 16(float) + 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 23 12 + 27: TypeVector 16(float) 2 + 28: 7(int) Constant 2 + 29: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 28 + 30: TypePointer Function 27(fvec2) + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 29 23 12 + 32: TypeFunction 16(float) 22(ptr) 25(ptr) 30(ptr) + 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 21 18 29 + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 42 + 43: 7(int) Constant 59 + 45: 7(int) Constant 1 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 45 20 41 28 + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 39 33 41 43 12 44 39 13 43 + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 21 41 43 12 40 20 45 + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 18 41 43 12 40 20 28 + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 56 29 41 43 12 40 20 13 + 58: TypeFunction 16(float) 22(ptr) 25(ptr) + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 21 18 + 66: 7(int) Constant 76 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 64 59 41 66 12 44 64 13 66 + 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 70 21 41 66 12 65 20 45 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 18 41 66 12 65 20 28 + 74: TypeVector 16(float) 3 + 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13 + 76: TypePointer Function 74(fvec3) + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 75 23 12 + 78: TypeFunction 74(fvec3) 76(ptr) 76(ptr) + 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 75 75 75 + 86: 7(int) Constant 99 + 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 84 79 41 86 12 44 84 13 86 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 90 75 41 86 12 85 20 45 + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 75 41 86 12 85 20 28 + 97: 7(int) Constant 116 + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 95 6 41 97 12 44 95 13 97 + 100: 7(int) Constant 41 + 101: TypeInt 32 1 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 102 10 20 12 + 104: TypePointer Private 101(int) + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 103 11 12 + 106(global_var): 104(ptr) Variable Private + 109: 7(int) Constant 8 + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 103 41 100 12 44 108 106(global_var) 109 + 110: 101(int) Constant 0 + 114: 7(int) Constant 61 + 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 84 18 41 114 12 40 20 + 118: 16(float) Constant 1065353216 + 120: 7(int) Constant 62 + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 123 21 41 120 12 40 20 + 131: 7(int) Constant 63 + 134: 16(float) Constant 1056964608 + 143: 7(int) Constant 65 + 144: TypeBool + 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 145 10 28 12 + 149: 16(float) Constant 3212836864 + 163: 7(int) Constant 67 + 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 166 18 41 163 12 40 20 + 168: TypeImage 16(float) 2D array sampled format:Unknown + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 170 12 41 163 12 44 171 172 13 + 173: TypeSampledImage 168 + 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 175 12 41 163 12 44 176 172 13 + 177: TypePointer UniformConstant 173 + 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 174 12 12 +179(samplerShadowMap): 177(ptr) Variable UniformConstant + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 181 174 41 163 12 44 181 179(samplerShadowMap) 109 + 194: 7(int) Constant 68 + 197: 16(float) Constant 0 + 212: 7(int) Constant 70 + 213: 16(float) Constant 1048576000 + 216: 7(int) Constant 73 + 223: 7(int) Constant 78 + 224: TypeVector 101(int) 2 + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 103 28 + 226: TypePointer Function 224(ivec2) + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 225 23 12 + 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 230 225 41 223 12 65 20 + 234: TypeVector 101(int) 3 + 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 103 13 + 239: 7(int) Constant 79 + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 242 18 41 239 12 65 20 + 244: 16(float) Constant 1069547520 + 246: 7(int) Constant 80 + 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 249 18 41 246 12 65 20 + 253: TypePointer Function 101(int) + 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 103 23 12 + 260: 7(int) Constant 81 + 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 263 18 41 260 12 65 20 + 272: 7(int) Constant 83 + 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 275 18 41 272 12 65 20 + 278: 7(int) Constant 84 + 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 281 103 41 278 12 65 20 + 284: 7(int) Constant 85 + 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 287 103 41 284 12 65 20 + 289: 101(int) Constant 1 + 291: 7(int) Constant 87 + 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 294 103 41 291 12 65 20 + 312: 7(int) Constant 89 + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 315 103 41 312 12 65 20 + 333: 7(int) Constant 91 + 352: 7(int) Constant 92 + 365: 7(int) Constant 96 + 375: 7(int) Constant 100 + 377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 378 103 41 375 12 85 20 + 390: 101(int) Constant 3 + 394: 7(int) Constant 102 + 396: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 397 21 41 394 12 85 20 + 399: TypeMatrix 19(fvec4) 4 + 401: 144(bool) ConstantTrue + 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 401 + 402(Light): TypeStruct 19(fvec4) 19(fvec4) 19(fvec4) 399 + 405: 7(int) Constant 47 + 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 404 21 41 405 23 12 12 13 + 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 404 21 41 405 23 12 12 13 + 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 404 21 41 405 23 12 12 13 + 410: 7(int) Constant 48 + 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 409 400 41 410 23 12 12 13 + 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 412 45 41 394 12 44 412 12 13 403 406 407 408 + 413: TypeArray 402(Light) 13 + 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 411 13 + 415(UBO): TypeStruct 19(fvec4) 413 101(int) 101(int) + 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 404 21 41 405 23 12 12 13 + 419: 7(int) Constant 54 + 417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 418 414 41 419 109 12 12 13 + 422: 7(int) Constant 56 + 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 421 103 41 422 11 12 12 13 + 423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 421 103 41 422 11 12 12 13 + 424: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 425 45 41 394 12 44 425 12 13 416 417 420 423 + 426: TypePointer Uniform 415(UBO) + 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 424 28 12 + 428(ubo): 426(ptr) Variable Uniform + 429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 430 424 41 394 12 44 430 428(ubo) 109 + 432: TypePointer Uniform 399 + 433: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 400 28 12 + 443: 7(int) Constant 106 + 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 275 18 41 443 12 85 20 + 454: 7(int) Constant 111 + 464: 7(int) Constant 113 + 471: 7(int) Constant 119 + 473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 474 75 41 471 12 96 20 + 476: TypeImage 16(float) 2D sampled format:Unknown + 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 170 12 41 471 12 44 171 172 13 + 478: TypeSampledImage 476 + 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 175 12 41 471 12 44 176 172 13 + 480: TypePointer UniformConstant 478 + 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 479 12 12 +482(samplerposition): 480(ptr) Variable UniformConstant + 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 484 479 41 471 12 44 484 482(samplerposition) 109 + 486: TypePointer Input 27(fvec2) + 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 29 45 12 + 488(inUV): 486(ptr) Variable Input + 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 490 29 41 471 12 44 490 488(inUV) 109 + 495: 7(int) Constant 120 + 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 498 75 41 495 12 96 20 +500(samplerNormal): 480(ptr) Variable UniformConstant + 501: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 502 479 41 495 12 44 502 500(samplerNormal) 109 + 508: 7(int) Constant 121 + 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 511 21 41 508 12 96 20 +513(samplerAlbedo): 480(ptr) Variable UniformConstant + 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 515 479 41 508 12 44 515 513(samplerAlbedo) 109 + 520: 7(int) Constant 124 + 521: TypePointer Uniform 101(int) + 522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 103 28 12 + 530: 7(int) Constant 125 + 541: 7(int) Constant 127 + 542: TypePointer Output 19(fvec4) + 543: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 13 12 +544(outFragColor): 542(ptr) Variable Output + 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 546 21 41 541 12 44 546 544(outFragColor) 109 + 547: 74(fvec3) ConstantComposite 118 118 118 + 552: TypePointer Output 16(float) + 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 13 12 + 561: 7(int) Constant 128 + 565: 7(int) Constant 130 + 574: 7(int) Constant 131 + 578: 7(int) Constant 133 + 587: 7(int) Constant 134 + 591: 7(int) Constant 136 + 601: 7(int) Constant 137 + 605: 7(int) Constant 139 + 615: 7(int) Constant 140 + 620: 7(int) Constant 142 + 623: 7(int) Constant 143 + 627: 7(int) Constant 147 + 629: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 90 75 41 627 12 96 20 + 633: 16(float) Constant 1036831949 + 636: 7(int) Constant 149 + 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 639 75 41 636 12 96 20 + 644: 7(int) Constant 151 + 646: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 378 103 41 644 12 96 20 + 661: 7(int) Constant 154 + 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 664 75 41 661 12 96 20 + 667: TypePointer Uniform 19(fvec4) + 668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 28 12 + 675: 7(int) Constant 156 + 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 166 18 41 675 12 96 20 + 682: 7(int) Constant 157 + 686: 7(int) Constant 160 + 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 689 75 41 686 12 96 20 + 697: 7(int) Constant 161 + 701: 7(int) Constant 163 + 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 704 18 41 701 12 96 20 + 706: 16(float) Constant 1064781546 + 708: 7(int) Constant 164 + 710: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 711 18 41 708 12 96 20 + 713: 16(float) Constant 1063781322 + 715: 7(int) Constant 165 + 717: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 718 18 41 715 12 96 20 + 720: 16(float) Constant 1120403456 + 722: 7(int) Constant 168 + 724: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 725 75 41 722 12 96 20 + 738: 7(int) Constant 171 + 740: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 741 18 41 738 12 96 20 + 747: 7(int) Constant 172 + 749: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 750 18 41 747 12 96 20 + 757: 7(int) Constant 173 + 759: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 760 18 41 757 12 96 20 + 766: 7(int) Constant 176 + 768: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 769 18 41 766 12 96 20 + 776: 7(int) Constant 177 + 778: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 779 75 41 776 12 96 20 + 784: 7(int) Constant 180 + 786: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 787 75 41 784 12 96 20 + 794: 7(int) Constant 181 + 796: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 797 18 41 794 12 96 20 + 804: 7(int) Constant 182 + 806: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 807 75 41 804 12 96 20 + 810: 16(float) Constant 1098907648 + 815: 16(float) Constant 1075838976 + 819: 7(int) Constant 184 + 832: 101(int) Constant 2 + 848: 7(int) Constant 188 + 856: 7(int) Constant 190 + 864: 7(int) Constant 193 Line 1 116 11 14(main): 4 Function None 5 15: Label - 462(fragPos): 72(ptr) Variable Function - 484(normal): 72(ptr) Variable Function - 497(albedo): 22(ptr) Variable Function - 534(param): 72(ptr) Variable Function - 535(param): 72(ptr) Variable Function - 613(fragcolor): 72(ptr) Variable Function - 622(N): 72(ptr) Variable Function - 630(i): 245(ptr) Variable Function - 647(L): 72(ptr) Variable Function - 660(dist): 23(ptr) Variable Function - 671(V): 72(ptr) Variable Function -686(lightCosInnerAngle): 23(ptr) Variable Function -693(lightCosOuterAngle): 23(ptr) Variable Function - 700(lightRange): 23(ptr) Variable Function - 707(dir): 72(ptr) Variable Function - 723(cosDir): 23(ptr) Variable Function - 732(spotEffect): 23(ptr) Variable Function -742(heightAttenuation): 23(ptr) Variable Function - 751(NdotL): 23(ptr) Variable Function - 761(diff): 72(ptr) Variable Function - 769(R): 72(ptr) Variable Function - 779(NdotR): 23(ptr) Variable Function - 789(spec): 72(ptr) Variable Function - 841(param): 72(ptr) Variable Function - 843(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 - 458: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 91 14(main) - 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 461 461 12 12 - 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 463 462(fragPos) 47 - 474: 468 Load 471(samplerposition) - 479: 24(fvec2) Load 476(inUV) - 480: 19(fvec4) ImageSampleImplicitLod 474 479 - 481: 70(fvec3) VectorShuffle 480 480 0 1 2 - Store 462(fragPos) 481 - 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 483 483 12 12 - 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 485 484(normal) 47 - 491: 468 Load 488(samplerNormal) - 492: 24(fvec2) Load 476(inUV) - 493: 19(fvec4) ImageSampleImplicitLod 491 492 - 494: 70(fvec3) VectorShuffle 493 493 0 1 2 - Store 484(normal) 494 - 495: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 496 496 12 12 - 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 498 497(albedo) 47 - 504: 468 Load 501(samplerAlbedo) - 505: 24(fvec2) Load 476(inUV) - 506: 19(fvec4) ImageSampleImplicitLod 504 505 - Store 497(albedo) 506 - 507: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 508 508 12 12 - 510: 509(ptr) AccessChain 419(ubo) 381 - 511: 96(int) Load 510 - 512: 138(bool) SGreaterThan 511 104 - SelectionMerge 514 None - BranchConditional 512 513 514 - 513: Label - 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 517 517 12 12 - 518: 509(ptr) AccessChain 419(ubo) 381 - 519: 96(int) Load 518 - SelectionMerge 525 None - Switch 519 525 - case 1: 520 - case 2: 521 - case 3: 522 - case 4: 523 - case 5: 524 - 520: Label - 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 528 528 12 12 - Store 534(param) 533 - 536: 70(fvec3) Load 462(fragPos) - Store 535(param) 536 - 537: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 534(param) 535(param) - 539: 538(ptr) AccessChain 530(outFragColor) 12 - 540: 16(float) CompositeExtract 537 0 - Store 539 540 - 541: 538(ptr) AccessChain 530(outFragColor) 41 - 542: 16(float) CompositeExtract 537 1 - Store 541 542 - 543: 538(ptr) AccessChain 530(outFragColor) 25 - 544: 16(float) CompositeExtract 537 2 - Store 543 544 - 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 546 546 12 12 - Branch 525 - 521: Label - 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 550 550 12 12 - 551: 70(fvec3) Load 462(fragPos) - 552: 538(ptr) AccessChain 530(outFragColor) 12 - 553: 16(float) CompositeExtract 551 0 - Store 552 553 - 554: 538(ptr) AccessChain 530(outFragColor) 41 - 555: 16(float) CompositeExtract 551 1 + 472(fragPos): 76(ptr) Variable Function + 496(normal): 76(ptr) Variable Function + 509(albedo): 22(ptr) Variable Function + 548(param): 76(ptr) Variable Function + 549(param): 76(ptr) Variable Function + 628(fragcolor): 76(ptr) Variable Function + 637(N): 76(ptr) Variable Function + 645(i): 253(ptr) Variable Function + 662(L): 76(ptr) Variable Function + 676(dist): 25(ptr) Variable Function + 687(V): 76(ptr) Variable Function +702(lightCosInnerAngle): 25(ptr) Variable Function +709(lightCosOuterAngle): 25(ptr) Variable Function + 716(lightRange): 25(ptr) Variable Function + 723(dir): 76(ptr) Variable Function + 739(cosDir): 25(ptr) Variable Function + 748(spotEffect): 25(ptr) Variable Function +758(heightAttenuation): 25(ptr) Variable Function + 767(NdotL): 25(ptr) Variable Function + 777(diff): 76(ptr) Variable Function + 785(R): 76(ptr) Variable Function + 795(NdotR): 25(ptr) Variable Function + 805(spec): 76(ptr) Variable Function + 857(param): 76(ptr) Variable Function + 859(param): 76(ptr) Variable Function + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 44 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 100 100 12 12 + Store 106(global_var) 110 + 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 96 14(main) + 469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 471 471 12 12 + 475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 473 472(fragPos) 51 + 485: 478 Load 482(samplerposition) + 491: 27(fvec2) Load 488(inUV) + 492: 19(fvec4) ImageSampleImplicitLod 485 491 + 493: 74(fvec3) VectorShuffle 492 492 0 1 2 + Store 472(fragPos) 493 + 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 495 495 12 12 + 499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 497 496(normal) 51 + 503: 478 Load 500(samplerNormal) + 504: 27(fvec2) Load 488(inUV) + 505: 19(fvec4) ImageSampleImplicitLod 503 504 + 506: 74(fvec3) VectorShuffle 505 505 0 1 2 + Store 496(normal) 506 + 507: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 508 508 12 12 + 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 510 509(albedo) 51 + 516: 478 Load 513(samplerAlbedo) + 517: 27(fvec2) Load 488(inUV) + 518: 19(fvec4) ImageSampleImplicitLod 516 517 + Store 509(albedo) 518 + 519: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 520 520 12 12 + 523: 521(ptr) AccessChain 428(ubo) 390 + 524: 101(int) Load 523 + 525: 144(bool) SGreaterThan 524 110 + SelectionMerge 527 None + BranchConditional 525 526 527 + 526: Label + 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 530 530 12 12 + 531: 521(ptr) AccessChain 428(ubo) 390 + 532: 101(int) Load 531 + SelectionMerge 538 None + Switch 532 538 + case 1: 533 + case 2: 534 + case 3: 535 + case 4: 536 + case 5: 537 + 533: Label + 539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 541 541 12 12 + Store 548(param) 547 + 550: 74(fvec3) Load 472(fragPos) + Store 549(param) 550 + 551: 74(fvec3) FunctionCall 82(shadow(vf3;vf3;) 548(param) 549(param) + 554: 552(ptr) AccessChain 544(outFragColor) 12 + 555: 16(float) CompositeExtract 551 0 Store 554 555 - 556: 538(ptr) AccessChain 530(outFragColor) 25 - 557: 16(float) CompositeExtract 551 2 + 556: 552(ptr) AccessChain 544(outFragColor) 45 + 557: 16(float) CompositeExtract 551 1 Store 556 557 - 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 559 559 12 12 - Branch 525 - 522: Label - 561: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 562: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 563 563 12 12 - 564: 70(fvec3) Load 484(normal) - 565: 538(ptr) AccessChain 530(outFragColor) 12 - 566: 16(float) CompositeExtract 564 0 - Store 565 566 - 567: 538(ptr) AccessChain 530(outFragColor) 41 - 568: 16(float) CompositeExtract 564 1 + 558: 552(ptr) AccessChain 544(outFragColor) 28 + 559: 16(float) CompositeExtract 551 2 + Store 558 559 + 560: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 561 561 12 12 + Branch 538 + 534: Label + 563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 564: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 565 565 12 12 + 566: 74(fvec3) Load 472(fragPos) + 567: 552(ptr) AccessChain 544(outFragColor) 12 + 568: 16(float) CompositeExtract 566 0 Store 567 568 - 569: 538(ptr) AccessChain 530(outFragColor) 25 - 570: 16(float) CompositeExtract 564 2 + 569: 552(ptr) AccessChain 544(outFragColor) 45 + 570: 16(float) CompositeExtract 566 1 Store 569 570 - 571: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 572 572 12 12 - Branch 525 - 523: Label - 574: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 575: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 576 576 12 12 - 577: 19(fvec4) Load 497(albedo) - 578: 70(fvec3) VectorShuffle 577 577 0 1 2 - 579: 538(ptr) AccessChain 530(outFragColor) 12 - 580: 16(float) CompositeExtract 578 0 - Store 579 580 - 581: 538(ptr) AccessChain 530(outFragColor) 41 - 582: 16(float) CompositeExtract 578 1 - Store 581 582 - 583: 538(ptr) AccessChain 530(outFragColor) 25 - 584: 16(float) CompositeExtract 578 2 - Store 583 584 - 585: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 586 586 12 12 - Branch 525 - 524: Label - 588: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 589: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 590 590 12 12 - 591: 19(fvec4) Load 497(albedo) - 592: 70(fvec3) VectorShuffle 591 591 3 3 3 - 593: 538(ptr) AccessChain 530(outFragColor) 12 - 594: 16(float) CompositeExtract 592 0 - Store 593 594 - 595: 538(ptr) AccessChain 530(outFragColor) 41 - 596: 16(float) CompositeExtract 592 1 - Store 595 596 - 597: 538(ptr) AccessChain 530(outFragColor) 25 - 598: 16(float) CompositeExtract 592 2 - Store 597 598 - 599: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 600 600 12 12 - Branch 525 - 525: Label - 603: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 604: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 605 605 12 12 - 606: 538(ptr) AccessChain 530(outFragColor) 13 - Store 606 112 - 607: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 608 608 12 12 + 571: 552(ptr) AccessChain 544(outFragColor) 28 + 572: 16(float) CompositeExtract 566 2 + Store 571 572 + 573: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 574 574 12 12 + Branch 538 + 535: Label + 576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 577: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 578 578 12 12 + 579: 74(fvec3) Load 496(normal) + 580: 552(ptr) AccessChain 544(outFragColor) 12 + 581: 16(float) CompositeExtract 579 0 + Store 580 581 + 582: 552(ptr) AccessChain 544(outFragColor) 45 + 583: 16(float) CompositeExtract 579 1 + Store 582 583 + 584: 552(ptr) AccessChain 544(outFragColor) 28 + 585: 16(float) CompositeExtract 579 2 + Store 584 585 + 586: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 587 587 12 12 + Branch 538 + 536: Label + 589: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 590: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 591 591 12 12 + 592: 19(fvec4) Load 509(albedo) + 593: 74(fvec3) VectorShuffle 592 592 0 1 2 + 594: 552(ptr) AccessChain 544(outFragColor) 12 + 595: 16(float) CompositeExtract 593 0 + Store 594 595 + 596: 552(ptr) AccessChain 544(outFragColor) 45 + 597: 16(float) CompositeExtract 593 1 + Store 596 597 + 598: 552(ptr) AccessChain 544(outFragColor) 28 + 599: 16(float) CompositeExtract 593 2 + Store 598 599 + 600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 601 601 12 12 + Branch 538 + 537: Label + 603: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 604: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 605 605 12 12 + 606: 19(fvec4) Load 509(albedo) + 607: 74(fvec3) VectorShuffle 606 606 3 3 3 + 608: 552(ptr) AccessChain 544(outFragColor) 12 + 609: 16(float) CompositeExtract 607 0 + Store 608 609 + 610: 552(ptr) AccessChain 544(outFragColor) 45 + 611: 16(float) CompositeExtract 607 1 + Store 610 611 + 612: 552(ptr) AccessChain 544(outFragColor) 28 + 613: 16(float) CompositeExtract 607 2 + Store 612 613 + 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 615 615 12 12 + Branch 538 + 538: Label + 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 619: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 620 620 12 12 + 621: 552(ptr) AccessChain 544(outFragColor) 13 + Store 621 118 + 622: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 623 623 12 12 Return - 514: 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 - 615: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 614 613(fragcolor) 47 - 616: 19(fvec4) Load 497(albedo) - 617: 70(fvec3) VectorShuffle 616 616 0 1 2 - 619: 70(fvec3) VectorTimesScalar 617 618 - Store 613(fragcolor) 619 - 620: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 621 621 12 12 - 625: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 623 622(N) 47 - 626: 70(fvec3) Load 484(normal) - 627: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 626 - Store 622(N) 627 - 628: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 629 629 12 12 - 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 631 630(i) 47 - Store 630(i) 104 - Branch 633 - 633: Label - 637: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 629 629 12 12 - LoopMerge 635 636 None - Branch 639 - 639: Label - 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 629 629 12 12 - 642: 96(int) Load 630(i) - 643: 138(bool) SLessThan 642 381 - BranchConditional 643 634 635 - 634: Label - 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 645: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 646 646 12 12 - 650: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 648 647(L) 47 - 651: 96(int) Load 630(i) - 653: 652(ptr) AccessChain 419(ubo) 280 651 104 - 654: 19(fvec4) Load 653 - 655: 70(fvec3) VectorShuffle 654 654 0 1 2 - 656: 70(fvec3) Load 462(fragPos) - 657: 70(fvec3) FSub 655 656 - Store 647(L) 657 - 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 659 659 12 12 - 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 661 660(dist) 47 - 663: 70(fvec3) Load 647(L) - 664: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 663 - Store 660(dist) 664 - 665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 666 666 12 12 - 667: 70(fvec3) Load 647(L) - 668: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 667 - Store 647(L) 668 - 669: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 670 670 12 12 - 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 672 671(V) 47 - 675: 652(ptr) AccessChain 419(ubo) 104 - 676: 19(fvec4) Load 675 - 677: 70(fvec3) VectorShuffle 676 676 0 1 2 - 678: 70(fvec3) Load 462(fragPos) - 679: 70(fvec3) FSub 677 678 - Store 671(V) 679 - 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 681 681 12 12 - 682: 70(fvec3) Load 671(V) - 683: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 682 - Store 671(V) 683 - 684: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 685 685 12 12 - 689: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 687 686(lightCosInnerAngle) 47 - Store 686(lightCosInnerAngle) 690 - 691: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 692 692 12 12 - 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 694 693(lightCosOuterAngle) 47 - Store 693(lightCosOuterAngle) 697 - 698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 699 699 12 12 - 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 701 700(lightRange) 47 - Store 700(lightRange) 704 - 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 706 706 12 12 - 710: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 708 707(dir) 47 - 711: 96(int) Load 630(i) - 712: 652(ptr) AccessChain 419(ubo) 280 711 104 - 713: 19(fvec4) Load 712 - 714: 70(fvec3) VectorShuffle 713 713 0 1 2 - 715: 96(int) Load 630(i) - 716: 652(ptr) AccessChain 419(ubo) 280 715 280 - 717: 19(fvec4) Load 716 - 718: 70(fvec3) VectorShuffle 717 717 0 1 2 - 719: 70(fvec3) FSub 714 718 - 720: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 719 - Store 707(dir) 720 - 721: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 722 722 12 12 - 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 724 723(cosDir) 47 - 727: 70(fvec3) Load 647(L) - 728: 70(fvec3) Load 707(dir) - 729: 16(float) Dot 727 728 - Store 723(cosDir) 729 - 730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 731 731 12 12 - 735: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 733 732(spotEffect) 47 - 736: 16(float) Load 693(lightCosOuterAngle) - 737: 16(float) Load 686(lightCosInnerAngle) - 738: 16(float) Load 723(cosDir) - 739: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 736 737 738 - Store 732(spotEffect) 739 - 740: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 741 741 12 12 - 745: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 743 742(heightAttenuation) 47 - 746: 16(float) Load 700(lightRange) - 747: 16(float) Load 660(dist) - 748: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 746 190 747 - Store 742(heightAttenuation) 748 - 749: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 750 750 12 12 - 754: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 752 751(NdotL) 47 - 755: 70(fvec3) Load 622(N) - 756: 70(fvec3) Load 647(L) - 757: 16(float) Dot 755 756 - 758: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 190 757 - Store 751(NdotL) 758 - 759: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 760 760 12 12 - 764: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 762 761(diff) 47 - 765: 16(float) Load 751(NdotL) - 766: 70(fvec3) CompositeConstruct 765 765 765 - Store 761(diff) 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(R) 47 - 773: 70(fvec3) Load 647(L) - 774: 70(fvec3) FNegate 773 - 775: 70(fvec3) Load 622(N) - 776: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 774 775 - Store 769(R) 776 - 777: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 778 778 12 12 - 782: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 780 779(NdotR) 47 - 783: 70(fvec3) Load 769(R) - 784: 70(fvec3) Load 671(V) - 785: 16(float) Dot 783 784 - 786: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 190 785 - Store 779(NdotR) 786 - 787: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 788 788 12 12 - 792: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 790 789(spec) 47 - 793: 16(float) Load 779(NdotR) - 795: 16(float) ExtInst 3(GLSL.std.450) 26(Pow) 793 794 - 796: 23(ptr) AccessChain 497(albedo) 13 - 797: 16(float) Load 796 - 798: 16(float) FMul 795 797 - 800: 16(float) FMul 798 799 - 801: 70(fvec3) CompositeConstruct 800 800 800 - Store 789(spec) 801 - 802: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 803 803 12 12 - 804: 70(fvec3) Load 761(diff) - 805: 70(fvec3) Load 789(spec) - 806: 70(fvec3) FAdd 804 805 - 807: 16(float) Load 732(spotEffect) - 808: 70(fvec3) VectorTimesScalar 806 807 - 809: 16(float) Load 742(heightAttenuation) - 810: 70(fvec3) VectorTimesScalar 808 809 - 811: 16(float) CompositeExtract 810 0 - 812: 16(float) CompositeExtract 810 1 - 813: 16(float) CompositeExtract 810 2 - 814: 70(fvec3) CompositeConstruct 811 812 813 - 815: 96(int) Load 630(i) - 817: 652(ptr) AccessChain 419(ubo) 280 815 816 - 818: 19(fvec4) Load 817 - 819: 70(fvec3) VectorShuffle 818 818 0 1 2 - 820: 70(fvec3) FMul 814 819 - 821: 19(fvec4) Load 497(albedo) - 822: 70(fvec3) VectorShuffle 821 821 0 1 2 - 823: 70(fvec3) FMul 820 822 - 824: 70(fvec3) Load 613(fragcolor) - 825: 70(fvec3) FAdd 824 823 - Store 613(fragcolor) 825 - Branch 636 - 636: Label - 826: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 827: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 629 629 12 12 - 828: 96(int) Load 630(i) - 829: 96(int) IAdd 828 280 - Store 630(i) 829 - Branch 633 - 635: Label - 830: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 831: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 832 832 12 12 - 833: 509(ptr) AccessChain 419(ubo) 816 - 834: 96(int) Load 833 - 835: 138(bool) SGreaterThan 834 104 - SelectionMerge 837 None - BranchConditional 835 836 837 - 836: 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 - 842: 70(fvec3) Load 613(fragcolor) - Store 841(param) 842 - 844: 70(fvec3) Load 462(fragPos) - Store 843(param) 844 - 845: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 841(param) 843(param) - Store 613(fragcolor) 845 - Branch 837 - 837: Label - 846: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 91 - 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 848 848 12 12 - 849: 70(fvec3) Load 613(fragcolor) - 850: 16(float) CompositeExtract 849 0 - 851: 16(float) CompositeExtract 849 1 - 852: 16(float) CompositeExtract 849 2 - 853: 19(fvec4) CompositeConstruct 850 851 852 112 - Store 530(outFragColor) 853 + 527: Label + 625: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 626: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 627 627 12 12 + 630: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 629 628(fragcolor) 51 + 631: 19(fvec4) Load 509(albedo) + 632: 74(fvec3) VectorShuffle 631 631 0 1 2 + 634: 74(fvec3) VectorTimesScalar 632 633 + Store 628(fragcolor) 634 + 635: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 636 636 12 12 + 640: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 638 637(N) 51 + 641: 74(fvec3) Load 496(normal) + 642: 74(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 641 + Store 637(N) 642 + 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 644 644 12 12 + 647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 646 645(i) 51 + Store 645(i) 110 + Branch 648 + 648: Label + 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 653: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 644 644 12 12 + LoopMerge 650 651 None + Branch 654 + 654: Label + 655: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 644 644 12 12 + 657: 101(int) Load 645(i) + 658: 144(bool) SLessThan 657 390 + BranchConditional 658 649 650 + 649: Label + 659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 660: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 661 661 12 12 + 665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 663 662(L) 51 + 666: 101(int) Load 645(i) + 669: 667(ptr) AccessChain 428(ubo) 289 666 110 + 670: 19(fvec4) Load 669 + 671: 74(fvec3) VectorShuffle 670 670 0 1 2 + 672: 74(fvec3) Load 472(fragPos) + 673: 74(fvec3) FSub 671 672 + Store 662(L) 673 + 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 675 675 12 12 + 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 677 676(dist) 51 + 679: 74(fvec3) Load 662(L) + 680: 16(float) ExtInst 3(GLSL.std.450) 66(Length) 679 + Store 676(dist) 680 + 681: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 682 682 12 12 + 683: 74(fvec3) Load 662(L) + 684: 74(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 683 + Store 662(L) 684 + 685: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 686 686 12 12 + 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 688 687(V) 51 + 691: 667(ptr) AccessChain 428(ubo) 110 + 692: 19(fvec4) Load 691 + 693: 74(fvec3) VectorShuffle 692 692 0 1 2 + 694: 74(fvec3) Load 472(fragPos) + 695: 74(fvec3) FSub 693 694 + Store 687(V) 695 + 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 697 697 12 12 + 698: 74(fvec3) Load 687(V) + 699: 74(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 698 + Store 687(V) 699 + 700: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 701 701 12 12 + 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 703 702(lightCosInnerAngle) 51 + Store 702(lightCosInnerAngle) 706 + 707: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 708 708 12 12 + 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 710 709(lightCosOuterAngle) 51 + Store 709(lightCosOuterAngle) 713 + 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 715 715 12 12 + 719: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 717 716(lightRange) 51 + Store 716(lightRange) 720 + 721: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 722 722 12 12 + 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 724 723(dir) 51 + 727: 101(int) Load 645(i) + 728: 667(ptr) AccessChain 428(ubo) 289 727 110 + 729: 19(fvec4) Load 728 + 730: 74(fvec3) VectorShuffle 729 729 0 1 2 + 731: 101(int) Load 645(i) + 732: 667(ptr) AccessChain 428(ubo) 289 731 289 + 733: 19(fvec4) Load 732 + 734: 74(fvec3) VectorShuffle 733 733 0 1 2 + 735: 74(fvec3) FSub 730 734 + 736: 74(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 735 + Store 723(dir) 736 + 737: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 738 738 12 12 + 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 740 739(cosDir) 51 + 743: 74(fvec3) Load 662(L) + 744: 74(fvec3) Load 723(dir) + 745: 16(float) Dot 743 744 + Store 739(cosDir) 745 + 746: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 747 747 12 12 + 751: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 749 748(spotEffect) 51 + 752: 16(float) Load 709(lightCosOuterAngle) + 753: 16(float) Load 702(lightCosInnerAngle) + 754: 16(float) Load 739(cosDir) + 755: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 752 753 754 + Store 748(spotEffect) 755 + 756: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 757 757 12 12 + 761: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 759 758(heightAttenuation) 51 + 762: 16(float) Load 716(lightRange) + 763: 16(float) Load 676(dist) + 764: 16(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 762 197 763 + Store 758(heightAttenuation) 764 + 765: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 766 766 12 12 + 770: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 768 767(NdotL) 51 + 771: 74(fvec3) Load 637(N) + 772: 74(fvec3) Load 662(L) + 773: 16(float) Dot 771 772 + 774: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 197 773 + Store 767(NdotL) 774 + 775: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 776 776 12 12 + 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 778 777(diff) 51 + 781: 16(float) Load 767(NdotL) + 782: 74(fvec3) CompositeConstruct 781 781 781 + Store 777(diff) 782 + 783: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 784 784 12 12 + 788: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 786 785(R) 51 + 789: 74(fvec3) Load 662(L) + 790: 74(fvec3) FNegate 789 + 791: 74(fvec3) Load 637(N) + 792: 74(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 790 791 + Store 785(R) 792 + 793: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 794 794 12 12 + 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 796 795(NdotR) 51 + 799: 74(fvec3) Load 785(R) + 800: 74(fvec3) Load 687(V) + 801: 16(float) Dot 799 800 + 802: 16(float) ExtInst 3(GLSL.std.450) 40(FMax) 197 801 + Store 795(NdotR) 802 + 803: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 804 804 12 12 + 808: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 806 805(spec) 51 + 809: 16(float) Load 795(NdotR) + 811: 16(float) ExtInst 3(GLSL.std.450) 26(Pow) 809 810 + 812: 25(ptr) AccessChain 509(albedo) 13 + 813: 16(float) Load 812 + 814: 16(float) FMul 811 813 + 816: 16(float) FMul 814 815 + 817: 74(fvec3) CompositeConstruct 816 816 816 + Store 805(spec) 817 + 818: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 819 819 12 12 + 820: 74(fvec3) Load 777(diff) + 821: 74(fvec3) Load 805(spec) + 822: 74(fvec3) FAdd 820 821 + 823: 16(float) Load 748(spotEffect) + 824: 74(fvec3) VectorTimesScalar 822 823 + 825: 16(float) Load 758(heightAttenuation) + 826: 74(fvec3) VectorTimesScalar 824 825 + 827: 16(float) CompositeExtract 826 0 + 828: 16(float) CompositeExtract 826 1 + 829: 16(float) CompositeExtract 826 2 + 830: 74(fvec3) CompositeConstruct 827 828 829 + 831: 101(int) Load 645(i) + 833: 667(ptr) AccessChain 428(ubo) 289 831 832 + 834: 19(fvec4) Load 833 + 835: 74(fvec3) VectorShuffle 834 834 0 1 2 + 836: 74(fvec3) FMul 830 835 + 837: 19(fvec4) Load 509(albedo) + 838: 74(fvec3) VectorShuffle 837 837 0 1 2 + 839: 74(fvec3) FMul 836 838 + 840: 74(fvec3) Load 628(fragcolor) + 841: 74(fvec3) FAdd 840 839 + Store 628(fragcolor) 841 + Branch 651 + 651: Label + 842: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 843: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 644 644 12 12 + 844: 101(int) Load 645(i) + 845: 101(int) IAdd 844 289 + Store 645(i) 845 + Branch 648 + 650: Label + 846: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 847: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 848 848 12 12 + 849: 521(ptr) AccessChain 428(ubo) 832 + 850: 101(int) Load 849 + 851: 144(bool) SGreaterThan 850 110 + SelectionMerge 853 None + BranchConditional 851 852 853 + 852: Label + 854: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 855: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 856 856 12 12 + 858: 74(fvec3) Load 628(fragcolor) + Store 857(param) 858 + 860: 74(fvec3) Load 472(fragPos) + Store 859(param) 860 + 861: 74(fvec3) FunctionCall 82(shadow(vf3;vf3;) 857(param) 859(param) + Store 628(fragcolor) 861 + Branch 853 + 853: Label + 862: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 + 863: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 864 864 12 12 + 865: 74(fvec3) Load 628(fragcolor) + 866: 16(float) CompositeExtract 865 0 + 867: 16(float) CompositeExtract 865 1 + 868: 16(float) CompositeExtract 865 2 + 869: 19(fvec4) CompositeConstruct 866 867 868 118 + Store 544(outFragColor) 869 Return FunctionEnd Line 1 59 51 -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 - 158(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 - 141: 23(ptr) AccessChain 115(shadowCoord) 25 - 142: 16(float) Load 141 - 144: 138(bool) FOrdGreaterThan 142 143 - 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 - 151: 138(bool) FOrdLessThan 150 112 - Branch 146 - 146: Label - 152: 138(bool) Phi 144 34 151 145 - SelectionMerge 154 None - BranchConditional 152 153 154 - 153: Label - 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 157 157 12 12 - 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 159 158(dist) 47 - 175: 167 Load 172(samplerShadowMap) - 176: 19(fvec4) Load 115(shadowCoord) - 177: 24(fvec2) VectorShuffle 176 176 0 1 - 178: 24(fvec2) Load 32(offset) - 179: 24(fvec2) FAdd 177 178 - 180: 16(float) Load 31(layer) - 181: 16(float) CompositeExtract 179 0 - 182: 16(float) CompositeExtract 179 1 - 183: 70(fvec3) CompositeConstruct 181 182 180 - 184: 19(fvec4) ImageSampleImplicitLod 175 183 - 185: 16(float) CompositeExtract 184 0 - Store 158(dist) 185 - 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 187 187 12 12 - 188: 23(ptr) AccessChain 115(shadowCoord) 13 - 189: 16(float) Load 188 - 191: 138(bool) FOrdGreaterThan 189 190 - SelectionMerge 193 None - BranchConditional 191 192 193 - 192: Label - 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 187 187 12 12 - 196: 16(float) Load 158(dist) - 197: 23(ptr) AccessChain 115(shadowCoord) 25 - 198: 16(float) Load 197 - 199: 138(bool) FOrdLessThan 196 198 - Branch 193 - 193: Label - 200: 138(bool) Phi 191 153 199 192 - SelectionMerge 202 None - BranchConditional 200 201 202 - 201: Label - 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 205 205 12 12 - Store 109(shadow) 206 - Branch 202 - 202: Label - Branch 154 - 154: Label - 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36 - 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 209 209 12 12 - 210: 16(float) Load 109(shadow) - ReturnValue 210 +37(textureProj(vf4;f1;vf2;): 16(float) Function None 32 + 34(P): 22(ptr) FunctionParameter + 35(layer): 25(ptr) FunctionParameter + 36(offset): 30(ptr) FunctionParameter + 38: Label + 115(shadow): 25(ptr) Variable Function +121(shadowCoord): 22(ptr) Variable Function + 164(dist): 25(ptr) Variable Function + 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 43 43 12 12 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 34(P) 51 + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 35(layer) 51 + 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 55 36(offset) 51 + 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 40 37(textureProj(vf4;f1;vf2;) + 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40 + 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 114 114 12 12 + 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 116 115(shadow) 51 + Store 115(shadow) 118 + 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 120 120 12 12 + 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 122 121(shadowCoord) 51 + 125: 19(fvec4) Load 34(P) + 126: 25(ptr) AccessChain 34(P) 13 + 127: 16(float) Load 126 + 128: 19(fvec4) CompositeConstruct 127 127 127 127 + 129: 19(fvec4) FDiv 125 128 + Store 121(shadowCoord) 129 + 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 131 131 12 12 + 132: 19(fvec4) Load 121(shadowCoord) + 133: 27(fvec2) VectorShuffle 132 132 0 1 + 135: 27(fvec2) VectorTimesScalar 133 134 + 136: 27(fvec2) CompositeConstruct 134 134 + 137: 27(fvec2) FAdd 135 136 + 138: 25(ptr) AccessChain 121(shadowCoord) 12 + 139: 16(float) CompositeExtract 137 0 + Store 138 139 + 140: 25(ptr) AccessChain 121(shadowCoord) 45 + 141: 16(float) CompositeExtract 137 1 + Store 140 141 + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 143 143 12 12 + 147: 25(ptr) AccessChain 121(shadowCoord) 28 + 148: 16(float) Load 147 + 150: 144(bool) FOrdGreaterThan 148 149 + SelectionMerge 152 None + BranchConditional 150 151 152 + 151: Label + 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40 + 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 143 143 12 12 + 155: 25(ptr) AccessChain 121(shadowCoord) 28 + 156: 16(float) Load 155 + 157: 144(bool) FOrdLessThan 156 118 + Branch 152 + 152: Label + 158: 144(bool) Phi 150 38 157 151 + SelectionMerge 160 None + BranchConditional 158 159 160 + 159: Label + 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40 + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 163 163 12 12 + 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 165 164(dist) 51 + 182: 173 Load 179(samplerShadowMap) + 183: 19(fvec4) Load 121(shadowCoord) + 184: 27(fvec2) VectorShuffle 183 183 0 1 + 185: 27(fvec2) Load 36(offset) + 186: 27(fvec2) FAdd 184 185 + 187: 16(float) Load 35(layer) + 188: 16(float) CompositeExtract 186 0 + 189: 16(float) CompositeExtract 186 1 + 190: 74(fvec3) CompositeConstruct 188 189 187 + 191: 19(fvec4) ImageSampleImplicitLod 182 190 + 192: 16(float) CompositeExtract 191 0 + Store 164(dist) 192 + 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 194 194 12 12 + 195: 25(ptr) AccessChain 121(shadowCoord) 13 + 196: 16(float) Load 195 + 198: 144(bool) FOrdGreaterThan 196 197 + SelectionMerge 200 None + BranchConditional 198 199 200 + 199: Label + 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40 + 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 194 194 12 12 + 203: 16(float) Load 164(dist) + 204: 25(ptr) AccessChain 121(shadowCoord) 28 + 205: 16(float) Load 204 + 206: 144(bool) FOrdLessThan 203 205 + Branch 200 + 200: Label + 207: 144(bool) Phi 198 159 206 199 + SelectionMerge 209 None + BranchConditional 207 208 209 + 208: Label + 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 212 212 12 12 + Store 115(shadow) 213 + Branch 209 + 209: Label + Branch 160 + 160: Label + 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40 + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 216 216 12 12 + 217: 16(float) Load 115(shadow) + ReturnValue 217 FunctionEnd Line 1 76 37 -58(filterPCF(vf4;f1;): 16(float) Function None 54 - 56(sc): 22(ptr) FunctionParameter - 57(layer): 23(ptr) FunctionParameter - 59: Label - 220(texDim): 219(ptr) Variable Function - 232(scale): 23(ptr) Variable Function - 239(dx): 23(ptr) Variable Function - 252(dy): 23(ptr) Variable Function -264(shadowFactor): 23(ptr) Variable Function - 270(count): 245(ptr) Variable Function - 276(range): 245(ptr) Variable Function - 283(x): 245(ptr) Variable Function - 304(y): 245(ptr) Variable Function - 334(param): 22(ptr) Variable Function - 336(param): 23(ptr) Variable Function - 338(param): 27(ptr) Variable Function - 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 62 62 12 12 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 65 56(sc) 47 - 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 68 57(layer) 47 - 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;) - 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 216 216 12 12 - 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 221 220(texDim) 47 - 224: 167 Load 172(samplerShadowMap) - 225: 162 Image 224 - 228: 226(ivec3) ImageQuerySizeLod 225 104 - 229: 217(ivec2) VectorShuffle 228 228 0 1 - Store 220(texDim) 229 - 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 231 231 12 12 - 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 233 232(scale) 47 - Store 232(scale) 236 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 238 238 12 12 - 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 240 239(dx) 47 - 243: 16(float) Load 232(scale) - 244: 16(float) FMul 243 112 - 246: 245(ptr) AccessChain 220(texDim) 12 - 247: 96(int) Load 246 - 248: 16(float) ConvertSToF 247 - 249: 16(float) FDiv 244 248 - Store 239(dx) 249 - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 251 251 12 12 - 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 253 252(dy) 47 - 256: 16(float) Load 232(scale) - 257: 16(float) FMul 256 112 - 258: 245(ptr) AccessChain 220(texDim) 41 - 259: 96(int) Load 258 - 260: 16(float) ConvertSToF 259 - 261: 16(float) FDiv 257 260 - Store 252(dy) 261 - 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 263 263 12 12 - 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 265 264(shadowFactor) 47 - Store 264(shadowFactor) 190 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 269 269 12 12 - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 271 270(count) 47 - Store 270(count) 104 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 275 275 12 12 - 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 277 276(range) 47 - Store 276(range) 280 - 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 282 282 12 12 - 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 284 283(x) 47 - 287: 96(int) Load 276(range) - 288: 96(int) SNegate 287 - Store 283(x) 288 - Branch 289 - 289: Label - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 282 282 12 12 - LoopMerge 291 292 None - Branch 295 - 295: Label - 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 282 282 12 12 - 298: 96(int) Load 283(x) - 299: 96(int) Load 276(range) - 300: 138(bool) SLessThanEqual 298 299 - BranchConditional 300 290 291 - 290: Label - 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 303 303 12 12 - 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(y) 47 - 308: 96(int) Load 276(range) - 309: 96(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) 37 303 303 12 12 - LoopMerge 312 313 None - Branch 316 - 316: Label - 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 303 303 12 12 - 319: 96(int) Load 304(y) - 320: 96(int) Load 276(range) - 321: 138(bool) SLessThanEqual 319 320 - BranchConditional 321 311 312 - 311: Label - 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 324 324 12 12 - 325: 16(float) Load 239(dx) - 326: 96(int) Load 283(x) - 327: 16(float) ConvertSToF 326 - 328: 16(float) FMul 325 327 - 329: 16(float) Load 252(dy) - 330: 96(int) Load 304(y) - 331: 16(float) ConvertSToF 330 - 332: 16(float) FMul 329 331 - 333: 24(fvec2) CompositeConstruct 328 332 - 335: 19(fvec4) Load 56(sc) - Store 334(param) 335 - 337: 16(float) Load 57(layer) - Store 336(param) 337 - Store 338(param) 333 - 339: 16(float) FunctionCall 33(textureProj(vf4;f1;vf2;) 334(param) 336(param) 338(param) - 340: 16(float) Load 264(shadowFactor) - 341: 16(float) FAdd 340 339 - Store 264(shadowFactor) 341 - 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 343 343 12 12 - 344: 96(int) Load 270(count) - 345: 96(int) IAdd 344 280 - Store 270(count) 345 - Branch 313 - 313: Label - 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 303 303 12 12 - 348: 96(int) Load 304(y) - 349: 96(int) IAdd 348 280 - Store 304(y) 349 - Branch 310 - 312: Label - Branch 292 - 292: Label - 350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 282 282 12 12 - 352: 96(int) Load 283(x) - 353: 96(int) IAdd 352 280 - Store 283(x) 353 - Branch 289 - 291: Label - 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 356 356 12 12 - 357: 16(float) Load 264(shadowFactor) - 358: 96(int) Load 270(count) - 359: 16(float) ConvertSToF 358 - 360: 16(float) FDiv 357 359 - ReturnValue 360 +62(filterPCF(vf4;f1;): 16(float) Function None 58 + 60(sc): 22(ptr) FunctionParameter + 61(layer): 25(ptr) FunctionParameter + 63: Label + 228(texDim): 226(ptr) Variable Function + 240(scale): 25(ptr) Variable Function + 247(dx): 25(ptr) Variable Function + 261(dy): 25(ptr) Variable Function +273(shadowFactor): 25(ptr) Variable Function + 279(count): 253(ptr) Variable Function + 285(range): 253(ptr) Variable Function + 292(x): 253(ptr) Variable Function + 313(y): 253(ptr) Variable Function + 343(param): 22(ptr) Variable Function + 345(param): 25(ptr) Variable Function + 347(param): 30(ptr) Variable Function + 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 66 66 12 12 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 69 60(sc) 51 + 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 61(layer) 51 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 65 62(filterPCF(vf4;f1;) + 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 223 223 12 12 + 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 229 228(texDim) 51 + 232: 173 Load 179(samplerShadowMap) + 233: 168 Image 232 + 236: 234(ivec3) ImageQuerySizeLod 233 110 + 237: 224(ivec2) VectorShuffle 236 236 0 1 + Store 228(texDim) 237 + 238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 239 239 12 12 + 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 241 240(scale) 51 + Store 240(scale) 244 + 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 246 246 12 12 + 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 248 247(dx) 51 + 251: 16(float) Load 240(scale) + 252: 16(float) FMul 251 118 + 255: 253(ptr) AccessChain 228(texDim) 12 + 256: 101(int) Load 255 + 257: 16(float) ConvertSToF 256 + 258: 16(float) FDiv 252 257 + Store 247(dx) 258 + 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 260 260 12 12 + 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 262 261(dy) 51 + 265: 16(float) Load 240(scale) + 266: 16(float) FMul 265 118 + 267: 253(ptr) AccessChain 228(texDim) 45 + 268: 101(int) Load 267 + 269: 16(float) ConvertSToF 268 + 270: 16(float) FDiv 266 269 + Store 261(dy) 270 + 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 272 272 12 12 + 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 274 273(shadowFactor) 51 + Store 273(shadowFactor) 197 + 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 278 278 12 12 + 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 280 279(count) 51 + Store 279(count) 110 + 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 284 284 12 12 + 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 286 285(range) 51 + Store 285(range) 289 + 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 291 291 12 12 + 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 293 292(x) 51 + 296: 101(int) Load 285(range) + 297: 101(int) SNegate 296 + Store 292(x) 297 + Branch 298 + 298: Label + 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 291 291 12 12 + LoopMerge 300 301 None + Branch 304 + 304: Label + 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 291 291 12 12 + 307: 101(int) Load 292(x) + 308: 101(int) Load 285(range) + 309: 144(bool) SLessThanEqual 307 308 + BranchConditional 309 299 300 + 299: Label + 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 312 312 12 12 + 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 314 313(y) 51 + 317: 101(int) Load 285(range) + 318: 101(int) SNegate 317 + Store 313(y) 318 + Branch 319 + 319: Label + 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 312 312 12 12 + LoopMerge 321 322 None + Branch 325 + 325: Label + 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 312 312 12 12 + 328: 101(int) Load 313(y) + 329: 101(int) Load 285(range) + 330: 144(bool) SLessThanEqual 328 329 + BranchConditional 330 320 321 + 320: Label + 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 333 333 12 12 + 334: 16(float) Load 247(dx) + 335: 101(int) Load 292(x) + 336: 16(float) ConvertSToF 335 + 337: 16(float) FMul 334 336 + 338: 16(float) Load 261(dy) + 339: 101(int) Load 313(y) + 340: 16(float) ConvertSToF 339 + 341: 16(float) FMul 338 340 + 342: 27(fvec2) CompositeConstruct 337 341 + 344: 19(fvec4) Load 60(sc) + Store 343(param) 344 + 346: 16(float) Load 61(layer) + Store 345(param) 346 + Store 347(param) 342 + 348: 16(float) FunctionCall 37(textureProj(vf4;f1;vf2;) 343(param) 345(param) 347(param) + 349: 16(float) Load 273(shadowFactor) + 350: 16(float) FAdd 349 348 + Store 273(shadowFactor) 350 + 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 352 352 12 12 + 353: 101(int) Load 279(count) + 354: 101(int) IAdd 353 289 + Store 279(count) 354 + Branch 322 + 322: Label + 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 312 312 12 12 + 357: 101(int) Load 313(y) + 358: 101(int) IAdd 357 289 + Store 313(y) 358 + Branch 319 + 321: Label + Branch 301 + 301: Label + 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 291 291 12 12 + 361: 101(int) Load 292(x) + 362: 101(int) IAdd 361 289 + Store 292(x) 362 + Branch 298 + 300: Label + 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 365 365 12 12 + 366: 16(float) Load 273(shadowFactor) + 367: 101(int) Load 279(count) + 368: 16(float) ConvertSToF 367 + 369: 16(float) FDiv 366 368 + ReturnValue 369 FunctionEnd Line 1 99 41 -77(shadow(vf3;vf3;): 70(fvec3) Function None 73 - 75(fragcolor): 72(ptr) FunctionParameter - 76(fragpos): 72(ptr) FunctionParameter - 78: Label - 367(i): 245(ptr) Variable Function - 386(shadowClip): 22(ptr) Variable Function -434(shadowFactor): 23(ptr) Variable Function - 439(param): 22(ptr) Variable Function - 441(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 - 363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;) - 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 366 366 12 12 - 370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 368 367(i) 47 - Store 367(i) 104 - Branch 371 - 371: Label - 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 366 366 12 12 - LoopMerge 373 374 None - Branch 377 - 377: Label - 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 366 366 12 12 - 380: 96(int) Load 367(i) - 382: 138(bool) SLessThan 380 381 - BranchConditional 382 372 373 - 372: Label - 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 385 385 12 12 - 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 387 386(shadowClip) 47 - 422: 96(int) Load 367(i) - 424: 423(ptr) AccessChain 419(ubo) 280 422 381 - 425: 390 Load 424 - 426: 70(fvec3) Load 76(fragpos) - 427: 16(float) CompositeExtract 426 0 - 428: 16(float) CompositeExtract 426 1 - 429: 16(float) CompositeExtract 426 2 - 430: 19(fvec4) CompositeConstruct 427 428 429 112 - 431: 19(fvec4) MatrixTimesVector 425 430 - Store 386(shadowClip) 431 - 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 433 433 12 12 - 436: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 435 434(shadowFactor) 47 - 437: 96(int) Load 367(i) - 438: 16(float) ConvertSToF 437 - 440: 19(fvec4) Load 386(shadowClip) - Store 439(param) 440 - Store 441(param) 438 - 442: 16(float) FunctionCall 58(filterPCF(vf4;f1;) 439(param) 441(param) - Store 434(shadowFactor) 442 - 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 444 444 12 12 - 445: 16(float) Load 434(shadowFactor) - 446: 70(fvec3) Load 75(fragcolor) - 447: 70(fvec3) VectorTimesScalar 446 445 - Store 75(fragcolor) 447 - Branch 374 - 374: Label - 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 366 366 12 12 - 450: 96(int) Load 367(i) - 451: 96(int) IAdd 450 280 - Store 367(i) 451 - Branch 371 - 373: Label - 452: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 454 454 12 12 - 455: 70(fvec3) Load 75(fragcolor) - ReturnValue 455 +82(shadow(vf3;vf3;): 74(fvec3) Function None 78 + 80(fragcolor): 76(ptr) FunctionParameter + 81(fragpos): 76(ptr) FunctionParameter + 83: Label + 376(i): 253(ptr) Variable Function + 395(shadowClip): 22(ptr) Variable Function +444(shadowFactor): 25(ptr) Variable Function + 449(param): 22(ptr) Variable Function + 451(param): 25(ptr) Variable Function + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 86 86 12 12 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 80(fragcolor) 51 + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 81(fragpos) 51 + 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 85 82(shadow(vf3;vf3;) + 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 375 375 12 12 + 379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 377 376(i) 51 + Store 376(i) 110 + Branch 380 + 380: Label + 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 375 375 12 12 + LoopMerge 382 383 None + Branch 386 + 386: Label + 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 375 375 12 12 + 389: 101(int) Load 376(i) + 391: 144(bool) SLessThan 389 390 + BranchConditional 391 381 382 + 381: Label + 392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 394 394 12 12 + 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 396 395(shadowClip) 51 + 431: 101(int) Load 376(i) + 434: 432(ptr) AccessChain 428(ubo) 289 431 390 + 435: 399 Load 434 + 436: 74(fvec3) Load 81(fragpos) + 437: 16(float) CompositeExtract 436 0 + 438: 16(float) CompositeExtract 436 1 + 439: 16(float) CompositeExtract 436 2 + 440: 19(fvec4) CompositeConstruct 437 438 439 118 + 441: 19(fvec4) MatrixTimesVector 435 440 + Store 395(shadowClip) 441 + 442: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 443 443 12 12 + 446: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 445 444(shadowFactor) 51 + 447: 101(int) Load 376(i) + 448: 16(float) ConvertSToF 447 + 450: 19(fvec4) Load 395(shadowClip) + Store 449(param) 450 + Store 451(param) 448 + 452: 16(float) FunctionCall 62(filterPCF(vf4;f1;) 449(param) 451(param) + Store 444(shadowFactor) 452 + 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 454 454 12 12 + 455: 16(float) Load 444(shadowFactor) + 456: 74(fvec3) Load 80(fragcolor) + 457: 74(fvec3) VectorTimesScalar 456 455 + Store 80(fragcolor) 457 + Branch 383 + 383: Label + 458: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 375 375 12 12 + 460: 101(int) Load 376(i) + 461: 101(int) IAdd 460 289 + Store 376(i) 461 + Branch 380 + 382: Label + 462: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 41 464 464 12 12 + 465: 74(fvec3) Load 80(fragcolor) + ReturnValue 465 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.geom.out b/Test/baseResults/spv.debuginfo.glsl.geom.out index 51a67155..eff5627f 100644 --- a/Test/baseResults/spv.debuginfo.glsl.geom.out +++ b/Test/baseResults/spv.debuginfo.glsl.geom.out @@ -1,7 +1,7 @@ spv.debuginfo.glsl.geom // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 257 +// Id's are bound by 272 Capability Geometry Capability MultiViewport @@ -9,7 +9,7 @@ spv.debuginfo.glsl.geom 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Geometry 14 "main" 63 95 114 124 127 158 197 206 223 235 241 244 + EntryPoint Geometry 14 "main" 66 99 120 131 134 167 209 218 236 250 256 259 ExecutionMode 14 Triangles ExecutionMode 14 Invocations 2 ExecutionMode 14 OutputTriangleStrip @@ -26,97 +26,97 @@ spv.debuginfo.glsl.geom #line 1 " 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" + 37: String "i" + 53: String "bool" + 60: String "float" + 68: String "outNormal" + 81: String "projection" + 84: String "modelview" + 87: String "lightPos" + 90: String "UBO" + 95: String "ubo" + 101: String "gl_InvocationID" + 122: String "inNormal" + 133: String "outColor" + 136: String "inColor" + 146: String "pos" + 152: String "gl_Position" + 155: String "gl_PointSize" + 158: String "gl_CullDistance" + 162: String "gl_PerVertex" + 169: String "gl_in" + 179: String "worldPos" + 192: String "lPos" + 211: String "outLightVec" + 220: String "outViewVec" + 252: String "gl_ViewportIndex" + 258: String "gl_PrimitiveID" + 261: String "gl_PrimitiveIDIn" SourceExtension "GL_ARB_viewport_array" Name 14 "main" - Name 33 "i" - Name 63 "outNormal" - Name 76 "UBO" - MemberName 76(UBO) 0 "projection" - MemberName 76(UBO) 1 "modelview" - MemberName 76(UBO) 2 "lightPos" - Name 90 "ubo" - Name 95 "gl_InvocationID" - Name 114 "inNormal" - Name 124 "outColor" - Name 127 "inColor" - Name 136 "pos" - Name 142 "gl_PerVertex" - MemberName 142(gl_PerVertex) 0 "gl_Position" - MemberName 142(gl_PerVertex) 1 "gl_PointSize" - MemberName 142(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 142(gl_PerVertex) 3 "gl_CullDistance" - Name 158 "gl_in" - Name 167 "worldPos" - Name 179 "lPos" - Name 197 "outLightVec" - Name 206 "outViewVec" - Name 214 "gl_PerVertex" - MemberName 214(gl_PerVertex) 0 "gl_Position" - MemberName 214(gl_PerVertex) 1 "gl_PointSize" - MemberName 214(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 214(gl_PerVertex) 3 "gl_CullDistance" - Name 223 "" - Name 235 "gl_ViewportIndex" - Name 241 "gl_PrimitiveID" - Name 244 "gl_PrimitiveIDIn" - Decorate 63(outNormal) Location 0 - Decorate 72 ArrayStride 64 - 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 + Name 35 "i" + Name 66 "outNormal" + Name 79 "UBO" + MemberName 79(UBO) 0 "projection" + MemberName 79(UBO) 1 "modelview" + MemberName 79(UBO) 2 "lightPos" + Name 93 "ubo" + Name 99 "gl_InvocationID" + Name 120 "inNormal" + Name 131 "outColor" + Name 134 "inColor" + Name 144 "pos" + Name 150 "gl_PerVertex" + MemberName 150(gl_PerVertex) 0 "gl_Position" + MemberName 150(gl_PerVertex) 1 "gl_PointSize" + MemberName 150(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 150(gl_PerVertex) 3 "gl_CullDistance" + Name 167 "gl_in" + Name 177 "worldPos" + Name 190 "lPos" + Name 209 "outLightVec" + Name 218 "outViewVec" + Name 226 "gl_PerVertex" + MemberName 226(gl_PerVertex) 0 "gl_Position" + MemberName 226(gl_PerVertex) 1 "gl_PointSize" + MemberName 226(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 226(gl_PerVertex) 3 "gl_CullDistance" + Name 236 "" + Name 250 "gl_ViewportIndex" + Name 256 "gl_PrimitiveID" + Name 259 "gl_PrimitiveIDIn" + Decorate 66(outNormal) Location 0 + Decorate 75 ArrayStride 64 + Decorate 77 ArrayStride 64 + MemberDecorate 79(UBO) 0 ColMajor + MemberDecorate 79(UBO) 0 Offset 0 + MemberDecorate 79(UBO) 0 MatrixStride 16 + MemberDecorate 79(UBO) 1 ColMajor + MemberDecorate 79(UBO) 1 Offset 128 + MemberDecorate 79(UBO) 1 MatrixStride 16 + MemberDecorate 79(UBO) 2 Offset 256 + Decorate 79(UBO) Block + Decorate 93(ubo) DescriptorSet 0 + Decorate 93(ubo) Binding 0 + Decorate 99(gl_InvocationID) BuiltIn InvocationId + Decorate 120(inNormal) Location 0 + Decorate 131(outColor) Location 1 + Decorate 134(inColor) Location 1 + MemberDecorate 150(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 150(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 150(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 150(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 150(gl_PerVertex) Block + Decorate 209(outLightVec) Location 3 + Decorate 218(outViewVec) Location 2 + MemberDecorate 226(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 226(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 226(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 226(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 226(gl_PerVertex) Block + Decorate 250(gl_ViewportIndex) BuiltIn ViewportIndex + Decorate 256(gl_PrimitiveID) BuiltIn PrimitiveId + Decorate 259(gl_PrimitiveIDIn) BuiltIn PrimitiveId 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -137,229 +137,244 @@ spv.debuginfo.glsl.geom 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 + 33: 7(int) Constant 7 + 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 33 12 + 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 37 31 18 28 12 17 23 + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 40: 29(int) Constant 0 + 51: 29(int) Constant 3 + 52: TypeBool + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 53 10 24 12 + 58: 7(int) Constant 51 + 59: TypeFloat 32 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 60 10 13 12 + 62: TypeVector 59(float) 3 + 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 61 13 + 64: TypePointer Output 62(fvec3) + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 13 12 + 66(outNormal): 64(ptr) Variable Output + 69: 7(int) Constant 8 + 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 68 63 18 58 12 21 68 66(outNormal) 69 + 70: TypeVector 59(float) 4 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 61 23 + 72: TypeMatrix 70(fvec4) 4 + 74: 52(bool) ConstantTrue + 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 71 23 74 + 75: TypeArray 72 24 + 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 73 24 + 77: TypeArray 72 24 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 73 24 + 79(UBO): TypeStruct 75 77 70(fvec4) + 82: 7(int) Constant 34 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 76 18 82 33 12 12 13 + 85: 7(int) Constant 35 + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 84 78 18 85 33 12 12 13 + 88: 7(int) Constant 36 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 87 71 18 88 33 12 12 13 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 90 22 18 58 12 21 90 12 13 80 83 86 + 91: TypePointer Uniform 79(UBO) + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 89 24 12 + 93(ubo): 91(ptr) Variable Uniform + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 95 89 18 58 12 21 95 93(ubo) 69 + 96: 29(int) Constant 1 + 97: TypePointer Input 29(int) + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 22 12 +99(gl_InvocationID): 97(ptr) Variable Input + 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 101 31 18 58 12 21 101 99(gl_InvocationID) 69 + 103: TypePointer Uniform 72 + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 73 24 12 + 107: TypeMatrix 62(fvec3) 3 + 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 63 13 74 + 116: TypeArray 62(fvec3) 13 + 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 63 13 + 118: TypePointer Input 116 + 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 117 22 12 + 120(inNormal): 118(ptr) Variable Input + 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 122 117 18 58 12 21 122 120(inNormal) 69 + 124: TypePointer Input 62(fvec3) + 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 22 12 + 130: 7(int) Constant 52 + 131(outColor): 64(ptr) Variable Output + 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 133 63 18 130 12 21 133 131(outColor) 69 + 134(inColor): 118(ptr) Variable Input + 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 117 18 130 12 21 136 134(inColor) 69 + 141: 7(int) Constant 54 + 142: TypePointer Function 70(fvec4) + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 33 12 + 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 146 71 18 141 12 17 23 + 148: TypeArray 59(float) 22 + 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 61 22 +150(gl_PerVertex): TypeStruct 70(fvec4) 59(float) 148 148 + 153: 7(int) Constant 23 + 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 71 18 24 153 12 12 13 + 156: 7(int) Constant 41 + 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 61 18 24 156 12 12 13 + 159: 7(int) Constant 84 + 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 24 159 12 12 13 + 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 24 159 12 12 13 + 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 22 18 141 12 21 162 12 13 151 154 157 160 + 163: TypeArray 150(gl_PerVertex) 13 + 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 161 13 + 165: TypePointer Input 163 + 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 22 12 + 167(gl_in): 165(ptr) Variable Input + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 169 164 18 141 12 21 169 167(gl_in) 69 + 171: TypePointer Input 70(fvec4) + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 22 12 + 176: 7(int) Constant 55 + 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 71 18 176 12 17 23 + 187: 7(int) Constant 57 + 188: TypePointer Function 62(fvec3) + 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 33 12 + 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 192 63 18 187 12 17 23 + 197: 29(int) Constant 2 + 198: TypePointer Uniform 70(fvec4) + 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 24 12 + 208: 7(int) Constant 58 +209(outLightVec): 64(ptr) Variable Output + 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 211 63 18 208 12 21 211 209(outLightVec) 69 + 217: 7(int) Constant 59 + 218(outViewVec): 64(ptr) Variable Output + 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 220 63 18 217 12 21 220 218(outViewVec) 69 + 225: 7(int) Constant 61 +226(gl_PerVertex): TypeStruct 70(fvec4) 59(float) 148 148 + 228: 7(int) Constant 215 + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 71 18 24 228 12 12 13 + 230: 7(int) Constant 233 + 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 61 18 24 230 12 12 13 + 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 13 33 12 12 13 + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 13 33 12 12 13 + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 22 18 225 12 21 162 12 13 227 229 231 232 + 234: TypePointer Output 226(gl_PerVertex) + 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 233 13 12 + 236: 234(ptr) Variable Output + 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 233 18 225 12 21 1 236 69 + 243: TypePointer Output 70(fvec4) + 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 13 12 + 247: 7(int) Constant 64 + 248: TypePointer Output 29(int) + 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 13 12 +250(gl_ViewportIndex): 248(ptr) Variable Output + 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 252 31 18 247 12 21 252 250(gl_ViewportIndex) 69 + 255: 7(int) Constant 65 +256(gl_PrimitiveID): 248(ptr) Variable Output + 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 31 18 255 12 21 258 256(gl_PrimitiveID) 69 +259(gl_PrimitiveIDIn): 97(ptr) Variable Input + 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 261 31 18 255 12 21 261 259(gl_PrimitiveIDIn) 69 + 264: 7(int) Constant 66 + 271: 7(int) Constant 68 Line 1 47 15 14(main): 4 Function None 5 15: Label - 33(i): 32(ptr) Variable Function - 136(pos): 135(ptr) Variable Function - 167(worldPos): 135(ptr) Variable Function - 179(lPos): 178(ptr) Variable Function + 35(i): 32(ptr) Variable Function + 144(pos): 142(ptr) Variable Function + 177(worldPos): 142(ptr) Variable Function + 190(lPos): 188(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 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 + 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 36 35(i) 39 + Store 35(i) 40 + Branch 41 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 + 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 + LoopMerge 43 44 None + Branch 47 + 47: Label + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 + 50: 29(int) Load 35(i) + 55: 52(bool) SLessThan 50 51 + BranchConditional 55 42 43 + 42: Label + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 58 58 12 12 + 102: 29(int) Load 99(gl_InvocationID) + 105: 103(ptr) AccessChain 93(ubo) 96 102 + 106: 72 Load 105 + 109: 70(fvec4) CompositeExtract 106 0 + 110: 62(fvec3) VectorShuffle 109 109 0 1 2 + 111: 70(fvec4) CompositeExtract 106 1 + 112: 62(fvec3) VectorShuffle 111 111 0 1 2 + 113: 70(fvec4) CompositeExtract 106 2 + 114: 62(fvec3) VectorShuffle 113 113 0 1 2 + 115: 107 CompositeConstruct 110 112 114 + 123: 29(int) Load 35(i) + 126: 124(ptr) AccessChain 120(inNormal) 123 + 127: 62(fvec3) Load 126 + 128: 62(fvec3) MatrixTimesVector 115 127 + Store 66(outNormal) 128 + 129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 130 130 12 12 + 137: 29(int) Load 35(i) + 138: 124(ptr) AccessChain 134(inColor) 137 + 139: 62(fvec3) Load 138 + Store 131(outColor) 139 + 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 141 141 12 12 + 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 145 144(pos) 39 + 170: 29(int) Load 35(i) + 173: 171(ptr) AccessChain 167(gl_in) 170 40 + 174: 70(fvec4) Load 173 + Store 144(pos) 174 + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 176 176 12 12 + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 178 177(worldPos) 39 + 181: 29(int) Load 99(gl_InvocationID) + 182: 103(ptr) AccessChain 93(ubo) 96 181 + 183: 72 Load 182 + 184: 70(fvec4) Load 144(pos) + 185: 70(fvec4) MatrixTimesVector 183 184 + Store 177(worldPos) 185 + 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 187 187 12 12 + 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 191 190(lPos) 39 + 194: 29(int) Load 99(gl_InvocationID) + 195: 103(ptr) AccessChain 93(ubo) 96 194 + 196: 72 Load 195 + 200: 198(ptr) AccessChain 93(ubo) 197 + 201: 70(fvec4) Load 200 + 202: 70(fvec4) MatrixTimesVector 196 201 + 203: 59(float) CompositeExtract 202 0 + 204: 59(float) CompositeExtract 202 1 + 205: 59(float) CompositeExtract 202 2 + 206: 62(fvec3) CompositeConstruct 203 204 205 + Store 190(lPos) 206 + 207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 208 208 12 12 + 212: 62(fvec3) Load 190(lPos) + 213: 70(fvec4) Load 177(worldPos) + 214: 62(fvec3) VectorShuffle 213 213 0 1 2 + 215: 62(fvec3) FSub 212 214 + Store 209(outLightVec) 215 + 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 217 217 12 12 + 221: 70(fvec4) Load 177(worldPos) + 222: 62(fvec3) VectorShuffle 221 221 0 1 2 + 223: 62(fvec3) FNegate 222 + Store 218(outViewVec) 223 + 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12 + 238: 29(int) Load 99(gl_InvocationID) + 239: 103(ptr) AccessChain 93(ubo) 40 238 + 240: 72 Load 239 + 241: 70(fvec4) Load 177(worldPos) + 242: 70(fvec4) MatrixTimesVector 240 241 + 245: 243(ptr) AccessChain 236 40 + Store 245 242 + 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 247 247 12 12 + 253: 29(int) Load 99(gl_InvocationID) + Store 250(gl_ViewportIndex) 253 + 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 255 255 12 12 + 262: 29(int) Load 259(gl_PrimitiveIDIn) + Store 256(gl_PrimitiveID) 262 + 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 264 264 12 12 + EmitVertex + Branch 44 + 44: Label + 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 + 267: 29(int) Load 35(i) + 268: 29(int) IAdd 267 96 + Store 35(i) 268 + Branch 41 + 43: Label + 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 + 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 271 271 12 12 EndPrimitive Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.tesc.out b/Test/baseResults/spv.debuginfo.glsl.tesc.out index 13eca5f2..b5a7d037 100644 --- a/Test/baseResults/spv.debuginfo.glsl.tesc.out +++ b/Test/baseResults/spv.debuginfo.glsl.tesc.out @@ -1,20 +1,20 @@ spv.debuginfo.glsl.tesc // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 537 +// Id's are bound by 562 Capability Tessellation Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint TessellationControl 14 "main" 252 256 282 366 379 493 507 514 528 + EntryPoint TessellationControl 14 "main" 259 264 293 381 396 511 527 535 552 ExecutionMode 14 OutputVertices 4 1: String "" 8: String "uint" 17: String "float" - 29: String "screenSpaceTessFactor" - 32: String "// OpModuleProcessed auto-map-locations + 31: String "screenSpaceTessFactor" + 34: String "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 @@ -22,131 +22,131 @@ spv.debuginfo.glsl.tesc // OpModuleProcessed entry-point main #line 1 " - 40: String "p0" - 44: String "p1" - 47: String "bool" - 53: String "frustumCheck" - 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" - 368: String "gl_TessLevelInner" - 381: String "gl_TessLevelOuter" - 495: String "gl_out" - 509: String "outNormal" - 516: String "inNormal" - 530: String "outUV" + 42: String "p0" + 46: String "p1" + 49: String "bool" + 55: String "frustumCheck" + 58: String "main" + 67: String "midPoint" + 80: String "radius" + 91: String "v0" + 102: String "modelview" + 106: String "lightPos" + 109: String "frustumPlanes" + 111: String "tessellatedEdgeSize" + 116: String "viewportDim" + 120: String "UBO" + 125: String "ubo" + 127: String "int" + 140: String "clip0" + 161: String "clip1" + 238: String "pos" + 244: String "gl_Position" + 247: String "gl_PointSize" + 250: String "gl_CullDistance" + 254: String "gl_PerVertex" + 261: String "gl_in" + 266: String "gl_InvocationID" + 276: String "type.2d.image" + 277: String "@type.2d.image" + 281: String "type.sampled.image" + 282: String "@type.sampled.image" + 287: String "samplerHeight" + 295: String "inUV" + 316: String "i" + 383: String "gl_TessLevelInner" + 398: String "gl_TessLevelOuter" + 513: String "gl_out" + 529: String "outNormal" + 537: String "inNormal" + 554: String "outUV" Name 14 "main" - 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 366 "gl_TessLevelInner" - Name 379 "gl_TessLevelOuter" - Name 405 "param" - Name 408 "param" - Name 415 "param" - Name 418 "param" + Name 29 "screenSpaceTessFactor(vf4;vf4;" + Name 27 "p0" + Name 28 "p1" + Name 53 "frustumCheck(" + Name 65 "midPoint" + Name 78 "radius" + Name 89 "v0" + Name 100 "UBO" + MemberName 100(UBO) 0 "projection" + MemberName 100(UBO) 1 "modelview" + MemberName 100(UBO) 2 "lightPos" + MemberName 100(UBO) 3 "frustumPlanes" + MemberName 100(UBO) 4 "displacementFactor" + MemberName 100(UBO) 5 "tessellationFactor" + MemberName 100(UBO) 6 "viewportDim" + MemberName 100(UBO) 7 "tessellatedEdgeSize" + Name 123 "ubo" + Name 138 "clip0" + Name 159 "clip1" + Name 236 "pos" + Name 242 "gl_PerVertex" + MemberName 242(gl_PerVertex) 0 "gl_Position" + MemberName 242(gl_PerVertex) 1 "gl_PointSize" + MemberName 242(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 242(gl_PerVertex) 3 "gl_CullDistance" + Name 259 "gl_in" + Name 264 "gl_InvocationID" + Name 285 "samplerHeight" + Name 293 "inUV" + Name 314 "i" + Name 381 "gl_TessLevelInner" + Name 396 "gl_TessLevelOuter" + Name 422 "param" Name 425 "param" - Name 428 "param" + Name 432 "param" Name 435 "param" - Name 438 "param" - Name 482 "gl_PerVertex" - MemberName 482(gl_PerVertex) 0 "gl_Position" - MemberName 482(gl_PerVertex) 1 "gl_PointSize" - MemberName 482(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 482(gl_PerVertex) 3 "gl_CullDistance" - Name 493 "gl_out" - Name 507 "outNormal" - Name 514 "inNormal" - Name 528 "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 366(gl_TessLevelInner) Patch - Decorate 366(gl_TessLevelInner) BuiltIn TessLevelInner - Decorate 379(gl_TessLevelOuter) Patch - Decorate 379(gl_TessLevelOuter) BuiltIn TessLevelOuter - MemberDecorate 482(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 482(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 482(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 482(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 482(gl_PerVertex) Block - Decorate 507(outNormal) Location 0 - Decorate 514(inNormal) Location 0 - Decorate 528(outUV) Location 1 + Name 442 "param" + Name 445 "param" + Name 452 "param" + Name 455 "param" + Name 499 "gl_PerVertex" + MemberName 499(gl_PerVertex) 0 "gl_Position" + MemberName 499(gl_PerVertex) 1 "gl_PointSize" + MemberName 499(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 499(gl_PerVertex) 3 "gl_CullDistance" + Name 511 "gl_out" + Name 527 "outNormal" + Name 535 "inNormal" + Name 552 "outUV" + Decorate 96 ArrayStride 16 + MemberDecorate 100(UBO) 0 ColMajor + MemberDecorate 100(UBO) 0 Offset 0 + MemberDecorate 100(UBO) 0 MatrixStride 16 + MemberDecorate 100(UBO) 1 ColMajor + MemberDecorate 100(UBO) 1 Offset 64 + MemberDecorate 100(UBO) 1 MatrixStride 16 + MemberDecorate 100(UBO) 2 Offset 128 + MemberDecorate 100(UBO) 3 Offset 144 + MemberDecorate 100(UBO) 4 Offset 240 + MemberDecorate 100(UBO) 5 Offset 244 + MemberDecorate 100(UBO) 6 Offset 248 + MemberDecorate 100(UBO) 7 Offset 256 + Decorate 100(UBO) Block + Decorate 123(ubo) DescriptorSet 0 + Decorate 123(ubo) Binding 0 + MemberDecorate 242(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 242(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 242(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 242(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 242(gl_PerVertex) Block + Decorate 264(gl_InvocationID) BuiltIn InvocationId + Decorate 285(samplerHeight) DescriptorSet 0 + Decorate 285(samplerHeight) Binding 1 + Decorate 293(inUV) Location 1 + Decorate 381(gl_TessLevelInner) Patch + Decorate 381(gl_TessLevelInner) BuiltIn TessLevelInner + Decorate 396(gl_TessLevelOuter) Patch + Decorate 396(gl_TessLevelOuter) BuiltIn TessLevelOuter + MemberDecorate 499(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 499(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 499(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 499(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 499(gl_PerVertex) Block + Decorate 527(outNormal) Location 0 + Decorate 535(inNormal) Location 0 + Decorate 552(outUV) Location 1 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -162,547 +162,572 @@ spv.debuginfo.glsl.tesc 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 - 318: 7(int) Constant 90 - 320: 123(int) Constant 3 - 322: TypePointer Uniform 19(fvec4) - 326: 16(float) Constant 1090519040 - 331: 46(bool) ConstantFalse - 334: 7(int) Constant 92 - 342: 7(int) Constant 95 - 348: 7(int) Constant 100 - 355: 7(int) Constant 102 - 362: 7(int) Constant 104 - 363: TypeArray 16(float) 36 - 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36 - 365: TypePointer Output 363 -366(gl_TessLevelInner): 365(ptr) Variable Output - 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 368 364 31 362 12 34 368 366(gl_TessLevelInner) 111 - 369: TypePointer Output 16(float) - 372: 7(int) Constant 105 - 375: 7(int) Constant 106 - 376: TypeArray 16(float) 20 - 377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20 - 378: TypePointer Output 376 -379(gl_TessLevelOuter): 378(ptr) Variable Output - 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 381 377 31 375 12 34 381 379(gl_TessLevelOuter) 111 - 384: 7(int) Constant 107 - 387: 7(int) Constant 108 - 388: 123(int) Constant 2 - 391: 7(int) Constant 109 - 396: 7(int) Constant 113 - 404: 7(int) Constant 115 - 414: 7(int) Constant 116 - 424: 7(int) Constant 117 - 434: 7(int) Constant 118 - 444: 7(int) Constant 119 - 452: 7(int) Constant 120 - 462: 7(int) Constant 126 - 465: 7(int) Constant 127 - 468: 7(int) Constant 128 - 471: 7(int) Constant 129 - 474: 7(int) Constant 130 - 477: 7(int) Constant 131 - 481: 7(int) Constant 137 -482(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234 - 484: 7(int) Constant 110 - 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 484 12 12 13 - 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 468 12 12 13 - 487: 7(int) Constant 171 - 486: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13 - 488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13 - 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 481 12 34 248 12 13 483 485 486 488 - 490: TypeArray 482(gl_PerVertex) 20 - 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 489 20 - 492: TypePointer Output 490 - 493(gl_out): 492(ptr) Variable Output - 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 495 491 31 481 12 34 495 493(gl_out) 111 - 500: TypePointer Output 19(fvec4) - 503: 7(int) Constant 138 - 504: TypeArray 143(fvec3) 20 - 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20 - 506: TypePointer Output 504 - 507(outNormal): 506(ptr) Variable Output - 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 509 505 31 503 12 34 509 507(outNormal) 111 - 511: TypeArray 143(fvec3) 10 - 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10 - 513: TypePointer Input 511 - 514(inNormal): 513(ptr) Variable Input - 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 516 512 31 503 12 34 516 514(inNormal) 111 - 518: TypePointer Input 143(fvec3) - 521: TypePointer Output 143(fvec3) - 524: 7(int) Constant 139 - 525: TypeArray 95(fvec2) 20 - 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20 - 527: TypePointer Output 525 - 528(outUV): 527(ptr) Variable Output - 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 530 526 31 524 12 34 530 528(outUV) 111 - 535: TypePointer Output 95(fvec2) + 23: 7(int) Constant 7 + 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 23 12 + 25: TypeFunction 16(float) 22(ptr) 22(ptr) + 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 18 21 21 + 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 34 + 35: 7(int) Constant 51 + 37: 7(int) Constant 1 + 38: 7(int) Constant 2 + 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 20 33 38 + 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 31 26 33 35 12 36 31 13 35 + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 42 21 33 35 12 32 20 37 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 21 33 35 12 32 20 38 + 48: TypeBool + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 49 10 38 12 + 51: TypeFunction 48(bool) + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 50 + 57: 7(int) Constant 81 + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 55 52 33 57 12 36 55 13 57 + 60: 7(int) Constant 98 + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 58 6 33 60 12 36 58 13 60 + 64: 7(int) Constant 54 + 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 67 21 33 64 12 32 20 + 69: 16(float) Constant 1056964608 + 75: 7(int) Constant 56 + 76: TypePointer Function 16(float) + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 23 12 + 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 80 18 33 75 12 32 20 + 85: 16(float) Constant 1073741824 + 88: 7(int) Constant 59 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 91 21 33 88 12 32 20 + 93: TypeMatrix 19(fvec4) 4 + 95: 48(bool) ConstantTrue + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 20 95 + 96: TypeArray 19(fvec4) 11 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 21 11 + 98: TypeVector 16(float) 2 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 38 + 100(UBO): TypeStruct 93 93 19(fvec4) 96 16(float) 16(float) 98(fvec2) 16(float) + 103: 7(int) Constant 30 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 102 94 33 103 23 12 12 13 + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 102 94 33 103 23 12 12 13 + 107: 7(int) Constant 31 + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 106 21 33 107 23 12 12 13 + 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 109 97 33 10 23 12 12 13 + 112: 7(int) Constant 36 + 113: 7(int) Constant 8 + 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 111 18 33 112 113 12 12 13 + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 111 18 33 112 113 12 12 13 + 117: 7(int) Constant 35 + 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 116 99 33 117 23 12 12 13 + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 111 18 33 112 113 12 12 13 + 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 120 37 33 88 12 36 120 12 13 101 104 105 108 110 114 115 118 + 121: TypePointer Uniform 100(UBO) + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 119 38 12 + 123(ubo): 121(ptr) Variable Uniform + 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 119 33 88 12 36 125 123(ubo) 113 + 126: TypeInt 32 1 + 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 127 10 20 12 + 129: 126(int) Constant 1 + 130: TypePointer Uniform 93 + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 94 38 12 + 137: 7(int) Constant 62 + 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 140 21 33 137 12 32 20 + 142: 126(int) Constant 0 + 147: TypeVector 16(float) 3 + 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13 + 149: 16(float) Constant 0 + 150: 147(fvec3) ConstantComposite 149 149 149 + 158: 7(int) Constant 63 + 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 21 33 158 12 32 20 + 174: 7(int) Constant 66 + 181: 7(int) Constant 67 + 188: 7(int) Constant 70 + 189: 126(int) Constant 6 + 190: TypePointer Uniform 98(fvec2) + 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 99 38 12 + 202: 7(int) Constant 71 + 213: 7(int) Constant 76 + 217: 126(int) Constant 7 + 218: TypePointer Uniform 16(float) + 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 38 12 + 223: 126(int) Constant 5 + 227: 16(float) Constant 1065353216 + 228: 16(float) Constant 1115684864 + 235: 7(int) Constant 85 + 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 238 21 33 235 12 56 20 + 240: TypeArray 16(float) 37 + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 37 +242(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 240 240 + 245: 7(int) Constant 1756 + 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 21 33 37 245 12 12 13 + 248: 7(int) Constant 1774 + 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 247 18 33 37 248 12 12 13 + 251: 7(int) Constant 1817 + 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 241 33 37 251 12 12 13 + 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 241 33 37 251 12 12 13 + 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 254 37 33 235 12 36 254 12 13 243 246 249 252 + 255: TypeArray 242(gl_PerVertex) 10 + 256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 253 10 + 257: TypePointer Input 255 + 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 256 37 12 + 259(gl_in): 257(ptr) Variable Input + 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 261 256 33 235 12 36 261 259(gl_in) 113 + 262: TypePointer Input 126(int) + 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 128 37 12 +264(gl_InvocationID): 262(ptr) Variable Input + 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 266 128 33 235 12 36 266 264(gl_InvocationID) 113 + 268: TypePointer Input 19(fvec4) + 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 37 12 + 273: 7(int) Constant 86 + 274: TypeImage 16(float) 2D sampled format:Unknown + 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 276 12 33 273 12 36 277 278 13 + 279: TypeSampledImage 274 + 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 281 12 33 273 12 36 282 278 13 + 283: TypePointer UniformConstant 279 + 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 280 12 12 +285(samplerHeight): 283(ptr) Variable UniformConstant + 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 287 280 33 273 12 36 287 285(samplerHeight) 113 + 289: TypeArray 98(fvec2) 10 + 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 99 10 + 291: TypePointer Input 289 + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 290 37 12 + 293(inUV): 291(ptr) Variable Input + 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 295 290 33 273 12 36 295 293(inUV) 113 + 296: TypePointer Input 98(fvec2) + 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 99 37 12 + 302: 126(int) Constant 4 + 311: 7(int) Constant 89 + 312: TypePointer Function 126(int) + 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 128 23 12 + 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 316 128 33 311 12 56 20 + 331: 7(int) Constant 90 + 333: 126(int) Constant 3 + 335: TypePointer Uniform 19(fvec4) + 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 38 12 + 340: 16(float) Constant 1090519040 + 345: 48(bool) ConstantFalse + 348: 7(int) Constant 92 + 356: 7(int) Constant 95 + 362: 7(int) Constant 100 + 369: 7(int) Constant 102 + 376: 7(int) Constant 104 + 377: TypeArray 16(float) 38 + 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 38 + 379: TypePointer Output 377 + 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 378 13 12 +381(gl_TessLevelInner): 379(ptr) Variable Output + 382: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 383 378 33 376 12 36 383 381(gl_TessLevelInner) 113 + 384: TypePointer Output 16(float) + 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 18 13 12 + 388: 7(int) Constant 105 + 391: 7(int) Constant 106 + 392: TypeArray 16(float) 20 + 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20 + 394: TypePointer Output 392 + 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 393 13 12 +396(gl_TessLevelOuter): 394(ptr) Variable Output + 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 398 393 33 391 12 36 398 396(gl_TessLevelOuter) 113 + 401: 7(int) Constant 107 + 404: 7(int) Constant 108 + 405: 126(int) Constant 2 + 408: 7(int) Constant 109 + 413: 7(int) Constant 113 + 421: 7(int) Constant 115 + 431: 7(int) Constant 116 + 441: 7(int) Constant 117 + 451: 7(int) Constant 118 + 461: 7(int) Constant 119 + 469: 7(int) Constant 120 + 479: 7(int) Constant 126 + 482: 7(int) Constant 127 + 485: 7(int) Constant 128 + 488: 7(int) Constant 129 + 491: 7(int) Constant 130 + 494: 7(int) Constant 131 + 498: 7(int) Constant 137 +499(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 240 240 + 501: 7(int) Constant 110 + 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 21 33 37 501 12 12 13 + 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 247 18 33 37 485 12 12 13 + 504: 7(int) Constant 171 + 503: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 241 33 37 504 12 12 13 + 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 241 33 37 504 12 12 13 + 506: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 254 37 33 498 12 36 254 12 13 500 502 503 505 + 507: TypeArray 499(gl_PerVertex) 20 + 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 506 20 + 509: TypePointer Output 507 + 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 508 13 12 + 511(gl_out): 509(ptr) Variable Output + 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 513 508 33 498 12 36 513 511(gl_out) 113 + 518: TypePointer Output 19(fvec4) + 519: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 21 13 12 + 522: 7(int) Constant 138 + 523: TypeArray 147(fvec3) 20 + 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 148 20 + 525: TypePointer Output 523 + 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 524 13 12 + 527(outNormal): 525(ptr) Variable Output + 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 529 524 33 522 12 36 529 527(outNormal) 113 + 531: TypeArray 147(fvec3) 10 + 532: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 148 10 + 533: TypePointer Input 531 + 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 532 37 12 + 535(inNormal): 533(ptr) Variable Input + 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 537 532 33 522 12 36 537 535(inNormal) 113 + 539: TypePointer Input 147(fvec3) + 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 148 37 12 + 543: TypePointer Output 147(fvec3) + 544: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 148 13 12 + 547: 7(int) Constant 139 + 548: TypeArray 98(fvec2) 20 + 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 99 20 + 550: TypePointer Output 548 + 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 549 13 12 + 552(outUV): 550(ptr) Variable Output + 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 554 549 33 547 12 36 554 552(outUV) 113 + 559: TypePointer Output 98(fvec2) + 560: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 99 13 12 Line 1 98 11 14(main): 4 Function None 5 15: Label - 405(param): 22(ptr) Variable Function - 408(param): 22(ptr) Variable Function - 415(param): 22(ptr) Variable Function - 418(param): 22(ptr) Variable Function + 422(param): 22(ptr) Variable Function 425(param): 22(ptr) Variable Function - 428(param): 22(ptr) Variable Function + 432(param): 22(ptr) Variable Function 435(param): 22(ptr) Variable Function - 438(param): 22(ptr) Variable Function - 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main) - 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 348 348 12 12 - 349: 123(int) Load 256(gl_InvocationID) - 350: 46(bool) IEqual 349 138 - SelectionMerge 352 None - BranchConditional 350 351 352 - 351: Label - 353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 355 355 12 12 - 356: 46(bool) FunctionCall 51(frustumCheck() - 357: 46(bool) LogicalNot 356 - SelectionMerge 359 None - BranchConditional 357 358 393 - 358: Label - 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 362 362 12 12 - 370: 369(ptr) AccessChain 366(gl_TessLevelInner) 138 - Store 370 145 - 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 372 372 12 12 - 373: 369(ptr) AccessChain 366(gl_TessLevelInner) 126 - Store 373 145 - 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 375 375 12 12 - 382: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138 - Store 382 145 - 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 384 384 12 12 - 385: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126 - Store 385 145 - 386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 387 387 12 12 - 389: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388 - Store 389 145 - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 391 391 12 12 - 392: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320 - Store 392 145 - Branch 359 - 393: Label - 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 396 396 12 12 - 397: 213(ptr) AccessChain 120(ubo) 217 - 398: 16(float) Load 397 - 399: 46(bool) FOrdGreaterThan 398 145 - SelectionMerge 401 None - BranchConditional 399 400 459 - 400: Label - 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 404 404 12 12 - 406: 260(ptr) AccessChain 252(gl_in) 320 138 - 407: 19(fvec4) Load 406 - Store 405(param) 407 - 409: 260(ptr) AccessChain 252(gl_in) 138 138 - 410: 19(fvec4) Load 409 - Store 408(param) 410 - 411: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 405(param) 408(param) - 412: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138 - Store 412 411 - 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 414 414 12 12 - 416: 260(ptr) AccessChain 252(gl_in) 138 138 - 417: 19(fvec4) Load 416 - Store 415(param) 417 - 419: 260(ptr) AccessChain 252(gl_in) 126 138 - 420: 19(fvec4) Load 419 - Store 418(param) 420 - 421: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 415(param) 418(param) - 422: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126 - Store 422 421 - 423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 424 424 12 12 - 426: 260(ptr) AccessChain 252(gl_in) 126 138 + 442(param): 22(ptr) Variable Function + 445(param): 22(ptr) Variable Function + 452(param): 22(ptr) Variable Function + 455(param): 22(ptr) Variable Function + 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 14(main) + 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 362 362 12 12 + 363: 126(int) Load 264(gl_InvocationID) + 364: 48(bool) IEqual 363 142 + SelectionMerge 366 None + BranchConditional 364 365 366 + 365: Label + 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 369 369 12 12 + 370: 48(bool) FunctionCall 53(frustumCheck() + 371: 48(bool) LogicalNot 370 + SelectionMerge 373 None + BranchConditional 371 372 410 + 372: Label + 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 376 376 12 12 + 386: 384(ptr) AccessChain 381(gl_TessLevelInner) 142 + Store 386 149 + 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 388 388 12 12 + 389: 384(ptr) AccessChain 381(gl_TessLevelInner) 129 + Store 389 149 + 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 391 391 12 12 + 399: 384(ptr) AccessChain 396(gl_TessLevelOuter) 142 + Store 399 149 + 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 401 401 12 12 + 402: 384(ptr) AccessChain 396(gl_TessLevelOuter) 129 + Store 402 149 + 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 404 404 12 12 + 406: 384(ptr) AccessChain 396(gl_TessLevelOuter) 405 + Store 406 149 + 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 408 408 12 12 + 409: 384(ptr) AccessChain 396(gl_TessLevelOuter) 333 + Store 409 149 + Branch 373 + 410: Label + 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 413 413 12 12 + 414: 218(ptr) AccessChain 123(ubo) 223 + 415: 16(float) Load 414 + 416: 48(bool) FOrdGreaterThan 415 149 + SelectionMerge 418 None + BranchConditional 416 417 476 + 417: Label + 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 421 421 12 12 + 423: 268(ptr) AccessChain 259(gl_in) 333 142 + 424: 19(fvec4) Load 423 + Store 422(param) 424 + 426: 268(ptr) AccessChain 259(gl_in) 142 142 427: 19(fvec4) Load 426 Store 425(param) 427 - 429: 260(ptr) AccessChain 252(gl_in) 388 138 - 430: 19(fvec4) Load 429 - Store 428(param) 430 - 431: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 425(param) 428(param) - 432: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388 - Store 432 431 - 433: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 434 434 12 12 - 436: 260(ptr) AccessChain 252(gl_in) 388 138 + 428: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 422(param) 425(param) + 429: 384(ptr) AccessChain 396(gl_TessLevelOuter) 142 + Store 429 428 + 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 431 431 12 12 + 433: 268(ptr) AccessChain 259(gl_in) 142 142 + 434: 19(fvec4) Load 433 + Store 432(param) 434 + 436: 268(ptr) AccessChain 259(gl_in) 129 142 437: 19(fvec4) Load 436 Store 435(param) 437 - 439: 260(ptr) AccessChain 252(gl_in) 320 138 - 440: 19(fvec4) Load 439 - Store 438(param) 440 - 441: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 435(param) 438(param) - 442: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320 - Store 442 441 - 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 444 444 12 12 - 445: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138 - 446: 16(float) Load 445 - 447: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320 - 448: 16(float) Load 447 - 449: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 446 448 67 - 450: 369(ptr) AccessChain 366(gl_TessLevelInner) 138 - Store 450 449 - 451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 452 452 12 12 - 453: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388 - 454: 16(float) Load 453 - 455: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126 - 456: 16(float) Load 455 - 457: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 454 456 67 - 458: 369(ptr) AccessChain 366(gl_TessLevelInner) 126 - Store 458 457 - Branch 401 - 459: Label - 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 462 462 12 12 - 463: 369(ptr) AccessChain 366(gl_TessLevelInner) 138 - Store 463 221 - 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 465 465 12 12 - 466: 369(ptr) AccessChain 366(gl_TessLevelInner) 126 - Store 466 221 - 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 468 468 12 12 - 469: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138 - Store 469 221 - 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 471 471 12 12 - 472: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126 - Store 472 221 - 473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 474 474 12 12 - 475: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388 - Store 475 221 - 476: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 477 477 12 12 - 478: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320 - Store 478 221 - Branch 401 - 401: Label - Branch 359 - 359: Label - Branch 352 - 352: Label - 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 - 480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 12 12 - 496: 123(int) Load 256(gl_InvocationID) - 497: 123(int) Load 256(gl_InvocationID) - 498: 260(ptr) AccessChain 252(gl_in) 497 138 - 499: 19(fvec4) Load 498 - 501: 500(ptr) AccessChain 493(gl_out) 496 138 - Store 501 499 - 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 503 503 12 12 - 510: 123(int) Load 256(gl_InvocationID) - 517: 123(int) Load 256(gl_InvocationID) - 519: 518(ptr) AccessChain 514(inNormal) 517 - 520: 143(fvec3) Load 519 - 522: 521(ptr) AccessChain 507(outNormal) 510 - Store 522 520 - 523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 524 524 12 12 - 531: 123(int) Load 256(gl_InvocationID) - 532: 123(int) Load 256(gl_InvocationID) - 533: 285(ptr) AccessChain 282(inUV) 532 - 534: 95(fvec2) Load 533 - 536: 535(ptr) AccessChain 528(outUV) 531 - Store 536 534 + 438: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 432(param) 435(param) + 439: 384(ptr) AccessChain 396(gl_TessLevelOuter) 129 + Store 439 438 + 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 441 441 12 12 + 443: 268(ptr) AccessChain 259(gl_in) 129 142 + 444: 19(fvec4) Load 443 + Store 442(param) 444 + 446: 268(ptr) AccessChain 259(gl_in) 405 142 + 447: 19(fvec4) Load 446 + Store 445(param) 447 + 448: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 442(param) 445(param) + 449: 384(ptr) AccessChain 396(gl_TessLevelOuter) 405 + Store 449 448 + 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 451 451 12 12 + 453: 268(ptr) AccessChain 259(gl_in) 405 142 + 454: 19(fvec4) Load 453 + Store 452(param) 454 + 456: 268(ptr) AccessChain 259(gl_in) 333 142 + 457: 19(fvec4) Load 456 + Store 455(param) 457 + 458: 16(float) FunctionCall 29(screenSpaceTessFactor(vf4;vf4;) 452(param) 455(param) + 459: 384(ptr) AccessChain 396(gl_TessLevelOuter) 333 + Store 459 458 + 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 461 461 12 12 + 462: 384(ptr) AccessChain 396(gl_TessLevelOuter) 142 + 463: 16(float) Load 462 + 464: 384(ptr) AccessChain 396(gl_TessLevelOuter) 333 + 465: 16(float) Load 464 + 466: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 463 465 69 + 467: 384(ptr) AccessChain 381(gl_TessLevelInner) 142 + Store 467 466 + 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 469 469 12 12 + 470: 384(ptr) AccessChain 396(gl_TessLevelOuter) 405 + 471: 16(float) Load 470 + 472: 384(ptr) AccessChain 396(gl_TessLevelOuter) 129 + 473: 16(float) Load 472 + 474: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 471 473 69 + 475: 384(ptr) AccessChain 381(gl_TessLevelInner) 129 + Store 475 474 + Branch 418 + 476: Label + 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 479 479 12 12 + 480: 384(ptr) AccessChain 381(gl_TessLevelInner) 142 + Store 480 227 + 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 482 482 12 12 + 483: 384(ptr) AccessChain 381(gl_TessLevelInner) 129 + Store 483 227 + 484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 485 485 12 12 + 486: 384(ptr) AccessChain 396(gl_TessLevelOuter) 142 + Store 486 227 + 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 488 488 12 12 + 489: 384(ptr) AccessChain 396(gl_TessLevelOuter) 129 + Store 489 227 + 490: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 491 491 12 12 + 492: 384(ptr) AccessChain 396(gl_TessLevelOuter) 405 + Store 492 227 + 493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 494 494 12 12 + 495: 384(ptr) AccessChain 396(gl_TessLevelOuter) 333 + Store 495 227 + Branch 418 + 418: Label + Branch 373 + 373: Label + Branch 366 + 366: Label + 496: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 + 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 498 498 12 12 + 514: 126(int) Load 264(gl_InvocationID) + 515: 126(int) Load 264(gl_InvocationID) + 516: 268(ptr) AccessChain 259(gl_in) 515 142 + 517: 19(fvec4) Load 516 + 520: 518(ptr) AccessChain 511(gl_out) 514 142 + Store 520 517 + 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 522 522 12 12 + 530: 126(int) Load 264(gl_InvocationID) + 538: 126(int) Load 264(gl_InvocationID) + 541: 539(ptr) AccessChain 535(inNormal) 538 + 542: 147(fvec3) Load 541 + 545: 543(ptr) AccessChain 527(outNormal) 530 + Store 545 542 + 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 547 547 12 12 + 555: 126(int) Load 264(gl_InvocationID) + 556: 126(int) Load 264(gl_InvocationID) + 557: 296(ptr) AccessChain 293(inUV) 556 + 558: 98(fvec2) Load 557 + 561: 559(ptr) AccessChain 552(outUV) 555 + Store 561 558 Return FunctionEnd Line 1 51 45 -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 +29(screenSpaceTessFactor(vf4;vf4;): 16(float) Function None 25 + 27(p0): 22(ptr) FunctionParameter + 28(p1): 22(ptr) FunctionParameter + 30: Label + 65(midPoint): 22(ptr) Variable Function + 78(radius): 76(ptr) Variable Function + 89(v0): 22(ptr) Variable Function + 138(clip0): 22(ptr) Variable Function + 159(clip1): 22(ptr) Variable Function + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 32 + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 35 35 12 12 + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 41 27(p0) 44 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 45 28(p1) 44 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 32 29(screenSpaceTessFactor(vf4;vf4;) + 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 32 + 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 64 64 12 12 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 66 65(midPoint) 44 + 70: 19(fvec4) Load 27(p0) + 71: 19(fvec4) Load 28(p1) + 72: 19(fvec4) FAdd 70 71 + 73: 19(fvec4) VectorTimesScalar 72 69 + Store 65(midPoint) 73 + 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 75 75 12 12 + 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 79 78(radius) 44 + 82: 19(fvec4) Load 27(p0) + 83: 19(fvec4) Load 28(p1) + 84: 16(float) ExtInst 3(GLSL.std.450) 67(Distance) 82 83 + 86: 16(float) FDiv 84 85 + Store 78(radius) 86 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 88 88 12 12 + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 90 89(v0) 44 + 132: 130(ptr) AccessChain 123(ubo) 129 + 133: 93 Load 132 + 134: 19(fvec4) Load 65(midPoint) + 135: 19(fvec4) MatrixTimesVector 133 134 + Store 89(v0) 135 + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 137 137 12 12 + 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 139 138(clip0) 44 + 143: 130(ptr) AccessChain 123(ubo) 142 + 144: 93 Load 143 + 145: 19(fvec4) Load 89(v0) + 146: 16(float) Load 78(radius) + 151: 16(float) CompositeExtract 150 0 + 152: 16(float) CompositeExtract 150 1 + 153: 16(float) CompositeExtract 150 2 + 154: 19(fvec4) CompositeConstruct 146 151 152 153 + 155: 19(fvec4) FSub 145 154 + 156: 19(fvec4) MatrixTimesVector 144 155 + Store 138(clip0) 156 + 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 158 158 12 12 + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(clip1) 44 + 163: 130(ptr) AccessChain 123(ubo) 142 + 164: 93 Load 163 + 165: 19(fvec4) Load 89(v0) + 166: 16(float) Load 78(radius) + 167: 16(float) CompositeExtract 150 0 + 168: 16(float) CompositeExtract 150 1 + 169: 16(float) CompositeExtract 150 2 + 170: 19(fvec4) CompositeConstruct 166 167 168 169 + 171: 19(fvec4) FAdd 165 170 + 172: 19(fvec4) MatrixTimesVector 164 171 + Store 159(clip1) 172 + 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 174 174 12 12 + 175: 76(ptr) AccessChain 138(clip0) 13 + 176: 16(float) Load 175 + 177: 19(fvec4) Load 138(clip0) + 178: 19(fvec4) CompositeConstruct 176 176 176 176 + 179: 19(fvec4) FDiv 177 178 + Store 138(clip0) 179 + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 181 181 12 12 + 182: 76(ptr) AccessChain 159(clip1) 13 + 183: 16(float) Load 182 + 184: 19(fvec4) Load 159(clip1) + 185: 19(fvec4) CompositeConstruct 183 183 183 183 + 186: 19(fvec4) FDiv 184 185 + Store 159(clip1) 186 + 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 188 188 12 12 + 192: 190(ptr) AccessChain 123(ubo) 189 + 193: 98(fvec2) Load 192 + 194: 19(fvec4) Load 138(clip0) + 195: 98(fvec2) VectorShuffle 194 194 0 1 + 196: 98(fvec2) FMul 195 193 + 197: 76(ptr) AccessChain 138(clip0) 12 + 198: 16(float) CompositeExtract 196 0 + Store 197 198 + 199: 76(ptr) AccessChain 138(clip0) 37 + 200: 16(float) CompositeExtract 196 1 + Store 199 200 + 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 202 202 12 12 + 203: 190(ptr) AccessChain 123(ubo) 189 + 204: 98(fvec2) Load 203 + 205: 19(fvec4) Load 159(clip1) + 206: 98(fvec2) VectorShuffle 205 205 0 1 + 207: 98(fvec2) FMul 206 204 + 208: 76(ptr) AccessChain 159(clip1) 12 + 209: 16(float) CompositeExtract 207 0 + Store 208 209 + 210: 76(ptr) AccessChain 159(clip1) 37 + 211: 16(float) CompositeExtract 207 1 + Store 210 211 + 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 213 213 12 12 + 214: 19(fvec4) Load 138(clip0) + 215: 19(fvec4) Load 159(clip1) + 216: 16(float) ExtInst 3(GLSL.std.450) 67(Distance) 214 215 + 220: 218(ptr) AccessChain 123(ubo) 217 + 221: 16(float) Load 220 + 222: 16(float) FDiv 216 221 + 224: 218(ptr) AccessChain 123(ubo) 223 + 225: 16(float) Load 224 + 226: 16(float) FMul 222 225 + 229: 16(float) ExtInst 3(GLSL.std.450) 43(FClamp) 226 227 228 + ReturnValue 229 FunctionEnd Line 1 81 19 -51(frustumCheck(): 46(bool) Function None 49 - 52: Label - 230(pos): 22(ptr) Variable Function - 301(i): 300(ptr) Variable Function - 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 54 51(frustumCheck() - 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 229 229 12 12 - 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 231 230(pos) 42 - 259: 123(int) Load 256(gl_InvocationID) - 261: 260(ptr) AccessChain 252(gl_in) 259 138 - 262: 19(fvec4) Load 261 - Store 230(pos) 262 - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 264 264 12 12 - 278: 270 Load 275(samplerHeight) - 286: 285(ptr) AccessChain 282(inUV) 138 - 287: 95(fvec2) Load 286 - 288: 19(fvec4) ImageSampleExplicitLod 278 287 Lod 145 - 289: 16(float) CompositeExtract 288 0 - 291: 213(ptr) AccessChain 120(ubo) 290 - 292: 16(float) Load 291 - 293: 16(float) FMul 289 292 - 294: 74(ptr) AccessChain 230(pos) 35 - 295: 16(float) Load 294 - 296: 16(float) FSub 295 293 - 297: 74(ptr) AccessChain 230(pos) 35 - Store 297 296 - 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 - 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 302 301(i) 42 - Store 301(i) 138 - Branch 305 - 305: Label - 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 - LoopMerge 307 308 None - Branch 311 - 311: Label - 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 - 314: 123(int) Load 301(i) - 315: 46(bool) SLessThan 314 185 - BranchConditional 315 306 307 - 306: Label - 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 318 318 12 12 - 319: 19(fvec4) Load 230(pos) - 321: 123(int) Load 301(i) - 323: 322(ptr) AccessChain 120(ubo) 320 321 - 324: 19(fvec4) Load 323 - 325: 16(float) Dot 319 324 - 327: 16(float) FAdd 325 326 - 328: 46(bool) FOrdLessThan 327 145 - SelectionMerge 330 None - BranchConditional 328 329 330 - 329: Label - 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 334 334 12 12 - ReturnValue 331 - 330: Label - Branch 308 - 308: Label - 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 - 338: 123(int) Load 301(i) - 339: 123(int) IAdd 338 126 - Store 301(i) 339 - Branch 305 - 307: Label - 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 - 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 342 342 12 12 - ReturnValue 92 +53(frustumCheck(): 48(bool) Function None 51 + 54: Label + 236(pos): 22(ptr) Variable Function + 314(i): 312(ptr) Variable Function + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 56 53(frustumCheck() + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 + 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 235 235 12 12 + 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 237 236(pos) 44 + 267: 126(int) Load 264(gl_InvocationID) + 270: 268(ptr) AccessChain 259(gl_in) 267 142 + 271: 19(fvec4) Load 270 + Store 236(pos) 271 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 273 273 12 12 + 288: 279 Load 285(samplerHeight) + 298: 296(ptr) AccessChain 293(inUV) 142 + 299: 98(fvec2) Load 298 + 300: 19(fvec4) ImageSampleExplicitLod 288 299 Lod 149 + 301: 16(float) CompositeExtract 300 0 + 303: 218(ptr) AccessChain 123(ubo) 302 + 304: 16(float) Load 303 + 305: 16(float) FMul 301 304 + 306: 76(ptr) AccessChain 236(pos) 37 + 307: 16(float) Load 306 + 308: 16(float) FSub 307 305 + 309: 76(ptr) AccessChain 236(pos) 37 + Store 309 308 + 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 311 311 12 12 + 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 315 314(i) 44 + Store 314(i) 142 + Branch 318 + 318: Label + 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 + 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 311 311 12 12 + LoopMerge 320 321 None + Branch 324 + 324: Label + 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 + 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 311 311 12 12 + 327: 126(int) Load 314(i) + 328: 48(bool) SLessThan 327 189 + BranchConditional 328 319 320 + 319: Label + 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 + 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 331 331 12 12 + 332: 19(fvec4) Load 236(pos) + 334: 126(int) Load 314(i) + 337: 335(ptr) AccessChain 123(ubo) 333 334 + 338: 19(fvec4) Load 337 + 339: 16(float) Dot 332 338 + 341: 16(float) FAdd 339 340 + 342: 48(bool) FOrdLessThan 341 149 + SelectionMerge 344 None + BranchConditional 342 343 344 + 343: Label + 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 + 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 348 348 12 12 + ReturnValue 345 + 344: Label + Branch 321 + 321: Label + 350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 + 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 311 311 12 12 + 352: 126(int) Load 314(i) + 353: 126(int) IAdd 352 129 + Store 314(i) 353 + Branch 318 + 320: Label + 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 56 + 355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 356 356 12 12 + ReturnValue 95 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.tese.out b/Test/baseResults/spv.debuginfo.glsl.tese.out index 1eec2ff6..c742d608 100644 --- a/Test/baseResults/spv.debuginfo.glsl.tese.out +++ b/Test/baseResults/spv.debuginfo.glsl.tese.out @@ -1,14 +1,14 @@ spv.debuginfo.glsl.tese // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 335 +// Id's are bound by 355 Capability Tessellation Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 283 297 305 317 324 + EntryPoint TessellationEvaluation 14 "main" 46 65 94 115 144 182 300 316 324 337 344 ExecutionMode 14 Quads ExecutionMode 14 SpacingEqual ExecutionMode 14 VertexOrderCw @@ -24,118 +24,118 @@ spv.debuginfo.glsl.tese #line 1 " 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" - 231: String "bool" - 238: String "modelview" - 243: String "lightPos" - 246: String "frustumPlanes" - 248: String "tessellatedEdgeSize" - 252: String "viewportDim" - 256: String "UBO" - 260: String "ubo" - 299: String "outViewVec" - 307: String "outLightVec" - 319: String "outWorldPos" - 326: String "outEyePos" + 39: String "uv1" + 48: String "inUV" + 51: String "int" + 67: String "gl_TessCoord" + 78: String "uv2" + 96: String "outUV" + 109: String "n1" + 117: String "inNormal" + 130: String "n2" + 146: String "outNormal" + 161: String "pos1" + 167: String "gl_Position" + 170: String "gl_PointSize" + 173: String "gl_CullDistance" + 177: String "gl_PerVertex" + 184: String "gl_in" + 199: String "pos2" + 213: String "pos" + 225: String "type.2d.image" + 226: String "@type.2d.image" + 230: String "type.sampled.image" + 231: String "@type.sampled.image" + 236: String "displacementMap" + 245: String "bool" + 252: String "modelview" + 256: String "lightPos" + 259: String "frustumPlanes" + 261: String "tessellatedEdgeSize" + 265: String "viewportDim" + 269: String "UBO" + 274: String "ubo" + 318: String "outViewVec" + 326: String "outLightVec" + 339: String "outWorldPos" + 346: String "outEyePos" Name 14 "main" - 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 236 "UBO" - MemberName 236(UBO) 0 "projection" - MemberName 236(UBO) 1 "modelview" - MemberName 236(UBO) 2 "lightPos" - MemberName 236(UBO) 3 "frustumPlanes" - MemberName 236(UBO) 4 "displacementFactor" - MemberName 236(UBO) 5 "tessellationFactor" - MemberName 236(UBO) 6 "viewportDim" - MemberName 236(UBO) 7 "tessellatedEdgeSize" - Name 258 "ubo" - Name 273 "gl_PerVertex" - MemberName 273(gl_PerVertex) 0 "gl_Position" - MemberName 273(gl_PerVertex) 1 "gl_PointSize" - MemberName 273(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 273(gl_PerVertex) 3 "gl_CullDistance" - Name 283 "" - Name 297 "outViewVec" - Name 305 "outLightVec" - Name 317 "outWorldPos" - Name 324 "outEyePos" - Decorate 43(inUV) Location 1 - Decorate 60(gl_TessCoord) BuiltIn TessCoord - Decorate 87(outUV) Location 1 - 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 234 ArrayStride 16 - MemberDecorate 236(UBO) 0 ColMajor - MemberDecorate 236(UBO) 0 Offset 0 - MemberDecorate 236(UBO) 0 MatrixStride 16 - MemberDecorate 236(UBO) 1 ColMajor - MemberDecorate 236(UBO) 1 Offset 64 - MemberDecorate 236(UBO) 1 MatrixStride 16 - MemberDecorate 236(UBO) 2 Offset 128 - MemberDecorate 236(UBO) 3 Offset 144 - MemberDecorate 236(UBO) 4 Offset 240 - MemberDecorate 236(UBO) 5 Offset 244 - MemberDecorate 236(UBO) 6 Offset 248 - MemberDecorate 236(UBO) 7 Offset 256 - Decorate 236(UBO) Block - Decorate 258(ubo) DescriptorSet 0 - Decorate 258(ubo) Binding 0 - MemberDecorate 273(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 273(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 273(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 273(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 273(gl_PerVertex) Block - Decorate 297(outViewVec) Location 2 - Decorate 305(outLightVec) Location 3 - Decorate 317(outWorldPos) Location 5 - Decorate 324(outEyePos) Location 4 + Name 37 "uv1" + Name 46 "inUV" + Name 65 "gl_TessCoord" + Name 76 "uv2" + Name 94 "outUV" + Name 107 "n1" + Name 115 "inNormal" + Name 128 "n2" + Name 144 "outNormal" + Name 159 "pos1" + Name 165 "gl_PerVertex" + MemberName 165(gl_PerVertex) 0 "gl_Position" + MemberName 165(gl_PerVertex) 1 "gl_PointSize" + MemberName 165(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 165(gl_PerVertex) 3 "gl_CullDistance" + Name 182 "gl_in" + Name 197 "pos2" + Name 211 "pos" + Name 234 "displacementMap" + Name 250 "UBO" + MemberName 250(UBO) 0 "projection" + MemberName 250(UBO) 1 "modelview" + MemberName 250(UBO) 2 "lightPos" + MemberName 250(UBO) 3 "frustumPlanes" + MemberName 250(UBO) 4 "displacementFactor" + MemberName 250(UBO) 5 "tessellationFactor" + MemberName 250(UBO) 6 "viewportDim" + MemberName 250(UBO) 7 "tessellatedEdgeSize" + Name 272 "ubo" + Name 289 "gl_PerVertex" + MemberName 289(gl_PerVertex) 0 "gl_Position" + MemberName 289(gl_PerVertex) 1 "gl_PointSize" + MemberName 289(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 289(gl_PerVertex) 3 "gl_CullDistance" + Name 300 "" + Name 316 "outViewVec" + Name 324 "outLightVec" + Name 337 "outWorldPos" + Name 344 "outEyePos" + Decorate 46(inUV) Location 1 + Decorate 65(gl_TessCoord) BuiltIn TessCoord + Decorate 94(outUV) Location 1 + Decorate 115(inNormal) Location 0 + Decorate 144(outNormal) Location 0 + MemberDecorate 165(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 165(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 165(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 165(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 165(gl_PerVertex) Block + Decorate 234(displacementMap) DescriptorSet 0 + Decorate 234(displacementMap) Binding 1 + Decorate 248 ArrayStride 16 + MemberDecorate 250(UBO) 0 ColMajor + MemberDecorate 250(UBO) 0 Offset 0 + MemberDecorate 250(UBO) 0 MatrixStride 16 + MemberDecorate 250(UBO) 1 ColMajor + MemberDecorate 250(UBO) 1 Offset 64 + MemberDecorate 250(UBO) 1 MatrixStride 16 + MemberDecorate 250(UBO) 2 Offset 128 + MemberDecorate 250(UBO) 3 Offset 144 + MemberDecorate 250(UBO) 4 Offset 240 + MemberDecorate 250(UBO) 5 Offset 244 + MemberDecorate 250(UBO) 6 Offset 248 + MemberDecorate 250(UBO) 7 Offset 256 + Decorate 250(UBO) Block + Decorate 272(ubo) DescriptorSet 0 + Decorate 272(ubo) Binding 0 + MemberDecorate 289(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 289(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 289(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 289(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 289(gl_PerVertex) Block + Decorate 316(outViewVec) Location 2 + Decorate 324(outLightVec) Location 3 + Decorate 337(outWorldPos) Location 5 + Decorate 344(outEyePos) Location 4 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -158,291 +158,311 @@ spv.debuginfo.glsl.tese 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 - 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 231 10 24 12 - 233: 230(bool) ConstantTrue - 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 233 - 234: TypeArray 145(fvec4) 11 - 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11 - 236(UBO): TypeStruct 228 228 145(fvec4) 234 29(float) 29(float) 32(fvec2) 29(float) - 239: 7(int) Constant 30 - 240: 7(int) Constant 7 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13 - 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13 - 244: 7(int) Constant 31 - 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 146 18 244 240 12 12 13 - 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 235 18 10 240 12 12 13 - 249: 7(int) Constant 36 - 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13 - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13 - 253: 7(int) Constant 35 - 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 33 18 253 240 12 12 13 - 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13 - 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 256 22 18 209 12 21 256 12 13 237 241 242 245 247 250 251 254 - 257: TypePointer Uniform 236(UBO) - 258(ubo): 257(ptr) Variable Uniform - 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 260 255 18 209 12 21 260 258(ubo) 46 - 261: 47(int) Constant 4 - 262: TypePointer Uniform 29(float) - 266: TypePointer Function 29(float) - 272: 7(int) Constant 71 -273(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152 - 275: 7(int) Constant 165 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 275 12 12 13 - 277: 7(int) Constant 183 - 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 277 12 12 13 - 279: 7(int) Constant 226 - 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13 - 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 272 12 21 166 12 13 274 276 278 280 - 282: TypePointer Output 273(gl_PerVertex) - 283: 282(ptr) Variable Output - 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 281 18 272 12 21 1 283 46 - 285: TypePointer Uniform 228 - 293: TypePointer Output 145(fvec4) - 296: 7(int) Constant 74 - 297(outViewVec): 133(ptr) Variable Output - 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 299 58 18 296 12 21 299 297(outViewVec) 46 - 304: 7(int) Constant 75 -305(outLightVec): 133(ptr) Variable Output - 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 307 58 18 304 12 21 307 305(outLightVec) 46 - 308: TypePointer Uniform 145(fvec4) - 316: 7(int) Constant 76 -317(outWorldPos): 133(ptr) Variable Output - 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 319 58 18 316 12 21 319 317(outWorldPos) 46 - 323: 7(int) Constant 77 - 324(outEyePos): 133(ptr) Variable Output - 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 326 58 18 323 12 21 326 324(outEyePos) 46 + 35: 7(int) Constant 7 + 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 35 12 + 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 39 33 18 28 12 17 23 + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 42: TypeArray 32(fvec2) 10 + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 33 10 + 44: TypePointer Input 42 + 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 43 22 12 + 46(inUV): 44(ptr) Variable Input + 49: 7(int) Constant 8 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 48 43 18 28 12 21 48 46(inUV) 49 + 50: TypeInt 32 1 + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 23 12 + 53: 50(int) Constant 0 + 54: TypePointer Input 32(fvec2) + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 22 12 + 58: 50(int) Constant 1 + 61: TypeVector 29(float) 3 + 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13 + 63: TypePointer Input 61(fvec3) + 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 22 12 +65(gl_TessCoord): 63(ptr) Variable Input + 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 67 62 18 28 12 21 67 65(gl_TessCoord) 49 + 68: TypePointer Input 29(float) + 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 22 12 + 75: 7(int) Constant 57 + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 78 33 18 75 12 17 23 + 80: 50(int) Constant 3 + 83: 50(int) Constant 2 + 91: 7(int) Constant 58 + 92: TypePointer Output 32(fvec2) + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 13 12 + 94(outUV): 92(ptr) Variable Output + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 96 33 18 91 12 21 96 94(outUV) 49 + 104: 7(int) Constant 60 + 105: TypePointer Function 61(fvec3) + 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 35 12 + 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 109 62 18 104 12 17 23 + 111: TypeArray 61(fvec3) 10 + 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 62 10 + 113: TypePointer Input 111 + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 112 22 12 + 115(inNormal): 113(ptr) Variable Input + 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 117 112 18 104 12 21 117 115(inNormal) 49 + 127: 7(int) Constant 61 + 129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 130 62 18 127 12 17 23 + 141: 7(int) Constant 62 + 142: TypePointer Output 61(fvec3) + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 13 12 + 144(outNormal): 142(ptr) Variable Output + 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 146 62 18 141 12 21 146 144(outNormal) 49 + 154: 7(int) Constant 65 + 155: TypeVector 29(float) 4 + 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23 + 157: TypePointer Function 155(fvec4) + 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 35 12 + 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 156 18 154 12 17 23 + 163: TypeArray 29(float) 22 + 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22 +165(gl_PerVertex): TypeStruct 155(fvec4) 29(float) 163 163 + 168: 7(int) Constant 1756 + 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 167 156 18 22 168 12 12 13 + 171: 7(int) Constant 1774 + 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 31 18 22 171 12 12 13 + 174: 7(int) Constant 1817 + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 174 12 12 13 + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 174 12 12 13 + 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 177 22 18 154 12 21 177 12 13 166 169 172 175 + 178: TypeArray 165(gl_PerVertex) 10 + 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 176 10 + 180: TypePointer Input 178 + 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 179 22 12 + 182(gl_in): 180(ptr) Variable Input + 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 184 179 18 154 12 21 184 182(gl_in) 49 + 185: TypePointer Input 155(fvec4) + 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 22 12 + 196: 7(int) Constant 66 + 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 199 156 18 196 12 17 23 + 210: 7(int) Constant 67 + 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 213 156 18 210 12 17 23 + 222: 7(int) Constant 69 + 223: TypeImage 29(float) 2D sampled format:Unknown + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 225 12 18 222 12 21 226 227 13 + 228: TypeSampledImage 223 + 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 230 12 18 222 12 21 231 227 13 + 232: TypePointer UniformConstant 228 + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 229 12 12 +234(displacementMap): 232(ptr) Variable UniformConstant + 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 236 229 18 222 12 21 236 234(displacementMap) 49 + 239: 29(float) Constant 0 + 242: TypeMatrix 155(fvec4) 4 + 244: TypeBool + 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 245 10 24 12 + 247: 244(bool) ConstantTrue + 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 156 23 247 + 248: TypeArray 155(fvec4) 11 + 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 156 11 + 250(UBO): TypeStruct 242 242 155(fvec4) 248 29(float) 29(float) 32(fvec2) 29(float) + 253: 7(int) Constant 30 + 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 243 18 253 35 12 12 13 + 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 243 18 253 35 12 12 13 + 257: 7(int) Constant 31 + 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 256 156 18 257 35 12 12 13 + 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 259 249 18 10 35 12 12 13 + 262: 7(int) Constant 36 + 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 261 31 18 262 49 12 12 13 + 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 261 31 18 262 49 12 12 13 + 266: 7(int) Constant 35 + 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 265 33 18 266 35 12 12 13 + 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 261 31 18 262 49 12 12 13 + 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 269 22 18 222 12 21 269 12 13 251 254 255 258 260 263 264 267 + 270: TypePointer Uniform 250(UBO) + 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 268 24 12 + 272(ubo): 270(ptr) Variable Uniform + 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 274 268 18 222 12 21 274 272(ubo) 49 + 275: 50(int) Constant 4 + 276: TypePointer Uniform 29(float) + 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 24 12 + 281: TypePointer Function 29(float) + 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 35 12 + 288: 7(int) Constant 71 +289(gl_PerVertex): TypeStruct 155(fvec4) 29(float) 163 163 + 291: 7(int) Constant 165 + 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 167 156 18 22 291 12 12 13 + 293: 7(int) Constant 183 + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 31 18 22 293 12 12 13 + 295: 7(int) Constant 226 + 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 295 12 12 13 + 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 295 12 12 13 + 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 177 22 18 288 12 21 177 12 13 290 292 294 296 + 298: TypePointer Output 289(gl_PerVertex) + 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 297 13 12 + 300: 298(ptr) Variable Output + 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 297 18 288 12 21 1 300 49 + 302: TypePointer Uniform 242 + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 243 24 12 + 311: TypePointer Output 155(fvec4) + 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 13 12 + 315: 7(int) Constant 74 + 316(outViewVec): 142(ptr) Variable Output + 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 318 62 18 315 12 21 318 316(outViewVec) 49 + 323: 7(int) Constant 75 +324(outLightVec): 142(ptr) Variable Output + 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 326 62 18 323 12 21 326 324(outLightVec) 49 + 327: TypePointer Uniform 155(fvec4) + 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 24 12 + 336: 7(int) Constant 76 +337(outWorldPos): 142(ptr) Variable Output + 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 339 62 18 336 12 21 339 337(outWorldPos) 49 + 343: 7(int) Constant 77 + 344(outEyePos): 142(ptr) Variable Output + 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 346 62 18 343 12 21 346 344(outEyePos) 49 Line 1 53 11 14(main): 4 Function None 5 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 + 37(uv1): 34(ptr) Variable Function + 76(uv2): 34(ptr) Variable Function + 107(n1): 105(ptr) Variable Function + 128(n2): 105(ptr) Variable Function + 159(pos1): 157(ptr) Variable Function + 197(pos2): 157(ptr) Variable Function + 211(pos): 157(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 - 263: 262(ptr) AccessChain 258(ubo) 261 - 264: 29(float) Load 263 - 265: 29(float) FMul 227 264 - 267: 266(ptr) AccessChain 198(pos) 22 - 268: 29(float) Load 267 - 269: 29(float) FSub 268 265 - 270: 266(ptr) AccessChain 198(pos) 22 - Store 270 269 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12 - 286: 285(ptr) AccessChain 258(ubo) 50 - 287: 228 Load 286 - 288: 285(ptr) AccessChain 258(ubo) 54 - 289: 228 Load 288 - 290: 228 MatrixTimesMatrix 287 289 - 291: 145(fvec4) Load 198(pos) - 292: 145(fvec4) MatrixTimesVector 290 291 - 294: 293(ptr) AccessChain 283 50 - Store 294 292 - 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 296 296 12 12 - 300: 145(fvec4) Load 198(pos) - 301: 57(fvec3) VectorShuffle 300 300 0 1 2 - 302: 57(fvec3) FNegate 301 - Store 297(outViewVec) 302 - 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 304 304 12 12 - 309: 308(ptr) AccessChain 258(ubo) 77 - 310: 145(fvec4) Load 309 - 311: 57(fvec3) VectorShuffle 310 310 0 1 2 - 312: 57(fvec3) Load 297(outViewVec) - 313: 57(fvec3) FAdd 311 312 - 314: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 313 - Store 305(outLightVec) 314 - 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 316 316 12 12 - 320: 145(fvec4) Load 198(pos) - 321: 57(fvec3) VectorShuffle 320 320 0 1 2 - Store 317(outWorldPos) 321 + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 38 37(uv1) 41 + 56: 54(ptr) AccessChain 46(inUV) 53 + 57: 32(fvec2) Load 56 + 59: 54(ptr) AccessChain 46(inUV) 58 + 60: 32(fvec2) Load 59 + 70: 68(ptr) AccessChain 65(gl_TessCoord) 12 + 71: 29(float) Load 70 + 72: 32(fvec2) CompositeConstruct 71 71 + 73: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 57 60 72 + Store 37(uv1) 73 + 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 75 75 12 12 + 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 77 76(uv2) 41 + 81: 54(ptr) AccessChain 46(inUV) 80 + 82: 32(fvec2) Load 81 + 84: 54(ptr) AccessChain 46(inUV) 83 + 85: 32(fvec2) Load 84 + 86: 68(ptr) AccessChain 65(gl_TessCoord) 12 + 87: 29(float) Load 86 + 88: 32(fvec2) CompositeConstruct 87 87 + 89: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 82 85 88 + Store 76(uv2) 89 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 91 91 12 12 + 97: 32(fvec2) Load 37(uv1) + 98: 32(fvec2) Load 76(uv2) + 99: 68(ptr) AccessChain 65(gl_TessCoord) 22 + 100: 29(float) Load 99 + 101: 32(fvec2) CompositeConstruct 100 100 + 102: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 97 98 101 + Store 94(outUV) 102 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 104 104 12 12 + 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 108 107(n1) 41 + 118: 63(ptr) AccessChain 115(inNormal) 53 + 119: 61(fvec3) Load 118 + 120: 63(ptr) AccessChain 115(inNormal) 58 + 121: 61(fvec3) Load 120 + 122: 68(ptr) AccessChain 65(gl_TessCoord) 12 + 123: 29(float) Load 122 + 124: 61(fvec3) CompositeConstruct 123 123 123 + 125: 61(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 119 121 124 + Store 107(n1) 125 + 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 127 127 12 12 + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 129 128(n2) 41 + 132: 63(ptr) AccessChain 115(inNormal) 80 + 133: 61(fvec3) Load 132 + 134: 63(ptr) AccessChain 115(inNormal) 83 + 135: 61(fvec3) Load 134 + 136: 68(ptr) AccessChain 65(gl_TessCoord) 12 + 137: 29(float) Load 136 + 138: 61(fvec3) CompositeConstruct 137 137 137 + 139: 61(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 133 135 138 + Store 128(n2) 139 + 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 141 141 12 12 + 147: 61(fvec3) Load 107(n1) + 148: 61(fvec3) Load 128(n2) + 149: 68(ptr) AccessChain 65(gl_TessCoord) 22 + 150: 29(float) Load 149 + 151: 61(fvec3) CompositeConstruct 150 150 150 + 152: 61(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 147 148 151 + Store 144(outNormal) 152 + 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 154 154 12 12 + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(pos1) 41 + 187: 185(ptr) AccessChain 182(gl_in) 53 53 + 188: 155(fvec4) Load 187 + 189: 185(ptr) AccessChain 182(gl_in) 58 53 + 190: 155(fvec4) Load 189 + 191: 68(ptr) AccessChain 65(gl_TessCoord) 12 + 192: 29(float) Load 191 + 193: 155(fvec4) CompositeConstruct 192 192 192 192 + 194: 155(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 188 190 193 + Store 159(pos1) 194 + 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 196 196 12 12 + 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 198 197(pos2) 41 + 201: 185(ptr) AccessChain 182(gl_in) 80 53 + 202: 155(fvec4) Load 201 + 203: 185(ptr) AccessChain 182(gl_in) 83 53 + 204: 155(fvec4) Load 203 + 205: 68(ptr) AccessChain 65(gl_TessCoord) 12 + 206: 29(float) Load 205 + 207: 155(fvec4) CompositeConstruct 206 206 206 206 + 208: 155(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 202 204 207 + Store 197(pos2) 208 + 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 210 210 12 12 + 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 212 211(pos) 41 + 215: 155(fvec4) Load 159(pos1) + 216: 155(fvec4) Load 197(pos2) + 217: 68(ptr) AccessChain 65(gl_TessCoord) 22 + 218: 29(float) Load 217 + 219: 155(fvec4) CompositeConstruct 218 218 218 218 + 220: 155(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 215 216 219 + Store 211(pos) 220 + 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 222 222 12 12 + 237: 228 Load 234(displacementMap) + 238: 32(fvec2) Load 94(outUV) + 240: 155(fvec4) ImageSampleExplicitLod 237 238 Lod 239 + 241: 29(float) CompositeExtract 240 0 + 278: 276(ptr) AccessChain 272(ubo) 275 + 279: 29(float) Load 278 + 280: 29(float) FMul 241 279 + 283: 281(ptr) AccessChain 211(pos) 22 + 284: 29(float) Load 283 + 285: 29(float) FSub 284 280 + 286: 281(ptr) AccessChain 211(pos) 22 + Store 286 285 + 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 288 288 12 12 + 304: 302(ptr) AccessChain 272(ubo) 53 + 305: 242 Load 304 + 306: 302(ptr) AccessChain 272(ubo) 58 + 307: 242 Load 306 + 308: 242 MatrixTimesMatrix 305 307 + 309: 155(fvec4) Load 211(pos) + 310: 155(fvec4) MatrixTimesVector 308 309 + 313: 311(ptr) AccessChain 300 53 + Store 313 310 + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 315 315 12 12 + 319: 155(fvec4) Load 211(pos) + 320: 61(fvec3) VectorShuffle 319 319 0 1 2 + 321: 61(fvec3) FNegate 320 + Store 316(outViewVec) 321 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12 - 327: 285(ptr) AccessChain 258(ubo) 54 - 328: 228 Load 327 - 329: 145(fvec4) Load 198(pos) - 330: 145(fvec4) MatrixTimesVector 328 329 - 331: 29(float) CompositeExtract 330 0 - 332: 29(float) CompositeExtract 330 1 - 333: 29(float) CompositeExtract 330 2 - 334: 57(fvec3) CompositeConstruct 331 332 333 - Store 324(outEyePos) 334 + 329: 327(ptr) AccessChain 272(ubo) 83 + 330: 155(fvec4) Load 329 + 331: 61(fvec3) VectorShuffle 330 330 0 1 2 + 332: 61(fvec3) Load 316(outViewVec) + 333: 61(fvec3) FAdd 331 332 + 334: 61(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 333 + Store 324(outLightVec) 334 + 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 336 336 12 12 + 340: 155(fvec4) Load 211(pos) + 341: 61(fvec3) VectorShuffle 340 340 0 1 2 + Store 337(outWorldPos) 341 + 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 343 343 12 12 + 347: 302(ptr) AccessChain 272(ubo) 58 + 348: 242 Load 347 + 349: 155(fvec4) Load 211(pos) + 350: 155(fvec4) MatrixTimesVector 348 349 + 351: 29(float) CompositeExtract 350 0 + 352: 29(float) CompositeExtract 350 1 + 353: 29(float) CompositeExtract 350 2 + 354: 61(fvec3) CompositeConstruct 351 352 353 + Store 344(outEyePos) 354 Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.glsl.vert.out b/Test/baseResults/spv.debuginfo.glsl.vert.out index 16858f3f..b185b1d0 100644 --- a/Test/baseResults/spv.debuginfo.glsl.vert.out +++ b/Test/baseResults/spv.debuginfo.glsl.vert.out @@ -1,14 +1,14 @@ spv.debuginfo.glsl.vert // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 427 +// Id's are bound by 443 Capability Shader Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Vertex 14 "main" 35 40 46 52 60 76 292 310 315 340 356 373 412 421 + EntryPoint Vertex 14 "main" 36 42 48 55 64 82 304 322 327 353 371 388 428 437 1: String "" 8: String "uint" 16: String "main" @@ -21,107 +21,107 @@ spv.debuginfo.glsl.vert #line 1 " 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" - 87: String "bool" - 92: String "modelview" - 97: String "lightPos" - 100: String "globSpeed" - 104: String "UBO" - 108: String "ubo" - 119: String "c" - 134: String "mx" - 177: String "my" - 214: String "mz" - 235: String "rotMat" - 264: String "gRotMat" - 290: String "locPos" - 294: String "inPos" - 306: String "pos" - 312: String "instanceScale" - 317: String "instancePos" - 330: String "gl_Position" - 333: String "gl_PointSize" - 335: String "gl_CullDistance" - 338: String "gl_PerVertex" - 358: String "outNormal" - 375: String "inNormal" - 394: String "lPos" - 414: String "outLightVec" - 423: String "outViewVec" + 38: String "outColor" + 44: String "inColor" + 50: String "outUV" + 57: String "inUV" + 60: String "int" + 66: String "instanceTexIndex" + 79: String "s" + 84: String "instanceRot" + 94: String "bool" + 99: String "modelview" + 103: String "lightPos" + 106: String "globSpeed" + 110: String "UBO" + 115: String "ubo" + 127: String "c" + 143: String "mx" + 187: String "my" + 224: String "mz" + 245: String "rotMat" + 275: String "gRotMat" + 302: String "locPos" + 306: String "inPos" + 318: String "pos" + 324: String "instanceScale" + 329: String "instancePos" + 342: String "gl_Position" + 345: String "gl_PointSize" + 347: String "gl_CullDistance" + 350: String "gl_PerVertex" + 373: String "outNormal" + 390: String "inNormal" + 409: String "lPos" + 430: String "outLightVec" + 439: String "outViewVec" Name 14 "main" - Name 35 "outColor" - Name 40 "inColor" - Name 46 "outUV" - Name 52 "inUV" - Name 60 "instanceTexIndex" - Name 71 "s" - Name 76 "instanceRot" - Name 90 "UBO" - MemberName 90(UBO) 0 "projection" - MemberName 90(UBO) 1 "modelview" - MemberName 90(UBO) 2 "lightPos" - MemberName 90(UBO) 3 "locSpeed" - MemberName 90(UBO) 4 "globSpeed" - Name 106 "ubo" - Name 117 "c" - Name 132 "mx" - Name 175 "my" - Name 212 "mz" - Name 233 "rotMat" - Name 262 "gRotMat" - Name 288 "locPos" - Name 292 "inPos" - Name 304 "pos" - Name 310 "instanceScale" - Name 315 "instancePos" - Name 328 "gl_PerVertex" - MemberName 328(gl_PerVertex) 0 "gl_Position" - MemberName 328(gl_PerVertex) 1 "gl_PointSize" - MemberName 328(gl_PerVertex) 2 "gl_ClipDistance" - MemberName 328(gl_PerVertex) 3 "gl_CullDistance" - Name 340 "" - Name 356 "outNormal" - Name 373 "inNormal" - Name 392 "lPos" - Name 412 "outLightVec" - Name 421 "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 90(UBO) 0 ColMajor - MemberDecorate 90(UBO) 0 Offset 0 - MemberDecorate 90(UBO) 0 MatrixStride 16 - MemberDecorate 90(UBO) 1 ColMajor - MemberDecorate 90(UBO) 1 Offset 64 - MemberDecorate 90(UBO) 1 MatrixStride 16 - MemberDecorate 90(UBO) 2 Offset 128 - MemberDecorate 90(UBO) 3 Offset 144 - MemberDecorate 90(UBO) 4 Offset 148 - Decorate 90(UBO) Block - Decorate 106(ubo) DescriptorSet 0 - Decorate 106(ubo) Binding 0 - Decorate 292(inPos) Location 0 - Decorate 310(instanceScale) Location 6 - Decorate 315(instancePos) Location 4 - MemberDecorate 328(gl_PerVertex) 0 BuiltIn Position - MemberDecorate 328(gl_PerVertex) 1 BuiltIn PointSize - MemberDecorate 328(gl_PerVertex) 2 BuiltIn ClipDistance - MemberDecorate 328(gl_PerVertex) 3 BuiltIn CullDistance - Decorate 328(gl_PerVertex) Block - Decorate 356(outNormal) Location 0 - Decorate 373(inNormal) Location 1 - Decorate 412(outLightVec) Location 4 - Decorate 421(outViewVec) Location 3 + Name 36 "outColor" + Name 42 "inColor" + Name 48 "outUV" + Name 55 "inUV" + Name 64 "instanceTexIndex" + Name 77 "s" + Name 82 "instanceRot" + Name 97 "UBO" + MemberName 97(UBO) 0 "projection" + MemberName 97(UBO) 1 "modelview" + MemberName 97(UBO) 2 "lightPos" + MemberName 97(UBO) 3 "locSpeed" + MemberName 97(UBO) 4 "globSpeed" + Name 113 "ubo" + Name 125 "c" + Name 141 "mx" + Name 185 "my" + Name 222 "mz" + Name 243 "rotMat" + Name 273 "gRotMat" + Name 300 "locPos" + Name 304 "inPos" + Name 316 "pos" + Name 322 "instanceScale" + Name 327 "instancePos" + Name 340 "gl_PerVertex" + MemberName 340(gl_PerVertex) 0 "gl_Position" + MemberName 340(gl_PerVertex) 1 "gl_PointSize" + MemberName 340(gl_PerVertex) 2 "gl_ClipDistance" + MemberName 340(gl_PerVertex) 3 "gl_CullDistance" + Name 353 "" + Name 371 "outNormal" + Name 388 "inNormal" + Name 407 "lPos" + Name 428 "outLightVec" + Name 437 "outViewVec" + Decorate 36(outColor) Location 1 + Decorate 42(inColor) Location 3 + Decorate 48(outUV) Location 2 + Decorate 55(inUV) Location 2 + Decorate 64(instanceTexIndex) Location 7 + Decorate 82(instanceRot) Location 5 + 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 148 + Decorate 97(UBO) Block + Decorate 113(ubo) DescriptorSet 0 + Decorate 113(ubo) Binding 0 + Decorate 304(inPos) Location 0 + Decorate 322(instanceScale) Location 6 + Decorate 327(instancePos) Location 4 + MemberDecorate 340(gl_PerVertex) 0 BuiltIn Position + MemberDecorate 340(gl_PerVertex) 1 BuiltIn PointSize + MemberDecorate 340(gl_PerVertex) 2 BuiltIn ClipDistance + MemberDecorate 340(gl_PerVertex) 3 BuiltIn CullDistance + Decorate 340(gl_PerVertex) Block + Decorate 371(outNormal) Location 0 + Decorate 388(inNormal) Location 1 + Decorate 428(outLightVec) Location 4 + Decorate 437(outViewVec) Location 3 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -144,401 +144,417 @@ spv.debuginfo.glsl.vert 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 - 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 10 24 12 - 89: 86(bool) ConstantTrue - 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 89 - 90(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float) - 93: 7(int) Constant 42 - 94: 7(int) Constant 7 - 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13 - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13 - 98: 7(int) Constant 43 - 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 97 83 18 98 94 12 12 13 - 101: 7(int) Constant 45 - 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13 - 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13 - 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 104 22 18 69 12 21 104 12 13 91 95 96 99 102 - 105: TypePointer Uniform 90(UBO) - 106(ubo): 105(ptr) Variable Uniform - 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 103 18 69 12 21 108 106(ubo) 38 - 109: 56(int) Constant 3 - 110: TypePointer Uniform 29(float) - 116: 7(int) Constant 63 - 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 31 18 116 12 17 23 - 128: 7(int) Constant 65 - 129: TypeMatrix 32(fvec3) 3 - 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 89 - 131: TypePointer Function 129 - 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 134 130 18 128 12 17 23 - 136: 56(int) Constant 0 - 139: 29(float) Constant 0 - 141: TypePointer Function 32(fvec3) - 144: 7(int) Constant 66 - 145: 56(int) Constant 1 - 152: 7(int) Constant 67 - 153: 56(int) Constant 2 - 154: 29(float) Constant 1065353216 - 155: 32(fvec3) ConstantComposite 139 139 154 - 158: 7(int) Constant 70 - 166: 7(int) Constant 71 - 174: 7(int) Constant 73 - 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 177 130 18 174 12 17 23 - 184: 7(int) Constant 74 - 185: 32(fvec3) ConstantComposite 139 154 139 - 188: 7(int) Constant 75 - 195: 7(int) Constant 78 - 203: 7(int) Constant 79 - 211: 7(int) Constant 81 - 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 214 130 18 211 12 17 23 - 216: 32(fvec3) ConstantComposite 154 139 139 - 219: 7(int) Constant 82 - 225: 7(int) Constant 83 - 232: 7(int) Constant 85 - 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 235 130 18 232 12 17 23 - 243: 7(int) Constant 88 - 246: 56(int) Constant 4 - 252: 7(int) Constant 89 - 260: 7(int) Constant 90 - 261: TypePointer Function 84 - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 264 85 18 260 12 17 23 - 269: TypePointer Function 82(fvec4) - 272: 7(int) Constant 91 - 273: 82(fvec4) ConstantComposite 139 154 139 139 - 276: 7(int) Constant 92 - 283: 7(int) Constant 93 - 284: 82(fvec4) ConstantComposite 139 139 139 154 - 287: 7(int) Constant 95 - 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 290 83 18 287 12 17 23 - 292(inPos): 39(ptr) Variable Input - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 294 33 18 287 12 21 294 292(inPos) 38 - 303: 7(int) Constant 96 - 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 83 18 303 12 17 23 -310(instanceScale): 79(ptr) Variable Input - 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 312 31 18 303 12 21 312 310(instanceScale) 38 -315(instancePos): 39(ptr) Variable Input - 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 33 18 303 12 21 317 315(instancePos) 38 - 325: 7(int) Constant 98 - 326: TypeArray 29(float) 22 - 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22 -328(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 326 326 - 331: 7(int) Constant 24 - 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 330 83 18 22 331 12 12 13 - 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 31 18 22 93 12 12 13 - 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13 - 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13 - 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 338 22 18 325 12 21 338 12 13 329 332 334 336 - 339: TypePointer Output 328(gl_PerVertex) - 340: 339(ptr) Variable Output - 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 337 18 325 12 21 1 340 38 - 342: TypePointer Uniform 84 - 352: TypePointer Output 82(fvec4) - 355: 7(int) Constant 99 - 356(outNormal): 34(ptr) Variable Output - 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 358 33 18 355 12 21 358 356(outNormal) 38 - 373(inNormal): 39(ptr) Variable Input - 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 33 18 355 12 21 375 373(inNormal) 38 - 379: 7(int) Constant 101 - 391: 7(int) Constant 102 - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 394 33 18 391 12 17 23 - 405: TypePointer Uniform 82(fvec4) - 411: 7(int) Constant 103 -412(outLightVec): 34(ptr) Variable Output - 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 414 33 18 411 12 21 414 412(outLightVec) 38 - 420: 7(int) Constant 104 - 421(outViewVec): 34(ptr) Variable Output - 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 423 33 18 420 12 21 423 421(outViewVec) 38 + 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 13 12 + 36(outColor): 34(ptr) Variable Output + 39: 7(int) Constant 8 + 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 38 33 18 28 12 21 38 36(outColor) 39 + 40: TypePointer Input 32(fvec3) + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 22 12 + 42(inColor): 40(ptr) Variable Input + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 44 33 18 28 12 21 44 42(inColor) 39 + 47: 7(int) Constant 57 + 48(outUV): 34(ptr) Variable Output + 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 50 33 18 47 12 21 50 48(outUV) 39 + 51: TypeVector 29(float) 2 + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24 + 53: TypePointer Input 51(fvec2) + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 52 22 12 + 55(inUV): 53(ptr) Variable Input + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 57 52 18 47 12 21 57 55(inUV) 39 + 59: TypeInt 32 1 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 60 10 23 12 + 62: TypePointer Input 59(int) + 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 61 22 12 +64(instanceTexIndex): 62(ptr) Variable Input + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 66 61 18 47 12 21 66 64(instanceTexIndex) 39 + 73: 7(int) Constant 62 + 74: TypePointer Function 29(float) + 75: 7(int) Constant 7 + 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 75 12 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 31 18 73 12 17 23 + 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 82(instanceRot): 40(ptr) Variable Input + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 84 33 18 73 12 21 84 82(instanceRot) 39 + 85: TypePointer Input 29(float) + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 22 12 + 89: TypeVector 29(float) 4 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23 + 91: TypeMatrix 89(fvec4) 4 + 93: TypeBool + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 94 10 24 12 + 96: 93(bool) ConstantTrue + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 90 23 96 + 97(UBO): TypeStruct 91 91 89(fvec4) 29(float) 29(float) + 100: 7(int) Constant 42 + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 99 92 18 100 75 12 12 13 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 99 92 18 100 75 12 12 13 + 104: 7(int) Constant 43 + 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 103 90 18 104 75 12 12 13 + 107: 7(int) Constant 45 + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 106 31 18 107 39 12 12 13 + 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 106 31 18 107 39 12 12 13 + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 110 22 18 73 12 21 110 12 13 98 101 102 105 108 + 111: TypePointer Uniform 97(UBO) + 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 109 24 12 + 113(ubo): 111(ptr) Variable Uniform + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 115 109 18 73 12 21 115 113(ubo) 39 + 116: 59(int) Constant 3 + 117: TypePointer Uniform 29(float) + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 24 12 + 124: 7(int) Constant 63 + 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 127 31 18 124 12 17 23 + 136: 7(int) Constant 65 + 137: TypeMatrix 32(fvec3) 3 + 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 96 + 139: TypePointer Function 137 + 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 138 75 12 + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 143 138 18 136 12 17 23 + 145: 59(int) Constant 0 + 148: 29(float) Constant 0 + 150: TypePointer Function 32(fvec3) + 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 75 12 + 154: 7(int) Constant 66 + 155: 59(int) Constant 1 + 162: 7(int) Constant 67 + 163: 59(int) Constant 2 + 164: 29(float) Constant 1065353216 + 165: 32(fvec3) ConstantComposite 148 148 164 + 168: 7(int) Constant 70 + 176: 7(int) Constant 71 + 184: 7(int) Constant 73 + 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 187 138 18 184 12 17 23 + 194: 7(int) Constant 74 + 195: 32(fvec3) ConstantComposite 148 164 148 + 198: 7(int) Constant 75 + 205: 7(int) Constant 78 + 213: 7(int) Constant 79 + 221: 7(int) Constant 81 + 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 224 138 18 221 12 17 23 + 226: 32(fvec3) ConstantComposite 164 148 148 + 229: 7(int) Constant 82 + 235: 7(int) Constant 83 + 242: 7(int) Constant 85 + 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 245 138 18 242 12 17 23 + 253: 7(int) Constant 88 + 256: 59(int) Constant 4 + 262: 7(int) Constant 89 + 270: 7(int) Constant 90 + 271: TypePointer Function 91 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 92 75 12 + 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 275 92 18 270 12 17 23 + 280: TypePointer Function 89(fvec4) + 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 90 75 12 + 284: 7(int) Constant 91 + 285: 89(fvec4) ConstantComposite 148 164 148 148 + 288: 7(int) Constant 92 + 295: 7(int) Constant 93 + 296: 89(fvec4) ConstantComposite 148 148 148 164 + 299: 7(int) Constant 95 + 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 302 90 18 299 12 17 23 + 304(inPos): 40(ptr) Variable Input + 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 306 33 18 299 12 21 306 304(inPos) 39 + 315: 7(int) Constant 96 + 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 318 90 18 315 12 17 23 +322(instanceScale): 85(ptr) Variable Input + 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 324 31 18 315 12 21 324 322(instanceScale) 39 +327(instancePos): 40(ptr) Variable Input + 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 329 33 18 315 12 21 329 327(instancePos) 39 + 337: 7(int) Constant 98 + 338: TypeArray 29(float) 22 + 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22 +340(gl_PerVertex): TypeStruct 89(fvec4) 29(float) 338 338 + 343: 7(int) Constant 24 + 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 342 90 18 22 343 12 12 13 + 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 345 31 18 22 100 12 12 13 + 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 347 339 18 22 242 12 12 13 + 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 347 339 18 22 242 12 12 13 + 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 350 22 18 337 12 21 350 12 13 341 344 346 348 + 351: TypePointer Output 340(gl_PerVertex) + 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 349 13 12 + 353: 351(ptr) Variable Output + 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 349 18 337 12 21 1 353 39 + 355: TypePointer Uniform 91 + 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 92 24 12 + 366: TypePointer Output 89(fvec4) + 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 90 13 12 + 370: 7(int) Constant 99 + 371(outNormal): 34(ptr) Variable Output + 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 373 33 18 370 12 21 373 371(outNormal) 39 + 388(inNormal): 40(ptr) Variable Input + 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 390 33 18 370 12 21 390 388(inNormal) 39 + 394: 7(int) Constant 101 + 406: 7(int) Constant 102 + 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 409 33 18 406 12 17 23 + 420: TypePointer Uniform 89(fvec4) + 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 90 24 12 + 427: 7(int) Constant 103 +428(outLightVec): 34(ptr) Variable Output + 429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 430 33 18 427 12 21 430 428(outLightVec) 39 + 436: 7(int) Constant 104 + 437(outViewVec): 34(ptr) Variable Output + 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 439 33 18 436 12 21 439 437(outViewVec) 39 Line 1 54 11 14(main): 4 Function None 5 15: Label - 71(s): 70(ptr) Variable Function - 117(c): 70(ptr) Variable Function - 132(mx): 131(ptr) Variable Function - 175(my): 131(ptr) Variable Function - 212(mz): 131(ptr) Variable Function - 233(rotMat): 131(ptr) Variable Function - 262(gRotMat): 261(ptr) Variable Function - 288(locPos): 269(ptr) Variable Function - 304(pos): 269(ptr) Variable Function - 392(lPos): 141(ptr) Variable Function + 77(s): 74(ptr) Variable Function + 125(c): 74(ptr) Variable Function + 141(mx): 139(ptr) Variable Function + 185(my): 139(ptr) Variable Function + 222(mz): 139(ptr) Variable Function + 243(rotMat): 139(ptr) Variable Function + 273(gRotMat): 271(ptr) Variable Function + 300(locPos): 280(ptr) Variable Function + 316(pos): 280(ptr) Variable Function + 407(lPos): 150(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 - 111: 110(ptr) AccessChain 106(ubo) 109 - 112: 29(float) Load 111 - 113: 29(float) FAdd 81 112 - 114: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 113 - Store 71(s) 114 - 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 116 116 12 12 - 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(c) 75 - 121: 79(ptr) AccessChain 76(instanceRot) 12 - 122: 29(float) Load 121 - 123: 110(ptr) AccessChain 106(ubo) 109 - 124: 29(float) Load 123 - 125: 29(float) FAdd 122 124 - 126: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 125 - Store 117(c) 126 - 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12 - 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 133 132(mx) 75 - 137: 29(float) Load 117(c) - 138: 29(float) Load 71(s) - 140: 32(fvec3) CompositeConstruct 137 138 139 - 142: 141(ptr) AccessChain 132(mx) 136 - Store 142 140 - 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12 - 146: 29(float) Load 71(s) - 147: 29(float) FNegate 146 - 148: 29(float) Load 117(c) - 149: 32(fvec3) CompositeConstruct 147 148 139 - 150: 141(ptr) AccessChain 132(mx) 145 - Store 150 149 - 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 152 152 12 12 - 156: 141(ptr) AccessChain 132(mx) 153 - Store 156 155 - 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 158 158 12 12 - 159: 79(ptr) AccessChain 76(instanceRot) 22 - 160: 29(float) Load 159 - 161: 110(ptr) AccessChain 106(ubo) 109 - 162: 29(float) Load 161 - 163: 29(float) FAdd 160 162 - 164: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 163 - Store 71(s) 164 - 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12 - 167: 79(ptr) AccessChain 76(instanceRot) 22 - 168: 29(float) Load 167 - 169: 110(ptr) AccessChain 106(ubo) 109 + 45: 32(fvec3) Load 42(inColor) + Store 36(outColor) 45 + 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 47 47 12 12 + 58: 51(fvec2) Load 55(inUV) + 67: 59(int) Load 64(instanceTexIndex) + 68: 29(float) ConvertSToF 67 + 69: 29(float) CompositeExtract 58 0 + 70: 29(float) CompositeExtract 58 1 + 71: 32(fvec3) CompositeConstruct 69 70 68 + Store 48(outUV) 71 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 73 73 12 12 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 78 77(s) 81 + 87: 85(ptr) AccessChain 82(instanceRot) 12 + 88: 29(float) Load 87 + 119: 117(ptr) AccessChain 113(ubo) 116 + 120: 29(float) Load 119 + 121: 29(float) FAdd 88 120 + 122: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 121 + Store 77(s) 122 + 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 124 124 12 12 + 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 126 125(c) 81 + 129: 85(ptr) AccessChain 82(instanceRot) 12 + 130: 29(float) Load 129 + 131: 117(ptr) AccessChain 113(ubo) 116 + 132: 29(float) Load 131 + 133: 29(float) FAdd 130 132 + 134: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 133 + Store 125(c) 134 + 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 136 136 12 12 + 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 142 141(mx) 81 + 146: 29(float) Load 125(c) + 147: 29(float) Load 77(s) + 149: 32(fvec3) CompositeConstruct 146 147 148 + 152: 150(ptr) AccessChain 141(mx) 145 + Store 152 149 + 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 154 154 12 12 + 156: 29(float) Load 77(s) + 157: 29(float) FNegate 156 + 158: 29(float) Load 125(c) + 159: 32(fvec3) CompositeConstruct 157 158 148 + 160: 150(ptr) AccessChain 141(mx) 155 + Store 160 159 + 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 162 162 12 12 + 166: 150(ptr) AccessChain 141(mx) 163 + Store 166 165 + 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 168 168 12 12 + 169: 85(ptr) AccessChain 82(instanceRot) 22 170: 29(float) Load 169 - 171: 29(float) FAdd 168 170 - 172: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 171 - Store 117(c) 172 - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 174 174 12 12 - 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 176 175(my) 75 - 179: 29(float) Load 117(c) - 180: 29(float) Load 71(s) - 181: 32(fvec3) CompositeConstruct 179 139 180 - 182: 141(ptr) AccessChain 175(my) 136 - Store 182 181 + 171: 117(ptr) AccessChain 113(ubo) 116 + 172: 29(float) Load 171 + 173: 29(float) FAdd 170 172 + 174: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 173 + Store 77(s) 174 + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 176 176 12 12 + 177: 85(ptr) AccessChain 82(instanceRot) 22 + 178: 29(float) Load 177 + 179: 117(ptr) AccessChain 113(ubo) 116 + 180: 29(float) Load 179 + 181: 29(float) FAdd 178 180 + 182: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 181 + Store 125(c) 182 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 184 184 12 12 - 186: 141(ptr) AccessChain 175(my) 145 - Store 186 185 - 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 188 188 12 12 - 189: 29(float) Load 71(s) - 190: 29(float) FNegate 189 - 191: 29(float) Load 117(c) - 192: 32(fvec3) CompositeConstruct 190 139 191 - 193: 141(ptr) AccessChain 175(my) 153 - Store 193 192 - 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 195 195 12 12 - 196: 79(ptr) AccessChain 76(instanceRot) 24 - 197: 29(float) Load 196 - 198: 110(ptr) AccessChain 106(ubo) 109 - 199: 29(float) Load 198 - 200: 29(float) FAdd 197 199 - 201: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 200 - Store 71(s) 201 - 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 203 203 12 12 - 204: 79(ptr) AccessChain 76(instanceRot) 24 - 205: 29(float) Load 204 - 206: 110(ptr) AccessChain 106(ubo) 109 + 188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 186 185(my) 81 + 189: 29(float) Load 125(c) + 190: 29(float) Load 77(s) + 191: 32(fvec3) CompositeConstruct 189 148 190 + 192: 150(ptr) AccessChain 185(my) 145 + Store 192 191 + 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 194 194 12 12 + 196: 150(ptr) AccessChain 185(my) 155 + Store 196 195 + 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 198 198 12 12 + 199: 29(float) Load 77(s) + 200: 29(float) FNegate 199 + 201: 29(float) Load 125(c) + 202: 32(fvec3) CompositeConstruct 200 148 201 + 203: 150(ptr) AccessChain 185(my) 163 + Store 203 202 + 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 205 205 12 12 + 206: 85(ptr) AccessChain 82(instanceRot) 24 207: 29(float) Load 206 - 208: 29(float) FAdd 205 207 - 209: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 208 - Store 117(c) 209 - 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 211 211 12 12 - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 213 212(mz) 75 - 217: 141(ptr) AccessChain 212(mz) 136 - Store 217 216 - 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 219 219 12 12 - 220: 29(float) Load 117(c) - 221: 29(float) Load 71(s) - 222: 32(fvec3) CompositeConstruct 139 220 221 - 223: 141(ptr) AccessChain 212(mz) 145 - Store 223 222 - 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12 - 226: 29(float) Load 71(s) - 227: 29(float) FNegate 226 - 228: 29(float) Load 117(c) - 229: 32(fvec3) CompositeConstruct 139 227 228 - 230: 141(ptr) AccessChain 212(mz) 153 - Store 230 229 - 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 232 232 12 12 - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 234 233(rotMat) 75 - 237: 129 Load 212(mz) - 238: 129 Load 175(my) - 239: 129 MatrixTimesMatrix 237 238 - 240: 129 Load 132(mx) - 241: 129 MatrixTimesMatrix 239 240 - Store 233(rotMat) 241 - 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 243 243 12 12 - 244: 79(ptr) AccessChain 76(instanceRot) 22 - 245: 29(float) Load 244 - 247: 110(ptr) AccessChain 106(ubo) 246 - 248: 29(float) Load 247 - 249: 29(float) FAdd 245 248 - 250: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 249 - Store 71(s) 250 - 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 252 252 12 12 - 253: 79(ptr) AccessChain 76(instanceRot) 22 - 254: 29(float) Load 253 - 255: 110(ptr) AccessChain 106(ubo) 246 - 256: 29(float) Load 255 - 257: 29(float) FAdd 254 256 - 258: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 257 - Store 117(c) 258 - 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 260 260 12 12 - 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 263 262(gRotMat) 75 - 266: 29(float) Load 117(c) - 267: 29(float) Load 71(s) - 268: 82(fvec4) CompositeConstruct 266 139 267 139 - 270: 269(ptr) AccessChain 262(gRotMat) 136 - Store 270 268 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12 - 274: 269(ptr) AccessChain 262(gRotMat) 145 - Store 274 273 - 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 276 276 12 12 - 277: 29(float) Load 71(s) - 278: 29(float) FNegate 277 - 279: 29(float) Load 117(c) - 280: 82(fvec4) CompositeConstruct 278 139 279 139 - 281: 269(ptr) AccessChain 262(gRotMat) 153 - Store 281 280 - 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 283 283 12 12 - 285: 269(ptr) AccessChain 262(gRotMat) 109 - Store 285 284 - 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 287 287 12 12 - 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 289 288(locPos) 75 - 295: 32(fvec3) Load 292(inPos) - 296: 129 Load 233(rotMat) - 297: 32(fvec3) VectorTimesMatrix 295 296 - 298: 29(float) CompositeExtract 297 0 - 299: 29(float) CompositeExtract 297 1 - 300: 29(float) CompositeExtract 297 2 - 301: 82(fvec4) CompositeConstruct 298 299 300 154 - Store 288(locPos) 301 - 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 303 303 12 12 - 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(pos) 75 - 308: 82(fvec4) Load 288(locPos) - 309: 32(fvec3) VectorShuffle 308 308 0 1 2 - 313: 29(float) Load 310(instanceScale) - 314: 32(fvec3) VectorTimesScalar 309 313 - 318: 32(fvec3) Load 315(instancePos) - 319: 32(fvec3) FAdd 314 318 - 320: 29(float) CompositeExtract 319 0 - 321: 29(float) CompositeExtract 319 1 - 322: 29(float) CompositeExtract 319 2 - 323: 82(fvec4) CompositeConstruct 320 321 322 154 - Store 304(pos) 323 - 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 325 325 12 12 - 343: 342(ptr) AccessChain 106(ubo) 136 - 344: 84 Load 343 - 345: 342(ptr) AccessChain 106(ubo) 145 - 346: 84 Load 345 - 347: 84 MatrixTimesMatrix 344 346 - 348: 84 Load 262(gRotMat) - 349: 84 MatrixTimesMatrix 347 348 - 350: 82(fvec4) Load 304(pos) - 351: 82(fvec4) MatrixTimesVector 349 350 - 353: 352(ptr) AccessChain 340 136 - Store 353 351 - 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 355 355 12 12 - 359: 342(ptr) AccessChain 106(ubo) 145 - 360: 84 Load 359 - 361: 84 Load 262(gRotMat) - 362: 84 MatrixTimesMatrix 360 361 - 363: 82(fvec4) CompositeExtract 362 0 - 364: 32(fvec3) VectorShuffle 363 363 0 1 2 - 365: 82(fvec4) CompositeExtract 362 1 - 366: 32(fvec3) VectorShuffle 365 365 0 1 2 - 367: 82(fvec4) CompositeExtract 362 2 - 368: 32(fvec3) VectorShuffle 367 367 0 1 2 - 369: 129 CompositeConstruct 364 366 368 - 370: 129 Load 233(rotMat) - 371: 129 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 370 - 372: 129 MatrixTimesMatrix 369 371 - 376: 32(fvec3) Load 373(inNormal) - 377: 32(fvec3) MatrixTimesVector 372 376 - Store 356(outNormal) 377 - 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 379 379 12 12 - 380: 342(ptr) AccessChain 106(ubo) 145 - 381: 84 Load 380 - 382: 32(fvec3) Load 292(inPos) - 383: 32(fvec3) Load 315(instancePos) - 384: 32(fvec3) FAdd 382 383 - 385: 29(float) CompositeExtract 384 0 - 386: 29(float) CompositeExtract 384 1 - 387: 29(float) CompositeExtract 384 2 - 388: 82(fvec4) CompositeConstruct 385 386 387 154 - 389: 82(fvec4) MatrixTimesVector 381 388 - Store 304(pos) 389 - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 391 391 12 12 - 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 393 392(lPos) 75 - 396: 342(ptr) AccessChain 106(ubo) 145 - 397: 84 Load 396 - 398: 82(fvec4) CompositeExtract 397 0 - 399: 32(fvec3) VectorShuffle 398 398 0 1 2 - 400: 82(fvec4) CompositeExtract 397 1 - 401: 32(fvec3) VectorShuffle 400 400 0 1 2 - 402: 82(fvec4) CompositeExtract 397 2 - 403: 32(fvec3) VectorShuffle 402 402 0 1 2 - 404: 129 CompositeConstruct 399 401 403 - 406: 405(ptr) AccessChain 106(ubo) 153 - 407: 82(fvec4) Load 406 - 408: 32(fvec3) VectorShuffle 407 407 0 1 2 - 409: 32(fvec3) MatrixTimesVector 404 408 - Store 392(lPos) 409 - 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 411 411 12 12 - 415: 32(fvec3) Load 392(lPos) - 416: 82(fvec4) Load 304(pos) - 417: 32(fvec3) VectorShuffle 416 416 0 1 2 - 418: 32(fvec3) FSub 415 417 - Store 412(outLightVec) 418 - 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 420 420 12 12 - 424: 82(fvec4) Load 304(pos) - 425: 32(fvec3) VectorShuffle 424 424 0 1 2 - 426: 32(fvec3) FNegate 425 - Store 421(outViewVec) 426 + 208: 117(ptr) AccessChain 113(ubo) 116 + 209: 29(float) Load 208 + 210: 29(float) FAdd 207 209 + 211: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 210 + Store 77(s) 211 + 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 213 213 12 12 + 214: 85(ptr) AccessChain 82(instanceRot) 24 + 215: 29(float) Load 214 + 216: 117(ptr) AccessChain 113(ubo) 116 + 217: 29(float) Load 216 + 218: 29(float) FAdd 215 217 + 219: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 218 + Store 125(c) 219 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 221 221 12 12 + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 223 222(mz) 81 + 227: 150(ptr) AccessChain 222(mz) 145 + Store 227 226 + 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 229 229 12 12 + 230: 29(float) Load 125(c) + 231: 29(float) Load 77(s) + 232: 32(fvec3) CompositeConstruct 148 230 231 + 233: 150(ptr) AccessChain 222(mz) 155 + Store 233 232 + 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 235 235 12 12 + 236: 29(float) Load 77(s) + 237: 29(float) FNegate 236 + 238: 29(float) Load 125(c) + 239: 32(fvec3) CompositeConstruct 148 237 238 + 240: 150(ptr) AccessChain 222(mz) 163 + Store 240 239 + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 242 242 12 12 + 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 244 243(rotMat) 81 + 247: 137 Load 222(mz) + 248: 137 Load 185(my) + 249: 137 MatrixTimesMatrix 247 248 + 250: 137 Load 141(mx) + 251: 137 MatrixTimesMatrix 249 250 + Store 243(rotMat) 251 + 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 253 253 12 12 + 254: 85(ptr) AccessChain 82(instanceRot) 22 + 255: 29(float) Load 254 + 257: 117(ptr) AccessChain 113(ubo) 256 + 258: 29(float) Load 257 + 259: 29(float) FAdd 255 258 + 260: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 259 + Store 77(s) 260 + 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 262 262 12 12 + 263: 85(ptr) AccessChain 82(instanceRot) 22 + 264: 29(float) Load 263 + 265: 117(ptr) AccessChain 113(ubo) 256 + 266: 29(float) Load 265 + 267: 29(float) FAdd 264 266 + 268: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 267 + Store 125(c) 268 + 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12 + 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 274 273(gRotMat) 81 + 277: 29(float) Load 125(c) + 278: 29(float) Load 77(s) + 279: 89(fvec4) CompositeConstruct 277 148 278 148 + 282: 280(ptr) AccessChain 273(gRotMat) 145 + Store 282 279 + 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 284 284 12 12 + 286: 280(ptr) AccessChain 273(gRotMat) 155 + Store 286 285 + 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 288 288 12 12 + 289: 29(float) Load 77(s) + 290: 29(float) FNegate 289 + 291: 29(float) Load 125(c) + 292: 89(fvec4) CompositeConstruct 290 148 291 148 + 293: 280(ptr) AccessChain 273(gRotMat) 163 + Store 293 292 + 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 295 295 12 12 + 297: 280(ptr) AccessChain 273(gRotMat) 116 + Store 297 296 + 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 299 299 12 12 + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 301 300(locPos) 81 + 307: 32(fvec3) Load 304(inPos) + 308: 137 Load 243(rotMat) + 309: 32(fvec3) VectorTimesMatrix 307 308 + 310: 29(float) CompositeExtract 309 0 + 311: 29(float) CompositeExtract 309 1 + 312: 29(float) CompositeExtract 309 2 + 313: 89(fvec4) CompositeConstruct 310 311 312 164 + Store 300(locPos) 313 + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 315 315 12 12 + 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 317 316(pos) 81 + 320: 89(fvec4) Load 300(locPos) + 321: 32(fvec3) VectorShuffle 320 320 0 1 2 + 325: 29(float) Load 322(instanceScale) + 326: 32(fvec3) VectorTimesScalar 321 325 + 330: 32(fvec3) Load 327(instancePos) + 331: 32(fvec3) FAdd 326 330 + 332: 29(float) CompositeExtract 331 0 + 333: 29(float) CompositeExtract 331 1 + 334: 29(float) CompositeExtract 331 2 + 335: 89(fvec4) CompositeConstruct 332 333 334 164 + Store 316(pos) 335 + 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 337 337 12 12 + 357: 355(ptr) AccessChain 113(ubo) 145 + 358: 91 Load 357 + 359: 355(ptr) AccessChain 113(ubo) 155 + 360: 91 Load 359 + 361: 91 MatrixTimesMatrix 358 360 + 362: 91 Load 273(gRotMat) + 363: 91 MatrixTimesMatrix 361 362 + 364: 89(fvec4) Load 316(pos) + 365: 89(fvec4) MatrixTimesVector 363 364 + 368: 366(ptr) AccessChain 353 145 + Store 368 365 + 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 370 370 12 12 + 374: 355(ptr) AccessChain 113(ubo) 155 + 375: 91 Load 374 + 376: 91 Load 273(gRotMat) + 377: 91 MatrixTimesMatrix 375 376 + 378: 89(fvec4) CompositeExtract 377 0 + 379: 32(fvec3) VectorShuffle 378 378 0 1 2 + 380: 89(fvec4) CompositeExtract 377 1 + 381: 32(fvec3) VectorShuffle 380 380 0 1 2 + 382: 89(fvec4) CompositeExtract 377 2 + 383: 32(fvec3) VectorShuffle 382 382 0 1 2 + 384: 137 CompositeConstruct 379 381 383 + 385: 137 Load 243(rotMat) + 386: 137 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 385 + 387: 137 MatrixTimesMatrix 384 386 + 391: 32(fvec3) Load 388(inNormal) + 392: 32(fvec3) MatrixTimesVector 387 391 + Store 371(outNormal) 392 + 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 394 394 12 12 + 395: 355(ptr) AccessChain 113(ubo) 155 + 396: 91 Load 395 + 397: 32(fvec3) Load 304(inPos) + 398: 32(fvec3) Load 327(instancePos) + 399: 32(fvec3) FAdd 397 398 + 400: 29(float) CompositeExtract 399 0 + 401: 29(float) CompositeExtract 399 1 + 402: 29(float) CompositeExtract 399 2 + 403: 89(fvec4) CompositeConstruct 400 401 402 164 + 404: 89(fvec4) MatrixTimesVector 396 403 + Store 316(pos) 404 + 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 406 406 12 12 + 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 408 407(lPos) 81 + 411: 355(ptr) AccessChain 113(ubo) 155 + 412: 91 Load 411 + 413: 89(fvec4) CompositeExtract 412 0 + 414: 32(fvec3) VectorShuffle 413 413 0 1 2 + 415: 89(fvec4) CompositeExtract 412 1 + 416: 32(fvec3) VectorShuffle 415 415 0 1 2 + 417: 89(fvec4) CompositeExtract 412 2 + 418: 32(fvec3) VectorShuffle 417 417 0 1 2 + 419: 137 CompositeConstruct 414 416 418 + 422: 420(ptr) AccessChain 113(ubo) 163 + 423: 89(fvec4) Load 422 + 424: 32(fvec3) VectorShuffle 423 423 0 1 2 + 425: 32(fvec3) MatrixTimesVector 419 424 + Store 407(lPos) 425 + 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 427 427 12 12 + 431: 32(fvec3) Load 407(lPos) + 432: 89(fvec4) Load 316(pos) + 433: 32(fvec3) VectorShuffle 432 432 0 1 2 + 434: 32(fvec3) FSub 431 433 + Store 428(outLightVec) 434 + 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 436 436 12 12 + 440: 89(fvec4) Load 316(pos) + 441: 32(fvec3) VectorShuffle 440 440 0 1 2 + 442: 32(fvec3) FNegate 441 + Store 437(outViewVec) 442 Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.comp.out b/Test/baseResults/spv.debuginfo.hlsl.comp.out index 65bd8a17..b4dd8371 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 953 +// Id's are bound by 966 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" 948 + EntryPoint GLCompute 6 "main" 961 ExecutionMode 6 LocalSize 10 10 1 1: String "" 9: String "float" 12: String "uint" - 29: String "springForce" - 32: String "// OpModuleProcessed auto-map-locations + 32: String "springForce" + 35: 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 " - 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" - 220: String "particleOut" - 245: String "force" - 258: String "pos" - 268: String "vel" - 552: String "f" - 601: String "sphereDist" - 653: String "calculateNormals" - 657: String "PushConstants" - 660: String "pushConstants" - 663: String "$Global" - 700: String "a" - 713: String "b" - 730: String "c" + 44: String "p0" + 48: String "p1" + 52: String "restDist" + 63: String "@main" + 69: String "id" + 77: String "dist" + 89: String "int" + 95: String "sphereRadius" + 106: String "gravity" + 111: String "particleCount" + 114: String "UBO" + 117: String "params" + 121: String "ubo" + 149: String "index" + 173: String "bool" + 187: String "normal" + 194: String "pinned" + 198: String "Particle" + 203: String "@data" + 207: String "particleIn" + 229: String "particleOut" + 256: String "force" + 269: String "pos" + 279: String "vel" + 563: String "f" + 612: String "sphereDist" + 664: String "calculateNormals" + 668: String "PushConstants" + 671: String "pushConstants" + 674: String "$Global" + 713: String "a" + 726: String "b" + 743: String "c" Name 6 "main" - Name 27 "springForce(vf3;vf3;f1;" - Name 24 "p0" - Name 25 "p1" - Name 26 "restDist" - 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 30 "springForce(vf3;vf3;f1;" + Name 27 "p0" + Name 28 "p1" + Name 29 "restDist" + Name 61 "@main(vu3;" + Name 60 "id" + Name 75 "dist" + Name 93 "UBO" + MemberName 93(UBO) 0 "deltaT" + MemberName 93(UBO) 1 "particleMass" + MemberName 93(UBO) 2 "springStiffness" + MemberName 93(UBO) 3 "damping" + MemberName 93(UBO) 4 "restDistH" + MemberName 93(UBO) 5 "restDistV" + MemberName 93(UBO) 6 "restDistD" + MemberName 93(UBO) 7 "sphereRadius" + MemberName 93(UBO) 8 "spherePos" + MemberName 93(UBO) 9 "gravity" + MemberName 93(UBO) 10 "particleCount" + Name 115 "ubo" + MemberName 115(ubo) 0 "params" + Name 124 "" + Name 147 "index" + Name 185 "Particle" + MemberName 185(Particle) 0 "pos" + MemberName 185(Particle) 1 "vel" + MemberName 185(Particle) 2 "uv" + MemberName 185(Particle) 3 "normal" + MemberName 185(Particle) 4 "pinned" Name 201 "particleIn" - Name 216 "particleOut" - MemberName 216(particleOut) 0 "@data" - Name 222 "particleOut" - Name 243 "force" - Name 256 "pos" - Name 266 "vel" - Name 286 "param" - Name 290 "param" - Name 292 "param" - Name 315 "param" - Name 319 "param" - Name 321 "param" - Name 348 "param" - Name 352 "param" - Name 354 "param" - Name 376 "param" - Name 380 "param" - Name 382 "param" - Name 414 "param" - Name 418 "param" - Name 420 "param" - Name 447 "param" - Name 451 "param" - Name 453 "param" - Name 488 "param" - Name 492 "param" - Name 494 "param" - Name 525 "param" - Name 529 "param" - Name 531 "param" - Name 550 "f" - Name 599 "sphereDist" - Name 651 "PushConstants" - MemberName 651(PushConstants) 0 "calculateNormals" - Name 658 "$Global" - MemberName 658($Global) 0 "pushConstants" - Name 665 "" - Name 676 "normal" - Name 698 "a" - Name 711 "b" - Name 728 "c" - Name 946 "id" - Name 948 "id" - Name 950 "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 214 ArrayStride 80 - MemberDecorate 216(particleOut) 0 Offset 0 - Decorate 216(particleOut) BufferBlock - Decorate 222(particleOut) DescriptorSet 0 - Decorate 222(particleOut) Binding 1 - MemberDecorate 651(PushConstants) 0 Offset 0 - MemberDecorate 658($Global) 0 Offset 0 - Decorate 658($Global) Block - Decorate 665 DescriptorSet 0 - Decorate 665 Binding 3 - Decorate 948(id) BuiltIn GlobalInvocationId + MemberName 201(particleIn) 0 "@data" + Name 210 "particleIn" + Name 225 "particleOut" + MemberName 225(particleOut) 0 "@data" + Name 232 "particleOut" + Name 254 "force" + Name 267 "pos" + Name 277 "vel" + Name 297 "param" + Name 301 "param" + Name 303 "param" + Name 326 "param" + Name 330 "param" + Name 332 "param" + Name 359 "param" + Name 363 "param" + Name 365 "param" + Name 387 "param" + Name 391 "param" + Name 393 "param" + Name 425 "param" + Name 429 "param" + Name 431 "param" + Name 458 "param" + Name 462 "param" + Name 464 "param" + Name 499 "param" + Name 503 "param" + Name 505 "param" + Name 536 "param" + Name 540 "param" + Name 542 "param" + Name 561 "f" + Name 610 "sphereDist" + Name 662 "PushConstants" + MemberName 662(PushConstants) 0 "calculateNormals" + Name 669 "$Global" + MemberName 669($Global) 0 "pushConstants" + Name 677 "" + Name 689 "normal" + Name 711 "a" + Name 724 "b" + Name 741 "c" + Name 959 "id" + Name 961 "id" + Name 963 "param" + MemberDecorate 93(UBO) 0 Offset 0 + MemberDecorate 93(UBO) 1 Offset 4 + MemberDecorate 93(UBO) 2 Offset 8 + MemberDecorate 93(UBO) 3 Offset 12 + MemberDecorate 93(UBO) 4 Offset 16 + MemberDecorate 93(UBO) 5 Offset 20 + MemberDecorate 93(UBO) 6 Offset 24 + MemberDecorate 93(UBO) 7 Offset 28 + MemberDecorate 93(UBO) 8 Offset 32 + MemberDecorate 93(UBO) 9 Offset 48 + MemberDecorate 93(UBO) 10 Offset 64 + MemberDecorate 115(ubo) 0 Offset 0 + Decorate 115(ubo) Block + Decorate 124 DescriptorSet 0 + Decorate 124 Binding 2 + MemberDecorate 185(Particle) 0 Offset 0 + MemberDecorate 185(Particle) 1 Offset 16 + MemberDecorate 185(Particle) 2 Offset 32 + MemberDecorate 185(Particle) 3 Offset 48 + MemberDecorate 185(Particle) 4 Offset 64 + Decorate 199 ArrayStride 80 + MemberDecorate 201(particleIn) 0 NonWritable + MemberDecorate 201(particleIn) 0 Offset 0 + Decorate 201(particleIn) BufferBlock + Decorate 210(particleIn) DescriptorSet 0 + Decorate 210(particleIn) Binding 0 + Decorate 223 ArrayStride 80 + MemberDecorate 225(particleOut) 0 Offset 0 + Decorate 225(particleOut) BufferBlock + Decorate 232(particleOut) DescriptorSet 0 + Decorate 232(particleOut) Binding 1 + MemberDecorate 662(PushConstants) 0 Offset 0 + MemberDecorate 669($Global) 0 Offset 0 + Decorate 669($Global) Block + Decorate 677 DescriptorSet 0 + Decorate 677 Binding 3 + Decorate 961(id) BuiltIn GlobalInvocationId 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -183,1030 +183,1043 @@ spv.debuginfo.hlsl.comp 18: TypeVector 8(float) 3 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 20: TypePointer Function 18(fvec3) - 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 - 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 - 213: 11(int) Constant 89 - 214: TypeRuntimeArray 177(Particle) - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 189 16 -216(particleOut): TypeStruct 214 - 218: 11(int) Constant 37 - 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 195 215 31 218 180 16 16 17 - 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 220 35 31 213 16 34 220 16 17 217 - 221: TypePointer Uniform 216(particleOut) -222(particleOut): 221(ptr) Variable Uniform - 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 220 219 31 213 16 34 220 222(particleOut) 121 - 226: TypePointer Uniform 82(fvec4) - 231: 11(int) Constant 90 - 233: 84(int) Constant 1 - 234: 8(float) Constant 0 - 235: 82(fvec4) ConstantComposite 234 234 234 234 - 238: 11(int) Constant 91 - 242: 11(int) Constant 95 - 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 245 19 31 242 16 60 36 - 247: 84(int) Constant 9 - 255: 11(int) Constant 97 - 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 258 19 31 255 16 60 36 - 265: 11(int) Constant 98 - 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 268 19 31 265 16 60 36 - 275: 11(int) Constant 102 - 283: 11(int) Constant 103 - 300: 11(int) Constant 106 - 312: 11(int) Constant 107 - 329: 11(int) Constant 110 - 341: 11(int) Constant 111 - 347: 84(int) Constant 5 - 362: 11(int) Constant 114 - 370: 11(int) Constant 115 - 390: 11(int) Constant 118 - 406: 11(int) Constant 119 - 413: 84(int) Constant 6 - 428: 11(int) Constant 122 - 440: 11(int) Constant 123 - 461: 11(int) Constant 126 - 481: 11(int) Constant 127 - 502: 11(int) Constant 130 - 518: 11(int) Constant 131 - 539: 11(int) Constant 134 - 540: 84(int) Constant 3 - 549: 11(int) Constant 137 - 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 552 19 31 549 16 60 36 - 560: 11(int) Constant 138 - 568: 8(float) Constant 1056964608 - 584: 11(int) Constant 139 - 598: 11(int) Constant 142 - 600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 601 19 31 598 16 60 36 - 607: 84(int) Constant 8 - 613: 11(int) Constant 143 - 616: 84(int) Constant 7 - 619: 8(float) Constant 1008981770 - 626: 11(int) Constant 145 - 645: 11(int) Constant 147 - 650: 11(int) Constant 151 -651(PushConstants): TypeStruct 11(int) - 654: 11(int) Constant 67 - 655: 11(int) Constant 23 - 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 653 13 31 654 655 16 16 17 - 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 657 35 31 650 16 34 657 16 17 652 - 658($Global): TypeStruct 651(PushConstants) - 661: 11(int) Constant 71 - 659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 660 656 31 661 181 16 16 17 - 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 663 35 31 650 16 34 663 16 17 659 - 664: TypePointer Uniform 658($Global) - 665: 664(ptr) Variable Uniform - 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 662 31 650 16 34 1 665 121 - 667: TypePointer Uniform 11(int) - 675: 11(int) Constant 152 - 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 19 31 675 16 60 36 - 679: 18(fvec3) ConstantComposite 234 234 234 - 681: 11(int) Constant 154 - 689: 11(int) Constant 155 - 697: 11(int) Constant 156 - 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 700 19 31 697 16 60 36 - 710: 11(int) Constant 157 - 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 713 19 31 710 16 60 36 - 727: 11(int) Constant 158 - 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 730 19 31 727 16 60 36 - 743: 11(int) Constant 159 - 755: 11(int) Constant 161 - 767: 11(int) Constant 162 - 779: 11(int) Constant 163 - 792: 11(int) Constant 164 - 801: 11(int) Constant 165 - 813: 11(int) Constant 168 - 825: 11(int) Constant 169 - 833: 11(int) Constant 170 - 845: 11(int) Constant 171 - 858: 11(int) Constant 172 - 867: 11(int) Constant 173 - 879: 11(int) Constant 175 - 891: 11(int) Constant 176 - 900: 11(int) Constant 177 - 913: 11(int) Constant 178 - 925: 11(int) Constant 179 - 937: 11(int) Constant 182 - 947: TypePointer Input 51(ivec3) - 948(id): 947(ptr) Variable Input + 21: 11(int) Constant 7 + 22: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 19 21 16 + 23: TypePointer Function 8(float) + 24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 21 16 + 25: TypeFunction 18(fvec3) 20(ptr) 20(ptr) 23(ptr) + 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 19 19 19 10 + 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 35 + 36: 11(int) Constant 75 + 38: 11(int) Constant 1 + 39: 11(int) Constant 4 + 40: 11(int) Constant 5 + 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 38 39 34 40 + 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 32 26 34 36 16 37 32 17 36 + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 44 19 34 36 16 33 39 38 + 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 49: 11(int) Constant 2 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 48 19 34 36 16 33 39 49 + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 10 34 36 16 33 39 17 + 54: TypeVector 11(int) 3 + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17 + 56: TypePointer Function 54(ivec3) + 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 55 21 16 + 58: TypeFunction 4 56(ptr) + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 55 + 65: 11(int) Constant 82 + 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 63 59 34 65 16 37 63 17 65 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 69 55 34 65 16 64 39 38 + 74: 11(int) Constant 76 + 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 19 34 74 16 33 39 + 83: 11(int) Constant 77 + 86: TypeVector 8(float) 4 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 39 + 88: TypeInt 32 1 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 89 14 39 16 + 91: TypeVector 88(int) 2 + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 90 49 + 93(UBO): TypeStruct 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 86(fvec4) 86(fvec4) 91(ivec2) + 96: 11(int) Constant 48 + 97: 11(int) Constant 20 + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 10 34 96 97 16 16 17 + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 10 34 96 97 16 16 17 + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 10 34 96 97 16 16 17 + 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 10 34 96 97 16 16 17 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 10 34 96 97 16 16 17 + 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 10 34 96 97 16 16 17 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 10 34 96 97 16 16 17 + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 10 34 96 97 16 16 17 + 107: 11(int) Constant 50 + 108: 11(int) Constant 16 + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 106 87 34 107 108 16 16 17 + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 106 87 34 107 108 16 16 17 + 112: 11(int) Constant 51 + 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 111 92 34 112 97 16 16 17 + 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 114 38 34 83 16 37 114 16 17 94 98 99 100 101 102 103 104 105 109 110 + 115(ubo): TypeStruct 93(UBO) + 118: 11(int) Constant 56 + 119: 11(int) Constant 12 + 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 117 113 34 118 119 16 16 17 + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 121 38 34 83 16 37 121 16 17 116 + 122: TypePointer Uniform 115(ubo) + 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 120 49 16 + 124: 122(ptr) Variable Uniform + 126: 11(int) Constant 8 + 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 120 34 83 16 37 1 124 126 + 127: 88(int) Constant 0 + 128: 88(int) Constant 2 + 129: TypePointer Uniform 8(float) + 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 49 16 + 144: 11(int) Constant 83 + 145: TypePointer Function 11(int) + 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 21 16 + 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 149 13 34 144 16 64 39 + 153: 88(int) Constant 10 + 154: TypePointer Uniform 88(int) + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 90 49 16 + 164: 11(int) Constant 84 + 172: TypeBool + 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 173 14 49 16 + 180: 11(int) Constant 85 + 184: 11(int) Constant 88 + 185(Particle): TypeStruct 86(fvec4) 86(fvec4) 86(fvec4) 86(fvec4) 8(float) + 188: 11(int) Constant 30 + 189: 11(int) Constant 15 + 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 187 87 34 188 189 16 16 17 + 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 187 87 34 188 189 16 16 17 + 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 187 87 34 188 189 16 16 17 + 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 187 87 34 188 189 16 16 17 + 195: 11(int) Constant 31 + 196: 11(int) Constant 14 + 193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 194 10 34 195 196 16 16 17 + 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 198 38 34 184 16 37 198 16 17 186 190 191 192 193 + 199: TypeRuntimeArray 185(Particle) + 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 197 16 + 201(particleIn): TypeStruct 199 + 204: 11(int) Constant 35 + 205: 11(int) Constant 28 + 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 203 200 34 204 205 16 16 17 + 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 207 38 34 184 16 37 207 16 17 202 + 208: TypePointer Uniform 201(particleIn) + 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 206 49 16 + 210(particleIn): 208(ptr) Variable Uniform + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 207 206 34 184 16 37 207 210(particleIn) 126 + 213: 88(int) Constant 4 + 216: 8(float) Constant 1065353216 + 222: 11(int) Constant 89 + 223: TypeRuntimeArray 185(Particle) + 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 197 16 +225(particleOut): TypeStruct 223 + 227: 11(int) Constant 37 + 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 203 224 34 227 188 16 16 17 + 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 229 38 34 222 16 37 229 16 17 226 + 230: TypePointer Uniform 225(particleOut) + 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 228 49 16 +232(particleOut): 230(ptr) Variable Uniform + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 229 228 34 222 16 37 229 232(particleOut) 126 + 236: TypePointer Uniform 86(fvec4) + 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 87 49 16 + 242: 11(int) Constant 90 + 244: 88(int) Constant 1 + 245: 8(float) Constant 0 + 246: 86(fvec4) ConstantComposite 245 245 245 245 + 249: 11(int) Constant 91 + 253: 11(int) Constant 95 + 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 256 19 34 253 16 64 39 + 258: 88(int) Constant 9 + 266: 11(int) Constant 97 + 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 269 19 34 266 16 64 39 + 276: 11(int) Constant 98 + 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 279 19 34 276 16 64 39 + 286: 11(int) Constant 102 + 294: 11(int) Constant 103 + 311: 11(int) Constant 106 + 323: 11(int) Constant 107 + 340: 11(int) Constant 110 + 352: 11(int) Constant 111 + 358: 88(int) Constant 5 + 373: 11(int) Constant 114 + 381: 11(int) Constant 115 + 401: 11(int) Constant 118 + 417: 11(int) Constant 119 + 424: 88(int) Constant 6 + 439: 11(int) Constant 122 + 451: 11(int) Constant 123 + 472: 11(int) Constant 126 + 492: 11(int) Constant 127 + 513: 11(int) Constant 130 + 529: 11(int) Constant 131 + 550: 11(int) Constant 134 + 551: 88(int) Constant 3 + 560: 11(int) Constant 137 + 562: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 563 19 34 560 16 64 39 + 571: 11(int) Constant 138 + 579: 8(float) Constant 1056964608 + 595: 11(int) Constant 139 + 609: 11(int) Constant 142 + 611: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 612 19 34 609 16 64 39 + 618: 88(int) Constant 8 + 624: 11(int) Constant 143 + 627: 88(int) Constant 7 + 630: 8(float) Constant 1008981770 + 637: 11(int) Constant 145 + 656: 11(int) Constant 147 + 661: 11(int) Constant 151 +662(PushConstants): TypeStruct 11(int) + 665: 11(int) Constant 67 + 666: 11(int) Constant 23 + 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 664 13 34 665 666 16 16 17 + 667: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 668 38 34 661 16 37 668 16 17 663 + 669($Global): TypeStruct 662(PushConstants) + 672: 11(int) Constant 71 + 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 671 667 34 672 189 16 16 17 + 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 674 38 34 661 16 37 674 16 17 670 + 675: TypePointer Uniform 669($Global) + 676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 673 49 16 + 677: 675(ptr) Variable Uniform + 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 673 34 661 16 37 1 677 126 + 679: TypePointer Uniform 11(int) + 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 49 16 + 688: 11(int) Constant 152 + 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 187 19 34 688 16 64 39 + 692: 18(fvec3) ConstantComposite 245 245 245 + 694: 11(int) Constant 154 + 702: 11(int) Constant 155 + 710: 11(int) Constant 156 + 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 713 19 34 710 16 64 39 + 723: 11(int) Constant 157 + 725: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 726 19 34 723 16 64 39 + 740: 11(int) Constant 158 + 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 743 19 34 740 16 64 39 + 756: 11(int) Constant 159 + 768: 11(int) Constant 161 + 780: 11(int) Constant 162 + 792: 11(int) Constant 163 + 805: 11(int) Constant 164 + 814: 11(int) Constant 165 + 826: 11(int) Constant 168 + 838: 11(int) Constant 169 + 846: 11(int) Constant 170 + 858: 11(int) Constant 171 + 871: 11(int) Constant 172 + 880: 11(int) Constant 173 + 892: 11(int) Constant 175 + 904: 11(int) Constant 176 + 913: 11(int) Constant 177 + 926: 11(int) Constant 178 + 938: 11(int) Constant 179 + 950: 11(int) Constant 182 + 960: TypePointer Input 54(ivec3) + 961(id): 960(ptr) Variable Input Line 1 82 1 6(main): 4 Function None 5 7: Label - 946(id): 53(ptr) Variable Function - 950(param): 53(ptr) Variable Function + 959(id): 56(ptr) Variable Function + 963(param): 56(ptr) Variable Function Line 1 82 0 - 949: 51(ivec3) Load 948(id) - Store 946(id) 949 - 951: 51(ivec3) Load 946(id) - Store 950(param) 951 - 952: 4 FunctionCall 57(@main(vu3;) 950(param) + 962: 54(ivec3) Load 961(id) + Store 959(id) 962 + 964: 54(ivec3) Load 959(id) + Store 963(param) 964 + 965: 4 FunctionCall 61(@main(vu3;) 963(param) Return FunctionEnd Line 1 75 1 -27(springForce(vf3;vf3;f1;): 18(fvec3) Function None 22 - 24(p0): 20(ptr) FunctionParameter - 25(p1): 20(ptr) FunctionParameter - 26(restDist): 21(ptr) FunctionParameter - 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 +30(springForce(vf3;vf3;f1;): 18(fvec3) Function None 25 + 27(p0): 20(ptr) FunctionParameter + 28(p1): 20(ptr) FunctionParameter + 29(restDist): 23(ptr) FunctionParameter + 31: Label + 75(dist): 20(ptr) Variable Function + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 33 + 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 36 36 16 16 + 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 43 27(p0) 46 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 47 28(p1) 46 + 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 51 29(restDist) 46 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 33 30(springForce(vf3;vf3;f1;) + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 33 + 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 74 74 16 16 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 75(dist) 46 + 79: 18(fvec3) Load 27(p0) + 80: 18(fvec3) Load 28(p1) + 81: 18(fvec3) FSub 79 80 + Store 75(dist) 81 + 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 83 83 16 16 + 84: 18(fvec3) Load 75(dist) + 85: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 84 + 131: 129(ptr) AccessChain 124 127 128 + 132: 8(float) Load 131 + 133: 18(fvec3) VectorTimesScalar 85 132 + 134: 18(fvec3) Load 75(dist) + 135: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 134 + 136: 8(float) Load 29(restDist) + 137: 8(float) FSub 135 136 + 138: 18(fvec3) VectorTimesScalar 133 137 + ReturnValue 138 FunctionEnd Line 1 82 1 - 57(@main(vu3;): 4 Function None 54 - 56(id): 53(ptr) FunctionParameter - 58: Label - 140(index): 139(ptr) Variable Function - 243(force): 20(ptr) Variable Function - 256(pos): 20(ptr) Variable Function - 266(vel): 20(ptr) Variable Function - 286(param): 20(ptr) Variable Function - 290(param): 20(ptr) Variable Function - 292(param): 21(ptr) Variable Function - 315(param): 20(ptr) Variable Function - 319(param): 20(ptr) Variable Function - 321(param): 21(ptr) Variable Function - 348(param): 20(ptr) Variable Function - 352(param): 20(ptr) Variable Function - 354(param): 21(ptr) Variable Function - 376(param): 20(ptr) Variable Function - 380(param): 20(ptr) Variable Function - 382(param): 21(ptr) Variable Function - 414(param): 20(ptr) Variable Function - 418(param): 20(ptr) Variable Function - 420(param): 21(ptr) Variable Function - 447(param): 20(ptr) Variable Function - 451(param): 20(ptr) Variable Function - 453(param): 21(ptr) Variable Function - 488(param): 20(ptr) Variable Function - 492(param): 20(ptr) Variable Function - 494(param): 21(ptr) Variable Function - 525(param): 20(ptr) Variable Function - 529(param): 20(ptr) Variable Function - 531(param): 21(ptr) Variable Function - 550(f): 20(ptr) Variable Function - 599(sphereDist): 20(ptr) Variable Function - 676(normal): 20(ptr) Variable Function - 698(a): 20(ptr) Variable Function - 711(b): 20(ptr) Variable Function - 728(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 + 61(@main(vu3;): 4 Function None 58 + 60(id): 56(ptr) FunctionParameter + 62: Label + 147(index): 145(ptr) Variable Function + 254(force): 20(ptr) Variable Function + 267(pos): 20(ptr) Variable Function + 277(vel): 20(ptr) Variable Function + 297(param): 20(ptr) Variable Function + 301(param): 20(ptr) Variable Function + 303(param): 23(ptr) Variable Function + 326(param): 20(ptr) Variable Function + 330(param): 20(ptr) Variable Function + 332(param): 23(ptr) Variable Function + 359(param): 20(ptr) Variable Function + 363(param): 20(ptr) Variable Function + 365(param): 23(ptr) Variable Function + 387(param): 20(ptr) Variable Function + 391(param): 20(ptr) Variable Function + 393(param): 23(ptr) Variable Function + 425(param): 20(ptr) Variable Function + 429(param): 20(ptr) Variable Function + 431(param): 23(ptr) Variable Function + 458(param): 20(ptr) Variable Function + 462(param): 20(ptr) Variable Function + 464(param): 23(ptr) Variable Function + 499(param): 20(ptr) Variable Function + 503(param): 20(ptr) Variable Function + 505(param): 23(ptr) Variable Function + 536(param): 20(ptr) Variable Function + 540(param): 20(ptr) Variable Function + 542(param): 23(ptr) Variable Function + 561(f): 20(ptr) Variable Function + 610(sphereDist): 20(ptr) Variable Function + 689(normal): 20(ptr) Variable Function + 711(a): 20(ptr) Variable Function + 724(b): 20(ptr) Variable Function + 741(c): 20(ptr) Variable Function + 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 65 65 16 16 + 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 68 60(id) 46 + 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 64 61(@main(vu3;) + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 144 144 16 16 + 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 148 147(index) 46 + 151: 145(ptr) AccessChain 60(id) 38 + 152: 11(int) Load 151 + 156: 154(ptr) AccessChain 124 127 153 16 + 157: 88(int) Load 156 + 158: 11(int) Bitcast 157 + 159: 11(int) IMul 152 158 + 160: 145(ptr) AccessChain 60(id) 16 + 161: 11(int) Load 160 + 162: 11(int) IAdd 159 161 + Store 147(index) 162 + 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 164 164 16 16 + 165: 11(int) Load 147(index) + 166: 154(ptr) AccessChain 124 127 153 16 + 167: 88(int) Load 166 + 168: 154(ptr) AccessChain 124 127 153 38 + 169: 88(int) Load 168 + 170: 88(int) IMul 167 169 + 171: 11(int) Bitcast 170 + 175: 172(bool) UGreaterThan 165 171 + SelectionMerge 177 None + BranchConditional 175 176 177 + 176: Label + 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 180 180 16 16 Return - 169: Label - 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 176 176 16 16 - 203: 11(int) Load 140(index) - 205: 124(ptr) AccessChain 201(particleIn) 122 203 204 - 206: 8(float) Load 205 - 208: 164(bool) FOrdEqual 206 207 - SelectionMerge 210 None - BranchConditional 208 209 210 - 209: Label - 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 213 213 16 16 - 224: 11(int) Load 140(index) - 225: 11(int) Load 140(index) - 227: 226(ptr) AccessChain 222(particleOut) 122 225 122 - 228: 82(fvec4) Load 227 - 229: 226(ptr) AccessChain 222(particleOut) 122 224 122 - Store 229 228 - 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 231 231 16 16 - 232: 11(int) Load 140(index) - 236: 226(ptr) AccessChain 222(particleOut) 122 232 233 - Store 236 235 - 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 238 238 16 16 + 177: Label + 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 184 184 16 16 + 212: 11(int) Load 147(index) + 214: 129(ptr) AccessChain 210(particleIn) 127 212 213 + 215: 8(float) Load 214 + 217: 172(bool) FOrdEqual 215 216 + SelectionMerge 219 None + BranchConditional 217 218 219 + 218: Label + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 222 222 16 16 + 234: 11(int) Load 147(index) + 235: 11(int) Load 147(index) + 238: 236(ptr) AccessChain 232(particleOut) 127 235 127 + 239: 86(fvec4) Load 238 + 240: 236(ptr) AccessChain 232(particleOut) 127 234 127 + Store 240 239 + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 242 242 16 16 + 243: 11(int) Load 147(index) + 247: 236(ptr) AccessChain 232(particleOut) 127 243 244 + Store 247 246 + 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 249 249 16 16 Return - 210: Label - 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 242 242 16 16 - 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 244 243(force) 43 - 248: 226(ptr) AccessChain 119 122 247 - 249: 82(fvec4) Load 248 - 250: 18(fvec3) VectorShuffle 249 249 0 1 2 - 251: 124(ptr) AccessChain 119 122 233 - 252: 8(float) Load 251 - 253: 18(fvec3) VectorTimesScalar 250 252 - Store 243(force) 253 - 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 255 255 16 16 - 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 257 256(pos) 43 - 260: 11(int) Load 140(index) - 261: 226(ptr) AccessChain 201(particleIn) 122 260 122 - 262: 82(fvec4) Load 261 - 263: 18(fvec3) VectorShuffle 262 262 0 1 2 - Store 256(pos) 263 - 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 265 265 16 16 - 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 267 266(vel) 43 - 270: 11(int) Load 140(index) - 271: 226(ptr) AccessChain 201(particleIn) 122 270 233 - 272: 82(fvec4) Load 271 - 273: 18(fvec3) VectorShuffle 272 272 0 1 2 - Store 266(vel) 273 - 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 275 275 16 16 - 276: 139(ptr) AccessChain 56(id) 16 - 277: 11(int) Load 276 - 278: 164(bool) UGreaterThan 277 16 - SelectionMerge 280 None - BranchConditional 278 279 280 - 279: Label - 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 283 283 16 16 - 284: 11(int) Load 140(index) - 285: 11(int) ISub 284 35 - 287: 226(ptr) AccessChain 201(particleIn) 122 285 122 - 288: 82(fvec4) Load 287 - 289: 18(fvec3) VectorShuffle 288 288 0 1 2 - Store 286(param) 289 - 291: 18(fvec3) Load 256(pos) - Store 290(param) 291 - 293: 124(ptr) AccessChain 119 122 204 - 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 243(force) - 297: 18(fvec3) FAdd 296 295 - Store 243(force) 297 - Branch 280 - 280: Label - 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 300 300 16 16 - 301: 139(ptr) AccessChain 56(id) 16 - 302: 11(int) Load 301 - 303: 147(ptr) AccessChain 119 122 146 16 - 304: 84(int) Load 303 - 305: 84(int) ISub 304 233 - 306: 11(int) Bitcast 305 - 307: 164(bool) ULessThan 302 306 - SelectionMerge 309 None - BranchConditional 307 308 309 - 308: Label - 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 312 312 16 16 - 313: 11(int) Load 140(index) - 314: 11(int) IAdd 313 35 - 316: 226(ptr) AccessChain 201(particleIn) 122 314 122 - 317: 82(fvec4) Load 316 - 318: 18(fvec3) VectorShuffle 317 317 0 1 2 - Store 315(param) 318 - 320: 18(fvec3) Load 256(pos) - Store 319(param) 320 - 322: 124(ptr) AccessChain 119 122 204 - 323: 8(float) Load 322 - Store 321(param) 323 - 324: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 315(param) 319(param) 321(param) - 325: 18(fvec3) Load 243(force) - 326: 18(fvec3) FAdd 325 324 - Store 243(force) 326 - Branch 309 - 309: Label - 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 329 329 16 16 - 330: 139(ptr) AccessChain 56(id) 35 - 331: 11(int) Load 330 - 332: 147(ptr) AccessChain 119 122 146 35 - 333: 84(int) Load 332 - 334: 84(int) ISub 333 233 - 335: 11(int) Bitcast 334 - 336: 164(bool) ULessThan 331 335 - SelectionMerge 338 None - BranchConditional 336 337 338 - 337: Label - 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 341 341 16 16 - 342: 11(int) Load 140(index) - 343: 147(ptr) AccessChain 119 122 146 16 - 344: 84(int) Load 343 - 345: 11(int) Bitcast 344 - 346: 11(int) IAdd 342 345 - 349: 226(ptr) AccessChain 201(particleIn) 122 346 122 - 350: 82(fvec4) Load 349 - 351: 18(fvec3) VectorShuffle 350 350 0 1 2 - Store 348(param) 351 - 353: 18(fvec3) Load 256(pos) - Store 352(param) 353 - 355: 124(ptr) AccessChain 119 122 347 - 356: 8(float) Load 355 - Store 354(param) 356 - 357: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 348(param) 352(param) 354(param) - 358: 18(fvec3) Load 243(force) - 359: 18(fvec3) FAdd 358 357 - Store 243(force) 359 - Branch 338 - 338: Label - 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 362 362 16 16 - 363: 139(ptr) AccessChain 56(id) 35 - 364: 11(int) Load 363 - 365: 164(bool) UGreaterThan 364 16 - SelectionMerge 367 None - BranchConditional 365 366 367 - 366: Label - 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 370 370 16 16 - 371: 11(int) Load 140(index) - 372: 147(ptr) AccessChain 119 122 146 16 - 373: 84(int) Load 372 - 374: 11(int) Bitcast 373 - 375: 11(int) ISub 371 374 - 377: 226(ptr) AccessChain 201(particleIn) 122 375 122 - 378: 82(fvec4) Load 377 - 379: 18(fvec3) VectorShuffle 378 378 0 1 2 - Store 376(param) 379 - 381: 18(fvec3) Load 256(pos) - Store 380(param) 381 - 383: 124(ptr) AccessChain 119 122 347 - 384: 8(float) Load 383 - Store 382(param) 384 - 385: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 376(param) 380(param) 382(param) - 386: 18(fvec3) Load 243(force) - 387: 18(fvec3) FAdd 386 385 - Store 243(force) 387 - Branch 367 - 367: Label - 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 390 390 16 16 - 391: 139(ptr) AccessChain 56(id) 16 - 392: 11(int) Load 391 - 393: 164(bool) UGreaterThan 392 16 - 394: 139(ptr) AccessChain 56(id) 35 - 395: 11(int) Load 394 - 396: 147(ptr) AccessChain 119 122 146 35 - 397: 84(int) Load 396 - 398: 84(int) ISub 397 233 - 399: 11(int) Bitcast 398 - 400: 164(bool) ULessThan 395 399 - 401: 164(bool) LogicalAnd 393 400 - SelectionMerge 403 None - BranchConditional 401 402 403 - 402: Label - 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 406 406 16 16 - 407: 11(int) Load 140(index) - 408: 147(ptr) AccessChain 119 122 146 16 - 409: 84(int) Load 408 - 410: 11(int) Bitcast 409 - 411: 11(int) IAdd 407 410 - 412: 11(int) ISub 411 35 - 415: 226(ptr) AccessChain 201(particleIn) 122 412 122 - 416: 82(fvec4) Load 415 - 417: 18(fvec3) VectorShuffle 416 416 0 1 2 - Store 414(param) 417 - 419: 18(fvec3) Load 256(pos) - Store 418(param) 419 - 421: 124(ptr) AccessChain 119 122 413 - 422: 8(float) Load 421 - Store 420(param) 422 - 423: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 414(param) 418(param) 420(param) - 424: 18(fvec3) Load 243(force) - 425: 18(fvec3) FAdd 424 423 - Store 243(force) 425 - Branch 403 - 403: Label - 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 428 428 16 16 - 429: 139(ptr) AccessChain 56(id) 16 - 430: 11(int) Load 429 - 431: 164(bool) UGreaterThan 430 16 - 432: 139(ptr) AccessChain 56(id) 35 - 433: 11(int) Load 432 - 434: 164(bool) UGreaterThan 433 16 - 435: 164(bool) LogicalAnd 431 434 - SelectionMerge 437 None - BranchConditional 435 436 437 - 436: Label - 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 440 440 16 16 - 441: 11(int) Load 140(index) - 442: 147(ptr) AccessChain 119 122 146 16 - 443: 84(int) Load 442 - 444: 11(int) Bitcast 443 - 445: 11(int) ISub 441 444 - 446: 11(int) ISub 445 35 - 448: 226(ptr) AccessChain 201(particleIn) 122 446 122 - 449: 82(fvec4) Load 448 - 450: 18(fvec3) VectorShuffle 449 449 0 1 2 - Store 447(param) 450 - 452: 18(fvec3) Load 256(pos) - Store 451(param) 452 - 454: 124(ptr) AccessChain 119 122 413 - 455: 8(float) Load 454 - Store 453(param) 455 - 456: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 447(param) 451(param) 453(param) - 457: 18(fvec3) Load 243(force) - 458: 18(fvec3) FAdd 457 456 - Store 243(force) 458 - Branch 437 - 437: Label - 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 461 461 16 16 - 462: 139(ptr) AccessChain 56(id) 16 - 463: 11(int) Load 462 - 464: 147(ptr) AccessChain 119 122 146 16 - 465: 84(int) Load 464 - 466: 84(int) ISub 465 233 - 467: 11(int) Bitcast 466 - 468: 164(bool) ULessThan 463 467 - 469: 139(ptr) AccessChain 56(id) 35 - 470: 11(int) Load 469 - 471: 147(ptr) AccessChain 119 122 146 35 - 472: 84(int) Load 471 - 473: 84(int) ISub 472 233 - 474: 11(int) Bitcast 473 - 475: 164(bool) ULessThan 470 474 - 476: 164(bool) LogicalAnd 468 475 - SelectionMerge 478 None - BranchConditional 476 477 478 - 477: Label - 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 16 16 - 482: 11(int) Load 140(index) - 483: 147(ptr) AccessChain 119 122 146 16 - 484: 84(int) Load 483 - 485: 11(int) Bitcast 484 - 486: 11(int) IAdd 482 485 - 487: 11(int) IAdd 486 35 - 489: 226(ptr) AccessChain 201(particleIn) 122 487 122 - 490: 82(fvec4) Load 489 - 491: 18(fvec3) VectorShuffle 490 490 0 1 2 - Store 488(param) 491 - 493: 18(fvec3) Load 256(pos) - Store 492(param) 493 - 495: 124(ptr) AccessChain 119 122 413 - 496: 8(float) Load 495 - Store 494(param) 496 - 497: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 488(param) 492(param) 494(param) - 498: 18(fvec3) Load 243(force) - 499: 18(fvec3) FAdd 498 497 - Store 243(force) 499 - Branch 478 - 478: Label - 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 501: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 502 502 16 16 - 503: 139(ptr) AccessChain 56(id) 16 - 504: 11(int) Load 503 - 505: 147(ptr) AccessChain 119 122 146 16 - 506: 84(int) Load 505 - 507: 84(int) ISub 506 233 - 508: 11(int) Bitcast 507 - 509: 164(bool) ULessThan 504 508 - 510: 139(ptr) AccessChain 56(id) 35 - 511: 11(int) Load 510 - 512: 164(bool) UGreaterThan 511 16 - 513: 164(bool) LogicalAnd 509 512 - SelectionMerge 515 None - BranchConditional 513 514 515 - 514: Label - 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 517: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 518 518 16 16 - 519: 11(int) Load 140(index) - 520: 147(ptr) AccessChain 119 122 146 16 - 521: 84(int) Load 520 - 522: 11(int) Bitcast 521 - 523: 11(int) ISub 519 522 - 524: 11(int) IAdd 523 35 - 526: 226(ptr) AccessChain 201(particleIn) 122 524 122 - 527: 82(fvec4) Load 526 - 528: 18(fvec3) VectorShuffle 527 527 0 1 2 - Store 525(param) 528 - 530: 18(fvec3) Load 256(pos) - Store 529(param) 530 - 532: 124(ptr) AccessChain 119 122 413 - 533: 8(float) Load 532 - Store 531(param) 533 - 534: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 525(param) 529(param) 531(param) - 535: 18(fvec3) Load 243(force) - 536: 18(fvec3) FAdd 535 534 - Store 243(force) 536 - Branch 515 - 515: Label - 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 539 539 16 16 - 541: 124(ptr) AccessChain 119 122 540 - 542: 8(float) Load 541 - 543: 8(float) FNegate 542 - 544: 18(fvec3) Load 266(vel) - 545: 18(fvec3) VectorTimesScalar 544 543 - 546: 18(fvec3) Load 243(force) - 547: 18(fvec3) FAdd 546 545 - Store 243(force) 547 - 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 549 549 16 16 - 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 551 550(f) 43 - 554: 18(fvec3) Load 243(force) - 555: 124(ptr) AccessChain 119 122 233 - 556: 8(float) Load 555 - 557: 8(float) FDiv 207 556 - 558: 18(fvec3) VectorTimesScalar 554 557 - Store 550(f) 558 - 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 560 560 16 16 - 561: 11(int) Load 140(index) - 562: 18(fvec3) Load 256(pos) - 563: 18(fvec3) Load 266(vel) - 564: 124(ptr) AccessChain 119 122 122 - 565: 8(float) Load 564 - 566: 18(fvec3) VectorTimesScalar 563 565 - 567: 18(fvec3) FAdd 562 566 - 569: 18(fvec3) Load 550(f) - 570: 18(fvec3) VectorTimesScalar 569 568 - 571: 124(ptr) AccessChain 119 122 122 - 572: 8(float) Load 571 - 573: 18(fvec3) VectorTimesScalar 570 572 - 574: 124(ptr) AccessChain 119 122 122 - 575: 8(float) Load 574 - 576: 18(fvec3) VectorTimesScalar 573 575 - 577: 18(fvec3) FAdd 567 576 - 578: 8(float) CompositeExtract 577 0 - 579: 8(float) CompositeExtract 577 1 - 580: 8(float) CompositeExtract 577 2 - 581: 82(fvec4) CompositeConstruct 578 579 580 207 - 582: 226(ptr) AccessChain 222(particleOut) 122 561 122 - Store 582 581 - 583: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 584 584 16 16 - 585: 11(int) Load 140(index) - 586: 18(fvec3) Load 266(vel) - 587: 18(fvec3) Load 550(f) - 588: 124(ptr) AccessChain 119 122 122 - 589: 8(float) Load 588 - 590: 18(fvec3) VectorTimesScalar 587 589 - 591: 18(fvec3) FAdd 586 590 - 592: 8(float) CompositeExtract 591 0 - 593: 8(float) CompositeExtract 591 1 - 594: 8(float) CompositeExtract 591 2 - 595: 82(fvec4) CompositeConstruct 592 593 594 234 - 596: 226(ptr) AccessChain 222(particleOut) 122 585 233 - Store 596 595 - 597: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 598 598 16 16 - 602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 600 599(sphereDist) 43 - 603: 11(int) Load 140(index) - 604: 226(ptr) AccessChain 222(particleOut) 122 603 122 - 605: 82(fvec4) Load 604 - 606: 18(fvec3) VectorShuffle 605 605 0 1 2 - 608: 226(ptr) AccessChain 119 122 607 - 609: 82(fvec4) Load 608 - 610: 18(fvec3) VectorShuffle 609 609 0 1 2 - 611: 18(fvec3) FSub 606 610 - Store 599(sphereDist) 611 - 612: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 613 613 16 16 - 614: 18(fvec3) Load 599(sphereDist) - 615: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 614 - 617: 124(ptr) AccessChain 119 122 616 - 618: 8(float) Load 617 - 620: 8(float) FAdd 618 619 - 621: 164(bool) FOrdLessThan 615 620 - SelectionMerge 623 None - BranchConditional 621 622 623 - 622: Label - 624: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 625: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 626 626 16 16 - 627: 11(int) Load 140(index) - 628: 226(ptr) AccessChain 119 122 607 - 629: 82(fvec4) Load 628 - 630: 18(fvec3) VectorShuffle 629 629 0 1 2 - 631: 18(fvec3) Load 599(sphereDist) - 632: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 631 - 633: 124(ptr) AccessChain 119 122 616 - 634: 8(float) Load 633 - 635: 8(float) FAdd 634 619 - 636: 18(fvec3) VectorTimesScalar 632 635 - 637: 18(fvec3) FAdd 630 636 - 638: 124(ptr) AccessChain 222(particleOut) 122 627 122 16 - 639: 8(float) CompositeExtract 637 0 - Store 638 639 - 640: 124(ptr) AccessChain 222(particleOut) 122 627 122 35 - 641: 8(float) CompositeExtract 637 1 - Store 640 641 - 642: 124(ptr) AccessChain 222(particleOut) 122 627 122 46 - 643: 8(float) CompositeExtract 637 2 - Store 642 643 - 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 645 645 16 16 - 646: 11(int) Load 140(index) - 647: 226(ptr) AccessChain 222(particleOut) 122 646 233 - Store 647 235 - Branch 623 - 623: Label - 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 649: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 650 650 16 16 - 668: 667(ptr) AccessChain 665 122 122 - 669: 11(int) Load 668 - 670: 164(bool) IEqual 669 35 - SelectionMerge 672 None - BranchConditional 670 671 672 - 671: Label - 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 675 675 16 16 - 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 677 676(normal) 43 - Store 676(normal) 679 - 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 681 681 16 16 - 682: 139(ptr) AccessChain 56(id) 35 - 683: 11(int) Load 682 - 684: 164(bool) UGreaterThan 683 16 - SelectionMerge 686 None - BranchConditional 684 685 686 - 685: Label - 687: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 689 689 16 16 - 690: 139(ptr) AccessChain 56(id) 16 - 691: 11(int) Load 690 - 692: 164(bool) UGreaterThan 691 16 - SelectionMerge 694 None - BranchConditional 692 693 694 - 693: Label - 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 697 697 16 16 - 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 699 698(a) 43 - 702: 11(int) Load 140(index) - 703: 11(int) ISub 702 35 - 704: 226(ptr) AccessChain 201(particleIn) 122 703 122 - 705: 82(fvec4) Load 704 - 706: 18(fvec3) VectorShuffle 705 705 0 1 2 - 707: 18(fvec3) Load 256(pos) - 708: 18(fvec3) FSub 706 707 - Store 698(a) 708 - 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 710 710 16 16 - 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 712 711(b) 43 - 715: 11(int) Load 140(index) - 716: 147(ptr) AccessChain 119 122 146 16 - 717: 84(int) Load 716 - 718: 11(int) Bitcast 717 - 719: 11(int) ISub 715 718 - 720: 11(int) ISub 719 35 - 721: 226(ptr) AccessChain 201(particleIn) 122 720 122 - 722: 82(fvec4) Load 721 - 723: 18(fvec3) VectorShuffle 722 722 0 1 2 - 724: 18(fvec3) Load 256(pos) - 725: 18(fvec3) FSub 723 724 - Store 711(b) 725 - 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 727 727 16 16 - 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 729 728(c) 43 - 732: 11(int) Load 140(index) - 733: 147(ptr) AccessChain 119 122 146 16 - 734: 84(int) Load 733 - 735: 11(int) Bitcast 734 - 736: 11(int) ISub 732 735 - 737: 226(ptr) AccessChain 201(particleIn) 122 736 122 - 738: 82(fvec4) Load 737 - 739: 18(fvec3) VectorShuffle 738 738 0 1 2 - 740: 18(fvec3) Load 256(pos) - 741: 18(fvec3) FSub 739 740 - Store 728(c) 741 - 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 743 743 16 16 - 744: 18(fvec3) Load 698(a) - 745: 18(fvec3) Load 711(b) - 746: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 744 745 - 747: 18(fvec3) Load 711(b) - 748: 18(fvec3) Load 728(c) - 749: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 747 748 - 750: 18(fvec3) FAdd 746 749 - 751: 18(fvec3) Load 676(normal) - 752: 18(fvec3) FAdd 751 750 - Store 676(normal) 752 - Branch 694 - 694: Label - 753: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 754: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 755 755 16 16 - 756: 139(ptr) AccessChain 56(id) 16 - 757: 11(int) Load 756 - 758: 147(ptr) AccessChain 119 122 146 16 - 759: 84(int) Load 758 - 760: 84(int) ISub 759 233 - 761: 11(int) Bitcast 760 - 762: 164(bool) ULessThan 757 761 - SelectionMerge 764 None - BranchConditional 762 763 764 - 763: Label - 765: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 766: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 767 767 16 16 - 768: 11(int) Load 140(index) - 769: 147(ptr) AccessChain 119 122 146 16 - 770: 84(int) Load 769 - 771: 11(int) Bitcast 770 - 772: 11(int) ISub 768 771 - 773: 226(ptr) AccessChain 201(particleIn) 122 772 122 - 774: 82(fvec4) Load 773 - 775: 18(fvec3) VectorShuffle 774 774 0 1 2 - 776: 18(fvec3) Load 256(pos) - 777: 18(fvec3) FSub 775 776 - Store 698(a) 777 - 778: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 779 779 16 16 - 780: 11(int) Load 140(index) - 781: 147(ptr) AccessChain 119 122 146 16 - 782: 84(int) Load 781 - 783: 11(int) Bitcast 782 - 784: 11(int) ISub 780 783 - 785: 11(int) IAdd 784 35 - 786: 226(ptr) AccessChain 201(particleIn) 122 785 122 - 787: 82(fvec4) Load 786 + 219: Label + 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 253 253 16 16 + 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 255 254(force) 46 + 259: 236(ptr) AccessChain 124 127 258 + 260: 86(fvec4) Load 259 + 261: 18(fvec3) VectorShuffle 260 260 0 1 2 + 262: 129(ptr) AccessChain 124 127 244 + 263: 8(float) Load 262 + 264: 18(fvec3) VectorTimesScalar 261 263 + Store 254(force) 264 + 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 266 266 16 16 + 270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 268 267(pos) 46 + 271: 11(int) Load 147(index) + 272: 236(ptr) AccessChain 210(particleIn) 127 271 127 + 273: 86(fvec4) Load 272 + 274: 18(fvec3) VectorShuffle 273 273 0 1 2 + Store 267(pos) 274 + 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 276 276 16 16 + 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 278 277(vel) 46 + 281: 11(int) Load 147(index) + 282: 236(ptr) AccessChain 210(particleIn) 127 281 244 + 283: 86(fvec4) Load 282 + 284: 18(fvec3) VectorShuffle 283 283 0 1 2 + Store 277(vel) 284 + 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 286 286 16 16 + 287: 145(ptr) AccessChain 60(id) 16 + 288: 11(int) Load 287 + 289: 172(bool) UGreaterThan 288 16 + SelectionMerge 291 None + BranchConditional 289 290 291 + 290: Label + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 294 294 16 16 + 295: 11(int) Load 147(index) + 296: 11(int) ISub 295 38 + 298: 236(ptr) AccessChain 210(particleIn) 127 296 127 + 299: 86(fvec4) Load 298 + 300: 18(fvec3) VectorShuffle 299 299 0 1 2 + Store 297(param) 300 + 302: 18(fvec3) Load 267(pos) + Store 301(param) 302 + 304: 129(ptr) AccessChain 124 127 213 + 305: 8(float) Load 304 + Store 303(param) 305 + 306: 18(fvec3) FunctionCall 30(springForce(vf3;vf3;f1;) 297(param) 301(param) 303(param) + 307: 18(fvec3) Load 254(force) + 308: 18(fvec3) FAdd 307 306 + Store 254(force) 308 + Branch 291 + 291: Label + 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 311 311 16 16 + 312: 145(ptr) AccessChain 60(id) 16 + 313: 11(int) Load 312 + 314: 154(ptr) AccessChain 124 127 153 16 + 315: 88(int) Load 314 + 316: 88(int) ISub 315 244 + 317: 11(int) Bitcast 316 + 318: 172(bool) ULessThan 313 317 + SelectionMerge 320 None + BranchConditional 318 319 320 + 319: Label + 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 323 323 16 16 + 324: 11(int) Load 147(index) + 325: 11(int) IAdd 324 38 + 327: 236(ptr) AccessChain 210(particleIn) 127 325 127 + 328: 86(fvec4) Load 327 + 329: 18(fvec3) VectorShuffle 328 328 0 1 2 + Store 326(param) 329 + 331: 18(fvec3) Load 267(pos) + Store 330(param) 331 + 333: 129(ptr) AccessChain 124 127 213 + 334: 8(float) Load 333 + Store 332(param) 334 + 335: 18(fvec3) FunctionCall 30(springForce(vf3;vf3;f1;) 326(param) 330(param) 332(param) + 336: 18(fvec3) Load 254(force) + 337: 18(fvec3) FAdd 336 335 + Store 254(force) 337 + Branch 320 + 320: Label + 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 340 340 16 16 + 341: 145(ptr) AccessChain 60(id) 38 + 342: 11(int) Load 341 + 343: 154(ptr) AccessChain 124 127 153 38 + 344: 88(int) Load 343 + 345: 88(int) ISub 344 244 + 346: 11(int) Bitcast 345 + 347: 172(bool) ULessThan 342 346 + SelectionMerge 349 None + BranchConditional 347 348 349 + 348: Label + 350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 352 352 16 16 + 353: 11(int) Load 147(index) + 354: 154(ptr) AccessChain 124 127 153 16 + 355: 88(int) Load 354 + 356: 11(int) Bitcast 355 + 357: 11(int) IAdd 353 356 + 360: 236(ptr) AccessChain 210(particleIn) 127 357 127 + 361: 86(fvec4) Load 360 + 362: 18(fvec3) VectorShuffle 361 361 0 1 2 + Store 359(param) 362 + 364: 18(fvec3) Load 267(pos) + Store 363(param) 364 + 366: 129(ptr) AccessChain 124 127 358 + 367: 8(float) Load 366 + Store 365(param) 367 + 368: 18(fvec3) FunctionCall 30(springForce(vf3;vf3;f1;) 359(param) 363(param) 365(param) + 369: 18(fvec3) Load 254(force) + 370: 18(fvec3) FAdd 369 368 + Store 254(force) 370 + Branch 349 + 349: Label + 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 373 373 16 16 + 374: 145(ptr) AccessChain 60(id) 38 + 375: 11(int) Load 374 + 376: 172(bool) UGreaterThan 375 16 + SelectionMerge 378 None + BranchConditional 376 377 378 + 377: Label + 379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 381 381 16 16 + 382: 11(int) Load 147(index) + 383: 154(ptr) AccessChain 124 127 153 16 + 384: 88(int) Load 383 + 385: 11(int) Bitcast 384 + 386: 11(int) ISub 382 385 + 388: 236(ptr) AccessChain 210(particleIn) 127 386 127 + 389: 86(fvec4) Load 388 + 390: 18(fvec3) VectorShuffle 389 389 0 1 2 + Store 387(param) 390 + 392: 18(fvec3) Load 267(pos) + Store 391(param) 392 + 394: 129(ptr) AccessChain 124 127 358 + 395: 8(float) Load 394 + Store 393(param) 395 + 396: 18(fvec3) FunctionCall 30(springForce(vf3;vf3;f1;) 387(param) 391(param) 393(param) + 397: 18(fvec3) Load 254(force) + 398: 18(fvec3) FAdd 397 396 + Store 254(force) 398 + Branch 378 + 378: Label + 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 400: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 401 401 16 16 + 402: 145(ptr) AccessChain 60(id) 16 + 403: 11(int) Load 402 + 404: 172(bool) UGreaterThan 403 16 + 405: 145(ptr) AccessChain 60(id) 38 + 406: 11(int) Load 405 + 407: 154(ptr) AccessChain 124 127 153 38 + 408: 88(int) Load 407 + 409: 88(int) ISub 408 244 + 410: 11(int) Bitcast 409 + 411: 172(bool) ULessThan 406 410 + 412: 172(bool) LogicalAnd 404 411 + SelectionMerge 414 None + BranchConditional 412 413 414 + 413: Label + 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 416: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 417 417 16 16 + 418: 11(int) Load 147(index) + 419: 154(ptr) AccessChain 124 127 153 16 + 420: 88(int) Load 419 + 421: 11(int) Bitcast 420 + 422: 11(int) IAdd 418 421 + 423: 11(int) ISub 422 38 + 426: 236(ptr) AccessChain 210(particleIn) 127 423 127 + 427: 86(fvec4) Load 426 + 428: 18(fvec3) VectorShuffle 427 427 0 1 2 + Store 425(param) 428 + 430: 18(fvec3) Load 267(pos) + Store 429(param) 430 + 432: 129(ptr) AccessChain 124 127 424 + 433: 8(float) Load 432 + Store 431(param) 433 + 434: 18(fvec3) FunctionCall 30(springForce(vf3;vf3;f1;) 425(param) 429(param) 431(param) + 435: 18(fvec3) Load 254(force) + 436: 18(fvec3) FAdd 435 434 + Store 254(force) 436 + Branch 414 + 414: Label + 437: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 439 439 16 16 + 440: 145(ptr) AccessChain 60(id) 16 + 441: 11(int) Load 440 + 442: 172(bool) UGreaterThan 441 16 + 443: 145(ptr) AccessChain 60(id) 38 + 444: 11(int) Load 443 + 445: 172(bool) UGreaterThan 444 16 + 446: 172(bool) LogicalAnd 442 445 + SelectionMerge 448 None + BranchConditional 446 447 448 + 447: Label + 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 451 451 16 16 + 452: 11(int) Load 147(index) + 453: 154(ptr) AccessChain 124 127 153 16 + 454: 88(int) Load 453 + 455: 11(int) Bitcast 454 + 456: 11(int) ISub 452 455 + 457: 11(int) ISub 456 38 + 459: 236(ptr) AccessChain 210(particleIn) 127 457 127 + 460: 86(fvec4) Load 459 + 461: 18(fvec3) VectorShuffle 460 460 0 1 2 + Store 458(param) 461 + 463: 18(fvec3) Load 267(pos) + Store 462(param) 463 + 465: 129(ptr) AccessChain 124 127 424 + 466: 8(float) Load 465 + Store 464(param) 466 + 467: 18(fvec3) FunctionCall 30(springForce(vf3;vf3;f1;) 458(param) 462(param) 464(param) + 468: 18(fvec3) Load 254(force) + 469: 18(fvec3) FAdd 468 467 + Store 254(force) 469 + Branch 448 + 448: Label + 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 472 472 16 16 + 473: 145(ptr) AccessChain 60(id) 16 + 474: 11(int) Load 473 + 475: 154(ptr) AccessChain 124 127 153 16 + 476: 88(int) Load 475 + 477: 88(int) ISub 476 244 + 478: 11(int) Bitcast 477 + 479: 172(bool) ULessThan 474 478 + 480: 145(ptr) AccessChain 60(id) 38 + 481: 11(int) Load 480 + 482: 154(ptr) AccessChain 124 127 153 38 + 483: 88(int) Load 482 + 484: 88(int) ISub 483 244 + 485: 11(int) Bitcast 484 + 486: 172(bool) ULessThan 481 485 + 487: 172(bool) LogicalAnd 479 486 + SelectionMerge 489 None + BranchConditional 487 488 489 + 488: Label + 490: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 492 492 16 16 + 493: 11(int) Load 147(index) + 494: 154(ptr) AccessChain 124 127 153 16 + 495: 88(int) Load 494 + 496: 11(int) Bitcast 495 + 497: 11(int) IAdd 493 496 + 498: 11(int) IAdd 497 38 + 500: 236(ptr) AccessChain 210(particleIn) 127 498 127 + 501: 86(fvec4) Load 500 + 502: 18(fvec3) VectorShuffle 501 501 0 1 2 + Store 499(param) 502 + 504: 18(fvec3) Load 267(pos) + Store 503(param) 504 + 506: 129(ptr) AccessChain 124 127 424 + 507: 8(float) Load 506 + Store 505(param) 507 + 508: 18(fvec3) FunctionCall 30(springForce(vf3;vf3;f1;) 499(param) 503(param) 505(param) + 509: 18(fvec3) Load 254(force) + 510: 18(fvec3) FAdd 509 508 + Store 254(force) 510 + Branch 489 + 489: Label + 511: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 513 513 16 16 + 514: 145(ptr) AccessChain 60(id) 16 + 515: 11(int) Load 514 + 516: 154(ptr) AccessChain 124 127 153 16 + 517: 88(int) Load 516 + 518: 88(int) ISub 517 244 + 519: 11(int) Bitcast 518 + 520: 172(bool) ULessThan 515 519 + 521: 145(ptr) AccessChain 60(id) 38 + 522: 11(int) Load 521 + 523: 172(bool) UGreaterThan 522 16 + 524: 172(bool) LogicalAnd 520 523 + SelectionMerge 526 None + BranchConditional 524 525 526 + 525: Label + 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 529 529 16 16 + 530: 11(int) Load 147(index) + 531: 154(ptr) AccessChain 124 127 153 16 + 532: 88(int) Load 531 + 533: 11(int) Bitcast 532 + 534: 11(int) ISub 530 533 + 535: 11(int) IAdd 534 38 + 537: 236(ptr) AccessChain 210(particleIn) 127 535 127 + 538: 86(fvec4) Load 537 + 539: 18(fvec3) VectorShuffle 538 538 0 1 2 + Store 536(param) 539 + 541: 18(fvec3) Load 267(pos) + Store 540(param) 541 + 543: 129(ptr) AccessChain 124 127 424 + 544: 8(float) Load 543 + Store 542(param) 544 + 545: 18(fvec3) FunctionCall 30(springForce(vf3;vf3;f1;) 536(param) 540(param) 542(param) + 546: 18(fvec3) Load 254(force) + 547: 18(fvec3) FAdd 546 545 + Store 254(force) 547 + Branch 526 + 526: Label + 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 550 550 16 16 + 552: 129(ptr) AccessChain 124 127 551 + 553: 8(float) Load 552 + 554: 8(float) FNegate 553 + 555: 18(fvec3) Load 277(vel) + 556: 18(fvec3) VectorTimesScalar 555 554 + 557: 18(fvec3) Load 254(force) + 558: 18(fvec3) FAdd 557 556 + Store 254(force) 558 + 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 560 560 16 16 + 564: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 562 561(f) 46 + 565: 18(fvec3) Load 254(force) + 566: 129(ptr) AccessChain 124 127 244 + 567: 8(float) Load 566 + 568: 8(float) FDiv 216 567 + 569: 18(fvec3) VectorTimesScalar 565 568 + Store 561(f) 569 + 570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 571 571 16 16 + 572: 11(int) Load 147(index) + 573: 18(fvec3) Load 267(pos) + 574: 18(fvec3) Load 277(vel) + 575: 129(ptr) AccessChain 124 127 127 + 576: 8(float) Load 575 + 577: 18(fvec3) VectorTimesScalar 574 576 + 578: 18(fvec3) FAdd 573 577 + 580: 18(fvec3) Load 561(f) + 581: 18(fvec3) VectorTimesScalar 580 579 + 582: 129(ptr) AccessChain 124 127 127 + 583: 8(float) Load 582 + 584: 18(fvec3) VectorTimesScalar 581 583 + 585: 129(ptr) AccessChain 124 127 127 + 586: 8(float) Load 585 + 587: 18(fvec3) VectorTimesScalar 584 586 + 588: 18(fvec3) FAdd 578 587 + 589: 8(float) CompositeExtract 588 0 + 590: 8(float) CompositeExtract 588 1 + 591: 8(float) CompositeExtract 588 2 + 592: 86(fvec4) CompositeConstruct 589 590 591 216 + 593: 236(ptr) AccessChain 232(particleOut) 127 572 127 + Store 593 592 + 594: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 595 595 16 16 + 596: 11(int) Load 147(index) + 597: 18(fvec3) Load 277(vel) + 598: 18(fvec3) Load 561(f) + 599: 129(ptr) AccessChain 124 127 127 + 600: 8(float) Load 599 + 601: 18(fvec3) VectorTimesScalar 598 600 + 602: 18(fvec3) FAdd 597 601 + 603: 8(float) CompositeExtract 602 0 + 604: 8(float) CompositeExtract 602 1 + 605: 8(float) CompositeExtract 602 2 + 606: 86(fvec4) CompositeConstruct 603 604 605 245 + 607: 236(ptr) AccessChain 232(particleOut) 127 596 244 + Store 607 606 + 608: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 609 609 16 16 + 613: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 611 610(sphereDist) 46 + 614: 11(int) Load 147(index) + 615: 236(ptr) AccessChain 232(particleOut) 127 614 127 + 616: 86(fvec4) Load 615 + 617: 18(fvec3) VectorShuffle 616 616 0 1 2 + 619: 236(ptr) AccessChain 124 127 618 + 620: 86(fvec4) Load 619 + 621: 18(fvec3) VectorShuffle 620 620 0 1 2 + 622: 18(fvec3) FSub 617 621 + Store 610(sphereDist) 622 + 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 624 624 16 16 + 625: 18(fvec3) Load 610(sphereDist) + 626: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 625 + 628: 129(ptr) AccessChain 124 127 627 + 629: 8(float) Load 628 + 631: 8(float) FAdd 629 630 + 632: 172(bool) FOrdLessThan 626 631 + SelectionMerge 634 None + BranchConditional 632 633 634 + 633: Label + 635: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 636: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 637 637 16 16 + 638: 11(int) Load 147(index) + 639: 236(ptr) AccessChain 124 127 618 + 640: 86(fvec4) Load 639 + 641: 18(fvec3) VectorShuffle 640 640 0 1 2 + 642: 18(fvec3) Load 610(sphereDist) + 643: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 642 + 644: 129(ptr) AccessChain 124 127 627 + 645: 8(float) Load 644 + 646: 8(float) FAdd 645 630 + 647: 18(fvec3) VectorTimesScalar 643 646 + 648: 18(fvec3) FAdd 641 647 + 649: 129(ptr) AccessChain 232(particleOut) 127 638 127 16 + 650: 8(float) CompositeExtract 648 0 + Store 649 650 + 651: 129(ptr) AccessChain 232(particleOut) 127 638 127 38 + 652: 8(float) CompositeExtract 648 1 + Store 651 652 + 653: 129(ptr) AccessChain 232(particleOut) 127 638 127 49 + 654: 8(float) CompositeExtract 648 2 + Store 653 654 + 655: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 656 656 16 16 + 657: 11(int) Load 147(index) + 658: 236(ptr) AccessChain 232(particleOut) 127 657 244 + Store 658 246 + Branch 634 + 634: Label + 659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 660: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 661 661 16 16 + 681: 679(ptr) AccessChain 677 127 127 + 682: 11(int) Load 681 + 683: 172(bool) IEqual 682 38 + SelectionMerge 685 None + BranchConditional 683 684 685 + 684: Label + 686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 687: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 688 688 16 16 + 691: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 690 689(normal) 46 + Store 689(normal) 692 + 693: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 694 694 16 16 + 695: 145(ptr) AccessChain 60(id) 38 + 696: 11(int) Load 695 + 697: 172(bool) UGreaterThan 696 16 + SelectionMerge 699 None + BranchConditional 697 698 699 + 698: Label + 700: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 702 702 16 16 + 703: 145(ptr) AccessChain 60(id) 16 + 704: 11(int) Load 703 + 705: 172(bool) UGreaterThan 704 16 + SelectionMerge 707 None + BranchConditional 705 706 707 + 706: Label + 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 710 710 16 16 + 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 712 711(a) 46 + 715: 11(int) Load 147(index) + 716: 11(int) ISub 715 38 + 717: 236(ptr) AccessChain 210(particleIn) 127 716 127 + 718: 86(fvec4) Load 717 + 719: 18(fvec3) VectorShuffle 718 718 0 1 2 + 720: 18(fvec3) Load 267(pos) + 721: 18(fvec3) FSub 719 720 + Store 711(a) 721 + 722: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 723 723 16 16 + 727: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 725 724(b) 46 + 728: 11(int) Load 147(index) + 729: 154(ptr) AccessChain 124 127 153 16 + 730: 88(int) Load 729 + 731: 11(int) Bitcast 730 + 732: 11(int) ISub 728 731 + 733: 11(int) ISub 732 38 + 734: 236(ptr) AccessChain 210(particleIn) 127 733 127 + 735: 86(fvec4) Load 734 + 736: 18(fvec3) VectorShuffle 735 735 0 1 2 + 737: 18(fvec3) Load 267(pos) + 738: 18(fvec3) FSub 736 737 + Store 724(b) 738 + 739: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 740 740 16 16 + 744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 742 741(c) 46 + 745: 11(int) Load 147(index) + 746: 154(ptr) AccessChain 124 127 153 16 + 747: 88(int) Load 746 + 748: 11(int) Bitcast 747 + 749: 11(int) ISub 745 748 + 750: 236(ptr) AccessChain 210(particleIn) 127 749 127 + 751: 86(fvec4) Load 750 + 752: 18(fvec3) VectorShuffle 751 751 0 1 2 + 753: 18(fvec3) Load 267(pos) + 754: 18(fvec3) FSub 752 753 + Store 741(c) 754 + 755: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 756 756 16 16 + 757: 18(fvec3) Load 711(a) + 758: 18(fvec3) Load 724(b) + 759: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 757 758 + 760: 18(fvec3) Load 724(b) + 761: 18(fvec3) Load 741(c) + 762: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 760 761 + 763: 18(fvec3) FAdd 759 762 + 764: 18(fvec3) Load 689(normal) + 765: 18(fvec3) FAdd 764 763 + Store 689(normal) 765 + Branch 707 + 707: Label + 766: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 768 768 16 16 + 769: 145(ptr) AccessChain 60(id) 16 + 770: 11(int) Load 769 + 771: 154(ptr) AccessChain 124 127 153 16 + 772: 88(int) Load 771 + 773: 88(int) ISub 772 244 + 774: 11(int) Bitcast 773 + 775: 172(bool) ULessThan 770 774 + SelectionMerge 777 None + BranchConditional 775 776 777 + 776: Label + 778: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 779: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 780 780 16 16 + 781: 11(int) Load 147(index) + 782: 154(ptr) AccessChain 124 127 153 16 + 783: 88(int) Load 782 + 784: 11(int) Bitcast 783 + 785: 11(int) ISub 781 784 + 786: 236(ptr) AccessChain 210(particleIn) 127 785 127 + 787: 86(fvec4) Load 786 788: 18(fvec3) VectorShuffle 787 787 0 1 2 - 789: 18(fvec3) Load 256(pos) + 789: 18(fvec3) Load 267(pos) 790: 18(fvec3) FSub 788 789 - Store 711(b) 790 - 791: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 792 792 16 16 - 793: 11(int) Load 140(index) - 794: 11(int) IAdd 793 35 - 795: 226(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 256(pos) - 799: 18(fvec3) FSub 797 798 - Store 728(c) 799 - 800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 801 801 16 16 - 802: 18(fvec3) Load 698(a) - 803: 18(fvec3) Load 711(b) - 804: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 802 803 - 805: 18(fvec3) Load 711(b) - 806: 18(fvec3) Load 728(c) - 807: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 805 806 - 808: 18(fvec3) FAdd 804 807 - 809: 18(fvec3) Load 676(normal) - 810: 18(fvec3) FAdd 809 808 - Store 676(normal) 810 - Branch 764 - 764: Label - Branch 686 - 686: Label - 811: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 812: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 813 813 16 16 - 814: 139(ptr) AccessChain 56(id) 35 - 815: 11(int) Load 814 - 816: 147(ptr) AccessChain 119 122 146 35 - 817: 84(int) Load 816 - 818: 84(int) ISub 817 233 - 819: 11(int) Bitcast 818 - 820: 164(bool) ULessThan 815 819 - SelectionMerge 822 None - BranchConditional 820 821 822 - 821: Label - 823: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 824: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 825 825 16 16 - 826: 139(ptr) AccessChain 56(id) 16 - 827: 11(int) Load 826 - 828: 164(bool) UGreaterThan 827 16 - SelectionMerge 830 None - BranchConditional 828 829 830 - 829: Label - 831: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 832: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 833 833 16 16 - 834: 11(int) Load 140(index) - 835: 147(ptr) AccessChain 119 122 146 16 - 836: 84(int) Load 835 - 837: 11(int) Bitcast 836 - 838: 11(int) IAdd 834 837 - 839: 226(ptr) AccessChain 201(particleIn) 122 838 122 - 840: 82(fvec4) Load 839 - 841: 18(fvec3) VectorShuffle 840 840 0 1 2 - 842: 18(fvec3) Load 256(pos) - 843: 18(fvec3) FSub 841 842 - Store 698(a) 843 - 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 845 845 16 16 - 846: 11(int) Load 140(index) - 847: 147(ptr) AccessChain 119 122 146 16 - 848: 84(int) Load 847 - 849: 11(int) Bitcast 848 - 850: 11(int) IAdd 846 849 - 851: 11(int) ISub 850 35 - 852: 226(ptr) AccessChain 201(particleIn) 122 851 122 - 853: 82(fvec4) Load 852 + Store 711(a) 790 + 791: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 792 792 16 16 + 793: 11(int) Load 147(index) + 794: 154(ptr) AccessChain 124 127 153 16 + 795: 88(int) Load 794 + 796: 11(int) Bitcast 795 + 797: 11(int) ISub 793 796 + 798: 11(int) IAdd 797 38 + 799: 236(ptr) AccessChain 210(particleIn) 127 798 127 + 800: 86(fvec4) Load 799 + 801: 18(fvec3) VectorShuffle 800 800 0 1 2 + 802: 18(fvec3) Load 267(pos) + 803: 18(fvec3) FSub 801 802 + Store 724(b) 803 + 804: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 805 805 16 16 + 806: 11(int) Load 147(index) + 807: 11(int) IAdd 806 38 + 808: 236(ptr) AccessChain 210(particleIn) 127 807 127 + 809: 86(fvec4) Load 808 + 810: 18(fvec3) VectorShuffle 809 809 0 1 2 + 811: 18(fvec3) Load 267(pos) + 812: 18(fvec3) FSub 810 811 + Store 741(c) 812 + 813: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 814 814 16 16 + 815: 18(fvec3) Load 711(a) + 816: 18(fvec3) Load 724(b) + 817: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 815 816 + 818: 18(fvec3) Load 724(b) + 819: 18(fvec3) Load 741(c) + 820: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 818 819 + 821: 18(fvec3) FAdd 817 820 + 822: 18(fvec3) Load 689(normal) + 823: 18(fvec3) FAdd 822 821 + Store 689(normal) 823 + Branch 777 + 777: Label + Branch 699 + 699: Label + 824: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 825: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 826 826 16 16 + 827: 145(ptr) AccessChain 60(id) 38 + 828: 11(int) Load 827 + 829: 154(ptr) AccessChain 124 127 153 38 + 830: 88(int) Load 829 + 831: 88(int) ISub 830 244 + 832: 11(int) Bitcast 831 + 833: 172(bool) ULessThan 828 832 + SelectionMerge 835 None + BranchConditional 833 834 835 + 834: Label + 836: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 837: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 838 838 16 16 + 839: 145(ptr) AccessChain 60(id) 16 + 840: 11(int) Load 839 + 841: 172(bool) UGreaterThan 840 16 + SelectionMerge 843 None + BranchConditional 841 842 843 + 842: Label + 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 845: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 846 846 16 16 + 847: 11(int) Load 147(index) + 848: 154(ptr) AccessChain 124 127 153 16 + 849: 88(int) Load 848 + 850: 11(int) Bitcast 849 + 851: 11(int) IAdd 847 850 + 852: 236(ptr) AccessChain 210(particleIn) 127 851 127 + 853: 86(fvec4) Load 852 854: 18(fvec3) VectorShuffle 853 853 0 1 2 - 855: 18(fvec3) Load 256(pos) + 855: 18(fvec3) Load 267(pos) 856: 18(fvec3) FSub 854 855 - Store 711(b) 856 - 857: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 858 858 16 16 - 859: 11(int) Load 140(index) - 860: 11(int) ISub 859 35 - 861: 226(ptr) AccessChain 201(particleIn) 122 860 122 - 862: 82(fvec4) Load 861 - 863: 18(fvec3) VectorShuffle 862 862 0 1 2 - 864: 18(fvec3) Load 256(pos) - 865: 18(fvec3) FSub 863 864 - Store 728(c) 865 - 866: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 867 867 16 16 - 868: 18(fvec3) Load 698(a) - 869: 18(fvec3) Load 711(b) - 870: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 868 869 - 871: 18(fvec3) Load 711(b) - 872: 18(fvec3) Load 728(c) - 873: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 871 872 - 874: 18(fvec3) FAdd 870 873 - 875: 18(fvec3) Load 676(normal) - 876: 18(fvec3) FAdd 875 874 - Store 676(normal) 876 - Branch 830 - 830: Label - 877: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 878: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 879 879 16 16 - 880: 139(ptr) AccessChain 56(id) 16 - 881: 11(int) Load 880 - 882: 147(ptr) AccessChain 119 122 146 16 - 883: 84(int) Load 882 - 884: 84(int) ISub 883 233 - 885: 11(int) Bitcast 884 - 886: 164(bool) ULessThan 881 885 - SelectionMerge 888 None - BranchConditional 886 887 888 - 887: Label - 889: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 890: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 891 891 16 16 - 892: 11(int) Load 140(index) - 893: 11(int) IAdd 892 35 - 894: 226(ptr) AccessChain 201(particleIn) 122 893 122 - 895: 82(fvec4) Load 894 - 896: 18(fvec3) VectorShuffle 895 895 0 1 2 - 897: 18(fvec3) Load 256(pos) - 898: 18(fvec3) FSub 896 897 - Store 698(a) 898 - 899: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 900 900 16 16 - 901: 11(int) Load 140(index) - 902: 147(ptr) AccessChain 119 122 146 16 - 903: 84(int) Load 902 - 904: 11(int) Bitcast 903 - 905: 11(int) IAdd 901 904 - 906: 11(int) IAdd 905 35 - 907: 226(ptr) AccessChain 201(particleIn) 122 906 122 - 908: 82(fvec4) Load 907 + Store 711(a) 856 + 857: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 858 858 16 16 + 859: 11(int) Load 147(index) + 860: 154(ptr) AccessChain 124 127 153 16 + 861: 88(int) Load 860 + 862: 11(int) Bitcast 861 + 863: 11(int) IAdd 859 862 + 864: 11(int) ISub 863 38 + 865: 236(ptr) AccessChain 210(particleIn) 127 864 127 + 866: 86(fvec4) Load 865 + 867: 18(fvec3) VectorShuffle 866 866 0 1 2 + 868: 18(fvec3) Load 267(pos) + 869: 18(fvec3) FSub 867 868 + Store 724(b) 869 + 870: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 871 871 16 16 + 872: 11(int) Load 147(index) + 873: 11(int) ISub 872 38 + 874: 236(ptr) AccessChain 210(particleIn) 127 873 127 + 875: 86(fvec4) Load 874 + 876: 18(fvec3) VectorShuffle 875 875 0 1 2 + 877: 18(fvec3) Load 267(pos) + 878: 18(fvec3) FSub 876 877 + Store 741(c) 878 + 879: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 880 880 16 16 + 881: 18(fvec3) Load 711(a) + 882: 18(fvec3) Load 724(b) + 883: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 881 882 + 884: 18(fvec3) Load 724(b) + 885: 18(fvec3) Load 741(c) + 886: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 884 885 + 887: 18(fvec3) FAdd 883 886 + 888: 18(fvec3) Load 689(normal) + 889: 18(fvec3) FAdd 888 887 + Store 689(normal) 889 + Branch 843 + 843: Label + 890: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 891: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 892 892 16 16 + 893: 145(ptr) AccessChain 60(id) 16 + 894: 11(int) Load 893 + 895: 154(ptr) AccessChain 124 127 153 16 + 896: 88(int) Load 895 + 897: 88(int) ISub 896 244 + 898: 11(int) Bitcast 897 + 899: 172(bool) ULessThan 894 898 + SelectionMerge 901 None + BranchConditional 899 900 901 + 900: Label + 902: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 903: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 904 904 16 16 + 905: 11(int) Load 147(index) + 906: 11(int) IAdd 905 38 + 907: 236(ptr) AccessChain 210(particleIn) 127 906 127 + 908: 86(fvec4) Load 907 909: 18(fvec3) VectorShuffle 908 908 0 1 2 - 910: 18(fvec3) Load 256(pos) + 910: 18(fvec3) Load 267(pos) 911: 18(fvec3) FSub 909 910 - Store 711(b) 911 - 912: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 913 913 16 16 - 914: 11(int) Load 140(index) - 915: 147(ptr) AccessChain 119 122 146 16 - 916: 84(int) Load 915 + Store 711(a) 911 + 912: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 913 913 16 16 + 914: 11(int) Load 147(index) + 915: 154(ptr) AccessChain 124 127 153 16 + 916: 88(int) Load 915 917: 11(int) Bitcast 916 918: 11(int) IAdd 914 917 - 919: 226(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 256(pos) - 923: 18(fvec3) FSub 921 922 - Store 728(c) 923 - 924: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 925 925 16 16 - 926: 18(fvec3) Load 698(a) - 927: 18(fvec3) Load 711(b) - 928: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 926 927 - 929: 18(fvec3) Load 711(b) - 930: 18(fvec3) Load 728(c) - 931: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 929 930 - 932: 18(fvec3) FAdd 928 931 - 933: 18(fvec3) Load 676(normal) - 934: 18(fvec3) FAdd 933 932 - Store 676(normal) 934 - Branch 888 - 888: Label - Branch 822 - 822: Label - 935: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 - 936: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 937 937 16 16 - 938: 11(int) Load 140(index) - 939: 18(fvec3) Load 676(normal) - 940: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 939 - 941: 8(float) CompositeExtract 940 0 - 942: 8(float) CompositeExtract 940 1 - 943: 8(float) CompositeExtract 940 2 - 944: 82(fvec4) CompositeConstruct 941 942 943 234 - 945: 226(ptr) AccessChain 222(particleOut) 122 938 540 - Store 945 944 - Branch 672 - 672: Label + 919: 11(int) IAdd 918 38 + 920: 236(ptr) AccessChain 210(particleIn) 127 919 127 + 921: 86(fvec4) Load 920 + 922: 18(fvec3) VectorShuffle 921 921 0 1 2 + 923: 18(fvec3) Load 267(pos) + 924: 18(fvec3) FSub 922 923 + Store 724(b) 924 + 925: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 926 926 16 16 + 927: 11(int) Load 147(index) + 928: 154(ptr) AccessChain 124 127 153 16 + 929: 88(int) Load 928 + 930: 11(int) Bitcast 929 + 931: 11(int) IAdd 927 930 + 932: 236(ptr) AccessChain 210(particleIn) 127 931 127 + 933: 86(fvec4) Load 932 + 934: 18(fvec3) VectorShuffle 933 933 0 1 2 + 935: 18(fvec3) Load 267(pos) + 936: 18(fvec3) FSub 934 935 + Store 741(c) 936 + 937: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 938 938 16 16 + 939: 18(fvec3) Load 711(a) + 940: 18(fvec3) Load 724(b) + 941: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 939 940 + 942: 18(fvec3) Load 724(b) + 943: 18(fvec3) Load 741(c) + 944: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 942 943 + 945: 18(fvec3) FAdd 941 944 + 946: 18(fvec3) Load 689(normal) + 947: 18(fvec3) FAdd 946 945 + Store 689(normal) 947 + Branch 901 + 901: Label + Branch 835 + 835: Label + 948: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 64 + 949: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 34 950 950 16 16 + 951: 11(int) Load 147(index) + 952: 18(fvec3) Load 689(normal) + 953: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 952 + 954: 8(float) CompositeExtract 953 0 + 955: 8(float) CompositeExtract 953 1 + 956: 8(float) CompositeExtract 953 2 + 957: 86(fvec4) CompositeConstruct 954 955 956 245 + 958: 236(ptr) AccessChain 232(particleOut) 127 951 551 + Store 958 957 + Branch 685 + 685: Label Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.frag.out b/Test/baseResults/spv.debuginfo.hlsl.frag.out index 9fa17ff1..b76a7d7b 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 879 +// Id's are bound by 895 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" 872 875 + EntryPoint Fragment 6 "main" 888 891 ExecutionMode 6 OriginUpperLeft 1: String "" 9: String "float" 12: String "uint" - 34: String "textureProj" - 37: String "// OpModuleProcessed auto-map-locations + 38: String "textureProj" + 41: 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 " - 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" - 154: String "dist" - 158: String "type.2d.image" - 159: String "@type.2d.image" - 164: String "textureShadowMap" - 169: String "type.sampler" - 170: String "@type.sampler" - 174: String "samplerShadowMap" - 178: String "type.sampled.image" - 179: String "@type.sampled.image" - 223: String "sizeQueryTemp" - 228: String "int" - 235: String "texDim" - 249: String "elements" - 256: String "levels" - 265: String "scale" - 272: String "dx" - 284: String "dy" - 296: String "shadowFactor" - 302: String "count" - 309: String "range" - 316: String "x" - 337: String "y" - 400: String "i" - 419: String "shadowClip" - 431: String "color" - 437: String "viewMatrix" - 441: String "Light" - 447: String "lights" - 450: String "displayDebugTarget" - 455: String "UBO" - 458: String "ubo" - 508: String "textureposition" - 513: String "samplerposition" - 525: String "normal" - 529: String "textureNormal" - 534: String "samplerNormal" - 544: String "albedo" - 548: String "textureAlbedo" - 553: String "samplerAlbedo" - 642: String "N" - 667: String "L" - 691: String "V" - 706: String "lightCosInnerAngle" - 713: String "lightCosOuterAngle" - 720: String "lightRange" - 727: String "dir" - 743: String "cosDir" - 752: String "spotEffect" - 762: String "heightAttenuation" - 771: String "NdotL" - 781: String "diff" - 789: String "R" - 799: String "NdotR" - 809: String "spec" + 49: String "P" + 53: String "layer" + 56: String "offset" + 64: String "filterPCF" + 70: String "sc" + 84: String "shadow" + 90: String "fragcolor" + 93: String "fragPos" + 100: String "@main" + 106: String "inUV" + 120: String "shadowCoord" + 145: String "bool" + 159: String "dist" + 163: String "type.2d.image" + 164: String "@type.2d.image" + 170: String "textureShadowMap" + 175: String "type.sampler" + 176: String "@type.sampler" + 181: String "samplerShadowMap" + 185: String "type.sampled.image" + 186: String "@type.sampled.image" + 231: String "sizeQueryTemp" + 236: String "int" + 244: String "texDim" + 260: String "elements" + 267: String "levels" + 276: String "scale" + 283: String "dx" + 295: String "dy" + 307: String "shadowFactor" + 313: String "count" + 320: String "range" + 327: String "x" + 348: String "y" + 411: String "i" + 430: String "shadowClip" + 442: String "color" + 448: String "viewMatrix" + 452: String "Light" + 458: String "lights" + 461: String "displayDebugTarget" + 466: String "UBO" + 469: String "ubo" + 522: String "textureposition" + 527: String "samplerposition" + 539: String "normal" + 543: String "textureNormal" + 548: String "samplerNormal" + 558: String "albedo" + 562: String "textureAlbedo" + 567: String "samplerAlbedo" + 657: String "N" + 682: String "L" + 707: String "V" + 722: String "lightCosInnerAngle" + 729: String "lightCosOuterAngle" + 736: String "lightRange" + 743: String "dir" + 759: String "cosDir" + 768: String "spotEffect" + 778: String "heightAttenuation" + 787: String "NdotL" + 797: String "diff" + 805: String "R" + 815: String "NdotR" + 825: String "spec" Name 6 "main" - Name 32 "textureProj(vf4;f1;vf2;" - Name 29 "P" - Name 30 "layer" - Name 31 "offset" - 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 152 "dist" - Name 162 "textureShadowMap" - Name 172 "samplerShadowMap" - Name 221 "sizeQueryTemp" - Name 233 "texDim" - Name 247 "elements" - Name 254 "levels" - Name 263 "scale" - Name 270 "dx" - Name 282 "dy" - Name 294 "shadowFactor" - Name 300 "count" - Name 307 "range" - Name 314 "x" - Name 335 "y" - Name 365 "param" - Name 367 "param" - Name 369 "param" - Name 398 "i" - Name 417 "shadowClip" - Name 429 "Light" - MemberName 429(Light) 0 "position" - MemberName 429(Light) 1 "target" - MemberName 429(Light) 2 "color" - MemberName 429(Light) 3 "viewMatrix" - Name 444 "UBO" - MemberName 444(UBO) 0 "viewPos" - MemberName 444(UBO) 1 "lights" - MemberName 444(UBO) 2 "useShadows" - MemberName 444(UBO) 3 "displayDebugTarget" - Name 456 "ubo" - MemberName 456(ubo) 0 "ubo" - Name 463 "" - Name 472 "shadowFactor" - Name 477 "param" - Name 479 "param" - Name 500 "fragPos" - Name 506 "textureposition" - Name 511 "samplerposition" - Name 523 "normal" - Name 527 "textureNormal" - Name 532 "samplerNormal" - Name 542 "albedo" - Name 546 "textureAlbedo" - Name 551 "samplerAlbedo" - Name 580 "fragcolor" - Name 584 "param" - Name 585 "param" - Name 640 "N" - Name 648 "i" - Name 665 "L" - Name 678 "dist" - Name 689 "V" - Name 704 "lightCosInnerAngle" - Name 711 "lightCosOuterAngle" - Name 718 "lightRange" - Name 725 "dir" - Name 741 "cosDir" - Name 750 "spotEffect" - Name 760 "heightAttenuation" - Name 769 "NdotL" - Name 779 "diff" - Name 787 "R" - Name 797 "NdotR" - Name 807 "spec" - Name 855 "param" - Name 857 "param" - Name 870 "inUV" - Name 872 "inUV" - Name 875 "@entryPointOutput" - Name 876 "param" - Decorate 162(textureShadowMap) DescriptorSet 0 - Decorate 162(textureShadowMap) Binding 5 - Decorate 172(samplerShadowMap) DescriptorSet 0 - Decorate 172(samplerShadowMap) Binding 5 - MemberDecorate 429(Light) 0 Offset 0 - MemberDecorate 429(Light) 1 Offset 16 - MemberDecorate 429(Light) 2 Offset 32 - MemberDecorate 429(Light) 3 RowMajor - MemberDecorate 429(Light) 3 Offset 48 - MemberDecorate 429(Light) 3 MatrixStride 16 - Decorate 442 ArrayStride 112 - MemberDecorate 444(UBO) 0 Offset 0 - MemberDecorate 444(UBO) 1 Offset 16 - MemberDecorate 444(UBO) 2 Offset 352 - MemberDecorate 444(UBO) 3 Offset 356 - MemberDecorate 456(ubo) 0 Offset 0 - Decorate 456(ubo) Block - Decorate 463 DescriptorSet 0 - Decorate 463 Binding 4 - Decorate 506(textureposition) DescriptorSet 0 - Decorate 506(textureposition) Binding 1 - Decorate 511(samplerposition) DescriptorSet 0 - Decorate 511(samplerposition) Binding 1 - Decorate 527(textureNormal) DescriptorSet 0 - Decorate 527(textureNormal) Binding 2 - Decorate 532(samplerNormal) DescriptorSet 0 - Decorate 532(samplerNormal) Binding 2 - Decorate 546(textureAlbedo) DescriptorSet 0 - Decorate 546(textureAlbedo) Binding 3 - Decorate 551(samplerAlbedo) DescriptorSet 0 - Decorate 551(samplerAlbedo) Binding 3 - Decorate 872(inUV) Location 0 - Decorate 875(@entryPointOutput) Location 0 + Name 36 "textureProj(vf4;f1;vf2;" + Name 33 "P" + Name 34 "layer" + Name 35 "offset" + Name 62 "filterPCF(vf4;f1;" + Name 60 "sc" + Name 61 "layer" + Name 82 "shadow(vf3;vf3;" + Name 80 "fragcolor" + Name 81 "fragPos" + Name 98 "@main(vf2;" + Name 97 "inUV" + Name 112 "shadow" + Name 118 "shadowCoord" + Name 157 "dist" + Name 168 "textureShadowMap" + Name 179 "samplerShadowMap" + Name 229 "sizeQueryTemp" + Name 242 "texDim" + Name 258 "elements" + Name 265 "levels" + Name 274 "scale" + Name 281 "dx" + Name 293 "dy" + Name 305 "shadowFactor" + Name 311 "count" + Name 318 "range" + Name 325 "x" + Name 346 "y" + Name 376 "param" + Name 378 "param" + Name 380 "param" + Name 409 "i" + Name 428 "shadowClip" + Name 440 "Light" + MemberName 440(Light) 0 "position" + MemberName 440(Light) 1 "target" + MemberName 440(Light) 2 "color" + MemberName 440(Light) 3 "viewMatrix" + Name 455 "UBO" + MemberName 455(UBO) 0 "viewPos" + MemberName 455(UBO) 1 "lights" + MemberName 455(UBO) 2 "useShadows" + MemberName 455(UBO) 3 "displayDebugTarget" + Name 467 "ubo" + MemberName 467(ubo) 0 "ubo" + Name 475 "" + Name 485 "shadowFactor" + Name 490 "param" + Name 492 "param" + Name 513 "fragPos" + Name 520 "textureposition" + Name 525 "samplerposition" + Name 537 "normal" + Name 541 "textureNormal" + Name 546 "samplerNormal" + Name 556 "albedo" + Name 560 "textureAlbedo" + Name 565 "samplerAlbedo" + Name 595 "fragcolor" + Name 599 "param" + Name 600 "param" + Name 655 "N" + Name 663 "i" + Name 680 "L" + Name 694 "dist" + Name 705 "V" + Name 720 "lightCosInnerAngle" + Name 727 "lightCosOuterAngle" + Name 734 "lightRange" + Name 741 "dir" + Name 757 "cosDir" + Name 766 "spotEffect" + Name 776 "heightAttenuation" + Name 785 "NdotL" + Name 795 "diff" + Name 803 "R" + Name 813 "NdotR" + Name 823 "spec" + Name 871 "param" + Name 873 "param" + Name 886 "inUV" + Name 888 "inUV" + Name 891 "@entryPointOutput" + Name 892 "param" + Decorate 168(textureShadowMap) DescriptorSet 0 + Decorate 168(textureShadowMap) Binding 5 + Decorate 179(samplerShadowMap) DescriptorSet 0 + Decorate 179(samplerShadowMap) Binding 5 + MemberDecorate 440(Light) 0 Offset 0 + MemberDecorate 440(Light) 1 Offset 16 + MemberDecorate 440(Light) 2 Offset 32 + MemberDecorate 440(Light) 3 RowMajor + MemberDecorate 440(Light) 3 Offset 48 + MemberDecorate 440(Light) 3 MatrixStride 16 + Decorate 453 ArrayStride 112 + MemberDecorate 455(UBO) 0 Offset 0 + MemberDecorate 455(UBO) 1 Offset 16 + MemberDecorate 455(UBO) 2 Offset 352 + MemberDecorate 455(UBO) 3 Offset 356 + MemberDecorate 467(ubo) 0 Offset 0 + Decorate 467(ubo) Block + Decorate 475 DescriptorSet 0 + Decorate 475 Binding 4 + Decorate 520(textureposition) DescriptorSet 0 + Decorate 520(textureposition) Binding 1 + Decorate 525(samplerposition) DescriptorSet 0 + Decorate 525(samplerposition) Binding 1 + Decorate 541(textureNormal) DescriptorSet 0 + Decorate 541(textureNormal) Binding 2 + Decorate 546(samplerNormal) DescriptorSet 0 + Decorate 546(samplerNormal) Binding 2 + Decorate 560(textureAlbedo) DescriptorSet 0 + Decorate 560(textureAlbedo) Binding 3 + Decorate 565(samplerAlbedo) DescriptorSet 0 + Decorate 565(samplerAlbedo) Binding 3 + Decorate 888(inUV) Location 0 + Decorate 891(@entryPointOutput) Location 0 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -223,914 +223,930 @@ spv.debuginfo.hlsl.frag 19: 11(int) Constant 4 20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 19 21: TypePointer Function 18(fvec4) - 22: TypePointer Function 8(float) - 23: TypeVector 8(float) 2 - 24: 11(int) Constant 2 - 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 24 - 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 - 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 - 151: 11(int) Constant 68 - 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 154 10 36 151 16 35 19 - 156: TypeImage 8(float) 2D array sampled format:Unknown - 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) - 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 158 16 36 151 16 39 159 160 17 - 161: TypePointer UniformConstant 156 -162(textureShadowMap): 161(ptr) Variable UniformConstant - 165: 11(int) Constant 8 - 163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 164 157 36 151 16 39 164 162(textureShadowMap) 165 - 167: TypeSampler - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 40 36 151 16 39 170 160 17 - 171: TypePointer UniformConstant 167 -172(samplerShadowMap): 171(ptr) Variable UniformConstant - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 174 168 36 151 16 39 174 172(samplerShadowMap) 165 - 176: TypeSampledImage 156 - 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 178 16 36 151 16 39 179 160 17 - 192: 11(int) Constant 69 - 195: 8(float) Constant 0 - 206: 11(int) Constant 71 - 207: 8(float) Constant 1048576000 - 210: 11(int) Constant 74 - 217: 11(int) Constant 80 - 218: TypeVector 11(int) 3 - 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17 - 220: TypePointer Function 218(ivec3) - 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 223 219 36 217 16 61 19 - 227: TypeInt 32 1 - 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 228 14 19 16 - 230: TypeVector 227(int) 2 - 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 229 24 - 232: TypePointer Function 230(ivec2) - 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 235 231 36 217 16 61 19 - 237: TypePointer Function 11(int) - 241: TypePointer Function 227(int) - 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 249 229 36 217 16 61 19 - 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 256 229 36 217 16 61 19 - 262: 11(int) Constant 81 - 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 265 10 36 262 16 61 19 - 267: 8(float) Constant 1069547520 - 269: 11(int) Constant 82 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 272 10 36 269 16 61 19 - 281: 11(int) Constant 83 - 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 284 10 36 281 16 61 19 - 293: 11(int) Constant 85 - 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 296 10 36 293 16 61 19 - 299: 11(int) Constant 86 - 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 302 229 36 299 16 61 19 - 304: 227(int) Constant 0 - 306: 11(int) Constant 87 - 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 309 229 36 306 16 61 19 - 311: 227(int) Constant 1 - 313: 11(int) Constant 89 - 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 316 229 36 313 16 61 19 - 334: 11(int) Constant 91 - 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 337 229 36 334 16 61 19 - 355: 11(int) Constant 93 - 374: 11(int) Constant 94 - 387: 11(int) Constant 98 - 397: 11(int) Constant 102 - 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 400 229 36 397 16 80 19 - 412: 227(int) Constant 3 - 416: 11(int) Constant 104 - 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 419 20 36 416 16 80 19 - 426: TypeMatrix 18(fvec4) 4 - 428: 139(bool) ConstantTrue - 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 428 - 429(Light): TypeStruct 18(fvec4) 18(fvec4) 18(fvec4) 426 - 432: 11(int) Constant 46 - 433: 11(int) Constant 14 - 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 20 36 432 433 16 16 17 - 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 20 36 432 433 16 16 17 - 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 20 36 432 433 16 16 17 - 438: 11(int) Constant 47 - 439: 11(int) Constant 21 - 436: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 437 427 36 438 439 16 16 17 - 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 441 40 36 416 16 39 441 16 17 430 434 435 436 - 442: TypeArray 429(Light) 17 - 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 440 17 - 444(UBO): TypeStruct 18(fvec4) 442 227(int) 227(int) - 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 431 20 36 432 433 16 16 17 - 448: 11(int) Constant 53 - 446: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 447 443 36 448 433 16 16 17 - 451: 11(int) Constant 55 - 452: 11(int) Constant 24 - 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 450 229 36 451 452 16 16 17 - 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 450 229 36 451 452 16 16 17 - 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 455 40 36 416 16 39 455 16 17 445 446 449 453 - 456(ubo): TypeStruct 444(UBO) - 459: 11(int) Constant 58 - 460: 11(int) Constant 37 - 457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 458 454 36 459 460 16 16 17 - 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 458 40 36 416 16 39 458 16 17 457 - 462: TypePointer Uniform 456(ubo) - 463: 462(ptr) Variable Uniform - 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 461 36 416 16 39 1 463 165 - 466: TypePointer Uniform 426 - 471: 11(int) Constant 108 - 473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 296 10 36 471 16 80 19 - 482: 11(int) Constant 113 - 492: 11(int) Constant 115 - 499: 11(int) Constant 121 - 501: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 88 71 36 499 16 96 19 - 503: TypeImage 8(float) 2D sampled format:Unknown - 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 158 16 36 499 16 39 159 160 17 - 505: TypePointer UniformConstant 503 -506(textureposition): 505(ptr) Variable UniformConstant - 507: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 508 504 36 499 16 39 508 506(textureposition) 165 - 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 40 36 499 16 39 170 160 17 -511(samplerposition): 171(ptr) Variable UniformConstant - 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 513 510 36 499 16 39 513 511(samplerposition) 165 - 515: TypeSampledImage 503 - 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 178 16 36 499 16 39 179 160 17 - 522: 11(int) Constant 122 - 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 525 71 36 522 16 96 19 -527(textureNormal): 505(ptr) Variable UniformConstant - 528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 529 504 36 522 16 39 529 527(textureNormal) 165 - 531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 40 36 522 16 39 170 160 17 -532(samplerNormal): 171(ptr) Variable UniformConstant - 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 534 531 36 522 16 39 534 532(samplerNormal) 165 - 541: 11(int) Constant 123 - 543: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 544 20 36 541 16 96 19 -546(textureAlbedo): 505(ptr) Variable UniformConstant - 547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 548 504 36 541 16 39 548 546(textureAlbedo) 165 - 550: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 169 40 36 541 16 39 170 160 17 -551(samplerAlbedo): 171(ptr) Variable UniformConstant - 552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 553 550 36 541 16 39 553 551(samplerAlbedo) 165 - 559: 11(int) Constant 128 - 560: TypePointer Uniform 227(int) - 568: 11(int) Constant 129 - 579: 11(int) Constant 131 - 581: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 71 36 579 16 96 19 - 583: 70(fvec3) ConstantComposite 110 110 110 - 589: 11(int) Constant 132 - 593: 11(int) Constant 134 - 596: 11(int) Constant 135 - 600: 11(int) Constant 137 - 603: 11(int) Constant 138 - 607: 11(int) Constant 140 - 611: 11(int) Constant 141 - 615: 11(int) Constant 143 - 619: 11(int) Constant 144 - 624: 11(int) Constant 146 - 633: 11(int) Constant 150 - 636: 8(float) Constant 1036831949 - 639: 11(int) Constant 152 - 641: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 642 71 36 639 16 96 19 - 647: 11(int) Constant 154 - 649: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 400 229 36 647 16 96 19 - 664: 11(int) Constant 157 - 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 667 71 36 664 16 96 19 - 670: TypePointer Uniform 18(fvec4) - 677: 11(int) Constant 159 - 679: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 154 10 36 677 16 96 19 - 684: 11(int) Constant 160 - 688: 11(int) Constant 163 - 690: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 691 71 36 688 16 96 19 - 699: 11(int) Constant 164 - 703: 11(int) Constant 166 - 705: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 706 10 36 703 16 96 19 - 708: 8(float) Constant 1064781546 - 710: 11(int) Constant 167 - 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 713 10 36 710 16 96 19 - 715: 8(float) Constant 1063781322 - 717: 11(int) Constant 168 - 719: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 720 10 36 717 16 96 19 - 722: 8(float) Constant 1120403456 - 724: 11(int) Constant 171 - 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 727 71 36 724 16 96 19 - 740: 11(int) Constant 174 - 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 743 10 36 740 16 96 19 - 749: 11(int) Constant 175 - 751: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 752 10 36 749 16 96 19 - 759: 11(int) Constant 176 - 761: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 762 10 36 759 16 96 19 - 768: 11(int) Constant 179 - 770: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 771 10 36 768 16 96 19 - 778: 11(int) Constant 180 - 780: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 781 71 36 778 16 96 19 - 786: 11(int) Constant 183 - 788: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 789 71 36 786 16 96 19 - 796: 11(int) Constant 184 - 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 799 10 36 796 16 96 19 - 806: 11(int) Constant 185 - 808: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 809 71 36 806 16 96 19 - 812: 8(float) Constant 1098907648 - 817: 8(float) Constant 1075838976 - 821: 11(int) Constant 187 - 830: 227(int) Constant 2 - 846: 11(int) Constant 191 - 854: 11(int) Constant 193 - 862: 11(int) Constant 196 - 871: TypePointer Input 23(fvec2) - 872(inUV): 871(ptr) Variable Input - 874: TypePointer Output 18(fvec4) -875(@entryPointOutput): 874(ptr) Variable Output + 22: 11(int) Constant 7 + 23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 22 16 + 24: TypePointer Function 8(float) + 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 22 16 + 26: TypeVector 8(float) 2 + 27: 11(int) Constant 2 + 28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 27 + 29: TypePointer Function 26(fvec2) + 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 28 22 16 + 31: TypeFunction 8(float) 21(ptr) 24(ptr) 29(ptr) + 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 10 28 + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 41 + 42: 11(int) Constant 61 + 44: 11(int) Constant 1 + 45: 11(int) Constant 5 + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 44 19 40 45 + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 38 32 40 42 16 43 38 17 42 + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 20 40 42 16 39 19 44 + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 10 40 42 16 39 19 27 + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 56 28 40 42 16 39 19 17 + 58: TypeFunction 8(float) 21(ptr) 24(ptr) + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 10 + 66: 11(int) Constant 78 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 64 59 40 66 16 43 64 17 66 + 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 70 20 40 66 16 65 19 44 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 10 40 66 16 65 19 27 + 74: TypeVector 8(float) 3 + 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 + 76: TypePointer Function 74(fvec3) + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 75 22 16 + 78: TypeFunction 74(fvec3) 76(ptr) 76(ptr) + 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 75 75 75 + 86: 11(int) Constant 101 + 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 84 79 40 86 16 43 84 17 86 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 90 75 40 86 16 85 19 44 + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 75 40 86 16 85 19 27 + 95: TypeFunction 18(fvec4) 29(ptr) + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 20 28 + 102: 11(int) Constant 119 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 100 96 40 102 16 43 100 17 102 + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 106 28 40 102 16 101 19 44 + 111: 11(int) Constant 62 + 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 84 10 40 111 16 39 19 + 115: 8(float) Constant 1065353216 + 117: 11(int) Constant 63 + 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 20 40 117 16 39 19 + 128: 11(int) Constant 64 + 131: 8(float) Constant 1056964608 + 140: 11(int) Constant 66 + 143: 8(float) Constant 3212836864 + 144: TypeBool + 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 145 14 27 16 + 156: 11(int) Constant 68 + 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 159 10 40 156 16 39 19 + 161: TypeImage 8(float) 2D array sampled format:Unknown + 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 16 40 156 16 43 164 165 17 + 166: TypePointer UniformConstant 161 + 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 162 16 16 +168(textureShadowMap): 166(ptr) Variable UniformConstant + 171: 11(int) Constant 8 + 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 170 162 40 156 16 43 170 168(textureShadowMap) 171 + 173: TypeSampler + 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 175 44 40 156 16 43 176 165 17 + 177: TypePointer UniformConstant 173 + 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 174 16 16 +179(samplerShadowMap): 177(ptr) Variable UniformConstant + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 181 174 40 156 16 43 181 179(samplerShadowMap) 171 + 183: TypeSampledImage 161 + 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 185 16 40 156 16 43 186 165 17 + 199: 11(int) Constant 69 + 202: 8(float) Constant 0 + 213: 11(int) Constant 71 + 214: 8(float) Constant 1048576000 + 217: 11(int) Constant 74 + 224: 11(int) Constant 80 + 225: TypeVector 11(int) 3 + 226: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17 + 227: TypePointer Function 225(ivec3) + 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 226 22 16 + 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 231 226 40 224 16 65 19 + 235: TypeInt 32 1 + 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 236 14 19 16 + 238: TypeVector 235(int) 2 + 239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 237 27 + 240: TypePointer Function 238(ivec2) + 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 239 22 16 + 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 244 239 40 224 16 65 19 + 246: TypePointer Function 11(int) + 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 22 16 + 251: TypePointer Function 235(int) + 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 237 22 16 + 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 260 237 40 224 16 65 19 + 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 267 237 40 224 16 65 19 + 273: 11(int) Constant 81 + 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 276 10 40 273 16 65 19 + 278: 8(float) Constant 1069547520 + 280: 11(int) Constant 82 + 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 283 10 40 280 16 65 19 + 292: 11(int) Constant 83 + 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 295 10 40 292 16 65 19 + 304: 11(int) Constant 85 + 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 307 10 40 304 16 65 19 + 310: 11(int) Constant 86 + 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 313 237 40 310 16 65 19 + 315: 235(int) Constant 0 + 317: 11(int) Constant 87 + 319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 320 237 40 317 16 65 19 + 322: 235(int) Constant 1 + 324: 11(int) Constant 89 + 326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 327 237 40 324 16 65 19 + 345: 11(int) Constant 91 + 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 348 237 40 345 16 65 19 + 366: 11(int) Constant 93 + 385: 11(int) Constant 94 + 398: 11(int) Constant 98 + 408: 11(int) Constant 102 + 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 411 237 40 408 16 85 19 + 423: 235(int) Constant 3 + 427: 11(int) Constant 104 + 429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 430 20 40 427 16 85 19 + 437: TypeMatrix 18(fvec4) 4 + 439: 144(bool) ConstantTrue + 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 439 + 440(Light): TypeStruct 18(fvec4) 18(fvec4) 18(fvec4) 437 + 443: 11(int) Constant 46 + 444: 11(int) Constant 14 + 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 442 20 40 443 444 16 16 17 + 445: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 442 20 40 443 444 16 16 17 + 446: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 442 20 40 443 444 16 16 17 + 449: 11(int) Constant 47 + 450: 11(int) Constant 21 + 447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 448 438 40 449 450 16 16 17 + 451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 452 44 40 427 16 43 452 16 17 441 445 446 447 + 453: TypeArray 440(Light) 17 + 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 451 17 + 455(UBO): TypeStruct 18(fvec4) 453 235(int) 235(int) + 456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 442 20 40 443 444 16 16 17 + 459: 11(int) Constant 53 + 457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 458 454 40 459 444 16 16 17 + 462: 11(int) Constant 55 + 463: 11(int) Constant 24 + 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 461 237 40 462 463 16 16 17 + 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 461 237 40 462 463 16 16 17 + 465: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 466 44 40 427 16 43 466 16 17 456 457 460 464 + 467(ubo): TypeStruct 455(UBO) + 470: 11(int) Constant 58 + 471: 11(int) Constant 37 + 468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 469 465 40 470 471 16 16 17 + 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 469 44 40 427 16 43 469 16 17 468 + 473: TypePointer Uniform 467(ubo) + 474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 472 27 16 + 475: 473(ptr) Variable Uniform + 476: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 472 40 427 16 43 1 475 171 + 478: TypePointer Uniform 437 + 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 438 27 16 + 484: 11(int) Constant 108 + 486: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 307 10 40 484 16 85 19 + 495: 11(int) Constant 113 + 505: 11(int) Constant 115 + 512: 11(int) Constant 121 + 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 75 40 512 16 101 19 + 516: TypeImage 8(float) 2D sampled format:Unknown + 517: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 16 40 512 16 43 164 165 17 + 518: TypePointer UniformConstant 516 + 519: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 517 16 16 +520(textureposition): 518(ptr) Variable UniformConstant + 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 522 517 40 512 16 43 522 520(textureposition) 171 + 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 175 44 40 512 16 43 176 165 17 +525(samplerposition): 177(ptr) Variable UniformConstant + 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 527 524 40 512 16 43 527 525(samplerposition) 171 + 529: TypeSampledImage 516 + 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 185 16 40 512 16 43 186 165 17 + 536: 11(int) Constant 122 + 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 539 75 40 536 16 101 19 +541(textureNormal): 518(ptr) Variable UniformConstant + 542: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 543 517 40 536 16 43 543 541(textureNormal) 171 + 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 175 44 40 536 16 43 176 165 17 +546(samplerNormal): 177(ptr) Variable UniformConstant + 547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 548 545 40 536 16 43 548 546(samplerNormal) 171 + 555: 11(int) Constant 123 + 557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 558 20 40 555 16 101 19 +560(textureAlbedo): 518(ptr) Variable UniformConstant + 561: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 562 517 40 555 16 43 562 560(textureAlbedo) 171 + 564: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 175 44 40 555 16 43 176 165 17 +565(samplerAlbedo): 177(ptr) Variable UniformConstant + 566: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 567 564 40 555 16 43 567 565(samplerAlbedo) 171 + 573: 11(int) Constant 128 + 574: TypePointer Uniform 235(int) + 575: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 237 27 16 + 583: 11(int) Constant 129 + 594: 11(int) Constant 131 + 596: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 90 75 40 594 16 101 19 + 598: 74(fvec3) ConstantComposite 115 115 115 + 604: 11(int) Constant 132 + 608: 11(int) Constant 134 + 611: 11(int) Constant 135 + 615: 11(int) Constant 137 + 618: 11(int) Constant 138 + 622: 11(int) Constant 140 + 626: 11(int) Constant 141 + 630: 11(int) Constant 143 + 634: 11(int) Constant 144 + 639: 11(int) Constant 146 + 648: 11(int) Constant 150 + 651: 8(float) Constant 1036831949 + 654: 11(int) Constant 152 + 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 657 75 40 654 16 101 19 + 662: 11(int) Constant 154 + 664: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 411 237 40 662 16 101 19 + 679: 11(int) Constant 157 + 681: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 682 75 40 679 16 101 19 + 685: TypePointer Uniform 18(fvec4) + 686: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 27 16 + 693: 11(int) Constant 159 + 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 159 10 40 693 16 101 19 + 700: 11(int) Constant 160 + 704: 11(int) Constant 163 + 706: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 707 75 40 704 16 101 19 + 715: 11(int) Constant 164 + 719: 11(int) Constant 166 + 721: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 722 10 40 719 16 101 19 + 724: 8(float) Constant 1064781546 + 726: 11(int) Constant 167 + 728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 729 10 40 726 16 101 19 + 731: 8(float) Constant 1063781322 + 733: 11(int) Constant 168 + 735: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 736 10 40 733 16 101 19 + 738: 8(float) Constant 1120403456 + 740: 11(int) Constant 171 + 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 743 75 40 740 16 101 19 + 756: 11(int) Constant 174 + 758: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 759 10 40 756 16 101 19 + 765: 11(int) Constant 175 + 767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 768 10 40 765 16 101 19 + 775: 11(int) Constant 176 + 777: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 778 10 40 775 16 101 19 + 784: 11(int) Constant 179 + 786: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 787 10 40 784 16 101 19 + 794: 11(int) Constant 180 + 796: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 797 75 40 794 16 101 19 + 802: 11(int) Constant 183 + 804: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 805 75 40 802 16 101 19 + 812: 11(int) Constant 184 + 814: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 815 10 40 812 16 101 19 + 822: 11(int) Constant 185 + 824: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 825 75 40 822 16 101 19 + 828: 8(float) Constant 1098907648 + 833: 8(float) Constant 1075838976 + 837: 11(int) Constant 187 + 846: 235(int) Constant 2 + 862: 11(int) Constant 191 + 870: 11(int) Constant 193 + 878: 11(int) Constant 196 + 887: TypePointer Input 26(fvec2) + 888(inUV): 887(ptr) Variable Input + 890: TypePointer Output 18(fvec4) +891(@entryPointOutput): 890(ptr) Variable Output Line 1 119 1 6(main): 4 Function None 5 7: Label - 870(inUV): 26(ptr) Variable Function - 876(param): 26(ptr) Variable Function + 886(inUV): 29(ptr) Variable Function + 892(param): 29(ptr) Variable Function Line 1 119 0 - 873: 23(fvec2) Load 872(inUV) - Store 870(inUV) 873 - 877: 23(fvec2) Load 870(inUV) - Store 876(param) 877 - 878: 18(fvec4) FunctionCall 93(@main(vf2;) 876(param) - Store 875(@entryPointOutput) 878 + 889: 26(fvec2) Load 888(inUV) + Store 886(inUV) 889 + 893: 26(fvec2) Load 886(inUV) + Store 892(param) 893 + 894: 18(fvec4) FunctionCall 98(@main(vf2;) 892(param) + Store 891(@entryPointOutput) 894 Return FunctionEnd Line 1 61 1 -32(textureProj(vf4;f1;vf2;): 8(float) Function None 27 - 29(P): 21(ptr) FunctionParameter - 30(layer): 22(ptr) FunctionParameter - 31(offset): 26(ptr) FunctionParameter - 33: Label - 107(shadow): 22(ptr) Variable Function -113(shadowCoord): 21(ptr) Variable Function - 152(dist): 22(ptr) Variable Function - 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35 - 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 38 38 16 16 - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 29(P) 47 - 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 - 145: 139(bool) FOrdLessThan 144 110 - 146: 139(bool) LogicalAnd 142 145 - SelectionMerge 148 None - BranchConditional 146 147 148 - 147: Label - 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35 - 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 151 151 16 16 - 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 153 152(dist) 47 - 166: 156 Load 162(textureShadowMap) - 175: 167 Load 172(samplerShadowMap) - 180: 176 SampledImage 166 175 - 181: 18(fvec4) Load 113(shadowCoord) - 182: 23(fvec2) VectorShuffle 181 181 0 1 - 183: 23(fvec2) Load 31(offset) - 184: 23(fvec2) FAdd 182 183 - 185: 8(float) Load 30(layer) - 186: 8(float) CompositeExtract 184 0 - 187: 8(float) CompositeExtract 184 1 - 188: 70(fvec3) CompositeConstruct 186 187 185 - 189: 18(fvec4) ImageSampleImplicitLod 180 188 - 190: 8(float) CompositeExtract 189 0 - Store 152(dist) 190 - 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 192 192 16 16 - 193: 22(ptr) AccessChain 113(shadowCoord) 17 - 194: 8(float) Load 193 - 196: 139(bool) FOrdGreaterThan 194 195 - 197: 8(float) Load 152(dist) - 198: 22(ptr) AccessChain 113(shadowCoord) 24 - 199: 8(float) Load 198 - 200: 139(bool) FOrdLessThan 197 199 - 201: 139(bool) LogicalAnd 196 200 - SelectionMerge 203 None - BranchConditional 201 202 203 - 202: Label - 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35 - 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 206 206 16 16 - Store 107(shadow) 207 - Branch 203 - 203: Label - Branch 148 - 148: Label - 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 35 - 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 210 210 16 16 - 211: 8(float) Load 107(shadow) - ReturnValue 211 +36(textureProj(vf4;f1;vf2;): 8(float) Function None 31 + 33(P): 21(ptr) FunctionParameter + 34(layer): 24(ptr) FunctionParameter + 35(offset): 29(ptr) FunctionParameter + 37: Label + 112(shadow): 24(ptr) Variable Function +118(shadowCoord): 21(ptr) Variable Function + 157(dist): 24(ptr) Variable Function + 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 39 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 42 42 16 16 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 33(P) 51 + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 34(layer) 51 + 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 55 35(offset) 51 + 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 39 36(textureProj(vf4;f1;vf2;) + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 39 + 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 111 111 16 16 + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 113 112(shadow) 51 + Store 112(shadow) 115 + 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 117 117 16 16 + 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(shadowCoord) 51 + 122: 18(fvec4) Load 33(P) + 123: 24(ptr) AccessChain 33(P) 17 + 124: 8(float) Load 123 + 125: 18(fvec4) CompositeConstruct 124 124 124 124 + 126: 18(fvec4) FDiv 122 125 + Store 118(shadowCoord) 126 + 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 128 128 16 16 + 129: 18(fvec4) Load 118(shadowCoord) + 130: 26(fvec2) VectorShuffle 129 129 0 1 + 132: 26(fvec2) VectorTimesScalar 130 131 + 133: 26(fvec2) CompositeConstruct 131 131 + 134: 26(fvec2) FAdd 132 133 + 135: 24(ptr) AccessChain 118(shadowCoord) 16 + 136: 8(float) CompositeExtract 134 0 + Store 135 136 + 137: 24(ptr) AccessChain 118(shadowCoord) 44 + 138: 8(float) CompositeExtract 134 1 + Store 137 138 + 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 140 140 16 16 + 141: 24(ptr) AccessChain 118(shadowCoord) 27 + 142: 8(float) Load 141 + 147: 144(bool) FOrdGreaterThan 142 143 + 148: 24(ptr) AccessChain 118(shadowCoord) 27 + 149: 8(float) Load 148 + 150: 144(bool) FOrdLessThan 149 115 + 151: 144(bool) LogicalAnd 147 150 + SelectionMerge 153 None + BranchConditional 151 152 153 + 152: Label + 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 39 + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 156 156 16 16 + 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 158 157(dist) 51 + 172: 161 Load 168(textureShadowMap) + 182: 173 Load 179(samplerShadowMap) + 187: 183 SampledImage 172 182 + 188: 18(fvec4) Load 118(shadowCoord) + 189: 26(fvec2) VectorShuffle 188 188 0 1 + 190: 26(fvec2) Load 35(offset) + 191: 26(fvec2) FAdd 189 190 + 192: 8(float) Load 34(layer) + 193: 8(float) CompositeExtract 191 0 + 194: 8(float) CompositeExtract 191 1 + 195: 74(fvec3) CompositeConstruct 193 194 192 + 196: 18(fvec4) ImageSampleImplicitLod 187 195 + 197: 8(float) CompositeExtract 196 0 + Store 157(dist) 197 + 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 199 199 16 16 + 200: 24(ptr) AccessChain 118(shadowCoord) 17 + 201: 8(float) Load 200 + 203: 144(bool) FOrdGreaterThan 201 202 + 204: 8(float) Load 157(dist) + 205: 24(ptr) AccessChain 118(shadowCoord) 27 + 206: 8(float) Load 205 + 207: 144(bool) FOrdLessThan 204 206 + 208: 144(bool) LogicalAnd 203 207 + SelectionMerge 210 None + BranchConditional 208 209 210 + 209: Label + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 39 + 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 213 213 16 16 + Store 112(shadow) 214 + Branch 210 + 210: Label + Branch 153 + 153: Label + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 39 + 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 217 217 16 16 + 218: 8(float) Load 112(shadow) + ReturnValue 218 FunctionEnd Line 1 78 1 -58(filterPCF(vf4;f1;): 8(float) Function None 54 - 56(sc): 21(ptr) FunctionParameter - 57(layer): 22(ptr) FunctionParameter - 59: Label -221(sizeQueryTemp): 220(ptr) Variable Function - 233(texDim): 232(ptr) Variable Function - 247(elements): 241(ptr) Variable Function - 254(levels): 241(ptr) Variable Function - 263(scale): 22(ptr) Variable Function - 270(dx): 22(ptr) Variable Function - 282(dy): 22(ptr) Variable Function -294(shadowFactor): 22(ptr) Variable Function - 300(count): 241(ptr) Variable Function - 307(range): 241(ptr) Variable Function - 314(x): 241(ptr) Variable Function - 335(y): 241(ptr) Variable Function - 365(param): 21(ptr) Variable Function - 367(param): 22(ptr) Variable Function - 369(param): 26(ptr) Variable Function - 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 62 62 16 16 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 65 56(sc) 47 - 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 68 57(layer) 47 - 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 61 58(filterPCF(vf4;f1;) - 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 217 217 16 16 - 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 222 221(sizeQueryTemp) 47 - 225: 156 Load 162(textureShadowMap) - 226: 218(ivec3) ImageQuerySizeLod 225 16 - Store 221(sizeQueryTemp) 226 - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 234 233(texDim) 47 - 238: 237(ptr) AccessChain 221(sizeQueryTemp) 16 - 239: 11(int) Load 238 - 240: 227(int) Bitcast 239 - 242: 241(ptr) AccessChain 233(texDim) 16 - Store 242 240 - 243: 237(ptr) AccessChain 221(sizeQueryTemp) 40 - 244: 11(int) Load 243 - 245: 227(int) Bitcast 244 - 246: 241(ptr) AccessChain 233(texDim) 40 - Store 246 245 - 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 248 247(elements) 47 - 251: 237(ptr) AccessChain 221(sizeQueryTemp) 24 - 252: 11(int) Load 251 - 253: 227(int) Bitcast 252 - Store 247(elements) 253 - 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 255 254(levels) 47 - 258: 156 Load 162(textureShadowMap) - 259: 11(int) ImageQueryLevels 258 - 260: 227(int) Bitcast 259 - Store 254(levels) 260 - 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 262 262 16 16 - 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 264 263(scale) 47 - Store 263(scale) 267 - 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 269 269 16 16 - 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 271 270(dx) 47 - 274: 8(float) Load 263(scale) - 275: 8(float) FMul 274 110 - 276: 241(ptr) AccessChain 233(texDim) 16 - 277: 227(int) Load 276 - 278: 8(float) ConvertSToF 277 - 279: 8(float) FDiv 275 278 - Store 270(dx) 279 - 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 281 281 16 16 - 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 283 282(dy) 47 - 286: 8(float) Load 263(scale) - 287: 8(float) FMul 286 110 - 288: 241(ptr) AccessChain 233(texDim) 40 - 289: 227(int) Load 288 - 290: 8(float) ConvertSToF 289 - 291: 8(float) FDiv 287 290 - Store 282(dy) 291 - 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 293 293 16 16 - 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 295 294(shadowFactor) 47 - Store 294(shadowFactor) 195 - 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 299 299 16 16 - 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 301 300(count) 47 - Store 300(count) 304 - 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 306 306 16 16 - 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 308 307(range) 47 - Store 307(range) 311 - 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 313 313 16 16 - 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 315 314(x) 47 - 318: 227(int) Load 307(range) - 319: 227(int) SNegate 318 - Store 314(x) 319 - Branch 320 - 320: Label - 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 313 313 16 16 - LoopMerge 322 323 None - Branch 326 - 326: Label - 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 313 313 16 16 - 329: 227(int) Load 314(x) - 330: 227(int) Load 307(range) - 331: 139(bool) SLessThanEqual 329 330 - BranchConditional 331 321 322 - 321: Label - 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 334 334 16 16 - 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 336 335(y) 47 - 339: 227(int) Load 307(range) - 340: 227(int) SNegate 339 - Store 335(y) 340 - Branch 341 - 341: Label - 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 334 334 16 16 - LoopMerge 343 344 None - Branch 347 - 347: Label - 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 334 334 16 16 - 350: 227(int) Load 335(y) - 351: 227(int) Load 307(range) - 352: 139(bool) SLessThanEqual 350 351 - BranchConditional 352 342 343 - 342: Label - 353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 355 355 16 16 - 356: 8(float) Load 270(dx) - 357: 227(int) Load 314(x) - 358: 8(float) ConvertSToF 357 - 359: 8(float) FMul 356 358 - 360: 8(float) Load 282(dy) - 361: 227(int) Load 335(y) - 362: 8(float) ConvertSToF 361 - 363: 8(float) FMul 360 362 - 364: 23(fvec2) CompositeConstruct 359 363 - 366: 18(fvec4) Load 56(sc) - Store 365(param) 366 - 368: 8(float) Load 57(layer) - Store 367(param) 368 - Store 369(param) 364 - 370: 8(float) FunctionCall 32(textureProj(vf4;f1;vf2;) 365(param) 367(param) 369(param) - 371: 8(float) Load 294(shadowFactor) - 372: 8(float) FAdd 371 370 - Store 294(shadowFactor) 372 - 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 374 374 16 16 - 375: 227(int) Load 300(count) - 376: 227(int) IAdd 375 311 - Store 300(count) 376 - Branch 344 - 344: Label - 377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 334 334 16 16 - 379: 227(int) Load 335(y) - 380: 227(int) IAdd 379 311 - Store 335(y) 380 - Branch 341 - 343: Label - Branch 323 - 323: Label - 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 382: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 313 313 16 16 - 383: 227(int) Load 314(x) - 384: 227(int) IAdd 383 311 - Store 314(x) 384 - Branch 320 - 322: Label - 385: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 61 - 386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 387 387 16 16 - 388: 8(float) Load 294(shadowFactor) - 389: 227(int) Load 300(count) - 390: 8(float) ConvertSToF 389 - 391: 8(float) FDiv 388 390 - ReturnValue 391 +62(filterPCF(vf4;f1;): 8(float) Function None 58 + 60(sc): 21(ptr) FunctionParameter + 61(layer): 24(ptr) FunctionParameter + 63: Label +229(sizeQueryTemp): 227(ptr) Variable Function + 242(texDim): 240(ptr) Variable Function + 258(elements): 251(ptr) Variable Function + 265(levels): 251(ptr) Variable Function + 274(scale): 24(ptr) Variable Function + 281(dx): 24(ptr) Variable Function + 293(dy): 24(ptr) Variable Function +305(shadowFactor): 24(ptr) Variable Function + 311(count): 251(ptr) Variable Function + 318(range): 251(ptr) Variable Function + 325(x): 251(ptr) Variable Function + 346(y): 251(ptr) Variable Function + 376(param): 21(ptr) Variable Function + 378(param): 24(ptr) Variable Function + 380(param): 29(ptr) Variable Function + 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 66 66 16 16 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 69 60(sc) 51 + 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 61(layer) 51 + 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 65 62(filterPCF(vf4;f1;) + 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 224 224 16 16 + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 230 229(sizeQueryTemp) 51 + 233: 161 Load 168(textureShadowMap) + 234: 225(ivec3) ImageQuerySizeLod 233 16 + Store 229(sizeQueryTemp) 234 + 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 243 242(texDim) 51 + 248: 246(ptr) AccessChain 229(sizeQueryTemp) 16 + 249: 11(int) Load 248 + 250: 235(int) Bitcast 249 + 253: 251(ptr) AccessChain 242(texDim) 16 + Store 253 250 + 254: 246(ptr) AccessChain 229(sizeQueryTemp) 44 + 255: 11(int) Load 254 + 256: 235(int) Bitcast 255 + 257: 251(ptr) AccessChain 242(texDim) 44 + Store 257 256 + 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 259 258(elements) 51 + 262: 246(ptr) AccessChain 229(sizeQueryTemp) 27 + 263: 11(int) Load 262 + 264: 235(int) Bitcast 263 + Store 258(elements) 264 + 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 266 265(levels) 51 + 269: 161 Load 168(textureShadowMap) + 270: 11(int) ImageQueryLevels 269 + 271: 235(int) Bitcast 270 + Store 265(levels) 271 + 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 273 273 16 16 + 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 275 274(scale) 51 + Store 274(scale) 278 + 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 280 280 16 16 + 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 282 281(dx) 51 + 285: 8(float) Load 274(scale) + 286: 8(float) FMul 285 115 + 287: 251(ptr) AccessChain 242(texDim) 16 + 288: 235(int) Load 287 + 289: 8(float) ConvertSToF 288 + 290: 8(float) FDiv 286 289 + Store 281(dx) 290 + 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 292 292 16 16 + 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 294 293(dy) 51 + 297: 8(float) Load 274(scale) + 298: 8(float) FMul 297 115 + 299: 251(ptr) AccessChain 242(texDim) 44 + 300: 235(int) Load 299 + 301: 8(float) ConvertSToF 300 + 302: 8(float) FDiv 298 301 + Store 293(dy) 302 + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 304 304 16 16 + 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 306 305(shadowFactor) 51 + Store 305(shadowFactor) 202 + 309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 310 310 16 16 + 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 312 311(count) 51 + Store 311(count) 315 + 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 317 317 16 16 + 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 319 318(range) 51 + Store 318(range) 322 + 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 324 324 16 16 + 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 326 325(x) 51 + 329: 235(int) Load 318(range) + 330: 235(int) SNegate 329 + Store 325(x) 330 + Branch 331 + 331: Label + 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 324 324 16 16 + LoopMerge 333 334 None + Branch 337 + 337: Label + 338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 324 324 16 16 + 340: 235(int) Load 325(x) + 341: 235(int) Load 318(range) + 342: 144(bool) SLessThanEqual 340 341 + BranchConditional 342 332 333 + 332: Label + 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 345 345 16 16 + 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 347 346(y) 51 + 350: 235(int) Load 318(range) + 351: 235(int) SNegate 350 + Store 346(y) 351 + Branch 352 + 352: Label + 356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 345 345 16 16 + LoopMerge 354 355 None + Branch 358 + 358: Label + 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 345 345 16 16 + 361: 235(int) Load 346(y) + 362: 235(int) Load 318(range) + 363: 144(bool) SLessThanEqual 361 362 + BranchConditional 363 353 354 + 353: Label + 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 365: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 366 366 16 16 + 367: 8(float) Load 281(dx) + 368: 235(int) Load 325(x) + 369: 8(float) ConvertSToF 368 + 370: 8(float) FMul 367 369 + 371: 8(float) Load 293(dy) + 372: 235(int) Load 346(y) + 373: 8(float) ConvertSToF 372 + 374: 8(float) FMul 371 373 + 375: 26(fvec2) CompositeConstruct 370 374 + 377: 18(fvec4) Load 60(sc) + Store 376(param) 377 + 379: 8(float) Load 61(layer) + Store 378(param) 379 + Store 380(param) 375 + 381: 8(float) FunctionCall 36(textureProj(vf4;f1;vf2;) 376(param) 378(param) 380(param) + 382: 8(float) Load 305(shadowFactor) + 383: 8(float) FAdd 382 381 + Store 305(shadowFactor) 383 + 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 385 385 16 16 + 386: 235(int) Load 311(count) + 387: 235(int) IAdd 386 322 + Store 311(count) 387 + Branch 355 + 355: Label + 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 345 345 16 16 + 390: 235(int) Load 346(y) + 391: 235(int) IAdd 390 322 + Store 346(y) 391 + Branch 352 + 354: Label + Branch 334 + 334: Label + 392: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 324 324 16 16 + 394: 235(int) Load 325(x) + 395: 235(int) IAdd 394 322 + Store 325(x) 395 + Branch 331 + 333: Label + 396: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 65 + 397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 398 398 16 16 + 399: 8(float) Load 305(shadowFactor) + 400: 235(int) Load 311(count) + 401: 8(float) ConvertSToF 400 + 402: 8(float) FDiv 399 401 + ReturnValue 402 FunctionEnd Line 1 101 49 -77(shadow(vf3;vf3;): 70(fvec3) Function None 73 - 75(fragcolor): 72(ptr) FunctionParameter - 76(fragPos): 72(ptr) FunctionParameter - 78: Label - 398(i): 241(ptr) Variable Function - 417(shadowClip): 21(ptr) Variable Function -472(shadowFactor): 22(ptr) Variable Function - 477(param): 21(ptr) Variable Function - 479(param): 22(ptr) Variable Function - 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 81 81 16 16 - 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 75(fragcolor) 47 - 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 87 76(fragPos) 47 - 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(shadow(vf3;vf3;) - 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 396: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 397 397 16 16 - 401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 399 398(i) 47 - Store 398(i) 304 - Branch 402 - 402: Label - 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 397 397 16 16 - LoopMerge 404 405 None - Branch 408 - 408: Label - 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 397 397 16 16 - 411: 227(int) Load 398(i) - 413: 139(bool) SLessThan 411 412 - BranchConditional 413 403 404 - 403: Label - 414: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 416 416 16 16 - 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 418 417(shadowClip) 47 - 421: 70(fvec3) Load 76(fragPos) - 422: 8(float) CompositeExtract 421 0 - 423: 8(float) CompositeExtract 421 1 - 424: 8(float) CompositeExtract 421 2 - 425: 18(fvec4) CompositeConstruct 422 423 424 110 - 465: 227(int) Load 398(i) - 467: 466(ptr) AccessChain 463 304 311 465 412 - 468: 426 Load 467 - 469: 18(fvec4) VectorTimesMatrix 425 468 - Store 417(shadowClip) 469 - 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 471 471 16 16 - 474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 473 472(shadowFactor) 47 - 475: 227(int) Load 398(i) - 476: 8(float) ConvertSToF 475 - 478: 18(fvec4) Load 417(shadowClip) - Store 477(param) 478 - Store 479(param) 476 - 480: 8(float) FunctionCall 58(filterPCF(vf4;f1;) 477(param) 479(param) - Store 472(shadowFactor) 480 - 481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 482 482 16 16 - 483: 8(float) Load 472(shadowFactor) - 484: 70(fvec3) Load 75(fragcolor) - 485: 70(fvec3) VectorTimesScalar 484 483 - Store 75(fragcolor) 485 - Branch 405 - 405: Label - 486: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 397 397 16 16 - 488: 227(int) Load 398(i) - 489: 227(int) IAdd 488 311 - Store 398(i) 489 - Branch 402 - 404: Label - 490: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 - 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 492 492 16 16 - 493: 70(fvec3) Load 75(fragcolor) - ReturnValue 493 +82(shadow(vf3;vf3;): 74(fvec3) Function None 78 + 80(fragcolor): 76(ptr) FunctionParameter + 81(fragPos): 76(ptr) FunctionParameter + 83: Label + 409(i): 251(ptr) Variable Function + 428(shadowClip): 21(ptr) Variable Function +485(shadowFactor): 24(ptr) Variable Function + 490(param): 21(ptr) Variable Function + 492(param): 24(ptr) Variable Function + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 86 86 16 16 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 80(fragcolor) 51 + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 81(fragPos) 51 + 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 85 82(shadow(vf3;vf3;) + 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 408 408 16 16 + 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 410 409(i) 51 + Store 409(i) 315 + Branch 413 + 413: Label + 417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 408 408 16 16 + LoopMerge 415 416 None + Branch 419 + 419: Label + 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 408 408 16 16 + 422: 235(int) Load 409(i) + 424: 144(bool) SLessThan 422 423 + BranchConditional 424 414 415 + 414: Label + 425: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 427 427 16 16 + 431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 429 428(shadowClip) 51 + 432: 74(fvec3) Load 81(fragPos) + 433: 8(float) CompositeExtract 432 0 + 434: 8(float) CompositeExtract 432 1 + 435: 8(float) CompositeExtract 432 2 + 436: 18(fvec4) CompositeConstruct 433 434 435 115 + 477: 235(int) Load 409(i) + 480: 478(ptr) AccessChain 475 315 322 477 423 + 481: 437 Load 480 + 482: 18(fvec4) VectorTimesMatrix 436 481 + Store 428(shadowClip) 482 + 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 484 484 16 16 + 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 486 485(shadowFactor) 51 + 488: 235(int) Load 409(i) + 489: 8(float) ConvertSToF 488 + 491: 18(fvec4) Load 428(shadowClip) + Store 490(param) 491 + Store 492(param) 489 + 493: 8(float) FunctionCall 62(filterPCF(vf4;f1;) 490(param) 492(param) + Store 485(shadowFactor) 493 + 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 495 495 16 16 + 496: 8(float) Load 485(shadowFactor) + 497: 74(fvec3) Load 80(fragcolor) + 498: 74(fvec3) VectorTimesScalar 497 496 + Store 80(fragcolor) 498 + Branch 416 + 416: Label + 499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 408 408 16 16 + 501: 235(int) Load 409(i) + 502: 235(int) IAdd 501 322 + Store 409(i) 502 + Branch 413 + 415: Label + 503: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 85 + 504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 505 505 16 16 + 506: 74(fvec3) Load 80(fragcolor) + ReturnValue 506 FunctionEnd Line 1 119 1 - 93(@main(vf2;): 18(fvec4) Function None 90 - 92(inUV): 26(ptr) FunctionParameter - 94: Label - 500(fragPos): 72(ptr) Variable Function - 523(normal): 72(ptr) Variable Function - 542(albedo): 21(ptr) Variable Function - 580(fragcolor): 72(ptr) Variable Function - 584(param): 72(ptr) Variable Function - 585(param): 72(ptr) Variable Function - 640(N): 72(ptr) Variable Function - 648(i): 241(ptr) Variable Function - 665(L): 72(ptr) Variable Function - 678(dist): 22(ptr) Variable Function - 689(V): 72(ptr) Variable Function -704(lightCosInnerAngle): 22(ptr) Variable Function -711(lightCosOuterAngle): 22(ptr) Variable Function - 718(lightRange): 22(ptr) Variable Function - 725(dir): 72(ptr) Variable Function - 741(cosDir): 22(ptr) Variable Function - 750(spotEffect): 22(ptr) Variable Function -760(heightAttenuation): 22(ptr) Variable Function - 769(NdotL): 22(ptr) Variable Function - 779(diff): 72(ptr) Variable Function - 787(R): 72(ptr) Variable Function - 797(NdotR): 22(ptr) Variable Function - 807(spec): 72(ptr) Variable Function - 855(param): 72(ptr) Variable Function - 857(param): 72(ptr) Variable Function - 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 97 97 16 16 - 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 100 92(inUV) 47 - 496: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 96 93(@main(vf2;) - 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 498: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 499 499 16 16 - 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 501 500(fragPos) 47 - 509: 503 Load 506(textureposition) - 514: 167 Load 511(samplerposition) - 517: 515 SampledImage 509 514 - 518: 23(fvec2) Load 92(inUV) - 519: 18(fvec4) ImageSampleImplicitLod 517 518 - 520: 70(fvec3) VectorShuffle 519 519 0 1 2 - Store 500(fragPos) 520 - 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 522 522 16 16 - 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 524 523(normal) 47 - 530: 503 Load 527(textureNormal) - 535: 167 Load 532(samplerNormal) - 536: 515 SampledImage 530 535 - 537: 23(fvec2) Load 92(inUV) - 538: 18(fvec4) ImageSampleImplicitLod 536 537 - 539: 70(fvec3) VectorShuffle 538 538 0 1 2 - Store 523(normal) 539 - 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 541 541 16 16 - 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 543 542(albedo) 47 - 549: 503 Load 546(textureAlbedo) - 554: 167 Load 551(samplerAlbedo) - 555: 515 SampledImage 549 554 - 556: 23(fvec2) Load 92(inUV) - 557: 18(fvec4) ImageSampleImplicitLod 555 556 - Store 542(albedo) 557 - 558: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 559 559 16 16 - 561: 560(ptr) AccessChain 463 304 412 - 562: 227(int) Load 561 - 563: 139(bool) SGreaterThan 562 304 - SelectionMerge 565 None - BranchConditional 563 564 565 - 564: Label - 566: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 567: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 568 568 16 16 - 569: 560(ptr) AccessChain 463 304 412 - 570: 227(int) Load 569 - SelectionMerge 576 None - Switch 570 576 - case 1: 571 - case 2: 572 - case 3: 573 - case 4: 574 - case 5: 575 - 571: Label - 577: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 578: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 579 579 16 16 - 582: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 581 580(fragcolor) 47 - Store 584(param) 583 - 586: 70(fvec3) Load 500(fragPos) - Store 585(param) 586 - 587: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 584(param) 585(param) - Store 580(fragcolor) 587 - 588: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 589 589 16 16 - Branch 576 - 572: Label - 591: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 592: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 593 593 16 16 - 594: 70(fvec3) Load 500(fragPos) - Store 580(fragcolor) 594 - 595: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 596 596 16 16 - Branch 576 - 573: Label - 598: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 599: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 600 600 16 16 - 601: 70(fvec3) Load 523(normal) - Store 580(fragcolor) 601 - 602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 603 603 16 16 - Branch 576 - 574: Label - 605: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 606: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 607 607 16 16 - 608: 18(fvec4) Load 542(albedo) - 609: 70(fvec3) VectorShuffle 608 608 0 1 2 - Store 580(fragcolor) 609 - 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 611 611 16 16 - Branch 576 - 575: Label - 613: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 615 615 16 16 - 616: 18(fvec4) Load 542(albedo) - 617: 70(fvec3) VectorShuffle 616 616 3 3 3 - Store 580(fragcolor) 617 - 618: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 619 619 16 16 - Branch 576 - 576: Label - 622: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 623: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 624 624 16 16 - 625: 70(fvec3) Load 580(fragcolor) - 626: 8(float) CompositeExtract 625 0 - 627: 8(float) CompositeExtract 625 1 - 628: 8(float) CompositeExtract 625 2 - 629: 18(fvec4) CompositeConstruct 626 627 628 110 - ReturnValue 629 - 565: Label - 631: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 632: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 633 633 16 16 - 634: 18(fvec4) Load 542(albedo) - 635: 70(fvec3) VectorShuffle 634 634 0 1 2 - 637: 70(fvec3) VectorTimesScalar 635 636 - Store 580(fragcolor) 637 - 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 639 639 16 16 - 643: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 641 640(N) 47 - 644: 70(fvec3) Load 523(normal) - 645: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 644 - Store 640(N) 645 - 646: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 647 647 16 16 - 650: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 649 648(i) 47 - Store 648(i) 304 - Branch 651 - 651: Label - 655: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 647 647 16 16 - LoopMerge 653 654 None - Branch 657 - 657: Label - 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 647 647 16 16 - 660: 227(int) Load 648(i) - 661: 139(bool) SLessThan 660 412 - BranchConditional 661 652 653 - 652: Label - 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 663: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 664 664 16 16 - 668: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 666 665(L) 47 - 669: 227(int) Load 648(i) - 671: 670(ptr) AccessChain 463 304 311 669 304 - 672: 18(fvec4) Load 671 - 673: 70(fvec3) VectorShuffle 672 672 0 1 2 - 674: 70(fvec3) Load 500(fragPos) - 675: 70(fvec3) FSub 673 674 - Store 665(L) 675 - 676: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 677 677 16 16 - 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 679 678(dist) 47 - 681: 70(fvec3) Load 665(L) - 682: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 681 - Store 678(dist) 682 - 683: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 684 684 16 16 - 685: 70(fvec3) Load 665(L) - 686: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 685 - Store 665(L) 686 - 687: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 688 688 16 16 - 692: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 690 689(V) 47 - 693: 670(ptr) AccessChain 463 304 304 - 694: 18(fvec4) Load 693 - 695: 70(fvec3) VectorShuffle 694 694 0 1 2 - 696: 70(fvec3) Load 500(fragPos) - 697: 70(fvec3) FSub 695 696 - Store 689(V) 697 - 698: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 699 699 16 16 - 700: 70(fvec3) Load 689(V) - 701: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 700 - Store 689(V) 701 - 702: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 703 703 16 16 - 707: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 705 704(lightCosInnerAngle) 47 - Store 704(lightCosInnerAngle) 708 - 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 710 710 16 16 - 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 712 711(lightCosOuterAngle) 47 - Store 711(lightCosOuterAngle) 715 - 716: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 717 717 16 16 - 721: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 719 718(lightRange) 47 - Store 718(lightRange) 722 - 723: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 724 724 16 16 - 728: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 726 725(dir) 47 - 729: 227(int) Load 648(i) - 730: 670(ptr) AccessChain 463 304 311 729 304 - 731: 18(fvec4) Load 730 - 732: 70(fvec3) VectorShuffle 731 731 0 1 2 - 733: 227(int) Load 648(i) - 734: 670(ptr) AccessChain 463 304 311 733 311 - 735: 18(fvec4) Load 734 - 736: 70(fvec3) VectorShuffle 735 735 0 1 2 - 737: 70(fvec3) FSub 732 736 - 738: 70(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 737 - Store 725(dir) 738 - 739: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 740 740 16 16 - 744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 742 741(cosDir) 47 - 745: 70(fvec3) Load 665(L) - 746: 70(fvec3) Load 725(dir) - 747: 8(float) Dot 745 746 - Store 741(cosDir) 747 - 748: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 749 749 16 16 - 753: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 751 750(spotEffect) 47 - 754: 8(float) Load 711(lightCosOuterAngle) - 755: 8(float) Load 704(lightCosInnerAngle) - 756: 8(float) Load 741(cosDir) - 757: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 754 755 756 - Store 750(spotEffect) 757 - 758: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 759 759 16 16 - 763: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 761 760(heightAttenuation) 47 - 764: 8(float) Load 718(lightRange) - 765: 8(float) Load 678(dist) - 766: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 764 195 765 - Store 760(heightAttenuation) 766 - 767: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 768 768 16 16 - 772: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 770 769(NdotL) 47 - 773: 70(fvec3) Load 640(N) - 774: 70(fvec3) Load 665(L) - 775: 8(float) Dot 773 774 - 776: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 195 775 - Store 769(NdotL) 776 - 777: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 778 778 16 16 - 782: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 780 779(diff) 47 - 783: 8(float) Load 769(NdotL) - 784: 70(fvec3) CompositeConstruct 783 783 783 - Store 779(diff) 784 - 785: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 786 786 16 16 - 790: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 788 787(R) 47 - 791: 70(fvec3) Load 665(L) - 792: 70(fvec3) FNegate 791 - 793: 70(fvec3) Load 640(N) - 794: 70(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 792 793 - Store 787(R) 794 - 795: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 796 796 16 16 - 800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 798 797(NdotR) 47 - 801: 70(fvec3) Load 787(R) - 802: 70(fvec3) Load 689(V) - 803: 8(float) Dot 801 802 - 804: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 195 803 - Store 797(NdotR) 804 - 805: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 806 806 16 16 - 810: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 808 807(spec) 47 - 811: 8(float) Load 797(NdotR) - 813: 8(float) ExtInst 3(GLSL.std.450) 26(Pow) 811 812 - 814: 22(ptr) AccessChain 542(albedo) 17 - 815: 8(float) Load 814 - 816: 8(float) FMul 813 815 - 818: 8(float) FMul 816 817 - 819: 70(fvec3) CompositeConstruct 818 818 818 - Store 807(spec) 819 - 820: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 821 821 16 16 - 822: 70(fvec3) Load 779(diff) - 823: 70(fvec3) Load 807(spec) - 824: 70(fvec3) FAdd 822 823 - 825: 8(float) Load 750(spotEffect) - 826: 70(fvec3) VectorTimesScalar 824 825 - 827: 8(float) Load 760(heightAttenuation) - 828: 70(fvec3) VectorTimesScalar 826 827 - 829: 227(int) Load 648(i) - 831: 670(ptr) AccessChain 463 304 311 829 830 - 832: 18(fvec4) Load 831 - 833: 70(fvec3) VectorShuffle 832 832 0 1 2 - 834: 70(fvec3) FMul 828 833 - 835: 18(fvec4) Load 542(albedo) - 836: 70(fvec3) VectorShuffle 835 835 0 1 2 - 837: 70(fvec3) FMul 834 836 - 838: 70(fvec3) Load 580(fragcolor) - 839: 70(fvec3) FAdd 838 837 - Store 580(fragcolor) 839 - Branch 654 - 654: Label - 840: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 841: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 647 647 16 16 - 842: 227(int) Load 648(i) - 843: 227(int) IAdd 842 311 - Store 648(i) 843 - Branch 651 - 653: Label - 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 845: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 846 846 16 16 - 847: 560(ptr) AccessChain 463 304 830 - 848: 227(int) Load 847 - 849: 139(bool) SGreaterThan 848 304 - SelectionMerge 851 None - BranchConditional 849 850 851 - 850: Label - 852: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 853: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 854 854 16 16 - 856: 70(fvec3) Load 580(fragcolor) - Store 855(param) 856 - 858: 70(fvec3) Load 500(fragPos) - Store 857(param) 858 - 859: 70(fvec3) FunctionCall 77(shadow(vf3;vf3;) 855(param) 857(param) - Store 580(fragcolor) 859 - Branch 851 - 851: Label - 860: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 96 - 861: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 36 862 862 16 16 - 863: 70(fvec3) Load 580(fragcolor) - 864: 8(float) CompositeExtract 863 0 - 865: 8(float) CompositeExtract 863 1 - 866: 8(float) CompositeExtract 863 2 - 867: 18(fvec4) CompositeConstruct 864 865 866 110 - ReturnValue 867 + 98(@main(vf2;): 18(fvec4) Function None 95 + 97(inUV): 29(ptr) FunctionParameter + 99: Label + 513(fragPos): 76(ptr) Variable Function + 537(normal): 76(ptr) Variable Function + 556(albedo): 21(ptr) Variable Function + 595(fragcolor): 76(ptr) Variable Function + 599(param): 76(ptr) Variable Function + 600(param): 76(ptr) Variable Function + 655(N): 76(ptr) Variable Function + 663(i): 251(ptr) Variable Function + 680(L): 76(ptr) Variable Function + 694(dist): 24(ptr) Variable Function + 705(V): 76(ptr) Variable Function +720(lightCosInnerAngle): 24(ptr) Variable Function +727(lightCosOuterAngle): 24(ptr) Variable Function + 734(lightRange): 24(ptr) Variable Function + 741(dir): 76(ptr) Variable Function + 757(cosDir): 24(ptr) Variable Function + 766(spotEffect): 24(ptr) Variable Function +776(heightAttenuation): 24(ptr) Variable Function + 785(NdotL): 24(ptr) Variable Function + 795(diff): 76(ptr) Variable Function + 803(R): 76(ptr) Variable Function + 813(NdotR): 24(ptr) Variable Function + 823(spec): 76(ptr) Variable Function + 871(param): 76(ptr) Variable Function + 873(param): 76(ptr) Variable Function + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 102 102 16 16 + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 105 97(inUV) 51 + 509: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 101 98(@main(vf2;) + 510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 511: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 512 512 16 16 + 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 514 513(fragPos) 51 + 523: 516 Load 520(textureposition) + 528: 173 Load 525(samplerposition) + 531: 529 SampledImage 523 528 + 532: 26(fvec2) Load 97(inUV) + 533: 18(fvec4) ImageSampleImplicitLod 531 532 + 534: 74(fvec3) VectorShuffle 533 533 0 1 2 + Store 513(fragPos) 534 + 535: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 536 536 16 16 + 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 538 537(normal) 51 + 544: 516 Load 541(textureNormal) + 549: 173 Load 546(samplerNormal) + 550: 529 SampledImage 544 549 + 551: 26(fvec2) Load 97(inUV) + 552: 18(fvec4) ImageSampleImplicitLod 550 551 + 553: 74(fvec3) VectorShuffle 552 552 0 1 2 + Store 537(normal) 553 + 554: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 555 555 16 16 + 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 557 556(albedo) 51 + 563: 516 Load 560(textureAlbedo) + 568: 173 Load 565(samplerAlbedo) + 569: 529 SampledImage 563 568 + 570: 26(fvec2) Load 97(inUV) + 571: 18(fvec4) ImageSampleImplicitLod 569 570 + Store 556(albedo) 571 + 572: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 573 573 16 16 + 576: 574(ptr) AccessChain 475 315 423 + 577: 235(int) Load 576 + 578: 144(bool) SGreaterThan 577 315 + SelectionMerge 580 None + BranchConditional 578 579 580 + 579: Label + 581: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 582: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 583 583 16 16 + 584: 574(ptr) AccessChain 475 315 423 + 585: 235(int) Load 584 + SelectionMerge 591 None + Switch 585 591 + case 1: 586 + case 2: 587 + case 3: 588 + case 4: 589 + case 5: 590 + 586: Label + 592: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 593: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 594 594 16 16 + 597: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 596 595(fragcolor) 51 + Store 599(param) 598 + 601: 74(fvec3) Load 513(fragPos) + Store 600(param) 601 + 602: 74(fvec3) FunctionCall 82(shadow(vf3;vf3;) 599(param) 600(param) + Store 595(fragcolor) 602 + 603: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 604 604 16 16 + Branch 591 + 587: Label + 606: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 607: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 608 608 16 16 + 609: 74(fvec3) Load 513(fragPos) + Store 595(fragcolor) 609 + 610: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 611 611 16 16 + Branch 591 + 588: Label + 613: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 614: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 615 615 16 16 + 616: 74(fvec3) Load 537(normal) + Store 595(fragcolor) 616 + 617: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 618 618 16 16 + Branch 591 + 589: Label + 620: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 621: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 622 622 16 16 + 623: 18(fvec4) Load 556(albedo) + 624: 74(fvec3) VectorShuffle 623 623 0 1 2 + Store 595(fragcolor) 624 + 625: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 626 626 16 16 + Branch 591 + 590: Label + 628: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 629: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 630 630 16 16 + 631: 18(fvec4) Load 556(albedo) + 632: 74(fvec3) VectorShuffle 631 631 3 3 3 + Store 595(fragcolor) 632 + 633: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 634 634 16 16 + Branch 591 + 591: Label + 637: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 638: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 639 639 16 16 + 640: 74(fvec3) Load 595(fragcolor) + 641: 8(float) CompositeExtract 640 0 + 642: 8(float) CompositeExtract 640 1 + 643: 8(float) CompositeExtract 640 2 + 644: 18(fvec4) CompositeConstruct 641 642 643 115 + ReturnValue 644 + 580: Label + 646: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 647: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 648 648 16 16 + 649: 18(fvec4) Load 556(albedo) + 650: 74(fvec3) VectorShuffle 649 649 0 1 2 + 652: 74(fvec3) VectorTimesScalar 650 651 + Store 595(fragcolor) 652 + 653: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 654 654 16 16 + 658: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 656 655(N) 51 + 659: 74(fvec3) Load 537(normal) + 660: 74(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 659 + Store 655(N) 660 + 661: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 662 662 16 16 + 665: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 664 663(i) 51 + Store 663(i) 315 + Branch 666 + 666: Label + 670: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 671: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 662 662 16 16 + LoopMerge 668 669 None + Branch 672 + 672: Label + 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 662 662 16 16 + 675: 235(int) Load 663(i) + 676: 144(bool) SLessThan 675 423 + BranchConditional 676 667 668 + 667: Label + 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 679 679 16 16 + 683: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 681 680(L) 51 + 684: 235(int) Load 663(i) + 687: 685(ptr) AccessChain 475 315 322 684 315 + 688: 18(fvec4) Load 687 + 689: 74(fvec3) VectorShuffle 688 688 0 1 2 + 690: 74(fvec3) Load 513(fragPos) + 691: 74(fvec3) FSub 689 690 + Store 680(L) 691 + 692: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 693 693 16 16 + 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 695 694(dist) 51 + 697: 74(fvec3) Load 680(L) + 698: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 697 + Store 694(dist) 698 + 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 700 700 16 16 + 701: 74(fvec3) Load 680(L) + 702: 74(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 701 + Store 680(L) 702 + 703: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 704 704 16 16 + 708: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 706 705(V) 51 + 709: 685(ptr) AccessChain 475 315 315 + 710: 18(fvec4) Load 709 + 711: 74(fvec3) VectorShuffle 710 710 0 1 2 + 712: 74(fvec3) Load 513(fragPos) + 713: 74(fvec3) FSub 711 712 + Store 705(V) 713 + 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 715 715 16 16 + 716: 74(fvec3) Load 705(V) + 717: 74(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 716 + Store 705(V) 717 + 718: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 719 719 16 16 + 723: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 721 720(lightCosInnerAngle) 51 + Store 720(lightCosInnerAngle) 724 + 725: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 726 726 16 16 + 730: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 728 727(lightCosOuterAngle) 51 + Store 727(lightCosOuterAngle) 731 + 732: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 733 733 16 16 + 737: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 735 734(lightRange) 51 + Store 734(lightRange) 738 + 739: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 740 740 16 16 + 744: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 742 741(dir) 51 + 745: 235(int) Load 663(i) + 746: 685(ptr) AccessChain 475 315 322 745 315 + 747: 18(fvec4) Load 746 + 748: 74(fvec3) VectorShuffle 747 747 0 1 2 + 749: 235(int) Load 663(i) + 750: 685(ptr) AccessChain 475 315 322 749 322 + 751: 18(fvec4) Load 750 + 752: 74(fvec3) VectorShuffle 751 751 0 1 2 + 753: 74(fvec3) FSub 748 752 + 754: 74(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 753 + Store 741(dir) 754 + 755: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 756 756 16 16 + 760: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 758 757(cosDir) 51 + 761: 74(fvec3) Load 680(L) + 762: 74(fvec3) Load 741(dir) + 763: 8(float) Dot 761 762 + Store 757(cosDir) 763 + 764: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 765 765 16 16 + 769: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 767 766(spotEffect) 51 + 770: 8(float) Load 727(lightCosOuterAngle) + 771: 8(float) Load 720(lightCosInnerAngle) + 772: 8(float) Load 757(cosDir) + 773: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 770 771 772 + Store 766(spotEffect) 773 + 774: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 775 775 16 16 + 779: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 777 776(heightAttenuation) 51 + 780: 8(float) Load 734(lightRange) + 781: 8(float) Load 694(dist) + 782: 8(float) ExtInst 3(GLSL.std.450) 49(SmoothStep) 780 202 781 + Store 776(heightAttenuation) 782 + 783: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 784 784 16 16 + 788: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 786 785(NdotL) 51 + 789: 74(fvec3) Load 655(N) + 790: 74(fvec3) Load 680(L) + 791: 8(float) Dot 789 790 + 792: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 202 791 + Store 785(NdotL) 792 + 793: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 794 794 16 16 + 798: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 796 795(diff) 51 + 799: 8(float) Load 785(NdotL) + 800: 74(fvec3) CompositeConstruct 799 799 799 + Store 795(diff) 800 + 801: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 802 802 16 16 + 806: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 804 803(R) 51 + 807: 74(fvec3) Load 680(L) + 808: 74(fvec3) FNegate 807 + 809: 74(fvec3) Load 655(N) + 810: 74(fvec3) ExtInst 3(GLSL.std.450) 71(Reflect) 808 809 + Store 803(R) 810 + 811: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 812 812 16 16 + 816: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 814 813(NdotR) 51 + 817: 74(fvec3) Load 803(R) + 818: 74(fvec3) Load 705(V) + 819: 8(float) Dot 817 818 + 820: 8(float) ExtInst 3(GLSL.std.450) 40(FMax) 202 819 + Store 813(NdotR) 820 + 821: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 822 822 16 16 + 826: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 824 823(spec) 51 + 827: 8(float) Load 813(NdotR) + 829: 8(float) ExtInst 3(GLSL.std.450) 26(Pow) 827 828 + 830: 24(ptr) AccessChain 556(albedo) 17 + 831: 8(float) Load 830 + 832: 8(float) FMul 829 831 + 834: 8(float) FMul 832 833 + 835: 74(fvec3) CompositeConstruct 834 834 834 + Store 823(spec) 835 + 836: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 837 837 16 16 + 838: 74(fvec3) Load 795(diff) + 839: 74(fvec3) Load 823(spec) + 840: 74(fvec3) FAdd 838 839 + 841: 8(float) Load 766(spotEffect) + 842: 74(fvec3) VectorTimesScalar 840 841 + 843: 8(float) Load 776(heightAttenuation) + 844: 74(fvec3) VectorTimesScalar 842 843 + 845: 235(int) Load 663(i) + 847: 685(ptr) AccessChain 475 315 322 845 846 + 848: 18(fvec4) Load 847 + 849: 74(fvec3) VectorShuffle 848 848 0 1 2 + 850: 74(fvec3) FMul 844 849 + 851: 18(fvec4) Load 556(albedo) + 852: 74(fvec3) VectorShuffle 851 851 0 1 2 + 853: 74(fvec3) FMul 850 852 + 854: 74(fvec3) Load 595(fragcolor) + 855: 74(fvec3) FAdd 854 853 + Store 595(fragcolor) 855 + Branch 669 + 669: Label + 856: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 857: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 662 662 16 16 + 858: 235(int) Load 663(i) + 859: 235(int) IAdd 858 322 + Store 663(i) 859 + Branch 666 + 668: Label + 860: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 861: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 862 862 16 16 + 863: 574(ptr) AccessChain 475 315 846 + 864: 235(int) Load 863 + 865: 144(bool) SGreaterThan 864 315 + SelectionMerge 867 None + BranchConditional 865 866 867 + 866: Label + 868: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 869: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 870 870 16 16 + 872: 74(fvec3) Load 595(fragcolor) + Store 871(param) 872 + 874: 74(fvec3) Load 513(fragPos) + Store 873(param) 874 + 875: 74(fvec3) FunctionCall 82(shadow(vf3;vf3;) 871(param) 873(param) + Store 595(fragcolor) 875 + Branch 867 + 867: Label + 876: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 101 + 877: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 40 878 878 16 16 + 879: 74(fvec3) Load 595(fragcolor) + 880: 8(float) CompositeExtract 879 0 + 881: 8(float) CompositeExtract 879 1 + 882: 8(float) CompositeExtract 879 2 + 883: 18(fvec4) CompositeConstruct 880 881 882 115 + ReturnValue 883 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.geom.out b/Test/baseResults/spv.debuginfo.hlsl.geom.out index 07acacc1..2647753e 100644 --- a/Test/baseResults/spv.debuginfo.hlsl.geom.out +++ b/Test/baseResults/spv.debuginfo.hlsl.geom.out @@ -1,7 +1,7 @@ spv.debuginfo.hlsl.geom // Module Version 10000 // Generated by (magic number): 8000b -// Id's are bound by 354 +// Id's are bound by 367 Capability Geometry Capability MultiViewport @@ -9,7 +9,7 @@ spv.debuginfo.hlsl.geom 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint Geometry 6 "main" 256 262 267 273 278 283 288 303 310 315 339 342 + EntryPoint Geometry 6 "main" 267 274 279 286 291 296 301 316 323 328 352 355 ExecutionMode 6 Triangles ExecutionMode 6 Invocations 2 ExecutionMode 6 OutputTriangleStrip @@ -29,107 +29,107 @@ spv.debuginfo.hlsl.geom " 31: String "Color" 36: String "VSOutput" - 47: String "PrimitiveID" - 52: String "LightVec" - 58: String "GSOutput" - 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" + 49: String "PrimitiveID" + 54: String "LightVec" + 60: String "GSOutput" + 73: String "@main" + 79: String "input" + 83: String "outStream" + 87: String "InvocationID" + 96: String "int" + 102: String "i" + 117: String "bool" + 125: String "output" + 148: String "projection" + 152: String "modelview" + 156: String "lightPos" + 160: String "UBO" + 163: String "ubo" + 201: String "pos" + 210: String "worldPos" + 221: String "lPos" + 269: String "outStream.Pos" + 276: String "outStream.ViewportIndex" + 281: String "outStream.PrimitiveID" + 288: String "outStream.Normal" + 293: String "outStream.Color" + 298: String "outStream.ViewVec" + 303: String "outStream.LightVec" Name 6 "main" Name 23 "VSOutput" MemberName 23(VSOutput) 0 "Pos" MemberName 23(VSOutput) 1 "Normal" MemberName 23(VSOutput) 2 "Color" - Name 43 "GSOutput" - MemberName 43(GSOutput) 0 "Pos" - MemberName 43(GSOutput) 1 "ViewportIndex" - MemberName 43(GSOutput) 2 "PrimitiveID" - MemberName 43(GSOutput) 3 "Normal" - MemberName 43(GSOutput) 4 "Color" - MemberName 43(GSOutput) 5 "ViewVec" - MemberName 43(GSOutput) 6 "LightVec" - Name 67 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;" - Name 63 "input" - Name 64 "outStream" - Name 65 "InvocationID" - Name 66 "PrimitiveID" - Name 95 "i" - Name 118 "output" - Name 140 "UBO" - MemberName 140(UBO) 0 "projection" - MemberName 140(UBO) 1 "modelview" - MemberName 140(UBO) 2 "lightPos" - Name 155 "ubo" - MemberName 155(ubo) 0 "ubo" - Name 161 "" - Name 190 "pos" - Name 199 "worldPos" - Name 210 "lPos" - Name 256 "outStream.Pos" - Name 262 "outStream.ViewportIndex" - Name 267 "outStream.PrimitiveID" - Name 273 "outStream.Normal" - Name 278 "outStream.Color" - Name 283 "outStream.ViewVec" - Name 288 "outStream.LightVec" - Name 300 "input" - Name 303 "input.Pos" - Name 310 "input.Normal" - Name 315 "input.Color" - Name 337 "InvocationID" - Name 339 "InvocationID" - Name 341 "PrimitiveID" - Name 342 "PrimitiveID" - Name 344 "outStream" - Name 345 "param" - Name 347 "param" - Name 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 + Name 45 "GSOutput" + MemberName 45(GSOutput) 0 "Pos" + MemberName 45(GSOutput) 1 "ViewportIndex" + MemberName 45(GSOutput) 2 "PrimitiveID" + MemberName 45(GSOutput) 3 "Normal" + MemberName 45(GSOutput) 4 "Color" + MemberName 45(GSOutput) 5 "ViewVec" + MemberName 45(GSOutput) 6 "LightVec" + Name 71 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;" + Name 67 "input" + Name 68 "outStream" + Name 69 "InvocationID" + Name 70 "PrimitiveID" + Name 100 "i" + Name 123 "output" + Name 146 "UBO" + MemberName 146(UBO) 0 "projection" + MemberName 146(UBO) 1 "modelview" + MemberName 146(UBO) 2 "lightPos" + Name 161 "ubo" + MemberName 161(ubo) 0 "ubo" + Name 168 "" + Name 199 "pos" + Name 208 "worldPos" + Name 219 "lPos" + Name 267 "outStream.Pos" + Name 274 "outStream.ViewportIndex" + Name 279 "outStream.PrimitiveID" + Name 286 "outStream.Normal" + Name 291 "outStream.Color" + Name 296 "outStream.ViewVec" + Name 301 "outStream.LightVec" + Name 313 "input" + Name 316 "input.Pos" + Name 323 "input.Normal" + Name 328 "input.Color" + Name 350 "InvocationID" + Name 352 "InvocationID" + Name 354 "PrimitiveID" + Name 355 "PrimitiveID" + Name 357 "outStream" + Name 358 "param" + Name 360 "param" + Name 361 "param" + Name 363 "param" + Decorate 142 ArrayStride 64 + Decorate 144 ArrayStride 64 + MemberDecorate 146(UBO) 0 RowMajor + MemberDecorate 146(UBO) 0 Offset 0 + MemberDecorate 146(UBO) 0 MatrixStride 16 + MemberDecorate 146(UBO) 1 RowMajor + MemberDecorate 146(UBO) 1 Offset 128 + MemberDecorate 146(UBO) 1 MatrixStride 16 + MemberDecorate 146(UBO) 2 Offset 256 + MemberDecorate 161(ubo) 0 Offset 0 + Decorate 161(ubo) Block + Decorate 168 DescriptorSet 0 + Decorate 168 Binding 0 + Decorate 267(outStream.Pos) BuiltIn Position + Decorate 274(outStream.ViewportIndex) BuiltIn ViewportIndex + Decorate 279(outStream.PrimitiveID) BuiltIn PrimitiveId + Decorate 286(outStream.Normal) Location 0 + Decorate 291(outStream.Color) Location 1 + Decorate 296(outStream.ViewVec) Location 2 + Decorate 301(outStream.LightVec) Location 3 + Decorate 316(input.Pos) BuiltIn Position + Decorate 323(input.Normal) Location 0 + Decorate 328(input.Color) Location 1 + Decorate 352(InvocationID) BuiltIn InvocationId + Decorate 355(PrimitiveID) BuiltIn PrimitiveId 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -161,340 +161,353 @@ spv.debuginfo.hlsl.geom 40: TypeArray 23(VSOutput) 17 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17 42: TypePointer Function 40 - 43(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3) - 45: 11(int) Constant 44 - 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 45 29 16 16 17 - 48: 11(int) Constant 46 - 49: 11(int) Constant 19 - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 13 26 48 49 16 16 17 - 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 13 26 48 49 16 16 17 - 53: 11(int) Constant 50 - 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17 - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17 - 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17 - 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17 - 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 58 37 26 16 16 38 58 16 17 44 46 50 51 54 55 56 - 59: TypePointer Function 43(GSOutput) - 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 - 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 + 43: 11(int) Constant 7 + 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 41 43 16 + 45(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3) + 47: 11(int) Constant 44 + 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 47 29 16 16 17 + 50: 11(int) Constant 46 + 51: 11(int) Constant 19 + 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17 + 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17 + 55: 11(int) Constant 50 + 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17 + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17 + 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17 + 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17 + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 37 26 16 16 38 60 16 17 46 48 52 53 56 57 58 + 61: TypePointer Function 45(GSOutput) + 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 43 16 + 63: TypePointer Function 11(int) + 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 43 16 + 65: TypeFunction 4 42(ptr) 61(ptr) 63(ptr) 63(ptr) + 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 59 13 13 + 75: 11(int) Constant 56 + 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 73 66 26 75 16 38 73 17 75 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 41 26 75 16 74 19 37 + 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 84: 11(int) Constant 2 + 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 59 26 75 16 74 19 84 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 75 16 74 19 17 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 13 26 75 16 74 19 19 + 94: 11(int) Constant 57 + 95: TypeInt 32 1 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 96 14 19 16 + 98: TypePointer Function 95(int) + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 97 43 16 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 102 97 26 94 16 74 19 + 104: 95(int) Constant 0 + 115: 95(int) Constant 3 + 116: TypeBool + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 117 14 84 16 + 122: 11(int) Constant 59 + 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 125 59 26 122 16 74 19 + 127: 8(float) Constant 0 + 128: 18(fvec4) ConstantComposite 127 127 127 127 + 129: 21(fvec3) ConstantComposite 127 127 127 + 130:45(GSOutput) ConstantComposite 128 16 16 129 129 129 129 + 132: 11(int) Constant 60 + 134: 95(int) Constant 1 + 135: TypePointer Function 21(fvec3) + 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 43 16 + 139: TypeMatrix 18(fvec4) 4 + 141: 116(bool) ConstantTrue + 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 141 + 142: TypeArray 139 84 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 140 84 + 144: TypeArray 139 84 + 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 140 84 + 146(UBO): TypeStruct 142 144 18(fvec4) + 149: 11(int) Constant 28 + 150: 11(int) Constant 21 + 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 143 26 149 150 16 16 17 + 153: 11(int) Constant 29 + 154: 11(int) Constant 20 + 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 145 26 153 154 16 16 17 + 157: 11(int) Constant 30 + 158: 11(int) Constant 17 + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 20 26 157 158 16 16 17 + 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 37 26 132 16 38 160 16 17 147 151 155 + 161(ubo): TypeStruct 146(UBO) + 164: 11(int) Constant 33 + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 163 159 26 164 28 16 16 17 + 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 37 26 132 16 38 163 16 17 162 + 166: TypePointer Uniform 161(ubo) + 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 165 84 16 + 168: 166(ptr) Variable Uniform + 170: 11(int) Constant 8 + 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 165 26 132 16 38 1 168 170 + 172: TypePointer Uniform 139 + 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 140 84 16 + 176: TypeMatrix 21(fvec3) 3 + 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 141 + 188: 11(int) Constant 61 + 189: 95(int) Constant 4 + 191: 95(int) Constant 2 + 196: 11(int) Constant 63 + 197: TypePointer Function 18(fvec4) + 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 43 16 + 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 201 20 26 196 16 74 19 + 207: 11(int) Constant 64 + 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 210 20 26 207 16 74 19 + 218: 11(int) Constant 66 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 221 22 26 218 16 74 19 + 223: TypePointer Uniform 18(fvec4) + 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 84 16 + 233: 11(int) Constant 67 + 234: 95(int) Constant 6 + 241: 11(int) Constant 68 + 242: 95(int) Constant 5 + 248: 11(int) Constant 70 + 256: 11(int) Constant 73 + 260: 11(int) Constant 74 + 264: 11(int) Constant 75 + 265: TypePointer Output 18(fvec4) + 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 17 16 +267(outStream.Pos): 265(ptr) Variable Output + 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 269 20 26 264 16 38 269 267(outStream.Pos) 170 + 272: TypePointer Output 11(int) + 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 17 16 +274(outStream.ViewportIndex): 272(ptr) Variable Output + 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 276 13 26 264 16 38 276 274(outStream.ViewportIndex) 170 +279(outStream.PrimitiveID): 272(ptr) Variable Output + 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 281 13 26 264 16 38 281 279(outStream.PrimitiveID) 170 + 284: TypePointer Output 21(fvec3) + 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 17 16 +286(outStream.Normal): 284(ptr) Variable Output + 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 288 22 26 264 16 38 288 286(outStream.Normal) 170 +291(outStream.Color): 284(ptr) Variable Output + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 293 22 26 264 16 38 293 291(outStream.Color) 170 +296(outStream.ViewVec): 284(ptr) Variable Output + 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 298 22 26 264 16 38 298 296(outStream.ViewVec) 170 +301(outStream.LightVec): 284(ptr) Variable Output + 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 303 22 26 264 16 38 303 301(outStream.LightVec) 170 + 312: 11(int) Constant 78 + 314: TypeArray 18(fvec4) 17 + 315: TypePointer Input 314 + 316(input.Pos): 315(ptr) Variable Input + 317: TypePointer Input 18(fvec4) + 321: TypeArray 21(fvec3) 17 + 322: TypePointer Input 321 +323(input.Normal): 322(ptr) Variable Input + 324: TypePointer Input 21(fvec3) +328(input.Color): 322(ptr) Variable Input + 351: TypePointer Input 11(int) +352(InvocationID): 351(ptr) Variable Input +355(PrimitiveID): 351(ptr) Variable Input Line 1 56 1 6(main): 4 Function None 5 7: Label - 300(input): 42(ptr) Variable Function -337(InvocationID): 60(ptr) Variable Function -341(PrimitiveID): 60(ptr) Variable Function - 344(outStream): 59(ptr) Variable Function - 345(param): 42(ptr) Variable Function - 347(param): 59(ptr) Variable Function - 348(param): 60(ptr) Variable Function - 350(param): 60(ptr) Variable Function + 313(input): 42(ptr) Variable Function +350(InvocationID): 63(ptr) Variable Function +354(PrimitiveID): 63(ptr) Variable Function + 357(outStream): 61(ptr) Variable Function + 358(param): 42(ptr) Variable Function + 360(param): 61(ptr) Variable Function + 361(param): 63(ptr) Variable Function + 363(param): 63(ptr) Variable Function Line 1 56 0 - 305: 304(ptr) AccessChain 303(input.Pos) 99 - 306: 18(fvec4) Load 305 - 307: 189(ptr) AccessChain 300(input) 99 99 - Store 307 306 - 312: 311(ptr) AccessChain 310(input.Normal) 99 - 313: 21(fvec3) Load 312 - 314: 130(ptr) AccessChain 300(input) 99 129 - Store 314 313 - 316: 311(ptr) AccessChain 315(input.Color) 99 - 317: 21(fvec3) Load 316 - 318: 130(ptr) AccessChain 300(input) 99 183 - Store 318 317 - 319: 304(ptr) AccessChain 303(input.Pos) 129 - 320: 18(fvec4) Load 319 - 321: 189(ptr) AccessChain 300(input) 129 99 - 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 + 318: 317(ptr) AccessChain 316(input.Pos) 104 + 319: 18(fvec4) Load 318 + 320: 197(ptr) AccessChain 313(input) 104 104 + Store 320 319 + 325: 324(ptr) AccessChain 323(input.Normal) 104 326: 21(fvec3) Load 325 - 327: 130(ptr) AccessChain 300(input) 129 183 + 327: 135(ptr) AccessChain 313(input) 104 134 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 + 329: 324(ptr) AccessChain 328(input.Color) 104 + 330: 21(fvec3) Load 329 + 331: 135(ptr) AccessChain 313(input) 104 191 + Store 331 330 + 332: 317(ptr) AccessChain 316(input.Pos) 134 + 333: 18(fvec4) Load 332 + 334: 197(ptr) AccessChain 313(input) 134 104 + Store 334 333 + 335: 324(ptr) AccessChain 323(input.Normal) 134 + 336: 21(fvec3) Load 335 + 337: 135(ptr) AccessChain 313(input) 134 134 + Store 337 336 + 338: 324(ptr) AccessChain 328(input.Color) 134 + 339: 21(fvec3) Load 338 + 340: 135(ptr) AccessChain 313(input) 134 191 + Store 340 339 + 341: 317(ptr) AccessChain 316(input.Pos) 191 + 342: 18(fvec4) Load 341 + 343: 197(ptr) AccessChain 313(input) 191 104 + Store 343 342 + 344: 324(ptr) AccessChain 323(input.Normal) 191 + 345: 21(fvec3) Load 344 + 346: 135(ptr) AccessChain 313(input) 191 134 + Store 346 345 + 347: 324(ptr) AccessChain 328(input.Color) 191 + 348: 21(fvec3) Load 347 + 349: 135(ptr) AccessChain 313(input) 191 191 + Store 349 348 + 353: 11(int) Load 352(InvocationID) + Store 350(InvocationID) 353 + 356: 11(int) Load 355(PrimitiveID) + Store 354(PrimitiveID) 356 + 359: 40 Load 313(input) + Store 358(param) 359 + 362: 11(int) Load 350(InvocationID) + Store 361(param) 362 + 364: 11(int) Load 354(PrimitiveID) + Store 363(param) 364 + 365: 4 FunctionCall 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 358(param) 360(param) 361(param) 363(param) + 366:45(GSOutput) Load 360(param) + Store 357(outStream) 366 Return FunctionEnd Line 1 56 1 -67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 61 - 63(input): 42(ptr) FunctionParameter - 64(outStream): 59(ptr) FunctionParameter -65(InvocationID): 60(ptr) FunctionParameter - 66(PrimitiveID): 60(ptr) FunctionParameter - 68: Label - 95(i): 94(ptr) Variable Function - 118(output): 59(ptr) Variable Function - 190(pos): 189(ptr) Variable Function - 199(worldPos): 189(ptr) Variable Function - 210(lPos): 130(ptr) Variable Function - 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 +71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 65 + 67(input): 42(ptr) FunctionParameter + 68(outStream): 61(ptr) FunctionParameter +69(InvocationID): 63(ptr) FunctionParameter + 70(PrimitiveID): 63(ptr) FunctionParameter + 72: Label + 100(i): 98(ptr) Variable Function + 123(output): 61(ptr) Variable Function + 199(pos): 197(ptr) Variable Function + 208(worldPos): 197(ptr) Variable Function + 219(lPos): 135(ptr) Variable Function + 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 75 75 16 16 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 78 67(input) 81 + 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 68(outStream) 81 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 69(InvocationID) 81 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 70(PrimitiveID) 81 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 74 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 101 100(i) 81 + Store 100(i) 104 + Branch 105 + 105: Label + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 + 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16 + LoopMerge 107 108 None + Branch 111 + 111: Label + 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 + 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16 + 114: 95(int) Load 100(i) + 119: 116(bool) SLessThan 114 115 + BranchConditional 119 106 107 + 106: Label + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 + 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 122 122 16 16 + 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 124 123(output) 81 + Store 123(output) 130 + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 132 132 16 16 + 133: 95(int) Load 100(i) + 137: 135(ptr) AccessChain 67(input) 133 134 + 138: 21(fvec3) Load 137 + 171: 11(int) Load 69(InvocationID) + 174: 172(ptr) AccessChain 168 104 134 171 + 175: 139 Load 174 + 178: 18(fvec4) CompositeExtract 175 0 + 179: 21(fvec3) VectorShuffle 178 178 0 1 2 + 180: 18(fvec4) CompositeExtract 175 1 + 181: 21(fvec3) VectorShuffle 180 180 0 1 2 + 182: 18(fvec4) CompositeExtract 175 2 + 183: 21(fvec3) VectorShuffle 182 182 0 1 2 + 184: 176 CompositeConstruct 179 181 183 + 185: 21(fvec3) VectorTimesMatrix 138 184 + 186: 135(ptr) AccessChain 123(output) 115 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 + 190: 95(int) Load 100(i) + 192: 135(ptr) AccessChain 67(input) 190 191 + 193: 21(fvec3) Load 192 + 194: 135(ptr) AccessChain 123(output) 189 + Store 194 193 + 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 196 196 16 16 + 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 200 199(pos) 81 + 203: 95(int) Load 100(i) + 204: 197(ptr) AccessChain 67(input) 203 104 + 205: 18(fvec4) Load 204 + Store 199(pos) 205 + 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 207 207 16 16 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 209 208(worldPos) 81 + 212: 18(fvec4) Load 199(pos) + 213: 11(int) Load 69(InvocationID) + 214: 172(ptr) AccessChain 168 104 134 213 + 215: 139 Load 214 + 216: 18(fvec4) VectorTimesMatrix 212 215 + Store 208(worldPos) 216 + 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 218 218 16 16 + 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 220 219(lPos) 81 + 225: 223(ptr) AccessChain 168 104 191 + 226: 18(fvec4) Load 225 + 227: 11(int) Load 69(InvocationID) + 228: 172(ptr) AccessChain 168 104 134 227 + 229: 139 Load 228 + 230: 18(fvec4) VectorTimesMatrix 226 229 + 231: 21(fvec3) VectorShuffle 230 230 0 1 2 + Store 219(lPos) 231 + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 233 233 16 16 + 235: 21(fvec3) Load 219(lPos) + 236: 18(fvec4) Load 208(worldPos) + 237: 21(fvec3) VectorShuffle 236 236 0 1 2 + 238: 21(fvec3) FSub 235 237 + 239: 135(ptr) AccessChain 123(output) 234 + Store 239 238 + 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 241 241 16 16 + 243: 18(fvec4) Load 208(worldPos) + 244: 21(fvec3) VectorShuffle 243 243 0 1 2 + 245: 21(fvec3) FNegate 244 + 246: 135(ptr) AccessChain 123(output) 242 + Store 246 245 + 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 248 248 16 16 + 249: 18(fvec4) Load 208(worldPos) + 250: 11(int) Load 69(InvocationID) + 251: 172(ptr) AccessChain 168 104 104 250 + 252: 139 Load 251 + 253: 18(fvec4) VectorTimesMatrix 249 252 + 254: 197(ptr) AccessChain 123(output) 104 + Store 254 253 + 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 256 256 16 16 + 257: 11(int) Load 69(InvocationID) + 258: 63(ptr) AccessChain 123(output) 134 + Store 258 257 + 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 260 260 16 16 + 261: 11(int) Load 70(PrimitiveID) + 262: 63(ptr) AccessChain 123(output) 191 + Store 262 261 + 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 264 264 16 16 + 270: 197(ptr) AccessChain 123(output) 104 + 271: 18(fvec4) Load 270 + Store 267(outStream.Pos) 271 + 277: 63(ptr) AccessChain 123(output) 134 + 278: 11(int) Load 277 + Store 274(outStream.ViewportIndex) 278 + 282: 63(ptr) AccessChain 123(output) 191 + 283: 11(int) Load 282 + Store 279(outStream.PrimitiveID) 283 + 289: 135(ptr) AccessChain 123(output) 115 + 290: 21(fvec3) Load 289 + Store 286(outStream.Normal) 290 + 294: 135(ptr) AccessChain 123(output) 189 + 295: 21(fvec3) Load 294 + Store 291(outStream.Color) 295 + 299: 135(ptr) AccessChain 123(output) 242 + 300: 21(fvec3) Load 299 + Store 296(outStream.ViewVec) 300 + 304: 135(ptr) AccessChain 123(output) 234 + 305: 21(fvec3) Load 304 + Store 301(outStream.LightVec) 305 EmitVertex - Branch 103 - 103: Label - 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 - 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 - 295: 91(int) Load 95(i) - 296: 91(int) IAdd 295 129 - Store 95(i) 296 - 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 + Branch 108 + 108: Label + 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 + 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16 + 308: 95(int) Load 100(i) + 309: 95(int) IAdd 308 134 + Store 100(i) 309 + Branch 105 + 107: Label + 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 + 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 312 312 16 16 EndPrimitive Return FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.tesc.out b/Test/baseResults/spv.debuginfo.hlsl.tesc.out index 772aea29..e85d2d03 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 685 +// Id's are bound by 702 Capability Tessellation Extension "SPV_KHR_non_semantic_info" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 - EntryPoint TessellationControl 6 "main" 577 584 591 625 634 641 648 663 678 + EntryPoint TessellationControl 6 "main" 594 601 608 642 651 658 665 680 695 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" - 28: String "screenSpaceTessFactor" - 31: String "// OpModuleProcessed auto-map-locations + 30: String "screenSpaceTessFactor" + 33: 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 " - 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" - 410: String "output" + 41: String "p0" + 45: String "p1" + 53: String "bool" + 61: String "frustumCheck" + 67: String "Pos" + 70: String "inUV" + 79: String "Normal" + 83: String "UV" + 87: String "VSOutput" + 98: String "TessLevelOuter" + 102: String "TessLevelInner" + 105: String "ConstantsHSOutput" + 111: String "ConstantsHS" + 117: String "patch" + 129: String "HSOutput" + 136: String "@main" + 144: String "InvocationID" + 152: String "midPoint" + 165: String "radius" + 176: String "v0" + 186: String "modelview" + 191: String "lightPos" + 195: String "frustumPlanes" + 198: String "tessellatedEdgeSize" + 202: String "viewportDim" + 206: String "UBO" + 209: String "ubo" + 218: String "int" + 231: String "clip0" + 249: String "clip1" + 326: String "pos" + 333: String "type.2d.image" + 334: String "@type.2d.image" + 340: String "textureHeight" + 344: String "type.sampler" + 345: String "@type.sampler" + 350: String "samplerHeight" + 354: String "type.sampled.image" + 355: String "@type.sampled.image" + 374: String "i" + 425: String "output" Name 6 "main" - Name 26 "screenSpaceTessFactor(vf4;vf4;" - Name 24 "p0" - Name 25 "p1" - 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 408 "output" - Name 418 "param" - Name 421 "param" - Name 459 "param" - Name 462 "param" - Name 469 "param" - Name 472 "param" - Name 479 "param" - Name 482 "param" - Name 489 "param" - Name 492 "param" - Name 544 "output" - Name 574 "patch" - Name 577 "patch.Pos" - Name 584 "patch.Normal" - Name 591 "patch.UV" - Name 623 "InvocationID" - Name 625 "InvocationID" - Name 627 "flattenTemp" - Name 628 "param" - Name 630 "param" - Name 634 "@entryPointOutput.Pos" - Name 641 "@entryPointOutput.Normal" - Name 648 "@entryPointOutput.UV" - Name 658 "@patchConstantResult" - Name 659 "param" - Name 663 "@patchConstantOutput.TessLevelOuter" - Name 678 "@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 577(patch.Pos) BuiltIn Position - Decorate 584(patch.Normal) Location 0 - Decorate 591(patch.UV) Location 1 - Decorate 625(InvocationID) BuiltIn InvocationId - Decorate 634(@entryPointOutput.Pos) BuiltIn Position - Decorate 641(@entryPointOutput.Normal) Location 0 - Decorate 648(@entryPointOutput.UV) Location 1 - Decorate 663(@patchConstantOutput.TessLevelOuter) Patch - Decorate 663(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter - Decorate 678(@patchConstantOutput.TessLevelInner) Patch - Decorate 678(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner + Name 28 "screenSpaceTessFactor(vf4;vf4;" + Name 26 "p0" + Name 27 "p1" + Name 59 "frustumCheck(vf4;vf2;" + Name 57 "Pos" + Name 58 "inUV" + Name 74 "VSOutput" + MemberName 74(VSOutput) 0 "Pos" + MemberName 74(VSOutput) 1 "Normal" + MemberName 74(VSOutput) 2 "UV" + Name 96 "ConstantsHSOutput" + MemberName 96(ConstantsHSOutput) 0 "TessLevelOuter" + MemberName 96(ConstantsHSOutput) 1 "TessLevelInner" + Name 109 "ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];" + Name 108 "patch" + Name 121 "HSOutput" + MemberName 121(HSOutput) 0 "Pos" + MemberName 121(HSOutput) 1 "Normal" + MemberName 121(HSOutput) 2 "UV" + Name 134 "@main(struct-VSOutput-vf4-vf3-vf21[4];u1;" + Name 132 "patch" + Name 133 "InvocationID" + Name 150 "midPoint" + Name 163 "radius" + Name 174 "v0" + Name 184 "UBO" + MemberName 184(UBO) 0 "projection" + MemberName 184(UBO) 1 "modelview" + MemberName 184(UBO) 2 "lightPos" + MemberName 184(UBO) 3 "frustumPlanes" + MemberName 184(UBO) 4 "displacementFactor" + MemberName 184(UBO) 5 "tessellationFactor" + MemberName 184(UBO) 6 "viewportDim" + MemberName 184(UBO) 7 "tessellatedEdgeSize" + Name 207 "ubo" + MemberName 207(ubo) 0 "ubo" + Name 214 "" + Name 229 "clip0" + Name 247 "clip1" + Name 324 "pos" + Name 338 "textureHeight" + Name 348 "samplerHeight" + Name 372 "i" + Name 423 "output" + Name 433 "param" + Name 436 "param" + Name 474 "param" + Name 477 "param" + Name 484 "param" + Name 487 "param" + Name 494 "param" + Name 497 "param" + Name 504 "param" + Name 507 "param" + Name 560 "output" + Name 591 "patch" + Name 594 "patch.Pos" + Name 601 "patch.Normal" + Name 608 "patch.UV" + Name 640 "InvocationID" + Name 642 "InvocationID" + Name 644 "flattenTemp" + Name 645 "param" + Name 647 "param" + Name 651 "@entryPointOutput.Pos" + Name 658 "@entryPointOutput.Normal" + Name 665 "@entryPointOutput.UV" + Name 675 "@patchConstantResult" + Name 676 "param" + Name 680 "@patchConstantOutput.TessLevelOuter" + Name 695 "@patchConstantOutput.TessLevelInner" + Decorate 182 ArrayStride 16 + MemberDecorate 184(UBO) 0 RowMajor + MemberDecorate 184(UBO) 0 Offset 0 + MemberDecorate 184(UBO) 0 MatrixStride 16 + MemberDecorate 184(UBO) 1 RowMajor + MemberDecorate 184(UBO) 1 Offset 64 + MemberDecorate 184(UBO) 1 MatrixStride 16 + MemberDecorate 184(UBO) 2 Offset 128 + MemberDecorate 184(UBO) 3 Offset 144 + MemberDecorate 184(UBO) 4 Offset 240 + MemberDecorate 184(UBO) 5 Offset 244 + MemberDecorate 184(UBO) 6 Offset 248 + MemberDecorate 184(UBO) 7 Offset 256 + MemberDecorate 207(ubo) 0 Offset 0 + Decorate 207(ubo) Block + Decorate 214 DescriptorSet 0 + Decorate 214 Binding 0 + Decorate 338(textureHeight) DescriptorSet 0 + Decorate 338(textureHeight) Binding 1 + Decorate 348(samplerHeight) DescriptorSet 0 + Decorate 348(samplerHeight) Binding 1 + Decorate 594(patch.Pos) BuiltIn Position + Decorate 601(patch.Normal) Location 0 + Decorate 608(patch.UV) Location 1 + Decorate 642(InvocationID) BuiltIn InvocationId + Decorate 651(@entryPointOutput.Pos) BuiltIn Position + Decorate 658(@entryPointOutput.Normal) Location 0 + Decorate 665(@entryPointOutput.UV) Location 1 + Decorate 680(@patchConstantOutput.TessLevelOuter) Patch + Decorate 680(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter + Decorate 695(@patchConstantOutput.TessLevelInner) Patch + Decorate 695(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -187,728 +187,745 @@ WARNING: 0:158: '' : attribute does not apply to entry point 19: 11(int) Constant 4 20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 19 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 - 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 - 376: 11(int) Constant 103 - 378: 210(int) Constant 3 - 380: TypePointer Uniform 18(fvec4) - 384: 8(float) Constant 1090519040 - 389: 49(bool) ConstantFalse - 392: 11(int) Constant 105 - 400: 11(int) Constant 108 - 406: 11(int) Constant 113 - 407: TypePointer Function 92(ConstantsHSOutput) - 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 100 30 406 16 108 19 - 412: 88 ConstantComposite 227 227 227 227 - 413: 90 ConstantComposite 227 227 - 414:92(ConstantsHSOutput) ConstantComposite 412 413 - 416: 11(int) Constant 115 - 417: 210(int) Constant 2 - 430: 11(int) Constant 117 - 433: 11(int) Constant 118 - 436: 11(int) Constant 119 - 439: 11(int) Constant 120 - 442: 11(int) Constant 121 - 445: 11(int) Constant 122 - 450: 11(int) Constant 126 - 458: 11(int) Constant 128 - 468: 11(int) Constant 129 - 478: 11(int) Constant 130 - 488: 11(int) Constant 131 - 498: 11(int) Constant 132 - 506: 11(int) Constant 133 - 516: 11(int) Constant 139 - 519: 11(int) Constant 140 - 522: 11(int) Constant 141 - 525: 11(int) Constant 142 - 528: 11(int) Constant 143 - 531: 11(int) Constant 144 - 535: 11(int) Constant 148 - 542: 11(int) Constant 159 - 543: TypePointer Function 116(HSOutput) - 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 123 30 542 16 132 19 - 547: 18(fvec4) ConstantComposite 227 227 227 227 - 548: 46(fvec2) ConstantComposite 227 227 - 549:116(HSOutput) ConstantComposite 547 228 548 - 551: 11(int) Constant 160 - 557: 11(int) Constant 161 - 559: TypePointer Function 69(fvec3) - 564: 11(int) Constant 162 - 570: 11(int) Constant 163 - 575: TypeArray 18(fvec4) 19 - 576: TypePointer Input 575 - 577(patch.Pos): 576(ptr) Variable Input - 578: TypePointer Input 18(fvec4) - 582: TypeArray 69(fvec3) 19 - 583: TypePointer Input 582 -584(patch.Normal): 583(ptr) Variable Input - 585: TypePointer Input 69(fvec3) - 589: TypeArray 46(fvec2) 19 - 590: TypePointer Input 589 - 591(patch.UV): 590(ptr) Variable Input - 592: TypePointer Input 46(fvec2) - 624: TypePointer Input 11(int) -625(InvocationID): 624(ptr) Variable Input - 633: TypePointer Output 575 -634(@entryPointOutput.Pos): 633(ptr) Variable Output - 638: TypePointer Output 18(fvec4) - 640: TypePointer Output 582 -641(@entryPointOutput.Normal): 640(ptr) Variable Output - 645: TypePointer Output 69(fvec3) - 647: TypePointer Output 589 -648(@entryPointOutput.UV): 647(ptr) Variable Output - 652: TypePointer Output 46(fvec2) - 662: TypePointer Output 88 -663(@patchConstantOutput.TessLevelOuter): 662(ptr) Variable Output - 666: TypePointer Output 8(float) - 677: TypePointer Output 90 -678(@patchConstantOutput.TessLevelInner): 677(ptr) Variable Output + 22: 11(int) Constant 7 + 23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 22 16 + 24: TypeFunction 8(float) 21(ptr) 21(ptr) + 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 20 + 32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 33 + 34: 11(int) Constant 65 + 36: 11(int) Constant 1 + 37: 11(int) Constant 5 + 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 36 19 32 37 + 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 30 25 32 34 16 35 30 17 34 + 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 41 20 32 34 16 31 19 36 + 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 20 32 34 16 31 19 46 + 48: TypeVector 8(float) 2 + 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 46 + 50: TypePointer Function 48(fvec2) + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 49 22 16 + 52: TypeBool + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 53 14 46 16 + 55: TypeFunction 52(bool) 21(ptr) 50(ptr) + 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 54 20 49 + 63: 11(int) Constant 95 + 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 61 56 32 63 16 35 61 17 63 + 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 67 20 32 63 16 62 19 36 + 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 70 49 32 63 16 62 19 46 + 72: TypeVector 8(float) 3 + 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 + 74(VSOutput): TypeStruct 18(fvec4) 72(fvec3) 48(fvec2) + 76: 11(int) Constant 44 + 77: 11(int) Constant 13 + 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 20 32 76 77 16 16 17 + 80: 11(int) Constant 45 + 81: 11(int) Constant 35 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 79 73 32 80 81 16 16 17 + 84: 11(int) Constant 46 + 85: 11(int) Constant 31 + 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 83 49 32 84 85 16 16 17 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 87 36 32 63 16 35 87 16 17 75 78 82 + 88: TypeArray 74(VSOutput) 19 + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 86 19 + 90: TypePointer Function 88 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 89 22 16 + 92: TypeArray 8(float) 19 + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 19 + 94: TypeArray 8(float) 46 + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 46 +96(ConstantsHSOutput): TypeStruct 92 94 + 99: 11(int) Constant 58 + 100: 11(int) Constant 25 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 93 32 99 100 16 16 17 + 103: 11(int) Constant 59 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 102 95 32 103 100 16 16 17 + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 105 36 32 63 16 35 105 16 17 97 101 + 106: TypeFunction 96(ConstantsHSOutput) 90(ptr) + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 104 89 + 113: 11(int) Constant 112 + 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 111 107 32 113 16 35 111 17 113 + 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 117 89 32 113 16 112 19 36 + 119: TypePointer Function 11(int) + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 22 16 + 121(HSOutput): TypeStruct 18(fvec4) 72(fvec3) 48(fvec2) + 123: 11(int) Constant 51 + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 20 32 123 14 16 16 17 + 125: 11(int) Constant 52 + 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 79 73 32 125 81 16 16 17 + 127: 11(int) Constant 53 + 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 83 49 32 127 85 16 16 17 + 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 129 36 32 113 16 35 129 16 17 122 124 126 + 130: TypeFunction 121(HSOutput) 90(ptr) 119(ptr) + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 128 89 13 + 138: 11(int) Constant 158 + 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 136 131 32 138 16 35 136 17 138 + 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 117 89 32 138 16 137 19 36 + 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 144 13 32 138 16 137 19 46 + 149: 11(int) Constant 67 + 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 152 20 32 149 16 31 19 + 154: 8(float) Constant 1056964608 + 160: 11(int) Constant 69 + 161: TypePointer Function 8(float) + 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 22 16 + 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 165 10 32 160 16 31 19 + 170: 8(float) Constant 1073741824 + 173: 11(int) Constant 72 + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 176 20 32 173 16 31 19 + 179: TypeMatrix 18(fvec4) 4 + 181: 52(bool) ConstantTrue + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 181 + 182: TypeArray 18(fvec4) 15 + 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 20 15 + 184(UBO): TypeStruct 179 179 18(fvec4) 182 8(float) 8(float) 48(fvec2) 8(float) + 187: 11(int) Constant 29 + 188: 11(int) Constant 20 + 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 186 180 32 187 188 16 16 17 + 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 186 180 32 187 188 16 16 17 + 192: 11(int) Constant 30 + 193: 11(int) Constant 17 + 190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 191 20 32 192 193 16 16 17 + 196: 11(int) Constant 22 + 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 195 183 32 85 196 16 16 17 + 199: 11(int) Constant 27 + 197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 198 10 32 81 199 16 16 17 + 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 198 10 32 81 199 16 16 17 + 203: 11(int) Constant 34 + 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 202 49 32 203 188 16 16 17 + 204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 198 10 32 81 199 16 16 17 + 205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 206 36 32 173 16 35 206 16 17 185 189 190 194 197 200 201 204 + 207(ubo): TypeStruct 184(UBO) + 210: 11(int) Constant 37 + 208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 209 205 32 210 210 16 16 17 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 209 36 32 173 16 35 209 16 17 208 + 212: TypePointer Uniform 207(ubo) + 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 211 46 16 + 214: 212(ptr) Variable Uniform + 216: 11(int) Constant 8 + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 211 32 173 16 35 1 214 216 + 217: TypeInt 32 1 + 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 218 14 19 16 + 220: 217(int) Constant 0 + 221: 217(int) Constant 1 + 222: TypePointer Uniform 179 + 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 180 46 16 + 228: 11(int) Constant 75 + 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 231 20 32 228 16 31 19 + 235: 8(float) Constant 0 + 236: 72(fvec3) ConstantComposite 235 235 235 + 246: 11(int) Constant 76 + 248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 249 20 32 246 16 31 19 + 262: 11(int) Constant 79 + 269: 11(int) Constant 80 + 276: 11(int) Constant 83 + 277: 217(int) Constant 6 + 278: TypePointer Uniform 48(fvec2) + 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 49 46 16 + 290: 11(int) Constant 84 + 301: 11(int) Constant 89 + 305: 217(int) Constant 7 + 306: TypePointer Uniform 8(float) + 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 46 16 + 311: 217(int) Constant 5 + 315: 8(float) Constant 1065353216 + 316: 8(float) Constant 1115684864 + 323: 11(int) Constant 98 + 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 326 20 32 323 16 62 19 + 330: 11(int) Constant 99 + 331: TypeImage 8(float) 2D sampled format:Unknown + 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 333 16 32 330 16 35 334 335 17 + 336: TypePointer UniformConstant 331 + 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 332 16 16 +338(textureHeight): 336(ptr) Variable UniformConstant + 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 340 332 32 330 16 35 340 338(textureHeight) 216 + 342: TypeSampler + 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 344 36 32 330 16 35 345 335 17 + 346: TypePointer UniformConstant 342 + 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 343 16 16 +348(samplerHeight): 346(ptr) Variable UniformConstant + 349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 350 343 32 330 16 35 350 348(samplerHeight) 216 + 352: TypeSampledImage 331 + 353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 354 16 32 330 16 35 355 335 17 + 360: 217(int) Constant 4 + 369: 11(int) Constant 102 + 370: TypePointer Function 217(int) + 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 219 22 16 + 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 374 219 32 369 16 62 19 + 389: 11(int) Constant 103 + 391: 217(int) Constant 3 + 393: TypePointer Uniform 18(fvec4) + 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 46 16 + 398: 8(float) Constant 1090519040 + 403: 52(bool) ConstantFalse + 406: 11(int) Constant 105 + 414: 11(int) Constant 108 + 420: 11(int) Constant 113 + 421: TypePointer Function 96(ConstantsHSOutput) + 422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 104 22 16 + 424: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 425 104 32 420 16 112 19 + 427: 92 ConstantComposite 235 235 235 235 + 428: 94 ConstantComposite 235 235 + 429:96(ConstantsHSOutput) ConstantComposite 427 428 + 431: 11(int) Constant 115 + 432: 217(int) Constant 2 + 445: 11(int) Constant 117 + 448: 11(int) Constant 118 + 451: 11(int) Constant 119 + 454: 11(int) Constant 120 + 457: 11(int) Constant 121 + 460: 11(int) Constant 122 + 465: 11(int) Constant 126 + 473: 11(int) Constant 128 + 483: 11(int) Constant 129 + 493: 11(int) Constant 130 + 503: 11(int) Constant 131 + 513: 11(int) Constant 132 + 521: 11(int) Constant 133 + 531: 11(int) Constant 139 + 534: 11(int) Constant 140 + 537: 11(int) Constant 141 + 540: 11(int) Constant 142 + 543: 11(int) Constant 143 + 546: 11(int) Constant 144 + 550: 11(int) Constant 148 + 557: 11(int) Constant 159 + 558: TypePointer Function 121(HSOutput) + 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 128 22 16 + 561: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 425 128 32 557 16 137 19 + 563: 18(fvec4) ConstantComposite 235 235 235 235 + 564: 48(fvec2) ConstantComposite 235 235 + 565:121(HSOutput) ConstantComposite 563 236 564 + 567: 11(int) Constant 160 + 573: 11(int) Constant 161 + 575: TypePointer Function 72(fvec3) + 576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 73 22 16 + 581: 11(int) Constant 162 + 587: 11(int) Constant 163 + 592: TypeArray 18(fvec4) 19 + 593: TypePointer Input 592 + 594(patch.Pos): 593(ptr) Variable Input + 595: TypePointer Input 18(fvec4) + 599: TypeArray 72(fvec3) 19 + 600: TypePointer Input 599 +601(patch.Normal): 600(ptr) Variable Input + 602: TypePointer Input 72(fvec3) + 606: TypeArray 48(fvec2) 19 + 607: TypePointer Input 606 + 608(patch.UV): 607(ptr) Variable Input + 609: TypePointer Input 48(fvec2) + 641: TypePointer Input 11(int) +642(InvocationID): 641(ptr) Variable Input + 650: TypePointer Output 592 +651(@entryPointOutput.Pos): 650(ptr) Variable Output + 655: TypePointer Output 18(fvec4) + 657: TypePointer Output 599 +658(@entryPointOutput.Normal): 657(ptr) Variable Output + 662: TypePointer Output 72(fvec3) + 664: TypePointer Output 606 +665(@entryPointOutput.UV): 664(ptr) Variable Output + 669: TypePointer Output 48(fvec2) + 679: TypePointer Output 92 +680(@patchConstantOutput.TessLevelOuter): 679(ptr) Variable Output + 683: TypePointer Output 8(float) + 694: TypePointer Output 94 +695(@patchConstantOutput.TessLevelInner): 694(ptr) Variable Output Line 1 158 1 6(main): 4 Function None 5 7: Label - 574(patch): 87(ptr) Variable Function -623(InvocationID): 115(ptr) Variable Function -627(flattenTemp): 543(ptr) Variable Function - 628(param): 87(ptr) Variable Function - 630(param): 115(ptr) Variable Function -658(@patchConstantResult): 407(ptr) Variable Function - 659(param): 87(ptr) Variable Function + 591(patch): 90(ptr) Variable Function +640(InvocationID): 119(ptr) Variable Function +644(flattenTemp): 558(ptr) Variable Function + 645(param): 90(ptr) Variable Function + 647(param): 119(ptr) Variable Function +675(@patchConstantResult): 421(ptr) Variable Function + 676(param): 90(ptr) Variable Function Line 1 158 0 - 579: 578(ptr) AccessChain 577(patch.Pos) 213 - 580: 18(fvec4) Load 579 - 581: 21(ptr) AccessChain 574(patch) 213 213 - Store 581 580 - 586: 585(ptr) AccessChain 584(patch.Normal) 213 - 587: 69(fvec3) Load 586 - 588: 559(ptr) AccessChain 574(patch) 213 214 - Store 588 587 - 593: 592(ptr) AccessChain 591(patch.UV) 213 - 594: 46(fvec2) Load 593 - 595: 48(ptr) AccessChain 574(patch) 213 417 - Store 595 594 - 596: 578(ptr) AccessChain 577(patch.Pos) 214 + 596: 595(ptr) AccessChain 594(patch.Pos) 220 597: 18(fvec4) Load 596 - 598: 21(ptr) AccessChain 574(patch) 214 213 + 598: 21(ptr) AccessChain 591(patch) 220 220 Store 598 597 - 599: 585(ptr) AccessChain 584(patch.Normal) 214 - 600: 69(fvec3) Load 599 - 601: 559(ptr) AccessChain 574(patch) 214 214 - Store 601 600 - 602: 592(ptr) AccessChain 591(patch.UV) 214 - 603: 46(fvec2) Load 602 - 604: 48(ptr) AccessChain 574(patch) 214 417 - Store 604 603 - 605: 578(ptr) AccessChain 577(patch.Pos) 417 - 606: 18(fvec4) Load 605 - 607: 21(ptr) AccessChain 574(patch) 417 213 - Store 607 606 - 608: 585(ptr) AccessChain 584(patch.Normal) 417 - 609: 69(fvec3) Load 608 - 610: 559(ptr) AccessChain 574(patch) 417 214 - Store 610 609 - 611: 592(ptr) AccessChain 591(patch.UV) 417 - 612: 46(fvec2) Load 611 - 613: 48(ptr) AccessChain 574(patch) 417 417 - Store 613 612 - 614: 578(ptr) AccessChain 577(patch.Pos) 378 - 615: 18(fvec4) Load 614 - 616: 21(ptr) AccessChain 574(patch) 378 213 - Store 616 615 - 617: 585(ptr) AccessChain 584(patch.Normal) 378 - 618: 69(fvec3) Load 617 - 619: 559(ptr) AccessChain 574(patch) 378 214 - Store 619 618 - 620: 592(ptr) AccessChain 591(patch.UV) 378 - 621: 46(fvec2) Load 620 - 622: 48(ptr) AccessChain 574(patch) 378 417 - Store 622 621 - 626: 11(int) Load 625(InvocationID) - Store 623(InvocationID) 626 - 629: 85 Load 574(patch) - Store 628(param) 629 - 631: 11(int) Load 623(InvocationID) - Store 630(param) 631 - 632:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 628(param) 630(param) - Store 627(flattenTemp) 632 - 635: 11(int) Load 625(InvocationID) - 636: 21(ptr) AccessChain 627(flattenTemp) 213 - 637: 18(fvec4) Load 636 - 639: 638(ptr) AccessChain 634(@entryPointOutput.Pos) 635 - Store 639 637 - 642: 11(int) Load 625(InvocationID) - 643: 559(ptr) AccessChain 627(flattenTemp) 214 - 644: 69(fvec3) Load 643 - 646: 645(ptr) AccessChain 641(@entryPointOutput.Normal) 642 - Store 646 644 - 649: 11(int) Load 625(InvocationID) - 650: 48(ptr) AccessChain 627(flattenTemp) 417 - 651: 46(fvec2) Load 650 - 653: 652(ptr) AccessChain 648(@entryPointOutput.UV) 649 - Store 653 651 - ControlBarrier 44 19 16 - 654: 11(int) Load 625(InvocationID) - 655: 49(bool) IEqual 654 213 - SelectionMerge 657 None - BranchConditional 655 656 657 - 656: Label - 660: 85 Load 574(patch) - Store 659(param) 660 - 661:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 659(param) - Store 658(@patchConstantResult) 661 - 664: 156(ptr) AccessChain 658(@patchConstantResult) 213 213 - 665: 8(float) Load 664 - 667: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 213 - Store 667 665 - 668: 156(ptr) AccessChain 658(@patchConstantResult) 213 214 - 669: 8(float) Load 668 - 670: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 214 - Store 670 669 - 671: 156(ptr) AccessChain 658(@patchConstantResult) 213 417 - 672: 8(float) Load 671 - 673: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 417 - Store 673 672 - 674: 156(ptr) AccessChain 658(@patchConstantResult) 213 378 - 675: 8(float) Load 674 - 676: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 378 - Store 676 675 - 679: 156(ptr) AccessChain 658(@patchConstantResult) 214 213 - 680: 8(float) Load 679 - 681: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 213 - Store 681 680 - 682: 156(ptr) AccessChain 658(@patchConstantResult) 214 214 - 683: 8(float) Load 682 - 684: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 214 - Store 684 683 - Branch 657 - 657: Label + 603: 602(ptr) AccessChain 601(patch.Normal) 220 + 604: 72(fvec3) Load 603 + 605: 575(ptr) AccessChain 591(patch) 220 221 + Store 605 604 + 610: 609(ptr) AccessChain 608(patch.UV) 220 + 611: 48(fvec2) Load 610 + 612: 50(ptr) AccessChain 591(patch) 220 432 + Store 612 611 + 613: 595(ptr) AccessChain 594(patch.Pos) 221 + 614: 18(fvec4) Load 613 + 615: 21(ptr) AccessChain 591(patch) 221 220 + Store 615 614 + 616: 602(ptr) AccessChain 601(patch.Normal) 221 + 617: 72(fvec3) Load 616 + 618: 575(ptr) AccessChain 591(patch) 221 221 + Store 618 617 + 619: 609(ptr) AccessChain 608(patch.UV) 221 + 620: 48(fvec2) Load 619 + 621: 50(ptr) AccessChain 591(patch) 221 432 + Store 621 620 + 622: 595(ptr) AccessChain 594(patch.Pos) 432 + 623: 18(fvec4) Load 622 + 624: 21(ptr) AccessChain 591(patch) 432 220 + Store 624 623 + 625: 602(ptr) AccessChain 601(patch.Normal) 432 + 626: 72(fvec3) Load 625 + 627: 575(ptr) AccessChain 591(patch) 432 221 + Store 627 626 + 628: 609(ptr) AccessChain 608(patch.UV) 432 + 629: 48(fvec2) Load 628 + 630: 50(ptr) AccessChain 591(patch) 432 432 + Store 630 629 + 631: 595(ptr) AccessChain 594(patch.Pos) 391 + 632: 18(fvec4) Load 631 + 633: 21(ptr) AccessChain 591(patch) 391 220 + Store 633 632 + 634: 602(ptr) AccessChain 601(patch.Normal) 391 + 635: 72(fvec3) Load 634 + 636: 575(ptr) AccessChain 591(patch) 391 221 + Store 636 635 + 637: 609(ptr) AccessChain 608(patch.UV) 391 + 638: 48(fvec2) Load 637 + 639: 50(ptr) AccessChain 591(patch) 391 432 + Store 639 638 + 643: 11(int) Load 642(InvocationID) + Store 640(InvocationID) 643 + 646: 88 Load 591(patch) + Store 645(param) 646 + 648: 11(int) Load 640(InvocationID) + Store 647(param) 648 + 649:121(HSOutput) FunctionCall 134(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 645(param) 647(param) + Store 644(flattenTemp) 649 + 652: 11(int) Load 642(InvocationID) + 653: 21(ptr) AccessChain 644(flattenTemp) 220 + 654: 18(fvec4) Load 653 + 656: 655(ptr) AccessChain 651(@entryPointOutput.Pos) 652 + Store 656 654 + 659: 11(int) Load 642(InvocationID) + 660: 575(ptr) AccessChain 644(flattenTemp) 221 + 661: 72(fvec3) Load 660 + 663: 662(ptr) AccessChain 658(@entryPointOutput.Normal) 659 + Store 663 661 + 666: 11(int) Load 642(InvocationID) + 667: 50(ptr) AccessChain 644(flattenTemp) 432 + 668: 48(fvec2) Load 667 + 670: 669(ptr) AccessChain 665(@entryPointOutput.UV) 666 + Store 670 668 + ControlBarrier 46 19 16 + 671: 11(int) Load 642(InvocationID) + 672: 52(bool) IEqual 671 220 + SelectionMerge 674 None + BranchConditional 672 673 674 + 673: Label + 677: 88 Load 591(patch) + Store 676(param) 677 + 678:96(ConstantsHSOutput) FunctionCall 109(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 676(param) + Store 675(@patchConstantResult) 678 + 681: 161(ptr) AccessChain 675(@patchConstantResult) 220 220 + 682: 8(float) Load 681 + 684: 683(ptr) AccessChain 680(@patchConstantOutput.TessLevelOuter) 220 + Store 684 682 + 685: 161(ptr) AccessChain 675(@patchConstantResult) 220 221 + 686: 8(float) Load 685 + 687: 683(ptr) AccessChain 680(@patchConstantOutput.TessLevelOuter) 221 + Store 687 686 + 688: 161(ptr) AccessChain 675(@patchConstantResult) 220 432 + 689: 8(float) Load 688 + 690: 683(ptr) AccessChain 680(@patchConstantOutput.TessLevelOuter) 432 + Store 690 689 + 691: 161(ptr) AccessChain 675(@patchConstantResult) 220 391 + 692: 8(float) Load 691 + 693: 683(ptr) AccessChain 680(@patchConstantOutput.TessLevelOuter) 391 + Store 693 692 + 696: 161(ptr) AccessChain 675(@patchConstantResult) 221 220 + 697: 8(float) Load 696 + 698: 683(ptr) AccessChain 695(@patchConstantOutput.TessLevelInner) 220 + Store 698 697 + 699: 161(ptr) AccessChain 675(@patchConstantResult) 221 221 + 700: 8(float) Load 699 + 701: 683(ptr) AccessChain 695(@patchConstantOutput.TessLevelInner) 221 + Store 701 700 + Branch 674 + 674: 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 - 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 +28(screenSpaceTessFactor(vf4;vf4;): 8(float) Function None 24 + 26(p0): 21(ptr) FunctionParameter + 27(p1): 21(ptr) FunctionParameter + 29: Label + 150(midPoint): 21(ptr) Variable Function + 163(radius): 161(ptr) Variable Function + 174(v0): 21(ptr) Variable Function + 229(clip0): 21(ptr) Variable Function + 247(clip1): 21(ptr) Variable Function + 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 31 + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 34 34 16 16 + 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 40 26(p0) 43 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 27(p1) 43 + 146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 31 28(screenSpaceTessFactor(vf4;vf4;) + 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 31 + 148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 149 149 16 16 + 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 151 150(midPoint) 43 + 155: 18(fvec4) Load 26(p0) + 156: 18(fvec4) Load 27(p1) + 157: 18(fvec4) FAdd 155 156 + 158: 18(fvec4) VectorTimesScalar 157 154 + Store 150(midPoint) 158 + 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 160 160 16 16 + 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 164 163(radius) 43 + 167: 18(fvec4) Load 26(p0) + 168: 18(fvec4) Load 27(p1) + 169: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 167 168 + 171: 8(float) FDiv 169 170 + Store 163(radius) 171 + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 173 173 16 16 + 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 175 174(v0) 43 + 178: 18(fvec4) Load 150(midPoint) + 224: 222(ptr) AccessChain 214 220 221 + 225: 179 Load 224 + 226: 18(fvec4) VectorTimesMatrix 178 225 + Store 174(v0) 226 + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 228 228 16 16 + 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 230 229(clip0) 43 + 233: 18(fvec4) Load 174(v0) + 234: 8(float) Load 163(radius) + 237: 8(float) CompositeExtract 236 0 + 238: 8(float) CompositeExtract 236 1 + 239: 8(float) CompositeExtract 236 2 + 240: 18(fvec4) CompositeConstruct 234 237 238 239 + 241: 18(fvec4) FSub 233 240 + 242: 222(ptr) AccessChain 214 220 220 + 243: 179 Load 242 + 244: 18(fvec4) VectorTimesMatrix 241 243 + Store 229(clip0) 244 + 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 246 246 16 16 + 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 248 247(clip1) 43 + 251: 18(fvec4) Load 174(v0) + 252: 8(float) Load 163(radius) + 253: 8(float) CompositeExtract 236 0 + 254: 8(float) CompositeExtract 236 1 + 255: 8(float) CompositeExtract 236 2 + 256: 18(fvec4) CompositeConstruct 252 253 254 255 + 257: 18(fvec4) FAdd 251 256 + 258: 222(ptr) AccessChain 214 220 220 + 259: 179 Load 258 + 260: 18(fvec4) VectorTimesMatrix 257 259 + Store 247(clip1) 260 + 261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 262 262 16 16 + 263: 161(ptr) AccessChain 229(clip0) 17 + 264: 8(float) Load 263 + 265: 18(fvec4) Load 229(clip0) + 266: 18(fvec4) CompositeConstruct 264 264 264 264 + 267: 18(fvec4) FDiv 265 266 + Store 229(clip0) 267 + 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 269 269 16 16 + 270: 161(ptr) AccessChain 247(clip1) 17 + 271: 8(float) Load 270 + 272: 18(fvec4) Load 247(clip1) + 273: 18(fvec4) CompositeConstruct 271 271 271 271 + 274: 18(fvec4) FDiv 272 273 + Store 247(clip1) 274 + 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 276 276 16 16 + 280: 278(ptr) AccessChain 214 220 277 + 281: 48(fvec2) Load 280 + 282: 18(fvec4) Load 229(clip0) + 283: 48(fvec2) VectorShuffle 282 282 0 1 + 284: 48(fvec2) FMul 283 281 + 285: 161(ptr) AccessChain 229(clip0) 16 + 286: 8(float) CompositeExtract 284 0 + Store 285 286 + 287: 161(ptr) AccessChain 229(clip0) 36 + 288: 8(float) CompositeExtract 284 1 Store 287 288 - 289: 156(ptr) AccessChain 239(clip1) 34 - 290: 8(float) CompositeExtract 286 1 - Store 289 290 - 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 292 292 16 16 - 293: 18(fvec4) Load 221(clip0) - 294: 18(fvec4) Load 239(clip1) - 295: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 293 294 - 298: 297(ptr) AccessChain 207 213 296 - 299: 8(float) Load 298 - 300: 8(float) FDiv 295 299 - 302: 297(ptr) AccessChain 207 213 301 - 303: 8(float) Load 302 - 304: 8(float) FMul 300 303 - 307: 8(float) ExtInst 3(GLSL.std.450) 43(FClamp) 304 305 306 - ReturnValue 307 + 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 290 290 16 16 + 291: 278(ptr) AccessChain 214 220 277 + 292: 48(fvec2) Load 291 + 293: 18(fvec4) Load 247(clip1) + 294: 48(fvec2) VectorShuffle 293 293 0 1 + 295: 48(fvec2) FMul 294 292 + 296: 161(ptr) AccessChain 247(clip1) 16 + 297: 8(float) CompositeExtract 295 0 + Store 296 297 + 298: 161(ptr) AccessChain 247(clip1) 36 + 299: 8(float) CompositeExtract 295 1 + Store 298 299 + 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 301 301 16 16 + 302: 18(fvec4) Load 229(clip0) + 303: 18(fvec4) Load 247(clip1) + 304: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 302 303 + 308: 306(ptr) AccessChain 214 220 305 + 309: 8(float) Load 308 + 310: 8(float) FDiv 304 309 + 312: 306(ptr) AccessChain 214 220 311 + 313: 8(float) Load 312 + 314: 8(float) FMul 310 313 + 317: 8(float) ExtInst 3(GLSL.std.450) 43(FClamp) 314 315 316 + ReturnValue 317 FunctionEnd Line 1 95 1 -56(frustumCheck(vf4;vf2;): 49(bool) Function None 52 - 54(Pos): 21(ptr) FunctionParameter - 55(inUV): 48(ptr) FunctionParameter - 57: Label - 314(pos): 21(ptr) Variable Function - 359(i): 358(ptr) Variable Function - 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) - 373: 49(bool) SLessThan 372 269 - BranchConditional 373 364 365 - 364: Label - 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 376 376 16 16 - 377: 18(fvec4) Load 314(pos) - 379: 210(int) Load 359(i) - 381: 380(ptr) AccessChain 207 213 378 379 - 382: 18(fvec4) Load 381 - 383: 8(float) Dot 377 382 - 385: 8(float) FAdd 383 384 - 386: 49(bool) FOrdLessThan 385 227 - SelectionMerge 388 None - BranchConditional 386 387 388 - 387: Label - 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 392 392 16 16 - ReturnValue 389 - 388: Label - Branch 366 - 366: Label - 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16 - 396: 210(int) Load 359(i) - 397: 210(int) IAdd 396 214 - Store 359(i) 397 - Branch 363 - 365: Label - 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 - 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 400 400 16 16 - ReturnValue 175 +59(frustumCheck(vf4;vf2;): 52(bool) Function None 55 + 57(Pos): 21(ptr) FunctionParameter + 58(inUV): 50(ptr) FunctionParameter + 60: Label + 324(pos): 21(ptr) Variable Function + 372(i): 370(ptr) Variable Function + 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 63 63 16 16 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 66 57(Pos) 43 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 69 58(inUV) 43 + 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 62 59(frustumCheck(vf4;vf2;) + 321: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62 + 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 323 323 16 16 + 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 325 324(pos) 43 + 328: 18(fvec4) Load 57(Pos) + Store 324(pos) 328 + 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 330 330 16 16 + 341: 331 Load 338(textureHeight) + 351: 342 Load 348(samplerHeight) + 356: 352 SampledImage 341 351 + 357: 48(fvec2) Load 58(inUV) + 358: 18(fvec4) ImageSampleExplicitLod 356 357 Lod 235 + 359: 8(float) CompositeExtract 358 0 + 361: 306(ptr) AccessChain 214 220 360 + 362: 8(float) Load 361 + 363: 8(float) FMul 359 362 + 364: 161(ptr) AccessChain 324(pos) 36 + 365: 8(float) Load 364 + 366: 8(float) FSub 365 363 + 367: 161(ptr) AccessChain 324(pos) 36 + Store 367 366 + 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 369 369 16 16 + 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 373 372(i) 43 + Store 372(i) 220 + Branch 376 + 376: Label + 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62 + 381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 369 369 16 16 + LoopMerge 378 379 None + Branch 382 + 382: Label + 383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62 + 384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 369 369 16 16 + 385: 217(int) Load 372(i) + 386: 52(bool) SLessThan 385 277 + BranchConditional 386 377 378 + 377: Label + 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62 + 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 389 389 16 16 + 390: 18(fvec4) Load 324(pos) + 392: 217(int) Load 372(i) + 395: 393(ptr) AccessChain 214 220 391 392 + 396: 18(fvec4) Load 395 + 397: 8(float) Dot 390 396 + 399: 8(float) FAdd 397 398 + 400: 52(bool) FOrdLessThan 399 235 + SelectionMerge 402 None + BranchConditional 400 401 402 + 401: Label + 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62 + 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 406 406 16 16 + ReturnValue 403 + 402: Label + Branch 379 + 379: Label + 408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62 + 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 369 369 16 16 + 410: 217(int) Load 372(i) + 411: 217(int) IAdd 410 221 + Store 372(i) 411 + Branch 376 + 378: Label + 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62 + 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 414 414 16 16 + ReturnValue 181 FunctionEnd Line 1 112 1 -105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):92(ConstantsHSOutput) Function None 102 - 104(patch): 87(ptr) FunctionParameter - 106: Label - 408(output): 407(ptr) Variable Function - 418(param): 21(ptr) Variable Function - 421(param): 48(ptr) Variable Function - 459(param): 21(ptr) Variable Function - 462(param): 21(ptr) Variable Function - 469(param): 21(ptr) Variable Function - 472(param): 21(ptr) Variable Function - 479(param): 21(ptr) Variable Function - 482(param): 21(ptr) Variable Function - 489(param): 21(ptr) Variable Function - 492(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 - 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) - 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 406 406 16 16 - 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 409 408(output) 41 - Store 408(output) 414 - 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 416 416 16 16 - 419: 21(ptr) AccessChain 104(patch) 213 213 - 420: 18(fvec4) Load 419 - Store 418(param) 420 - 422: 48(ptr) AccessChain 104(patch) 213 417 - 423: 46(fvec2) Load 422 - Store 421(param) 423 - 424: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 418(param) 421(param) - 425: 49(bool) LogicalNot 424 - SelectionMerge 427 None - BranchConditional 425 426 447 - 426: Label - 428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 430 430 16 16 - 431: 156(ptr) AccessChain 408(output) 214 213 - Store 431 227 - 432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 433 433 16 16 - 434: 156(ptr) AccessChain 408(output) 214 214 - Store 434 227 - 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 436 436 16 16 - 437: 156(ptr) AccessChain 408(output) 213 213 - Store 437 227 - 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16 - 440: 156(ptr) AccessChain 408(output) 213 214 - Store 440 227 - 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16 - 443: 156(ptr) AccessChain 408(output) 213 417 - Store 443 227 - 444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 445 445 16 16 - 446: 156(ptr) AccessChain 408(output) 213 378 - Store 446 227 - Branch 427 - 447: Label - 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 450 450 16 16 - 451: 297(ptr) AccessChain 207 213 301 - 452: 8(float) Load 451 - 453: 49(bool) FOrdGreaterThan 452 227 - SelectionMerge 455 None - BranchConditional 453 454 513 - 454: Label - 456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 458 458 16 16 - 460: 21(ptr) AccessChain 104(patch) 378 213 - 461: 18(fvec4) Load 460 - Store 459(param) 461 - 463: 21(ptr) AccessChain 104(patch) 213 213 - 464: 18(fvec4) Load 463 - Store 462(param) 464 - 465: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 459(param) 462(param) - 466: 156(ptr) AccessChain 408(output) 213 213 - Store 466 465 - 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 468 468 16 16 - 470: 21(ptr) AccessChain 104(patch) 213 213 - 471: 18(fvec4) Load 470 - Store 469(param) 471 - 473: 21(ptr) AccessChain 104(patch) 214 213 - 474: 18(fvec4) Load 473 - Store 472(param) 474 - 475: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 469(param) 472(param) - 476: 156(ptr) AccessChain 408(output) 213 214 - Store 476 475 - 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 478 478 16 16 - 480: 21(ptr) AccessChain 104(patch) 214 213 - 481: 18(fvec4) Load 480 - Store 479(param) 481 - 483: 21(ptr) AccessChain 104(patch) 417 213 - 484: 18(fvec4) Load 483 - Store 482(param) 484 - 485: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 479(param) 482(param) - 486: 156(ptr) AccessChain 408(output) 213 417 - Store 486 485 - 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 488 488 16 16 - 490: 21(ptr) AccessChain 104(patch) 417 213 - 491: 18(fvec4) Load 490 - Store 489(param) 491 - 493: 21(ptr) AccessChain 104(patch) 378 213 - 494: 18(fvec4) Load 493 - Store 492(param) 494 - 495: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 489(param) 492(param) - 496: 156(ptr) AccessChain 408(output) 213 378 - Store 496 495 - 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 498 498 16 16 - 499: 156(ptr) AccessChain 408(output) 213 213 - 500: 8(float) Load 499 - 501: 156(ptr) AccessChain 408(output) 213 378 - 502: 8(float) Load 501 - 503: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 500 502 149 - 504: 156(ptr) AccessChain 408(output) 214 213 - Store 504 503 - 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 506 506 16 16 - 507: 156(ptr) AccessChain 408(output) 213 417 - 508: 8(float) Load 507 - 509: 156(ptr) AccessChain 408(output) 213 214 - 510: 8(float) Load 509 - 511: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 508 510 149 - 512: 156(ptr) AccessChain 408(output) 214 214 - Store 512 511 - Branch 455 - 513: Label - 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 516 516 16 16 - 517: 156(ptr) AccessChain 408(output) 214 213 - Store 517 305 - 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 519 519 16 16 - 520: 156(ptr) AccessChain 408(output) 214 214 - Store 520 305 - 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 522 522 16 16 - 523: 156(ptr) AccessChain 408(output) 213 213 - Store 523 305 - 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 525 525 16 16 - 526: 156(ptr) AccessChain 408(output) 213 214 - Store 526 305 - 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 528 528 16 16 - 529: 156(ptr) AccessChain 408(output) 213 417 - Store 529 305 - 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 531 531 16 16 - 532: 156(ptr) AccessChain 408(output) 213 378 - Store 532 305 - Branch 455 - 455: Label - Branch 427 - 427: Label - 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 - 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16 - 536:92(ConstantsHSOutput) Load 408(output) - ReturnValue 536 +109(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):96(ConstantsHSOutput) Function None 106 + 108(patch): 90(ptr) FunctionParameter + 110: Label + 423(output): 421(ptr) Variable Function + 433(param): 21(ptr) Variable Function + 436(param): 50(ptr) Variable Function + 474(param): 21(ptr) Variable Function + 477(param): 21(ptr) Variable Function + 484(param): 21(ptr) Variable Function + 487(param): 21(ptr) Variable Function + 494(param): 21(ptr) Variable Function + 497(param): 21(ptr) Variable Function + 504(param): 21(ptr) Variable Function + 507(param): 21(ptr) Variable Function + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 112 + 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 113 113 16 16 + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 116 108(patch) 43 + 417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 112 109(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) + 418: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 112 + 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 420 420 16 16 + 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 424 423(output) 43 + Store 423(output) 429 + 430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 431 431 16 16 + 434: 21(ptr) AccessChain 108(patch) 220 220 + 435: 18(fvec4) Load 434 + Store 433(param) 435 + 437: 50(ptr) AccessChain 108(patch) 220 432 + 438: 48(fvec2) Load 437 + Store 436(param) 438 + 439: 52(bool) FunctionCall 59(frustumCheck(vf4;vf2;) 433(param) 436(param) + 440: 52(bool) LogicalNot 439 + SelectionMerge 442 None + BranchConditional 440 441 462 + 441: Label + 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 112 + 444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 445 445 16 16 + 446: 161(ptr) AccessChain 423(output) 221 220 + Store 446 235 + 447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 448 448 16 16 + 449: 161(ptr) AccessChain 423(output) 221 221 + Store 449 235 + 450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 451 451 16 16 + 452: 161(ptr) AccessChain 423(output) 220 220 + Store 452 235 + 453: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 454 454 16 16 + 455: 161(ptr) AccessChain 423(output) 220 221 + Store 455 235 + 456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 457 457 16 16 + 458: 161(ptr) AccessChain 423(output) 220 432 + Store 458 235 + 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 460 460 16 16 + 461: 161(ptr) AccessChain 423(output) 220 391 + Store 461 235 + Branch 442 + 462: Label + 463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 112 + 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 465 465 16 16 + 466: 306(ptr) AccessChain 214 220 311 + 467: 8(float) Load 466 + 468: 52(bool) FOrdGreaterThan 467 235 + SelectionMerge 470 None + BranchConditional 468 469 528 + 469: Label + 471: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 112 + 472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 473 473 16 16 + 475: 21(ptr) AccessChain 108(patch) 391 220 + 476: 18(fvec4) Load 475 + Store 474(param) 476 + 478: 21(ptr) AccessChain 108(patch) 220 220 + 479: 18(fvec4) Load 478 + Store 477(param) 479 + 480: 8(float) FunctionCall 28(screenSpaceTessFactor(vf4;vf4;) 474(param) 477(param) + 481: 161(ptr) AccessChain 423(output) 220 220 + Store 481 480 + 482: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 483 483 16 16 + 485: 21(ptr) AccessChain 108(patch) 220 220 + 486: 18(fvec4) Load 485 + Store 484(param) 486 + 488: 21(ptr) AccessChain 108(patch) 221 220 + 489: 18(fvec4) Load 488 + Store 487(param) 489 + 490: 8(float) FunctionCall 28(screenSpaceTessFactor(vf4;vf4;) 484(param) 487(param) + 491: 161(ptr) AccessChain 423(output) 220 221 + Store 491 490 + 492: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 493 493 16 16 + 495: 21(ptr) AccessChain 108(patch) 221 220 + 496: 18(fvec4) Load 495 + Store 494(param) 496 + 498: 21(ptr) AccessChain 108(patch) 432 220 + 499: 18(fvec4) Load 498 + Store 497(param) 499 + 500: 8(float) FunctionCall 28(screenSpaceTessFactor(vf4;vf4;) 494(param) 497(param) + 501: 161(ptr) AccessChain 423(output) 220 432 + Store 501 500 + 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 503 503 16 16 + 505: 21(ptr) AccessChain 108(patch) 432 220 + 506: 18(fvec4) Load 505 + Store 504(param) 506 + 508: 21(ptr) AccessChain 108(patch) 391 220 + 509: 18(fvec4) Load 508 + Store 507(param) 509 + 510: 8(float) FunctionCall 28(screenSpaceTessFactor(vf4;vf4;) 504(param) 507(param) + 511: 161(ptr) AccessChain 423(output) 220 391 + Store 511 510 + 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 513 513 16 16 + 514: 161(ptr) AccessChain 423(output) 220 220 + 515: 8(float) Load 514 + 516: 161(ptr) AccessChain 423(output) 220 391 + 517: 8(float) Load 516 + 518: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 515 517 154 + 519: 161(ptr) AccessChain 423(output) 221 220 + Store 519 518 + 520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 521 521 16 16 + 522: 161(ptr) AccessChain 423(output) 220 432 + 523: 8(float) Load 522 + 524: 161(ptr) AccessChain 423(output) 220 221 + 525: 8(float) Load 524 + 526: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 523 525 154 + 527: 161(ptr) AccessChain 423(output) 221 221 + Store 527 526 + Branch 470 + 528: Label + 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 112 + 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 531 531 16 16 + 532: 161(ptr) AccessChain 423(output) 221 220 + Store 532 315 + 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 534 534 16 16 + 535: 161(ptr) AccessChain 423(output) 221 221 + Store 535 315 + 536: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 537 537 16 16 + 538: 161(ptr) AccessChain 423(output) 220 220 + Store 538 315 + 539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 540 540 16 16 + 541: 161(ptr) AccessChain 423(output) 220 221 + Store 541 315 + 542: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 543 543 16 16 + 544: 161(ptr) AccessChain 423(output) 220 432 + Store 544 315 + 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 546 546 16 16 + 547: 161(ptr) AccessChain 423(output) 220 391 + Store 547 315 + Branch 470 + 470: Label + Branch 442 + 442: Label + 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 112 + 549: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 550 550 16 16 + 551:96(ConstantsHSOutput) Load 423(output) + ReturnValue 551 FunctionEnd Line 1 158 1 -129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):116(HSOutput) Function None 125 - 127(patch): 87(ptr) FunctionParameter -128(InvocationID): 115(ptr) FunctionParameter - 130: Label - 544(output): 543(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 - 539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) - 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132 - 541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16 - 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 545 544(output) 41 - Store 544(output) 549 - 550: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 551 551 16 16 - 552: 11(int) Load 128(InvocationID) - 553: 21(ptr) AccessChain 127(patch) 552 213 - 554: 18(fvec4) Load 553 - 555: 21(ptr) AccessChain 544(output) 213 - Store 555 554 - 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 557 557 16 16 - 558: 11(int) Load 128(InvocationID) - 560: 559(ptr) AccessChain 127(patch) 558 214 - 561: 69(fvec3) Load 560 - 562: 559(ptr) AccessChain 544(output) 214 - Store 562 561 - 563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 564 564 16 16 - 565: 11(int) Load 128(InvocationID) - 566: 48(ptr) AccessChain 127(patch) 565 417 - 567: 46(fvec2) Load 566 - 568: 48(ptr) AccessChain 544(output) 417 - Store 568 567 - 569: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 570 570 16 16 - 571:116(HSOutput) Load 544(output) - ReturnValue 571 +134(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):121(HSOutput) Function None 130 + 132(patch): 90(ptr) FunctionParameter +133(InvocationID): 119(ptr) FunctionParameter + 135: Label + 560(output): 558(ptr) Variable Function + 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 137 + 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 138 138 16 16 + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 141 132(patch) 43 + 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 143 133(InvocationID) 43 + 554: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 137 134(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) + 555: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 137 + 556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 557 557 16 16 + 562: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 561 560(output) 43 + Store 560(output) 565 + 566: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 567 567 16 16 + 568: 11(int) Load 133(InvocationID) + 569: 21(ptr) AccessChain 132(patch) 568 220 + 570: 18(fvec4) Load 569 + 571: 21(ptr) AccessChain 560(output) 220 + Store 571 570 + 572: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 573 573 16 16 + 574: 11(int) Load 133(InvocationID) + 577: 575(ptr) AccessChain 132(patch) 574 221 + 578: 72(fvec3) Load 577 + 579: 575(ptr) AccessChain 560(output) 221 + Store 579 578 + 580: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 581 581 16 16 + 582: 11(int) Load 133(InvocationID) + 583: 50(ptr) AccessChain 132(patch) 582 432 + 584: 48(fvec2) Load 583 + 585: 50(ptr) AccessChain 560(output) 432 + Store 585 584 + 586: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 587 587 16 16 + 588:121(HSOutput) Load 560(output) + ReturnValue 588 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.tese.out b/Test/baseResults/spv.debuginfo.hlsl.tese.out index cbe38a34..2d4de4e8 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 464 +// Id's are bound by 477 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" 355 370 379 388 395 401 441 445 449 452 455 458 461 + EntryPoint TessellationEvaluation 6 "main" 368 383 392 401 408 414 454 458 462 465 468 471 474 ExecutionMode 6 Quads 1: String "" 9: String "float" @@ -25,139 +25,139 @@ spv.debuginfo.hlsl.tese " 32: String "TessLevelInner" 35: String "ConstantsHSOutput" - 49: String "Pos" - 52: String "Normal" - 56: String "UV" - 60: String "HSOutput" - 68: String "WorldPos" - 78: String "DSOutput" - 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" - 261: String "bool" - 268: String "modelview" - 273: String "lightPos" - 277: String "frustumPlanes" - 280: String "tessellatedEdgeSize" - 284: String "viewportDim" - 288: String "UBO" - 291: String "ubo" + 52: String "Pos" + 55: String "Normal" + 59: String "UV" + 63: String "HSOutput" + 71: String "WorldPos" + 81: String "DSOutput" + 89: String "@main" + 95: String "input" + 99: String "TessCoord" + 102: String "patch" + 112: String "output" + 123: String "uv1" + 126: String "int" + 143: String "uv2" + 167: String "n1" + 179: String "n2" + 202: String "pos1" + 214: String "pos2" + 226: String "pos" + 238: String "type.2d.image" + 239: String "@type.2d.image" + 245: String "displacementMapTexture" + 250: String "type.sampler" + 251: String "@type.sampler" + 256: String "displacementMapSampler" + 260: String "type.sampled.image" + 261: String "@type.sampled.image" + 270: String "bool" + 277: String "modelview" + 282: String "lightPos" + 286: String "frustumPlanes" + 289: String "tessellatedEdgeSize" + 293: String "viewportDim" + 297: String "UBO" + 300: String "ubo" Name 6 "main" Name 24 "ConstantsHSOutput" MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter" MemberName 24(ConstantsHSOutput) 1 "TessLevelInner" - Name 47 "HSOutput" - MemberName 47(HSOutput) 0 "Pos" - MemberName 47(HSOutput) 1 "Normal" - MemberName 47(HSOutput) 2 "UV" - Name 63 "DSOutput" - MemberName 63(DSOutput) 0 "Pos" - MemberName 63(DSOutput) 1 "Normal" - MemberName 63(DSOutput) 2 "UV" - MemberName 63(DSOutput) 3 "ViewVec" - MemberName 63(DSOutput) 4 "LightVec" - MemberName 63(DSOutput) 5 "EyePos" - MemberName 63(DSOutput) 6 "WorldPos" - Name 84 "@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];" - Name 81 "input" - Name 82 "TessCoord" - Name 83 "patch" - 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 266 "UBO" - MemberName 266(UBO) 0 "projection" - MemberName 266(UBO) 1 "modelview" - MemberName 266(UBO) 2 "lightPos" - MemberName 266(UBO) 3 "frustumPlanes" - MemberName 266(UBO) 4 "displacementFactor" - MemberName 266(UBO) 5 "tessellationFactor" - MemberName 266(UBO) 6 "viewportDim" - MemberName 266(UBO) 7 "tessellatedEdgeSize" - Name 289 "ubo" - MemberName 289(ubo) 0 "ubo" - Name 294 "" - Name 353 "input" - Name 355 "input.TessLevelOuter" - Name 370 "input.TessLevelInner" - Name 377 "TessCoord" - Name 379 "TessCoord" - Name 385 "patch" - Name 388 "patch.Pos" - Name 395 "patch.Normal" - Name 401 "patch.UV" - Name 433 "flattenTemp" - Name 435 "param" - Name 437 "param" - Name 441 "@entryPointOutput.Pos" - Name 445 "@entryPointOutput.Normal" - Name 449 "@entryPointOutput.UV" - Name 452 "@entryPointOutput.ViewVec" - Name 455 "@entryPointOutput.LightVec" - Name 458 "@entryPointOutput.EyePos" - Name 461 "@entryPointOutput.WorldPos" - Decorate 235(displacementMapTexture) DescriptorSet 0 - Decorate 235(displacementMapTexture) Binding 1 - Decorate 245(displacementMapSampler) DescriptorSet 0 - Decorate 245(displacementMapSampler) Binding 1 - Decorate 264 ArrayStride 16 - MemberDecorate 266(UBO) 0 RowMajor - MemberDecorate 266(UBO) 0 Offset 0 - MemberDecorate 266(UBO) 0 MatrixStride 16 - MemberDecorate 266(UBO) 1 RowMajor - MemberDecorate 266(UBO) 1 Offset 64 - MemberDecorate 266(UBO) 1 MatrixStride 16 - MemberDecorate 266(UBO) 2 Offset 128 - MemberDecorate 266(UBO) 3 Offset 144 - MemberDecorate 266(UBO) 4 Offset 240 - MemberDecorate 266(UBO) 5 Offset 244 - MemberDecorate 266(UBO) 6 Offset 248 - MemberDecorate 266(UBO) 7 Offset 256 - MemberDecorate 289(ubo) 0 Offset 0 - Decorate 289(ubo) Block - Decorate 294 DescriptorSet 0 - Decorate 294 Binding 0 - Decorate 355(input.TessLevelOuter) Patch - Decorate 355(input.TessLevelOuter) BuiltIn TessLevelOuter - Decorate 370(input.TessLevelInner) Patch - Decorate 370(input.TessLevelInner) BuiltIn TessLevelInner - Decorate 379(TessCoord) Patch - Decorate 379(TessCoord) BuiltIn TessCoord - Decorate 388(patch.Pos) BuiltIn Position - Decorate 395(patch.Normal) Location 0 - Decorate 401(patch.UV) Location 1 - Decorate 441(@entryPointOutput.Pos) BuiltIn Position - Decorate 445(@entryPointOutput.Normal) Location 0 - Decorate 449(@entryPointOutput.UV) Location 1 - Decorate 452(@entryPointOutput.ViewVec) Location 2 - Decorate 455(@entryPointOutput.LightVec) Location 3 - Decorate 458(@entryPointOutput.EyePos) Location 4 - Decorate 461(@entryPointOutput.WorldPos) Location 5 + Name 50 "HSOutput" + MemberName 50(HSOutput) 0 "Pos" + MemberName 50(HSOutput) 1 "Normal" + MemberName 50(HSOutput) 2 "UV" + Name 66 "DSOutput" + MemberName 66(DSOutput) 0 "Pos" + MemberName 66(DSOutput) 1 "Normal" + MemberName 66(DSOutput) 2 "UV" + MemberName 66(DSOutput) 3 "ViewVec" + MemberName 66(DSOutput) 4 "LightVec" + MemberName 66(DSOutput) 5 "EyePos" + MemberName 66(DSOutput) 6 "WorldPos" + Name 87 "@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];" + Name 84 "input" + Name 85 "TessCoord" + Name 86 "patch" + Name 110 "output" + Name 121 "uv1" + Name 141 "uv2" + Name 165 "n1" + Name 177 "n2" + Name 200 "pos1" + Name 212 "pos2" + Name 224 "pos" + Name 243 "displacementMapTexture" + Name 254 "displacementMapSampler" + Name 275 "UBO" + MemberName 275(UBO) 0 "projection" + MemberName 275(UBO) 1 "modelview" + MemberName 275(UBO) 2 "lightPos" + MemberName 275(UBO) 3 "frustumPlanes" + MemberName 275(UBO) 4 "displacementFactor" + MemberName 275(UBO) 5 "tessellationFactor" + MemberName 275(UBO) 6 "viewportDim" + MemberName 275(UBO) 7 "tessellatedEdgeSize" + Name 298 "ubo" + MemberName 298(ubo) 0 "ubo" + Name 304 "" + Name 366 "input" + Name 368 "input.TessLevelOuter" + Name 383 "input.TessLevelInner" + Name 390 "TessCoord" + Name 392 "TessCoord" + Name 398 "patch" + Name 401 "patch.Pos" + Name 408 "patch.Normal" + Name 414 "patch.UV" + Name 446 "flattenTemp" + Name 448 "param" + Name 450 "param" + Name 454 "@entryPointOutput.Pos" + Name 458 "@entryPointOutput.Normal" + Name 462 "@entryPointOutput.UV" + Name 465 "@entryPointOutput.ViewVec" + Name 468 "@entryPointOutput.LightVec" + Name 471 "@entryPointOutput.EyePos" + Name 474 "@entryPointOutput.WorldPos" + Decorate 243(displacementMapTexture) DescriptorSet 0 + Decorate 243(displacementMapTexture) Binding 1 + Decorate 254(displacementMapSampler) DescriptorSet 0 + Decorate 254(displacementMapSampler) Binding 1 + Decorate 273 ArrayStride 16 + MemberDecorate 275(UBO) 0 RowMajor + MemberDecorate 275(UBO) 0 Offset 0 + MemberDecorate 275(UBO) 0 MatrixStride 16 + MemberDecorate 275(UBO) 1 RowMajor + MemberDecorate 275(UBO) 1 Offset 64 + MemberDecorate 275(UBO) 1 MatrixStride 16 + MemberDecorate 275(UBO) 2 Offset 128 + MemberDecorate 275(UBO) 3 Offset 144 + MemberDecorate 275(UBO) 4 Offset 240 + MemberDecorate 275(UBO) 5 Offset 244 + MemberDecorate 275(UBO) 6 Offset 248 + MemberDecorate 275(UBO) 7 Offset 256 + MemberDecorate 298(ubo) 0 Offset 0 + Decorate 298(ubo) Block + Decorate 304 DescriptorSet 0 + Decorate 304 Binding 0 + Decorate 368(input.TessLevelOuter) Patch + Decorate 368(input.TessLevelOuter) BuiltIn TessLevelOuter + Decorate 383(input.TessLevelInner) Patch + Decorate 383(input.TessLevelInner) BuiltIn TessLevelInner + Decorate 392(TessCoord) Patch + Decorate 392(TessCoord) BuiltIn TessCoord + Decorate 401(patch.Pos) BuiltIn Position + Decorate 408(patch.Normal) Location 0 + Decorate 414(patch.UV) Location 1 + Decorate 454(@entryPointOutput.Pos) BuiltIn Position + Decorate 458(@entryPointOutput.Normal) Location 0 + Decorate 462(@entryPointOutput.UV) Location 1 + Decorate 465(@entryPointOutput.ViewVec) Location 2 + Decorate 468(@entryPointOutput.LightVec) Location 3 + Decorate 471(@entryPointOutput.EyePos) Location 4 + Decorate 474(@entryPointOutput.WorldPos) Location 5 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -186,444 +186,457 @@ spv.debuginfo.hlsl.tese 37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 36 18 27 38 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 35 36 27 16 16 37 35 16 17 25 31 39: TypePointer Function 24(ConstantsHSOutput) - 40: TypeVector 8(float) 2 - 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 21 - 42: TypePointer Function 40(fvec2) - 43: TypeVector 8(float) 4 - 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 18 - 45: TypeVector 8(float) 3 - 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 - 47(HSOutput): TypeStruct 43(fvec4) 45(fvec3) 40(fvec2) - 50: 11(int) Constant 44 - 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 44 27 50 14 16 16 17 - 53: 11(int) Constant 45 - 54: 11(int) Constant 35 - 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 46 27 53 54 16 16 17 - 57: 11(int) Constant 46 - 58: 11(int) Constant 31 - 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 56 41 27 57 58 16 16 17 - 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 36 27 16 16 37 60 16 17 48 51 55 - 61: TypeArray 47(HSOutput) 18 - 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 59 18 - 63(DSOutput): TypeStruct 43(fvec4) 45(fvec3) 40(fvec2) 45(fvec3) 45(fvec3) 45(fvec3) 45(fvec3) - 65: 11(int) Constant 57 - 66: 11(int) Constant 13 - 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 44 27 65 66 16 16 17 - 69: 11(int) Constant 63 - 70: 11(int) Constant 37 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 - 72: 11(int) Constant 59 - 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 56 41 27 72 58 16 16 17 - 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 - 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 - 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 - 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17 - 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 - 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 - 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 261 14 21 16 - 263: 260(bool) ConstantTrue - 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 263 - 264: TypeArray 43(fvec4) 15 - 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15 - 266(UBO): TypeStruct 258 258 43(fvec4) 264 8(float) 8(float) 40(fvec2) 8(float) - 269: 11(int) Constant 29 - 270: 11(int) Constant 20 - 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17 - 274: 11(int) Constant 30 - 275: 11(int) Constant 17 - 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 273 44 27 274 275 16 16 17 - 278: 11(int) Constant 22 - 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 265 27 58 278 16 16 17 - 281: 11(int) Constant 27 - 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17 - 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17 - 285: 11(int) Constant 34 - 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 284 41 27 285 270 16 16 17 - 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17 - 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 288 36 27 228 16 37 288 16 17 267 271 272 276 279 282 283 286 - 289(ubo): TypeStruct 266(UBO) - 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 291 287 27 70 70 16 16 17 - 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 291 36 27 228 16 37 291 16 17 290 - 293: TypePointer Uniform 289(ubo) - 294: 293(ptr) Variable Uniform - 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 292 27 228 16 37 1 294 238 - 296: 121(int) Constant 4 - 297: TypePointer Uniform 8(float) - 306: 11(int) Constant 86 - 308: TypePointer Uniform 258 - 317: 11(int) Constant 89 - 323: 11(int) Constant 90 - 324: TypePointer Uniform 43(fvec4) - 334: 11(int) Constant 91 - 335: 121(int) Constant 6 - 340: 11(int) Constant 92 - 341: 121(int) Constant 5 - 349: 11(int) Constant 93 - 354: TypePointer Input 19 -355(input.TessLevelOuter): 354(ptr) Variable Input - 356: TypePointer Input 8(float) - 369: TypePointer Input 22 -370(input.TessLevelInner): 369(ptr) Variable Input - 378: TypePointer Input 45(fvec3) - 379(TessCoord): 378(ptr) Variable Input - 384: TypePointer Function 61 - 386: TypeArray 43(fvec4) 18 - 387: TypePointer Input 386 - 388(patch.Pos): 387(ptr) Variable Input - 389: TypePointer Input 43(fvec4) - 393: TypeArray 45(fvec3) 18 - 394: TypePointer Input 393 -395(patch.Normal): 394(ptr) Variable Input - 399: TypeArray 40(fvec2) 18 + 40: 11(int) Constant 7 + 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 34 40 16 + 42: TypeVector 8(float) 2 + 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 21 + 44: TypePointer Function 42(fvec2) + 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 43 40 16 + 46: TypeVector 8(float) 4 + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 18 + 48: TypeVector 8(float) 3 + 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 + 50(HSOutput): TypeStruct 46(fvec4) 48(fvec3) 42(fvec2) + 53: 11(int) Constant 44 + 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 47 27 53 14 16 16 17 + 56: 11(int) Constant 45 + 57: 11(int) Constant 35 + 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 49 27 56 57 16 16 17 + 60: 11(int) Constant 46 + 61: 11(int) Constant 31 + 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 59 43 27 60 61 16 16 17 + 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 63 36 27 16 16 37 63 16 17 51 54 58 + 64: TypeArray 50(HSOutput) 18 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 62 18 + 66(DSOutput): TypeStruct 46(fvec4) 48(fvec3) 42(fvec2) 48(fvec3) 48(fvec3) 48(fvec3) 48(fvec3) + 68: 11(int) Constant 57 + 69: 11(int) Constant 13 + 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 47 27 68 69 16 16 17 + 72: 11(int) Constant 63 + 73: 11(int) Constant 37 + 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17 + 75: 11(int) Constant 59 + 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 59 43 27 75 61 16 16 17 + 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17 + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17 + 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17 + 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 71 49 27 72 73 16 16 17 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 81 36 27 16 16 37 81 16 17 67 70 74 76 77 78 79 + 82: TypeFunction 66(DSOutput) 39(ptr) 44(ptr) 64 + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 80 34 43 62 + 91: 11(int) Constant 68 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 89 83 27 91 16 37 89 17 91 + 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 95 34 27 91 16 90 18 36 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 43 27 91 16 90 18 21 + 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 102 62 27 91 16 90 18 17 + 107: 11(int) Constant 70 + 108: TypePointer Function 66(DSOutput) + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 80 40 16 + 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 112 80 27 107 16 90 18 + 114: 8(float) Constant 0 + 115: 46(fvec4) ConstantComposite 114 114 114 114 + 116: 48(fvec3) ConstantComposite 114 114 114 + 117: 42(fvec2) ConstantComposite 114 114 + 118:66(DSOutput) ConstantComposite 115 116 117 116 116 116 116 + 120: 11(int) Constant 71 + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 123 43 27 120 16 90 18 + 125: TypeInt 32 1 + 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 126 14 18 16 + 128: 125(int) Constant 0 + 129: 125(int) Constant 2 + 131: 125(int) Constant 1 + 133: TypePointer Function 8(float) + 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 40 16 + 140: 11(int) Constant 72 + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 143 43 27 140 16 90 18 + 145: 125(int) Constant 3 + 153: 11(int) Constant 73 + 162: 11(int) Constant 75 + 163: TypePointer Function 48(fvec3) + 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 49 40 16 + 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 167 49 27 162 16 90 18 + 176: 11(int) Constant 76 + 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 49 27 176 16 90 18 + 188: 11(int) Constant 77 + 197: 11(int) Constant 80 + 198: TypePointer Function 46(fvec4) + 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 47 40 16 + 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 202 47 27 197 16 90 18 + 211: 11(int) Constant 81 + 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 214 47 27 211 16 90 18 + 223: 11(int) Constant 82 + 225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 226 47 27 223 16 90 18 + 235: 11(int) Constant 84 + 236: TypeImage 8(float) 2D sampled format:Unknown + 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) + 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 238 16 27 235 16 37 239 240 17 + 241: TypePointer UniformConstant 236 + 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 237 16 16 +243(displacementMapTexture): 241(ptr) Variable UniformConstant + 246: 11(int) Constant 8 + 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 245 237 27 235 16 37 245 243(displacementMapTexture) 246 + 248: TypeSampler + 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 250 36 27 235 16 37 251 240 17 + 252: TypePointer UniformConstant 248 + 253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 249 16 16 +254(displacementMapSampler): 252(ptr) Variable UniformConstant + 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 256 249 27 235 16 37 256 254(displacementMapSampler) 246 + 258: TypeSampledImage 236 + 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 260 16 27 235 16 37 261 240 17 + 267: TypeMatrix 46(fvec4) 4 + 269: TypeBool + 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 270 14 21 16 + 272: 269(bool) ConstantTrue + 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 47 18 272 + 273: TypeArray 46(fvec4) 15 + 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 47 15 + 275(UBO): TypeStruct 267 267 46(fvec4) 273 8(float) 8(float) 42(fvec2) 8(float) + 278: 11(int) Constant 29 + 279: 11(int) Constant 20 + 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 268 27 278 279 16 16 17 + 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 268 27 278 279 16 16 17 + 283: 11(int) Constant 30 + 284: 11(int) Constant 17 + 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 282 47 27 283 284 16 16 17 + 287: 11(int) Constant 22 + 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 286 274 27 61 287 16 16 17 + 290: 11(int) Constant 27 + 288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 10 27 57 290 16 16 17 + 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 10 27 57 290 16 16 17 + 294: 11(int) Constant 34 + 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 293 43 27 294 279 16 16 17 + 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 10 27 57 290 16 16 17 + 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 297 36 27 235 16 37 297 16 17 276 280 281 285 288 291 292 295 + 298(ubo): TypeStruct 275(UBO) + 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 300 296 27 73 73 16 16 17 + 301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 300 36 27 235 16 37 300 16 17 299 + 302: TypePointer Uniform 298(ubo) + 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 301 21 16 + 304: 302(ptr) Variable Uniform + 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 301 27 235 16 37 1 304 246 + 306: 125(int) Constant 4 + 307: TypePointer Uniform 8(float) + 308: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 21 16 + 317: 11(int) Constant 86 + 319: TypePointer Uniform 267 + 320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 268 21 16 + 329: 11(int) Constant 89 + 335: 11(int) Constant 90 + 336: TypePointer Uniform 46(fvec4) + 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 47 21 16 + 347: 11(int) Constant 91 + 348: 125(int) Constant 6 + 353: 11(int) Constant 92 + 354: 125(int) Constant 5 + 362: 11(int) Constant 93 + 367: TypePointer Input 19 +368(input.TessLevelOuter): 367(ptr) Variable Input + 369: TypePointer Input 8(float) + 382: TypePointer Input 22 +383(input.TessLevelInner): 382(ptr) Variable Input + 391: TypePointer Input 48(fvec3) + 392(TessCoord): 391(ptr) Variable Input + 397: TypePointer Function 64 + 399: TypeArray 46(fvec4) 18 400: TypePointer Input 399 - 401(patch.UV): 400(ptr) Variable Input - 402: TypePointer Input 40(fvec2) - 440: TypePointer Output 43(fvec4) -441(@entryPointOutput.Pos): 440(ptr) Variable Output - 444: TypePointer Output 45(fvec3) -445(@entryPointOutput.Normal): 444(ptr) Variable Output - 448: TypePointer Output 40(fvec2) -449(@entryPointOutput.UV): 448(ptr) Variable Output -452(@entryPointOutput.ViewVec): 444(ptr) Variable Output -455(@entryPointOutput.LightVec): 444(ptr) Variable Output -458(@entryPointOutput.EyePos): 444(ptr) Variable Output -461(@entryPointOutput.WorldPos): 444(ptr) Variable Output + 401(patch.Pos): 400(ptr) Variable Input + 402: TypePointer Input 46(fvec4) + 406: TypeArray 48(fvec3) 18 + 407: TypePointer Input 406 +408(patch.Normal): 407(ptr) Variable Input + 412: TypeArray 42(fvec2) 18 + 413: TypePointer Input 412 + 414(patch.UV): 413(ptr) Variable Input + 415: TypePointer Input 42(fvec2) + 453: TypePointer Output 46(fvec4) +454(@entryPointOutput.Pos): 453(ptr) Variable Output + 457: TypePointer Output 48(fvec3) +458(@entryPointOutput.Normal): 457(ptr) Variable Output + 461: TypePointer Output 42(fvec2) +462(@entryPointOutput.UV): 461(ptr) Variable Output +465(@entryPointOutput.ViewVec): 457(ptr) Variable Output +468(@entryPointOutput.LightVec): 457(ptr) Variable Output +471(@entryPointOutput.EyePos): 457(ptr) Variable Output +474(@entryPointOutput.WorldPos): 457(ptr) Variable Output Line 1 68 1 6(main): 4 Function None 5 7: Label - 353(input): 39(ptr) Variable Function - 377(TessCoord): 42(ptr) Variable Function - 385(patch): 384(ptr) Variable Function -433(flattenTemp): 105(ptr) Variable Function - 435(param): 39(ptr) Variable Function - 437(param): 42(ptr) Variable Function + 366(input): 39(ptr) Variable Function + 390(TessCoord): 44(ptr) Variable Function + 398(patch): 397(ptr) Variable Function +446(flattenTemp): 108(ptr) Variable Function + 448(param): 39(ptr) Variable Function + 450(param): 44(ptr) Variable Function Line 1 68 0 - 357: 356(ptr) AccessChain 355(input.TessLevelOuter) 124 - 358: 8(float) Load 357 - 359: 129(ptr) AccessChain 353(input) 124 124 - Store 359 358 - 360: 356(ptr) AccessChain 355(input.TessLevelOuter) 127 - 361: 8(float) Load 360 - 362: 129(ptr) AccessChain 353(input) 124 127 - Store 362 361 - 363: 356(ptr) AccessChain 355(input.TessLevelOuter) 125 - 364: 8(float) Load 363 - 365: 129(ptr) AccessChain 353(input) 124 125 - Store 365 364 - 366: 356(ptr) AccessChain 355(input.TessLevelOuter) 140 - 367: 8(float) Load 366 - 368: 129(ptr) AccessChain 353(input) 124 140 - Store 368 367 - 371: 356(ptr) AccessChain 370(input.TessLevelInner) 124 - 372: 8(float) Load 371 - 373: 129(ptr) AccessChain 353(input) 127 124 - Store 373 372 - 374: 356(ptr) AccessChain 370(input.TessLevelInner) 127 - 375: 8(float) Load 374 - 376: 129(ptr) AccessChain 353(input) 127 127 - Store 376 375 - 380: 45(fvec3) Load 379(TessCoord) - 381: 8(float) CompositeExtract 380 0 - 382: 8(float) CompositeExtract 380 1 - 383: 40(fvec2) CompositeConstruct 381 382 - Store 377(TessCoord) 383 - 390: 389(ptr) AccessChain 388(patch.Pos) 124 - 391: 43(fvec4) Load 390 - 392: 192(ptr) AccessChain 385(patch) 124 124 - Store 392 391 - 396: 378(ptr) AccessChain 395(patch.Normal) 124 - 397: 45(fvec3) Load 396 - 398: 158(ptr) AccessChain 385(patch) 124 127 - Store 398 397 - 403: 402(ptr) AccessChain 401(patch.UV) 124 - 404: 40(fvec2) Load 403 - 405: 42(ptr) AccessChain 385(patch) 124 125 + 370: 369(ptr) AccessChain 368(input.TessLevelOuter) 128 + 371: 8(float) Load 370 + 372: 133(ptr) AccessChain 366(input) 128 128 + Store 372 371 + 373: 369(ptr) AccessChain 368(input.TessLevelOuter) 131 + 374: 8(float) Load 373 + 375: 133(ptr) AccessChain 366(input) 128 131 + Store 375 374 + 376: 369(ptr) AccessChain 368(input.TessLevelOuter) 129 + 377: 8(float) Load 376 + 378: 133(ptr) AccessChain 366(input) 128 129 + Store 378 377 + 379: 369(ptr) AccessChain 368(input.TessLevelOuter) 145 + 380: 8(float) Load 379 + 381: 133(ptr) AccessChain 366(input) 128 145 + Store 381 380 + 384: 369(ptr) AccessChain 383(input.TessLevelInner) 128 + 385: 8(float) Load 384 + 386: 133(ptr) AccessChain 366(input) 131 128 + Store 386 385 + 387: 369(ptr) AccessChain 383(input.TessLevelInner) 131 + 388: 8(float) Load 387 + 389: 133(ptr) AccessChain 366(input) 131 131 + Store 389 388 + 393: 48(fvec3) Load 392(TessCoord) + 394: 8(float) CompositeExtract 393 0 + 395: 8(float) CompositeExtract 393 1 + 396: 42(fvec2) CompositeConstruct 394 395 + Store 390(TessCoord) 396 + 403: 402(ptr) AccessChain 401(patch.Pos) 128 + 404: 46(fvec4) Load 403 + 405: 198(ptr) AccessChain 398(patch) 128 128 Store 405 404 - 406: 389(ptr) AccessChain 388(patch.Pos) 127 - 407: 43(fvec4) Load 406 - 408: 192(ptr) AccessChain 385(patch) 127 124 - Store 408 407 - 409: 378(ptr) AccessChain 395(patch.Normal) 127 - 410: 45(fvec3) Load 409 - 411: 158(ptr) AccessChain 385(patch) 127 127 + 409: 391(ptr) AccessChain 408(patch.Normal) 128 + 410: 48(fvec3) Load 409 + 411: 163(ptr) AccessChain 398(patch) 128 131 Store 411 410 - 412: 402(ptr) AccessChain 401(patch.UV) 127 - 413: 40(fvec2) Load 412 - 414: 42(ptr) AccessChain 385(patch) 127 125 - Store 414 413 - 415: 389(ptr) AccessChain 388(patch.Pos) 125 - 416: 43(fvec4) Load 415 - 417: 192(ptr) AccessChain 385(patch) 125 124 - Store 417 416 - 418: 378(ptr) AccessChain 395(patch.Normal) 125 - 419: 45(fvec3) Load 418 - 420: 158(ptr) AccessChain 385(patch) 125 127 - Store 420 419 - 421: 402(ptr) AccessChain 401(patch.UV) 125 - 422: 40(fvec2) Load 421 - 423: 42(ptr) AccessChain 385(patch) 125 125 - Store 423 422 - 424: 389(ptr) AccessChain 388(patch.Pos) 140 - 425: 43(fvec4) Load 424 - 426: 192(ptr) AccessChain 385(patch) 140 124 - Store 426 425 - 427: 378(ptr) AccessChain 395(patch.Normal) 140 - 428: 45(fvec3) Load 427 - 429: 158(ptr) AccessChain 385(patch) 140 127 - Store 429 428 - 430: 402(ptr) AccessChain 401(patch.UV) 140 - 431: 40(fvec2) Load 430 - 432: 42(ptr) AccessChain 385(patch) 140 125 - Store 432 431 - 434: 61 Load 385(patch) - 436:24(ConstantsHSOutput) Load 353(input) - Store 435(param) 436 - 438: 40(fvec2) Load 377(TessCoord) - Store 437(param) 438 - 439:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 435(param) 437(param) 434 - Store 433(flattenTemp) 439 - 442: 192(ptr) AccessChain 433(flattenTemp) 124 - 443: 43(fvec4) Load 442 - Store 441(@entryPointOutput.Pos) 443 - 446: 158(ptr) AccessChain 433(flattenTemp) 127 - 447: 45(fvec3) Load 446 - Store 445(@entryPointOutput.Normal) 447 - 450: 42(ptr) AccessChain 433(flattenTemp) 125 - 451: 40(fvec2) Load 450 - Store 449(@entryPointOutput.UV) 451 - 453: 158(ptr) AccessChain 433(flattenTemp) 140 - 454: 45(fvec3) Load 453 - Store 452(@entryPointOutput.ViewVec) 454 - 456: 158(ptr) AccessChain 433(flattenTemp) 296 - 457: 45(fvec3) Load 456 - Store 455(@entryPointOutput.LightVec) 457 - 459: 158(ptr) AccessChain 433(flattenTemp) 341 - 460: 45(fvec3) Load 459 - Store 458(@entryPointOutput.EyePos) 460 - 462: 158(ptr) AccessChain 433(flattenTemp) 335 - 463: 45(fvec3) Load 462 - Store 461(@entryPointOutput.WorldPos) 463 + 416: 415(ptr) AccessChain 414(patch.UV) 128 + 417: 42(fvec2) Load 416 + 418: 44(ptr) AccessChain 398(patch) 128 129 + Store 418 417 + 419: 402(ptr) AccessChain 401(patch.Pos) 131 + 420: 46(fvec4) Load 419 + 421: 198(ptr) AccessChain 398(patch) 131 128 + Store 421 420 + 422: 391(ptr) AccessChain 408(patch.Normal) 131 + 423: 48(fvec3) Load 422 + 424: 163(ptr) AccessChain 398(patch) 131 131 + Store 424 423 + 425: 415(ptr) AccessChain 414(patch.UV) 131 + 426: 42(fvec2) Load 425 + 427: 44(ptr) AccessChain 398(patch) 131 129 + Store 427 426 + 428: 402(ptr) AccessChain 401(patch.Pos) 129 + 429: 46(fvec4) Load 428 + 430: 198(ptr) AccessChain 398(patch) 129 128 + Store 430 429 + 431: 391(ptr) AccessChain 408(patch.Normal) 129 + 432: 48(fvec3) Load 431 + 433: 163(ptr) AccessChain 398(patch) 129 131 + Store 433 432 + 434: 415(ptr) AccessChain 414(patch.UV) 129 + 435: 42(fvec2) Load 434 + 436: 44(ptr) AccessChain 398(patch) 129 129 + Store 436 435 + 437: 402(ptr) AccessChain 401(patch.Pos) 145 + 438: 46(fvec4) Load 437 + 439: 198(ptr) AccessChain 398(patch) 145 128 + Store 439 438 + 440: 391(ptr) AccessChain 408(patch.Normal) 145 + 441: 48(fvec3) Load 440 + 442: 163(ptr) AccessChain 398(patch) 145 131 + Store 442 441 + 443: 415(ptr) AccessChain 414(patch.UV) 145 + 444: 42(fvec2) Load 443 + 445: 44(ptr) AccessChain 398(patch) 145 129 + Store 445 444 + 447: 64 Load 398(patch) + 449:24(ConstantsHSOutput) Load 366(input) + Store 448(param) 449 + 451: 42(fvec2) Load 390(TessCoord) + Store 450(param) 451 + 452:66(DSOutput) FunctionCall 87(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 448(param) 450(param) 447 + Store 446(flattenTemp) 452 + 455: 198(ptr) AccessChain 446(flattenTemp) 128 + 456: 46(fvec4) Load 455 + Store 454(@entryPointOutput.Pos) 456 + 459: 163(ptr) AccessChain 446(flattenTemp) 131 + 460: 48(fvec3) Load 459 + Store 458(@entryPointOutput.Normal) 460 + 463: 44(ptr) AccessChain 446(flattenTemp) 129 + 464: 42(fvec2) Load 463 + Store 462(@entryPointOutput.UV) 464 + 466: 163(ptr) AccessChain 446(flattenTemp) 145 + 467: 48(fvec3) Load 466 + Store 465(@entryPointOutput.ViewVec) 467 + 469: 163(ptr) AccessChain 446(flattenTemp) 306 + 470: 48(fvec3) Load 469 + Store 468(@entryPointOutput.LightVec) 470 + 472: 163(ptr) AccessChain 446(flattenTemp) 354 + 473: 48(fvec3) Load 472 + Store 471(@entryPointOutput.EyePos) 473 + 475: 163(ptr) AccessChain 446(flattenTemp) 348 + 476: 48(fvec3) Load 475 + Store 474(@entryPointOutput.WorldPos) 476 Return FunctionEnd Line 1 68 1 -84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];):63(DSOutput) Function None 79 - 81(input): 39(ptr) FunctionParameter - 82(TessCoord): 42(ptr) FunctionParameter - 83(patch): 61 FunctionParameter - 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 - 298: 297(ptr) AccessChain 294 124 296 - 299: 8(float) Load 298 - 300: 8(float) FMul 257 299 - 301: 129(ptr) AccessChain 217(pos) 36 - 302: 8(float) Load 301 - 303: 8(float) FSub 302 300 - 304: 129(ptr) AccessChain 217(pos) 36 - Store 304 303 - 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 306 306 16 16 - 307: 43(fvec4) Load 217(pos) - 309: 308(ptr) AccessChain 294 124 127 - 310: 258 Load 309 - 311: 43(fvec4) VectorTimesMatrix 307 310 - 312: 308(ptr) AccessChain 294 124 124 - 313: 258 Load 312 - 314: 43(fvec4) VectorTimesMatrix 311 313 - 315: 192(ptr) AccessChain 106(output) 124 +87(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];):66(DSOutput) Function None 82 + 84(input): 39(ptr) FunctionParameter + 85(TessCoord): 44(ptr) FunctionParameter + 86(patch): 64 FunctionParameter + 88: Label + 110(output): 108(ptr) Variable Function + 121(uv1): 44(ptr) Variable Function + 141(uv2): 44(ptr) Variable Function + 165(n1): 163(ptr) Variable Function + 177(n2): 163(ptr) Variable Function + 200(pos1): 198(ptr) Variable Function + 212(pos2): 198(ptr) Variable Function + 224(pos): 198(ptr) Variable Function + 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 90 + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 91 91 16 16 + 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 94 84(input) 97 + 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 85(TessCoord) 97 + 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 101 86(patch) 97 + 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 90 87(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) + 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 90 + 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 107 107 16 16 + 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 111 110(output) 97 + Store 110(output) 118 + 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 120 120 16 16 + 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 122 121(uv1) 97 + 130: 42(fvec2) CompositeExtract 86(patch) 0 2 + 132: 42(fvec2) CompositeExtract 86(patch) 1 2 + 135: 133(ptr) AccessChain 85(TessCoord) 16 + 136: 8(float) Load 135 + 137: 42(fvec2) CompositeConstruct 136 136 + 138: 42(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 130 132 137 + Store 121(uv1) 138 + 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 140 140 16 16 + 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 142 141(uv2) 97 + 146: 42(fvec2) CompositeExtract 86(patch) 3 2 + 147: 42(fvec2) CompositeExtract 86(patch) 2 2 + 148: 133(ptr) AccessChain 85(TessCoord) 16 + 149: 8(float) Load 148 + 150: 42(fvec2) CompositeConstruct 149 149 + 151: 42(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 146 147 150 + Store 141(uv2) 151 + 152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 153 153 16 16 + 154: 42(fvec2) Load 121(uv1) + 155: 42(fvec2) Load 141(uv2) + 156: 133(ptr) AccessChain 85(TessCoord) 36 + 157: 8(float) Load 156 + 158: 42(fvec2) CompositeConstruct 157 157 + 159: 42(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 154 155 158 + 160: 44(ptr) AccessChain 110(output) 129 + Store 160 159 + 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 162 162 16 16 + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 166 165(n1) 97 + 169: 48(fvec3) CompositeExtract 86(patch) 0 1 + 170: 48(fvec3) CompositeExtract 86(patch) 1 1 + 171: 133(ptr) AccessChain 85(TessCoord) 16 + 172: 8(float) Load 171 + 173: 48(fvec3) CompositeConstruct 172 172 172 + 174: 48(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 169 170 173 + Store 165(n1) 174 + 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 176 176 16 16 + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 178 177(n2) 97 + 181: 48(fvec3) CompositeExtract 86(patch) 3 1 + 182: 48(fvec3) CompositeExtract 86(patch) 2 1 + 183: 133(ptr) AccessChain 85(TessCoord) 16 + 184: 8(float) Load 183 + 185: 48(fvec3) CompositeConstruct 184 184 184 + 186: 48(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 181 182 185 + Store 177(n2) 186 + 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 188 188 16 16 + 189: 48(fvec3) Load 165(n1) + 190: 48(fvec3) Load 177(n2) + 191: 133(ptr) AccessChain 85(TessCoord) 36 + 192: 8(float) Load 191 + 193: 48(fvec3) CompositeConstruct 192 192 192 + 194: 48(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 189 190 193 + 195: 163(ptr) AccessChain 110(output) 131 + Store 195 194 + 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 197 197 16 16 + 203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 201 200(pos1) 97 + 204: 46(fvec4) CompositeExtract 86(patch) 0 0 + 205: 46(fvec4) CompositeExtract 86(patch) 1 0 + 206: 133(ptr) AccessChain 85(TessCoord) 16 + 207: 8(float) Load 206 + 208: 46(fvec4) CompositeConstruct 207 207 207 207 + 209: 46(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 204 205 208 + Store 200(pos1) 209 + 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 211 211 16 16 + 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 213 212(pos2) 97 + 216: 46(fvec4) CompositeExtract 86(patch) 3 0 + 217: 46(fvec4) CompositeExtract 86(patch) 2 0 + 218: 133(ptr) AccessChain 85(TessCoord) 16 + 219: 8(float) Load 218 + 220: 46(fvec4) CompositeConstruct 219 219 219 219 + 221: 46(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 216 217 220 + Store 212(pos2) 221 + 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 223 223 16 16 + 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 225 224(pos) 97 + 228: 46(fvec4) Load 200(pos1) + 229: 46(fvec4) Load 212(pos2) + 230: 133(ptr) AccessChain 85(TessCoord) 36 + 231: 8(float) Load 230 + 232: 46(fvec4) CompositeConstruct 231 231 231 231 + 233: 46(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 228 229 232 + Store 224(pos) 233 + 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 235 235 16 16 + 247: 236 Load 243(displacementMapTexture) + 257: 248 Load 254(displacementMapSampler) + 262: 258 SampledImage 247 257 + 263: 44(ptr) AccessChain 110(output) 129 + 264: 42(fvec2) Load 263 + 265: 46(fvec4) ImageSampleExplicitLod 262 264 Lod 114 + 266: 8(float) CompositeExtract 265 0 + 309: 307(ptr) AccessChain 304 128 306 + 310: 8(float) Load 309 + 311: 8(float) FMul 266 310 + 312: 133(ptr) AccessChain 224(pos) 36 + 313: 8(float) Load 312 + 314: 8(float) FSub 313 311 + 315: 133(ptr) AccessChain 224(pos) 36 Store 315 314 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 317 317 16 16 - 318: 43(fvec4) Load 217(pos) - 319: 45(fvec3) VectorShuffle 318 318 0 1 2 - 320: 45(fvec3) FNegate 319 - 321: 158(ptr) AccessChain 106(output) 140 - Store 321 320 - 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 323 323 16 16 - 325: 324(ptr) AccessChain 294 124 125 - 326: 43(fvec4) Load 325 - 327: 45(fvec3) VectorShuffle 326 326 0 1 2 - 328: 158(ptr) AccessChain 106(output) 140 - 329: 45(fvec3) Load 328 - 330: 45(fvec3) FAdd 327 329 - 331: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 330 - 332: 158(ptr) AccessChain 106(output) 296 - Store 332 331 - 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 334 334 16 16 - 336: 43(fvec4) Load 217(pos) - 337: 45(fvec3) VectorShuffle 336 336 0 1 2 - 338: 158(ptr) AccessChain 106(output) 335 - Store 338 337 - 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 340 340 16 16 - 342: 43(fvec4) Load 217(pos) - 343: 308(ptr) AccessChain 294 124 127 - 344: 258 Load 343 - 345: 43(fvec4) VectorTimesMatrix 342 344 - 346: 45(fvec3) VectorShuffle 345 345 0 1 2 - 347: 158(ptr) AccessChain 106(output) 341 - Store 347 346 - 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 349 349 16 16 - 350:63(DSOutput) Load 106(output) - ReturnValue 350 + 318: 46(fvec4) Load 224(pos) + 321: 319(ptr) AccessChain 304 128 131 + 322: 267 Load 321 + 323: 46(fvec4) VectorTimesMatrix 318 322 + 324: 319(ptr) AccessChain 304 128 128 + 325: 267 Load 324 + 326: 46(fvec4) VectorTimesMatrix 323 325 + 327: 198(ptr) AccessChain 110(output) 128 + Store 327 326 + 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 329 329 16 16 + 330: 46(fvec4) Load 224(pos) + 331: 48(fvec3) VectorShuffle 330 330 0 1 2 + 332: 48(fvec3) FNegate 331 + 333: 163(ptr) AccessChain 110(output) 145 + Store 333 332 + 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 335 335 16 16 + 338: 336(ptr) AccessChain 304 128 129 + 339: 46(fvec4) Load 338 + 340: 48(fvec3) VectorShuffle 339 339 0 1 2 + 341: 163(ptr) AccessChain 110(output) 145 + 342: 48(fvec3) Load 341 + 343: 48(fvec3) FAdd 340 342 + 344: 48(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 343 + 345: 163(ptr) AccessChain 110(output) 306 + Store 345 344 + 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 347 347 16 16 + 349: 46(fvec4) Load 224(pos) + 350: 48(fvec3) VectorShuffle 349 349 0 1 2 + 351: 163(ptr) AccessChain 110(output) 348 + Store 351 350 + 352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 353 353 16 16 + 355: 46(fvec4) Load 224(pos) + 356: 319(ptr) AccessChain 304 128 131 + 357: 267 Load 356 + 358: 46(fvec4) VectorTimesMatrix 355 357 + 359: 48(fvec3) VectorShuffle 358 358 0 1 2 + 360: 163(ptr) AccessChain 110(output) 354 + Store 360 359 + 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 362 362 16 16 + 363:66(DSOutput) Load 110(output) + ReturnValue 363 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.hlsl.vert.out b/Test/baseResults/spv.debuginfo.hlsl.vert.out index 8ccd18e6..8c08100d 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 498 +// Id's are bound by 512 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" 447 450 454 457 460 463 467 471 479 483 486 489 492 495 + EntryPoint Vertex 6 "main" 461 464 468 471 474 477 481 485 493 497 500 503 506 509 1: String "" 9: String "float" 12: String "uint" @@ -27,28 +27,28 @@ spv.debuginfo.hlsl.vert 43: String "instanceScale" 47: String "instanceTexIndex" 51: String "VSInput" - 60: String "Pos" - 64: String "LightVec" - 71: String "VSOutput" - 77: String "@main" - 83: String "input" - 93: String "output" - 126: String "s" - 134: String "bool" - 139: String "modelview" - 144: String "lightPos" - 148: String "globSpeed" - 152: String "UBO" - 155: String "ubo" - 172: String "c" - 187: String "mx" - 222: String "my" - 256: String "mz" - 276: String "rotMat" - 305: String "gRotMat" - 332: String "locPos" - 346: String "pos" - 411: String "lPos" + 62: String "Pos" + 66: String "LightVec" + 73: String "VSOutput" + 79: String "@main" + 85: String "input" + 96: String "output" + 133: String "s" + 141: String "bool" + 146: String "modelview" + 151: String "lightPos" + 155: String "globSpeed" + 159: String "UBO" + 162: String "ubo" + 181: String "c" + 197: String "mx" + 232: String "my" + 266: String "mz" + 286: String "rotMat" + 316: String "gRotMat" + 344: String "locPos" + 358: String "pos" + 424: String "lPos" Name 6 "main" Name 27 "VSInput" MemberName 27(VSInput) 0 "Pos" @@ -59,79 +59,79 @@ spv.debuginfo.hlsl.vert MemberName 27(VSInput) 5 "instanceRot" MemberName 27(VSInput) 6 "instanceScale" MemberName 27(VSInput) 7 "instanceTexIndex" - Name 58 "VSOutput" - MemberName 58(VSOutput) 0 "Pos" - MemberName 58(VSOutput) 1 "Normal" - MemberName 58(VSOutput) 2 "Color" - MemberName 58(VSOutput) 3 "UV" - MemberName 58(VSOutput) 4 "ViewVec" - MemberName 58(VSOutput) 5 "LightVec" - Name 75 "@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;" - Name 74 "input" - Name 91 "output" - Name 124 "s" - Name 137 "UBO" - MemberName 137(UBO) 0 "projection" - MemberName 137(UBO) 1 "modelview" - MemberName 137(UBO) 2 "lightPos" - MemberName 137(UBO) 3 "locSpeed" - MemberName 137(UBO) 4 "globSpeed" - Name 153 "ubo" - MemberName 153(ubo) 0 "ubo" - Name 159 "" - Name 170 "c" - Name 185 "mx" - Name 220 "my" - Name 254 "mz" - Name 274 "rotMat" - Name 303 "gRotMat" - Name 330 "locPos" - Name 344 "pos" - Name 409 "lPos" - Name 445 "input" - Name 447 "input.Pos" - Name 450 "input.Normal" - Name 454 "input.UV" - Name 457 "input.Color" - Name 460 "input.instancePos" - Name 463 "input.instanceRot" - Name 467 "input.instanceScale" - Name 471 "input.instanceTexIndex" - Name 474 "flattenTemp" - Name 475 "param" - Name 479 "@entryPointOutput.Pos" - Name 483 "@entryPointOutput.Normal" - Name 486 "@entryPointOutput.Color" - Name 489 "@entryPointOutput.UV" - Name 492 "@entryPointOutput.ViewVec" - Name 495 "@entryPointOutput.LightVec" - MemberDecorate 137(UBO) 0 RowMajor - MemberDecorate 137(UBO) 0 Offset 0 - MemberDecorate 137(UBO) 0 MatrixStride 16 - MemberDecorate 137(UBO) 1 RowMajor - MemberDecorate 137(UBO) 1 Offset 64 - MemberDecorate 137(UBO) 1 MatrixStride 16 - MemberDecorate 137(UBO) 2 Offset 128 - MemberDecorate 137(UBO) 3 Offset 144 - MemberDecorate 137(UBO) 4 Offset 148 - MemberDecorate 153(ubo) 0 Offset 0 - Decorate 153(ubo) Block - Decorate 159 DescriptorSet 0 - Decorate 159 Binding 0 - Decorate 447(input.Pos) Location 0 - Decorate 450(input.Normal) Location 1 - Decorate 454(input.UV) Location 2 - Decorate 457(input.Color) Location 3 - Decorate 460(input.instancePos) Location 4 - Decorate 463(input.instanceRot) Location 5 - Decorate 467(input.instanceScale) Location 6 - Decorate 471(input.instanceTexIndex) Location 7 - Decorate 479(@entryPointOutput.Pos) BuiltIn Position - Decorate 483(@entryPointOutput.Normal) Location 0 - Decorate 486(@entryPointOutput.Color) Location 1 - Decorate 489(@entryPointOutput.UV) Location 2 - Decorate 492(@entryPointOutput.ViewVec) Location 3 - Decorate 495(@entryPointOutput.LightVec) Location 4 + Name 60 "VSOutput" + MemberName 60(VSOutput) 0 "Pos" + MemberName 60(VSOutput) 1 "Normal" + MemberName 60(VSOutput) 2 "Color" + MemberName 60(VSOutput) 3 "UV" + MemberName 60(VSOutput) 4 "ViewVec" + MemberName 60(VSOutput) 5 "LightVec" + Name 77 "@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;" + Name 76 "input" + Name 94 "output" + Name 131 "s" + Name 144 "UBO" + MemberName 144(UBO) 0 "projection" + MemberName 144(UBO) 1 "modelview" + MemberName 144(UBO) 2 "lightPos" + MemberName 144(UBO) 3 "locSpeed" + MemberName 144(UBO) 4 "globSpeed" + Name 160 "ubo" + MemberName 160(ubo) 0 "ubo" + Name 167 "" + Name 179 "c" + Name 195 "mx" + Name 230 "my" + Name 264 "mz" + Name 284 "rotMat" + Name 314 "gRotMat" + Name 342 "locPos" + Name 356 "pos" + Name 422 "lPos" + Name 459 "input" + Name 461 "input.Pos" + Name 464 "input.Normal" + Name 468 "input.UV" + Name 471 "input.Color" + Name 474 "input.instancePos" + Name 477 "input.instanceRot" + Name 481 "input.instanceScale" + Name 485 "input.instanceTexIndex" + Name 488 "flattenTemp" + Name 489 "param" + Name 493 "@entryPointOutput.Pos" + Name 497 "@entryPointOutput.Normal" + Name 500 "@entryPointOutput.Color" + Name 503 "@entryPointOutput.UV" + Name 506 "@entryPointOutput.ViewVec" + Name 509 "@entryPointOutput.LightVec" + MemberDecorate 144(UBO) 0 RowMajor + MemberDecorate 144(UBO) 0 Offset 0 + MemberDecorate 144(UBO) 0 MatrixStride 16 + MemberDecorate 144(UBO) 1 RowMajor + MemberDecorate 144(UBO) 1 Offset 64 + MemberDecorate 144(UBO) 1 MatrixStride 16 + MemberDecorate 144(UBO) 2 Offset 128 + MemberDecorate 144(UBO) 3 Offset 144 + MemberDecorate 144(UBO) 4 Offset 148 + MemberDecorate 160(ubo) 0 Offset 0 + Decorate 160(ubo) Block + Decorate 167 DescriptorSet 0 + Decorate 167 Binding 0 + Decorate 461(input.Pos) Location 0 + Decorate 464(input.Normal) Location 1 + Decorate 468(input.UV) Location 2 + Decorate 471(input.Color) Location 3 + Decorate 474(input.instancePos) Location 4 + Decorate 477(input.instanceRot) Location 5 + Decorate 481(input.instanceScale) Location 6 + Decorate 485(input.instanceTexIndex) Location 7 + Decorate 493(@entryPointOutput.Pos) BuiltIn Position + Decorate 497(@entryPointOutput.Normal) Location 0 + Decorate 500(@entryPointOutput.Color) Location 1 + Decorate 503(@entryPointOutput.UV) Location 2 + Decorate 506(@entryPointOutput.ViewVec) Location 3 + Decorate 509(@entryPointOutput.LightVec) Location 4 4: TypeVoid 5: TypeFunction 4 8: TypeFloat 32 @@ -173,473 +173,487 @@ spv.debuginfo.hlsl.vert 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 52 26 30 54 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 51 52 30 16 16 53 51 16 17 28 34 35 39 40 41 42 46 55: TypePointer Function 27(VSInput) - 56: TypeVector 8(float) 4 - 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 26 - 58(VSOutput): TypeStruct 56(fvec4) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) - 61: 11(int) Constant 53 - 62: 11(int) Constant 13 - 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 60 57 30 61 62 16 16 17 - 65: 11(int) Constant 58 - 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 - 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 - 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 - 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 - 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 19 30 65 48 16 16 17 - 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 - 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 - 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 134 14 21 16 - 136: 133(bool) ConstantTrue - 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 57 26 136 - 137(UBO): TypeStruct 131 131 56(fvec4) 8(float) 8(float) - 140: 11(int) Constant 43 - 141: 11(int) Constant 20 - 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17 - 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17 - 145: 11(int) Constant 44 - 146: 11(int) Constant 17 - 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 57 30 145 146 16 16 17 - 149: 11(int) Constant 46 - 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17 - 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17 - 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 152 52 30 122 16 53 152 16 17 138 142 143 147 150 - 153(ubo): TypeStruct 137(UBO) - 156: 11(int) Constant 49 - 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 151 30 156 48 16 16 17 - 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 155 52 30 122 16 53 155 16 17 154 - 158: TypePointer Uniform 153(ubo) - 159: 158(ptr) Variable Uniform - 161: 11(int) Constant 8 - 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 157 30 122 16 53 1 159 161 - 162: 23(int) Constant 0 - 163: TypePointer Uniform 8(float) - 169: 11(int) Constant 69 - 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 10 30 169 16 78 26 - 181: 11(int) Constant 71 - 182: TypeMatrix 18(fvec3) 3 - 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 136 - 184: TypePointer Function 182 - 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 187 183 30 181 16 78 26 - 193: 11(int) Constant 72 - 196: 8(float) Constant 1065353216 - 203: 11(int) Constant 76 - 211: 11(int) Constant 77 - 219: 11(int) Constant 79 - 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 222 183 30 219 16 78 26 - 228: 11(int) Constant 81 - 237: 11(int) Constant 84 - 245: 11(int) Constant 85 - 253: 11(int) Constant 87 - 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 256 183 30 253 16 78 26 - 259: 11(int) Constant 88 - 264: 11(int) Constant 89 - 273: 11(int) Constant 91 - 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 276 183 30 273 16 78 26 - 284: 11(int) Constant 94 - 287: 23(int) Constant 4 - 293: 11(int) Constant 95 - 301: 11(int) Constant 96 - 302: TypePointer Function 131 - 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 305 132 30 301 16 78 26 - 311: TypePointer Function 56(fvec4) - 314: 11(int) Constant 97 - 315: 23(int) Constant 1 - 316: 56(fvec4) ConstantComposite 95 196 95 95 - 319: 11(int) Constant 98 - 325: 11(int) Constant 99 - 326: 56(fvec4) ConstantComposite 95 95 95 196 - 329: 11(int) Constant 101 - 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 332 57 30 329 16 78 26 - 343: 11(int) Constant 102 - 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 346 57 30 343 16 78 26 - 350: 23(int) Constant 6 - 362: 11(int) Constant 104 - 366: TypePointer Uniform 131 - 375: 11(int) Constant 105 - 394: 11(int) Constant 107 - 408: 11(int) Constant 108 - 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 411 19 30 408 16 78 26 - 413: TypePointer Uniform 56(fvec4) - 428: 11(int) Constant 109 - 435: 11(int) Constant 110 - 441: 11(int) Constant 111 - 446: TypePointer Input 18(fvec3) - 447(input.Pos): 446(ptr) Variable Input -450(input.Normal): 446(ptr) Variable Input - 453: TypePointer Input 20(fvec2) - 454(input.UV): 453(ptr) Variable Input -457(input.Color): 446(ptr) Variable Input -460(input.instancePos): 446(ptr) Variable Input -463(input.instanceRot): 446(ptr) Variable Input - 466: TypePointer Input 8(float) -467(input.instanceScale): 466(ptr) Variable Input - 470: TypePointer Input 23(int) -471(input.instanceTexIndex): 470(ptr) Variable Input - 478: TypePointer Output 56(fvec4) -479(@entryPointOutput.Pos): 478(ptr) Variable Output - 482: TypePointer Output 18(fvec3) -483(@entryPointOutput.Normal): 482(ptr) Variable Output -486(@entryPointOutput.Color): 482(ptr) Variable Output -489(@entryPointOutput.UV): 482(ptr) Variable Output -492(@entryPointOutput.ViewVec): 482(ptr) Variable Output -495(@entryPointOutput.LightVec): 482(ptr) Variable Output + 56: 11(int) Constant 7 + 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 50 56 16 + 58: TypeVector 8(float) 4 + 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 26 + 60(VSOutput): TypeStruct 58(fvec4) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) + 63: 11(int) Constant 53 + 64: 11(int) Constant 13 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 62 59 30 63 64 16 16 17 + 67: 11(int) Constant 58 + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 + 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 + 70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 + 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 73 52 30 16 16 53 73 16 17 61 65 68 69 70 71 + 74: TypeFunction 60(VSOutput) 55(ptr) + 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 72 50 + 81: 11(int) Constant 62 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 79 75 30 81 16 53 79 17 81 + 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 50 30 81 16 80 26 52 + 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) + 91: 11(int) Constant 63 + 92: TypePointer Function 60(VSOutput) + 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 72 56 16 + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 96 72 30 91 16 80 26 + 98: 8(float) Constant 0 + 99: 58(fvec4) ConstantComposite 98 98 98 98 + 100: 18(fvec3) ConstantComposite 98 98 98 + 101:60(VSOutput) ConstantComposite 99 100 100 100 100 100 + 103: 11(int) Constant 64 + 104: 23(int) Constant 2 + 105: 23(int) Constant 3 + 106: TypePointer Function 18(fvec3) + 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 19 56 16 + 112: 11(int) Constant 65 + 113: TypePointer Function 20(fvec2) + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 56 16 + 117: 23(int) Constant 7 + 118: TypePointer Function 23(int) + 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 25 56 16 + 128: 11(int) Constant 68 + 129: TypePointer Function 8(float) + 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 56 16 + 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 133 10 30 128 16 80 26 + 135: 23(int) Constant 5 + 138: TypeMatrix 58(fvec4) 4 + 140: TypeBool + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 141 14 21 16 + 143: 140(bool) ConstantTrue + 139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 59 26 143 + 144(UBO): TypeStruct 138 138 58(fvec4) 8(float) 8(float) + 147: 11(int) Constant 43 + 148: 11(int) Constant 20 + 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 139 30 147 148 16 16 17 + 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 139 30 147 148 16 16 17 + 152: 11(int) Constant 44 + 153: 11(int) Constant 17 + 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 151 59 30 152 153 16 16 17 + 156: 11(int) Constant 46 + 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 10 30 156 153 16 16 17 + 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 10 30 156 153 16 16 17 + 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 159 52 30 128 16 53 159 16 17 145 149 150 154 157 + 160(ubo): TypeStruct 144(UBO) + 163: 11(int) Constant 49 + 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 158 30 163 48 16 16 17 + 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 52 30 128 16 53 162 16 17 161 + 165: TypePointer Uniform 160(ubo) + 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 21 16 + 167: 165(ptr) Variable Uniform + 169: 11(int) Constant 8 + 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 164 30 128 16 53 1 167 169 + 170: 23(int) Constant 0 + 171: TypePointer Uniform 8(float) + 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 21 16 + 178: 11(int) Constant 69 + 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 181 10 30 178 16 80 26 + 190: 11(int) Constant 71 + 191: TypeMatrix 18(fvec3) 3 + 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 143 + 193: TypePointer Function 191 + 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 192 56 16 + 196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 197 192 30 190 16 80 26 + 203: 11(int) Constant 72 + 206: 8(float) Constant 1065353216 + 213: 11(int) Constant 76 + 221: 11(int) Constant 77 + 229: 11(int) Constant 79 + 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 232 192 30 229 16 80 26 + 238: 11(int) Constant 81 + 247: 11(int) Constant 84 + 255: 11(int) Constant 85 + 263: 11(int) Constant 87 + 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 266 192 30 263 16 80 26 + 269: 11(int) Constant 88 + 274: 11(int) Constant 89 + 283: 11(int) Constant 91 + 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 286 192 30 283 16 80 26 + 294: 11(int) Constant 94 + 297: 23(int) Constant 4 + 303: 11(int) Constant 95 + 311: 11(int) Constant 96 + 312: TypePointer Function 138 + 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 139 56 16 + 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 316 139 30 311 16 80 26 + 322: TypePointer Function 58(fvec4) + 323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 56 16 + 326: 11(int) Constant 97 + 327: 23(int) Constant 1 + 328: 58(fvec4) ConstantComposite 98 206 98 98 + 331: 11(int) Constant 98 + 337: 11(int) Constant 99 + 338: 58(fvec4) ConstantComposite 98 98 98 206 + 341: 11(int) Constant 101 + 343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 344 59 30 341 16 80 26 + 355: 11(int) Constant 102 + 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 358 59 30 355 16 80 26 + 362: 23(int) Constant 6 + 374: 11(int) Constant 104 + 378: TypePointer Uniform 138 + 379: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 139 21 16 + 388: 11(int) Constant 105 + 407: 11(int) Constant 107 + 421: 11(int) Constant 108 + 423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 424 19 30 421 16 80 26 + 426: TypePointer Uniform 58(fvec4) + 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 21 16 + 442: 11(int) Constant 109 + 449: 11(int) Constant 110 + 455: 11(int) Constant 111 + 460: TypePointer Input 18(fvec3) + 461(input.Pos): 460(ptr) Variable Input +464(input.Normal): 460(ptr) Variable Input + 467: TypePointer Input 20(fvec2) + 468(input.UV): 467(ptr) Variable Input +471(input.Color): 460(ptr) Variable Input +474(input.instancePos): 460(ptr) Variable Input +477(input.instanceRot): 460(ptr) Variable Input + 480: TypePointer Input 8(float) +481(input.instanceScale): 480(ptr) Variable Input + 484: TypePointer Input 23(int) +485(input.instanceTexIndex): 484(ptr) Variable Input + 492: TypePointer Output 58(fvec4) +493(@entryPointOutput.Pos): 492(ptr) Variable Output + 496: TypePointer Output 18(fvec3) +497(@entryPointOutput.Normal): 496(ptr) Variable Output +500(@entryPointOutput.Color): 496(ptr) Variable Output +503(@entryPointOutput.UV): 496(ptr) Variable Output +506(@entryPointOutput.ViewVec): 496(ptr) Variable Output +509(@entryPointOutput.LightVec): 496(ptr) Variable Output Line 1 62 1 6(main): 4 Function None 5 7: Label - 445(input): 55(ptr) Variable Function -474(flattenTemp): 90(ptr) Variable Function - 475(param): 55(ptr) Variable Function + 459(input): 55(ptr) Variable Function +488(flattenTemp): 92(ptr) Variable Function + 489(param): 55(ptr) Variable Function Line 1 62 0 - 448: 18(fvec3) Load 447(input.Pos) - 449: 103(ptr) AccessChain 445(input) 162 - Store 449 448 - 451: 18(fvec3) Load 450(input.Normal) - 452: 103(ptr) AccessChain 445(input) 315 - Store 452 451 - 455: 20(fvec2) Load 454(input.UV) - 456: 109(ptr) AccessChain 445(input) 101 - Store 456 455 - 458: 18(fvec3) Load 457(input.Color) - 459: 103(ptr) AccessChain 445(input) 102 - Store 459 458 - 461: 18(fvec3) Load 460(input.instancePos) - 462: 103(ptr) AccessChain 445(input) 287 - Store 462 461 - 464: 18(fvec3) Load 463(input.instanceRot) - 465: 103(ptr) AccessChain 445(input) 128 - Store 465 464 - 468: 8(float) Load 467(input.instanceScale) - 469: 123(ptr) AccessChain 445(input) 350 - Store 469 468 - 472: 23(int) Load 471(input.instanceTexIndex) - 473: 113(ptr) AccessChain 445(input) 112 + 462: 18(fvec3) Load 461(input.Pos) + 463: 106(ptr) AccessChain 459(input) 170 + Store 463 462 + 465: 18(fvec3) Load 464(input.Normal) + 466: 106(ptr) AccessChain 459(input) 327 + Store 466 465 + 469: 20(fvec2) Load 468(input.UV) + 470: 113(ptr) AccessChain 459(input) 104 + Store 470 469 + 472: 18(fvec3) Load 471(input.Color) + 473: 106(ptr) AccessChain 459(input) 105 Store 473 472 - 476: 27(VSInput) Load 445(input) - Store 475(param) 476 - 477:58(VSOutput) FunctionCall 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 475(param) - Store 474(flattenTemp) 477 - 480: 311(ptr) AccessChain 474(flattenTemp) 162 - 481: 56(fvec4) Load 480 - Store 479(@entryPointOutput.Pos) 481 - 484: 103(ptr) AccessChain 474(flattenTemp) 315 - 485: 18(fvec3) Load 484 - Store 483(@entryPointOutput.Normal) 485 - 487: 103(ptr) AccessChain 474(flattenTemp) 101 - 488: 18(fvec3) Load 487 - Store 486(@entryPointOutput.Color) 488 - 490: 103(ptr) AccessChain 474(flattenTemp) 102 - 491: 18(fvec3) Load 490 - Store 489(@entryPointOutput.UV) 491 - 493: 103(ptr) AccessChain 474(flattenTemp) 287 - 494: 18(fvec3) Load 493 - Store 492(@entryPointOutput.ViewVec) 494 - 496: 103(ptr) AccessChain 474(flattenTemp) 128 - 497: 18(fvec3) Load 496 - Store 495(@entryPointOutput.LightVec) 497 + 475: 18(fvec3) Load 474(input.instancePos) + 476: 106(ptr) AccessChain 459(input) 297 + Store 476 475 + 478: 18(fvec3) Load 477(input.instanceRot) + 479: 106(ptr) AccessChain 459(input) 135 + Store 479 478 + 482: 8(float) Load 481(input.instanceScale) + 483: 129(ptr) AccessChain 459(input) 362 + Store 483 482 + 486: 23(int) Load 485(input.instanceTexIndex) + 487: 118(ptr) AccessChain 459(input) 117 + Store 487 486 + 490: 27(VSInput) Load 459(input) + Store 489(param) 490 + 491:60(VSOutput) FunctionCall 77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 489(param) + Store 488(flattenTemp) 491 + 494: 322(ptr) AccessChain 488(flattenTemp) 170 + 495: 58(fvec4) Load 494 + Store 493(@entryPointOutput.Pos) 495 + 498: 106(ptr) AccessChain 488(flattenTemp) 327 + 499: 18(fvec3) Load 498 + Store 497(@entryPointOutput.Normal) 499 + 501: 106(ptr) AccessChain 488(flattenTemp) 104 + 502: 18(fvec3) Load 501 + Store 500(@entryPointOutput.Color) 502 + 504: 106(ptr) AccessChain 488(flattenTemp) 105 + 505: 18(fvec3) Load 504 + Store 503(@entryPointOutput.UV) 505 + 507: 106(ptr) AccessChain 488(flattenTemp) 297 + 508: 18(fvec3) Load 507 + Store 506(@entryPointOutput.ViewVec) 508 + 510: 106(ptr) AccessChain 488(flattenTemp) 135 + 511: 18(fvec3) Load 510 + Store 509(@entryPointOutput.LightVec) 511 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 - 76: Label - 91(output): 90(ptr) Variable Function - 124(s): 123(ptr) Variable Function - 170(c): 123(ptr) Variable Function - 185(mx): 184(ptr) Variable Function - 220(my): 184(ptr) Variable Function - 254(mz): 184(ptr) Variable Function - 274(rotMat): 184(ptr) Variable Function - 303(gRotMat): 302(ptr) Variable Function - 330(locPos): 311(ptr) Variable Function - 344(pos): 311(ptr) Variable Function - 409(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 - 164: 163(ptr) AccessChain 159 162 102 - 165: 8(float) Load 164 - 166: 8(float) FAdd 130 165 - 167: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 166 - Store 124(s) 167 - 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 169 169 16 16 - 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 171 170(c) 85 - 174: 123(ptr) AccessChain 74(input) 128 16 - 175: 8(float) Load 174 - 176: 163(ptr) AccessChain 159 162 102 - 177: 8(float) Load 176 - 178: 8(float) FAdd 175 177 - 179: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 178 - Store 170(c) 179 - 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16 - 188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 186 185(mx) 85 - 189: 8(float) Load 170(c) - 190: 8(float) Load 124(s) - 191: 8(float) FNegate 190 - 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 193 193 16 16 - 194: 8(float) Load 124(s) - 195: 8(float) Load 170(c) - 197: 18(fvec3) CompositeConstruct 189 191 95 - 198: 18(fvec3) CompositeConstruct 194 195 95 - 199: 18(fvec3) CompositeConstruct 95 95 196 - 200: 182 CompositeConstruct 197 198 199 - 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16 - Store 185(mx) 200 +77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;):60(VSOutput) Function None 74 + 76(input): 55(ptr) FunctionParameter + 78: Label + 94(output): 92(ptr) Variable Function + 131(s): 129(ptr) Variable Function + 179(c): 129(ptr) Variable Function + 195(mx): 193(ptr) Variable Function + 230(my): 193(ptr) Variable Function + 264(mz): 193(ptr) Variable Function + 284(rotMat): 193(ptr) Variable Function + 314(gRotMat): 312(ptr) Variable Function + 342(locPos): 322(ptr) Variable Function + 356(pos): 322(ptr) Variable Function + 422(lPos): 106(ptr) Variable Function + 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 81 81 16 16 + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 76(input) 87 + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) + 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 + 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 91 91 16 16 + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 95 94(output) 87 + Store 94(output) 101 + 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 103 103 16 16 + 108: 106(ptr) AccessChain 76(input) 105 + 109: 18(fvec3) Load 108 + 110: 106(ptr) AccessChain 94(output) 104 + Store 110 109 + 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 112 112 16 16 + 115: 113(ptr) AccessChain 76(input) 104 + 116: 20(fvec2) Load 115 + 120: 118(ptr) AccessChain 76(input) 117 + 121: 23(int) Load 120 + 122: 8(float) ConvertSToF 121 + 123: 8(float) CompositeExtract 116 0 + 124: 8(float) CompositeExtract 116 1 + 125: 18(fvec3) CompositeConstruct 123 124 122 + 126: 106(ptr) AccessChain 94(output) 105 + Store 126 125 + 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 128 128 16 16 + 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 132 131(s) 87 + 136: 129(ptr) AccessChain 76(input) 135 16 + 137: 8(float) Load 136 + 173: 171(ptr) AccessChain 167 170 105 + 174: 8(float) Load 173 + 175: 8(float) FAdd 137 174 + 176: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 175 + Store 131(s) 176 + 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 178 178 16 16 + 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 180 179(c) 87 + 183: 129(ptr) AccessChain 76(input) 135 16 + 184: 8(float) Load 183 + 185: 171(ptr) AccessChain 167 170 105 + 186: 8(float) Load 185 + 187: 8(float) FAdd 184 186 + 188: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 187 + Store 179(c) 188 + 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 190 190 16 16 + 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 196 195(mx) 87 + 199: 8(float) Load 179(c) + 200: 8(float) Load 131(s) + 201: 8(float) FNegate 200 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 203 203 16 16 - 204: 123(ptr) AccessChain 74(input) 128 52 - 205: 8(float) Load 204 - 206: 163(ptr) AccessChain 159 162 102 - 207: 8(float) Load 206 - 208: 8(float) FAdd 205 207 - 209: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 208 - Store 124(s) 209 - 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 211 211 16 16 - 212: 123(ptr) AccessChain 74(input) 128 52 - 213: 8(float) Load 212 - 214: 163(ptr) AccessChain 159 162 102 + 204: 8(float) Load 131(s) + 205: 8(float) Load 179(c) + 207: 18(fvec3) CompositeConstruct 199 201 98 + 208: 18(fvec3) CompositeConstruct 204 205 98 + 209: 18(fvec3) CompositeConstruct 98 98 206 + 210: 191 CompositeConstruct 207 208 209 + 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 190 190 16 16 + Store 195(mx) 210 + 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 213 213 16 16 + 214: 129(ptr) AccessChain 76(input) 135 52 215: 8(float) Load 214 - 216: 8(float) FAdd 213 215 - 217: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 216 - Store 170(c) 217 - 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 219 219 16 16 - 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 221 220(my) 85 - 224: 8(float) Load 170(c) - 225: 8(float) Load 124(s) - 226: 8(float) FNegate 225 - 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 228 228 16 16 - 229: 8(float) Load 124(s) - 230: 8(float) Load 170(c) - 231: 18(fvec3) CompositeConstruct 224 95 226 - 232: 18(fvec3) CompositeConstruct 95 196 95 - 233: 18(fvec3) CompositeConstruct 229 95 230 - 234: 182 CompositeConstruct 231 232 233 - 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 219 219 16 16 - Store 220(my) 234 - 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 237 237 16 16 - 238: 123(ptr) AccessChain 74(input) 128 21 - 239: 8(float) Load 238 - 240: 163(ptr) AccessChain 159 162 102 - 241: 8(float) Load 240 - 242: 8(float) FAdd 239 241 - 243: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 242 - Store 124(s) 243 - 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 245 245 16 16 - 246: 123(ptr) AccessChain 74(input) 128 21 - 247: 8(float) Load 246 - 248: 163(ptr) AccessChain 159 162 102 + 216: 171(ptr) AccessChain 167 170 105 + 217: 8(float) Load 216 + 218: 8(float) FAdd 215 217 + 219: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 218 + Store 131(s) 219 + 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 221 221 16 16 + 222: 129(ptr) AccessChain 76(input) 135 52 + 223: 8(float) Load 222 + 224: 171(ptr) AccessChain 167 170 105 + 225: 8(float) Load 224 + 226: 8(float) FAdd 223 225 + 227: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 226 + Store 179(c) 227 + 228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 229 229 16 16 + 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 231 230(my) 87 + 234: 8(float) Load 179(c) + 235: 8(float) Load 131(s) + 236: 8(float) FNegate 235 + 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 238 238 16 16 + 239: 8(float) Load 131(s) + 240: 8(float) Load 179(c) + 241: 18(fvec3) CompositeConstruct 234 98 236 + 242: 18(fvec3) CompositeConstruct 98 206 98 + 243: 18(fvec3) CompositeConstruct 239 98 240 + 244: 191 CompositeConstruct 241 242 243 + 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 229 229 16 16 + Store 230(my) 244 + 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 247 247 16 16 + 248: 129(ptr) AccessChain 76(input) 135 21 249: 8(float) Load 248 - 250: 8(float) FAdd 247 249 - 251: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 250 - Store 170(c) 251 - 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 253 253 16 16 - 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 255 254(mz) 85 - 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 259 259 16 16 - 260: 8(float) Load 170(c) - 261: 8(float) Load 124(s) - 262: 8(float) FNegate 261 - 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 264 264 16 16 - 265: 8(float) Load 124(s) - 266: 8(float) Load 170(c) - 267: 18(fvec3) CompositeConstruct 196 95 95 - 268: 18(fvec3) CompositeConstruct 95 260 262 - 269: 18(fvec3) CompositeConstruct 95 265 266 - 270: 182 CompositeConstruct 267 268 269 - 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 253 253 16 16 - Store 254(mz) 270 - 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 273 273 16 16 - 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 275 274(rotMat) 85 - 278: 182 Load 185(mx) - 279: 182 Load 220(my) - 280: 182 MatrixTimesMatrix 278 279 - 281: 182 Load 254(mz) - 282: 182 MatrixTimesMatrix 280 281 - Store 274(rotMat) 282 - 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 284 284 16 16 - 285: 123(ptr) AccessChain 74(input) 128 52 - 286: 8(float) Load 285 - 288: 163(ptr) AccessChain 159 162 287 - 289: 8(float) Load 288 - 290: 8(float) FAdd 286 289 - 291: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 290 - Store 124(s) 291 - 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 293 293 16 16 - 294: 123(ptr) AccessChain 74(input) 128 52 - 295: 8(float) Load 294 - 296: 163(ptr) AccessChain 159 162 287 - 297: 8(float) Load 296 - 298: 8(float) FAdd 295 297 - 299: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 298 - Store 170(c) 299 - 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 301 301 16 16 - 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 304 303(gRotMat) 85 - 307: 8(float) Load 170(c) - 308: 8(float) Load 124(s) - 309: 8(float) FNegate 308 - 310: 56(fvec4) CompositeConstruct 307 95 309 95 - 312: 311(ptr) AccessChain 303(gRotMat) 162 - Store 312 310 - 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 314 314 16 16 - 317: 311(ptr) AccessChain 303(gRotMat) 315 - Store 317 316 - 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 319 319 16 16 - 320: 8(float) Load 124(s) - 321: 8(float) Load 170(c) - 322: 56(fvec4) CompositeConstruct 320 95 321 95 - 323: 311(ptr) AccessChain 303(gRotMat) 101 - Store 323 322 - 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 325 325 16 16 - 327: 311(ptr) AccessChain 303(gRotMat) 102 - Store 327 326 - 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 329 329 16 16 - 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 331 330(locPos) 85 - 334: 103(ptr) AccessChain 74(input) 162 - 335: 18(fvec3) Load 334 - 336: 182 Load 274(rotMat) - 337: 18(fvec3) VectorTimesMatrix 335 336 - 338: 8(float) CompositeExtract 337 0 - 339: 8(float) CompositeExtract 337 1 - 340: 8(float) CompositeExtract 337 2 - 341: 56(fvec4) CompositeConstruct 338 339 340 196 - Store 330(locPos) 341 - 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 343 343 16 16 - 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 345 344(pos) 85 - 348: 56(fvec4) Load 330(locPos) - 349: 18(fvec3) VectorShuffle 348 348 0 1 2 - 351: 123(ptr) AccessChain 74(input) 350 - 352: 8(float) Load 351 - 353: 18(fvec3) VectorTimesScalar 349 352 - 354: 103(ptr) AccessChain 74(input) 287 - 355: 18(fvec3) Load 354 - 356: 18(fvec3) FAdd 353 355 - 357: 8(float) CompositeExtract 356 0 - 358: 8(float) CompositeExtract 356 1 - 359: 8(float) CompositeExtract 356 2 - 360: 56(fvec4) CompositeConstruct 357 358 359 196 - Store 344(pos) 360 - 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 362 362 16 16 - 363: 56(fvec4) Load 344(pos) - 364: 131 Load 303(gRotMat) - 365: 56(fvec4) VectorTimesMatrix 363 364 - 367: 366(ptr) AccessChain 159 162 315 - 368: 131 Load 367 - 369: 56(fvec4) VectorTimesMatrix 365 368 - 370: 366(ptr) AccessChain 159 162 162 - 371: 131 Load 370 - 372: 56(fvec4) VectorTimesMatrix 369 371 - 373: 311(ptr) AccessChain 91(output) 162 - Store 373 372 - 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 375 375 16 16 - 376: 103(ptr) AccessChain 74(input) 315 - 377: 18(fvec3) Load 376 - 378: 182 Load 274(rotMat) - 379: 18(fvec3) VectorTimesMatrix 377 378 - 380: 131 Load 303(gRotMat) - 381: 366(ptr) AccessChain 159 162 315 - 382: 131 Load 381 - 383: 131 MatrixTimesMatrix 380 382 - 384: 56(fvec4) CompositeExtract 383 0 - 385: 18(fvec3) VectorShuffle 384 384 0 1 2 - 386: 56(fvec4) CompositeExtract 383 1 - 387: 18(fvec3) VectorShuffle 386 386 0 1 2 - 388: 56(fvec4) CompositeExtract 383 2 - 389: 18(fvec3) VectorShuffle 388 388 0 1 2 - 390: 182 CompositeConstruct 385 387 389 - 391: 18(fvec3) VectorTimesMatrix 379 390 - 392: 103(ptr) AccessChain 91(output) 315 - Store 392 391 - 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 394 394 16 16 - 395: 103(ptr) AccessChain 74(input) 162 - 396: 18(fvec3) Load 395 - 397: 103(ptr) AccessChain 74(input) 287 - 398: 18(fvec3) Load 397 - 399: 18(fvec3) FAdd 396 398 - 400: 8(float) CompositeExtract 399 0 - 401: 8(float) CompositeExtract 399 1 - 402: 8(float) CompositeExtract 399 2 - 403: 56(fvec4) CompositeConstruct 400 401 402 196 - 404: 366(ptr) AccessChain 159 162 315 - 405: 131 Load 404 - 406: 56(fvec4) VectorTimesMatrix 403 405 - Store 344(pos) 406 - 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 408 408 16 16 - 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 410 409(lPos) 85 - 414: 413(ptr) AccessChain 159 162 101 - 415: 56(fvec4) Load 414 - 416: 18(fvec3) VectorShuffle 415 415 0 1 2 - 417: 366(ptr) AccessChain 159 162 315 - 418: 131 Load 417 - 419: 56(fvec4) CompositeExtract 418 0 - 420: 18(fvec3) VectorShuffle 419 419 0 1 2 - 421: 56(fvec4) CompositeExtract 418 1 - 422: 18(fvec3) VectorShuffle 421 421 0 1 2 - 423: 56(fvec4) CompositeExtract 418 2 - 424: 18(fvec3) VectorShuffle 423 423 0 1 2 - 425: 182 CompositeConstruct 420 422 424 - 426: 18(fvec3) VectorTimesMatrix 416 425 - Store 409(lPos) 426 - 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 428 428 16 16 - 429: 18(fvec3) Load 409(lPos) - 430: 56(fvec4) Load 344(pos) - 431: 18(fvec3) VectorShuffle 430 430 0 1 2 - 432: 18(fvec3) FSub 429 431 - 433: 103(ptr) AccessChain 91(output) 128 - Store 433 432 - 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 435 435 16 16 - 436: 56(fvec4) Load 344(pos) - 437: 18(fvec3) VectorShuffle 436 436 0 1 2 - 438: 18(fvec3) FNegate 437 - 439: 103(ptr) AccessChain 91(output) 287 - Store 439 438 - 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 441 441 16 16 - 442:58(VSOutput) Load 91(output) - ReturnValue 442 + 250: 171(ptr) AccessChain 167 170 105 + 251: 8(float) Load 250 + 252: 8(float) FAdd 249 251 + 253: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 252 + Store 131(s) 253 + 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 255 255 16 16 + 256: 129(ptr) AccessChain 76(input) 135 21 + 257: 8(float) Load 256 + 258: 171(ptr) AccessChain 167 170 105 + 259: 8(float) Load 258 + 260: 8(float) FAdd 257 259 + 261: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 260 + Store 179(c) 261 + 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 263 263 16 16 + 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 265 264(mz) 87 + 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 269 269 16 16 + 270: 8(float) Load 179(c) + 271: 8(float) Load 131(s) + 272: 8(float) FNegate 271 + 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 274 274 16 16 + 275: 8(float) Load 131(s) + 276: 8(float) Load 179(c) + 277: 18(fvec3) CompositeConstruct 206 98 98 + 278: 18(fvec3) CompositeConstruct 98 270 272 + 279: 18(fvec3) CompositeConstruct 98 275 276 + 280: 191 CompositeConstruct 277 278 279 + 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 263 263 16 16 + Store 264(mz) 280 + 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 283 283 16 16 + 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 285 284(rotMat) 87 + 288: 191 Load 195(mx) + 289: 191 Load 230(my) + 290: 191 MatrixTimesMatrix 288 289 + 291: 191 Load 264(mz) + 292: 191 MatrixTimesMatrix 290 291 + Store 284(rotMat) 292 + 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 294 294 16 16 + 295: 129(ptr) AccessChain 76(input) 135 52 + 296: 8(float) Load 295 + 298: 171(ptr) AccessChain 167 170 297 + 299: 8(float) Load 298 + 300: 8(float) FAdd 296 299 + 301: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 300 + Store 131(s) 301 + 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 303 303 16 16 + 304: 129(ptr) AccessChain 76(input) 135 52 + 305: 8(float) Load 304 + 306: 171(ptr) AccessChain 167 170 297 + 307: 8(float) Load 306 + 308: 8(float) FAdd 305 307 + 309: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 308 + Store 179(c) 309 + 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 311 311 16 16 + 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 315 314(gRotMat) 87 + 318: 8(float) Load 179(c) + 319: 8(float) Load 131(s) + 320: 8(float) FNegate 319 + 321: 58(fvec4) CompositeConstruct 318 98 320 98 + 324: 322(ptr) AccessChain 314(gRotMat) 170 + Store 324 321 + 325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 326 326 16 16 + 329: 322(ptr) AccessChain 314(gRotMat) 327 + Store 329 328 + 330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 331 331 16 16 + 332: 8(float) Load 131(s) + 333: 8(float) Load 179(c) + 334: 58(fvec4) CompositeConstruct 332 98 333 98 + 335: 322(ptr) AccessChain 314(gRotMat) 104 + Store 335 334 + 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 337 337 16 16 + 339: 322(ptr) AccessChain 314(gRotMat) 105 + Store 339 338 + 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(locPos) 87 + 346: 106(ptr) AccessChain 76(input) 170 + 347: 18(fvec3) Load 346 + 348: 191 Load 284(rotMat) + 349: 18(fvec3) VectorTimesMatrix 347 348 + 350: 8(float) CompositeExtract 349 0 + 351: 8(float) CompositeExtract 349 1 + 352: 8(float) CompositeExtract 349 2 + 353: 58(fvec4) CompositeConstruct 350 351 352 206 + Store 342(locPos) 353 + 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 355 355 16 16 + 359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 357 356(pos) 87 + 360: 58(fvec4) Load 342(locPos) + 361: 18(fvec3) VectorShuffle 360 360 0 1 2 + 363: 129(ptr) AccessChain 76(input) 362 + 364: 8(float) Load 363 + 365: 18(fvec3) VectorTimesScalar 361 364 + 366: 106(ptr) AccessChain 76(input) 297 + 367: 18(fvec3) Load 366 + 368: 18(fvec3) FAdd 365 367 + 369: 8(float) CompositeExtract 368 0 + 370: 8(float) CompositeExtract 368 1 + 371: 8(float) CompositeExtract 368 2 + 372: 58(fvec4) CompositeConstruct 369 370 371 206 + Store 356(pos) 372 + 373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 374 374 16 16 + 375: 58(fvec4) Load 356(pos) + 376: 138 Load 314(gRotMat) + 377: 58(fvec4) VectorTimesMatrix 375 376 + 380: 378(ptr) AccessChain 167 170 327 + 381: 138 Load 380 + 382: 58(fvec4) VectorTimesMatrix 377 381 + 383: 378(ptr) AccessChain 167 170 170 + 384: 138 Load 383 + 385: 58(fvec4) VectorTimesMatrix 382 384 + 386: 322(ptr) AccessChain 94(output) 170 + Store 386 385 + 387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 388 388 16 16 + 389: 106(ptr) AccessChain 76(input) 327 + 390: 18(fvec3) Load 389 + 391: 191 Load 284(rotMat) + 392: 18(fvec3) VectorTimesMatrix 390 391 + 393: 138 Load 314(gRotMat) + 394: 378(ptr) AccessChain 167 170 327 + 395: 138 Load 394 + 396: 138 MatrixTimesMatrix 393 395 + 397: 58(fvec4) CompositeExtract 396 0 + 398: 18(fvec3) VectorShuffle 397 397 0 1 2 + 399: 58(fvec4) CompositeExtract 396 1 + 400: 18(fvec3) VectorShuffle 399 399 0 1 2 + 401: 58(fvec4) CompositeExtract 396 2 + 402: 18(fvec3) VectorShuffle 401 401 0 1 2 + 403: 191 CompositeConstruct 398 400 402 + 404: 18(fvec3) VectorTimesMatrix 392 403 + 405: 106(ptr) AccessChain 94(output) 327 + Store 405 404 + 406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 407 407 16 16 + 408: 106(ptr) AccessChain 76(input) 170 + 409: 18(fvec3) Load 408 + 410: 106(ptr) AccessChain 76(input) 297 + 411: 18(fvec3) Load 410 + 412: 18(fvec3) FAdd 409 411 + 413: 8(float) CompositeExtract 412 0 + 414: 8(float) CompositeExtract 412 1 + 415: 8(float) CompositeExtract 412 2 + 416: 58(fvec4) CompositeConstruct 413 414 415 206 + 417: 378(ptr) AccessChain 167 170 327 + 418: 138 Load 417 + 419: 58(fvec4) VectorTimesMatrix 416 418 + Store 356(pos) 419 + 420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 421 421 16 16 + 425: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 423 422(lPos) 87 + 428: 426(ptr) AccessChain 167 170 104 + 429: 58(fvec4) Load 428 + 430: 18(fvec3) VectorShuffle 429 429 0 1 2 + 431: 378(ptr) AccessChain 167 170 327 + 432: 138 Load 431 + 433: 58(fvec4) CompositeExtract 432 0 + 434: 18(fvec3) VectorShuffle 433 433 0 1 2 + 435: 58(fvec4) CompositeExtract 432 1 + 436: 18(fvec3) VectorShuffle 435 435 0 1 2 + 437: 58(fvec4) CompositeExtract 432 2 + 438: 18(fvec3) VectorShuffle 437 437 0 1 2 + 439: 191 CompositeConstruct 434 436 438 + 440: 18(fvec3) VectorTimesMatrix 430 439 + Store 422(lPos) 440 + 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16 + 443: 18(fvec3) Load 422(lPos) + 444: 58(fvec4) Load 356(pos) + 445: 18(fvec3) VectorShuffle 444 444 0 1 2 + 446: 18(fvec3) FSub 443 445 + 447: 106(ptr) AccessChain 94(output) 135 + Store 447 446 + 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 449 449 16 16 + 450: 58(fvec4) Load 356(pos) + 451: 18(fvec3) VectorShuffle 450 450 0 1 2 + 452: 18(fvec3) FNegate 451 + 453: 106(ptr) AccessChain 94(output) 297 + Store 453 452 + 454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 455 455 16 16 + 456:60(VSOutput) Load 94(output) + ReturnValue 456 FunctionEnd diff --git a/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out b/Test/baseResults/spv.debuginfo.scalar_types.glsl.frag.out index d244fd15..e17bf1a9 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 158 Capability Shader Capability Float16 @@ -27,42 +27,42 @@ spv.debuginfo.scalar_types.glsl.frag #line 1 " 30: String "bool" - 35: 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" + 36: String "VAR_bool" + 42: String "int" + 48: String "VAR_int" + 56: String "VAR_uint" + 60: String "float" + 66: String "VAR_float" + 71: String "double" + 78: String "VAR_double" + 83: String "int8_t" + 89: String "VAR_int8_t" + 94: String "uint8_t" + 100: String "VAR_uint8_t" + 105: String "int16_t" + 112: String "VAR_int16_t" + 117: String "uint16_t" + 123: String "VAR_uint16_t" + 128: String "int64_t" + 134: String "VAR_int64_t" + 139: String "uint64_t" + 145: String "VAR_uint64_t" + 150: String "float16_t" + 156: String "VAR_float16_t" SourceExtension "GL_EXT_shader_explicit_arithmetic_types" Name 14 "main" - Name 33 "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 34 "VAR_bool" + Name 46 "VAR_int" + Name 54 "VAR_uint" + Name 64 "VAR_float" + Name 76 "VAR_double" + Name 87 "VAR_int8_t" + Name 98 "VAR_uint8_t" + Name 110 "VAR_int16_t" + Name 121 "VAR_uint16_t" + Name 132 "VAR_int64_t" + Name 143 "VAR_uint64_t" + Name 154 "VAR_float16_t" 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 @@ -83,114 +83,126 @@ spv.debuginfo.scalar_types.glsl.frag 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: 29(bool) ConstantFalse - 39: 7(int) Constant 44 - 40: TypeInt 32 1 - 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 41 10 23 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 18 39 12 21 46 44(VAR_int) 36 - 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 18 49 12 21 53 51(VAR_uint) 36 - 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 18 55 12 21 62 60(VAR_float) 36 - 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 18 65 12 21 73 71(VAR_double) 36 - 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 36 23 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 18 76 12 21 83 81(VAR_int8_t) 36 - 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 36 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 18 86 12 21 93 91(VAR_uint8_t) 36 - 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 23 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 18 96 12 21 104 102(VAR_int16_t) 36 - 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 18 107 12 21 114 112(VAR_uint16_t) 36 - 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 23 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 18 117 12 21 124 122(VAR_int64_t) 36 - 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 18 127 12 21 134 132(VAR_uint64_t) 36 - 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 18 137 12 21 144 142(VAR_float16_t) 36 - 145:138(float16_t) Constant 0 + 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 11 12 + 34(VAR_bool): 32(ptr) Variable Private + 37: 7(int) Constant 8 + 35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 36 31 18 28 12 21 36 34(VAR_bool) 37 + 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: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 43 11 12 + 46(VAR_int): 44(ptr) Variable Private + 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 48 43 18 40 12 21 48 46(VAR_int) 37 + 49: 41(int) Constant 0 + 51: 7(int) Constant 45 + 52: TypePointer Private 7(int) + 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 11 12 + 54(VAR_uint): 52(ptr) Variable Private + 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 56 9 18 51 12 21 56 54(VAR_uint) 37 + 58: 7(int) Constant 46 + 59: TypeFloat 32 + 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 60 10 13 12 + 62: TypePointer Private 59(float) + 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 61 11 12 + 64(VAR_float): 62(ptr) Variable Private + 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 66 61 18 58 12 21 66 64(VAR_float) 37 + 67: 59(float) Constant 0 + 69: 7(int) Constant 47 + 70: TypeFloat 64 + 73: 7(int) Constant 64 + 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 71 73 13 12 + 74: TypePointer Private 70(float64_t) + 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 72 11 12 + 76(VAR_double): 74(ptr) Variable Private + 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 78 72 18 69 12 21 78 76(VAR_double) 37 + 79:70(float64_t) Constant 0 0 + 81: 7(int) Constant 48 + 82: TypeInt 8 1 + 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 83 37 23 12 + 85: TypePointer Private 82(int8_t) + 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 84 11 12 + 87(VAR_int8_t): 85(ptr) Variable Private + 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 89 84 18 81 12 21 89 87(VAR_int8_t) 37 + 90: 82(int8_t) Constant 0 + 92: 7(int) Constant 49 + 93: TypeInt 8 0 + 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 94 37 11 12 + 96: TypePointer Private 93(int8_t) + 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 95 11 12 + 98(VAR_uint8_t): 96(ptr) Variable Private + 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 100 95 18 92 12 21 100 98(VAR_uint8_t) 37 + 101: 93(int8_t) Constant 0 + 103: 7(int) Constant 50 + 104: TypeInt 16 1 + 107: 7(int) Constant 16 + 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 105 107 23 12 + 108: TypePointer Private 104(int16_t) + 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 106 11 12 +110(VAR_int16_t): 108(ptr) Variable Private + 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 112 106 18 103 12 21 112 110(VAR_int16_t) 37 + 113:104(int16_t) Constant 0 + 115: 7(int) Constant 51 + 116: TypeInt 16 0 + 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 117 107 11 12 + 119: TypePointer Private 116(int16_t) + 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 118 11 12 +121(VAR_uint16_t): 119(ptr) Variable Private + 122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 123 118 18 115 12 21 123 121(VAR_uint16_t) 37 + 124:116(int16_t) Constant 0 + 126: 7(int) Constant 52 + 127: TypeInt 64 1 + 129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 128 73 23 12 + 130: TypePointer Private 127(int64_t) + 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 129 11 12 +132(VAR_int64_t): 130(ptr) Variable Private + 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 134 129 18 126 12 21 134 132(VAR_int64_t) 37 + 135:127(int64_t) Constant 0 0 + 137: 7(int) Constant 53 + 138: TypeInt 64 0 + 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 73 11 12 + 141: TypePointer Private 138(int64_t) + 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 140 11 12 +143(VAR_uint64_t): 141(ptr) Variable Private + 144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 145 140 18 137 12 21 145 143(VAR_uint64_t) 37 + 146:138(int64_t) Constant 0 0 + 148: 7(int) Constant 54 + 149: TypeFloat 16 + 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 150 107 13 12 + 152: TypePointer Private 149(float16_t) + 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 151 11 12 +154(VAR_float16_t): 152(ptr) Variable Private + 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 156 151 18 148 12 21 156 154(VAR_float16_t) 37 + 157:149(float16_t) Constant 0 Line 1 42 11 14(main): 4 Function None 5 15: Label 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 - Store 33(VAR_bool) 37 - 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 39 39 12 12 - Store 44(VAR_int) 47 - 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 49 49 12 12 - Store 51(VAR_uint) 12 - 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 55 55 12 12 - Store 60(VAR_float) 63 - 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 65 65 12 12 - Store 71(VAR_double) 74 - 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 76 76 12 12 - Store 81(VAR_int8_t) 84 - 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 86 86 12 12 - Store 91(VAR_uint8_t) 94 - 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 96 96 12 12 - Store 102(VAR_int16_t) 105 - 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 107 107 12 12 - Store 112(VAR_uint16_t) 115 - 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 117 117 12 12 - Store 122(VAR_int64_t) 125 - 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 127 127 12 12 - Store 132(VAR_uint64_t) 135 + Store 34(VAR_bool) 38 + 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 40 40 12 12 + Store 46(VAR_int) 49 + 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 51 51 12 12 + Store 54(VAR_uint) 12 + 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 58 58 12 12 + Store 64(VAR_float) 67 + 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12 + Store 76(VAR_double) 79 + 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12 + Store 87(VAR_int8_t) 90 + 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 92 92 12 12 + Store 98(VAR_uint8_t) 101 + 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 103 103 12 12 + Store 110(VAR_int16_t) 113 + 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 115 115 12 12 + Store 121(VAR_uint16_t) 124 + 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 126 126 12 12 + Store 132(VAR_int64_t) 135 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 137 137 12 12 - Store 142(VAR_float16_t) 145 + Store 143(VAR_uint64_t) 146 + 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 148 148 12 12 + Store 154(VAR_float16_t) 157 Return FunctionEnd