spv.debuginfo.const_variables.glsl.frag // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 56 Capability Shader Extension "SPV_KHR_non_semantic_info" 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 14 "main" 38 ExecutionMode 14 OriginUpperLeft 2: String "spv.debuginfo.const_variables.glsl.frag" 8: String "uint" 16: String "main" 19: String "#version 460 const vec4 constGlobal = vec4(1.0, 0.0, 0.0, 1.0); out vec4 outColor; void main() { const float constLocal = 3.14; outColor = constGlobal * constLocal; }" 26: String "float" 34: String "constGlobal" 40: String "outColor" 47: String "constLocal" Name 14 "main" Name 38 "outColor" Decorate 38(outColor) Location 0 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 10: 7(int) Constant 32 11: 7(int) Constant 6 12: 7(int) Constant 0 9: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 18: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 19 20: 7(int) Constant 7 22: 7(int) Constant 1 23: 7(int) Constant 4 24: 7(int) Constant 2 21: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24 17: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20 25: TypeFloat 32 27: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 26 10 13 12 28: TypeVector 25(float) 4 29: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 27 23 30: 25(float) Constant 1065353216 31: 25(float) Constant 0 32: 28(fvec4) ConstantComposite 30 31 31 30 35: 7(int) Constant 8 33: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 34 29 18 13 12 21 34 32 35 36: TypePointer Output 28(fvec4) 37: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 29 13 12 38(outColor): 36(ptr) Variable Output 41: 7(int) Constant 5 39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 40 29 18 41 12 21 40 38(outColor) 35 45: 25(float) Constant 1078523331 46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 27 18 35 12 17 23 49: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 51: 28(fvec4) ConstantComposite 45 31 31 45 53: 7(int) Constant 9 55: 7(int) Constant 10 14(main): 4 Function None 5 15: Label 43: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 44: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 20 20 12 12 42: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 50: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 35 35 12 12 48: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 29(DebugValue) 46 45 49 52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 53 53 12 12 Store 38(outColor) 51 54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 55 55 12 12 Return FunctionEnd