spv.debuginfo.ubo.glsl.frag // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 77 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" 55 ExecutionMode 14 OriginUpperLeft 2: String "spv.debuginfo.ubo.glsl.frag" 8: String "uint" 16: String "main" 19: String "#version 460 uniform UBO1 { vec4 memberA; }; uniform UBO2 { vec4 memberB; } uboInstance; out vec4 outColor; void main() { outColor = memberA + uboInstance.memberB; }" 26: String "float" 32: String "memberA" 35: String "UBO1" 40: String "" 44: String "memberB" 46: String "UBO2" 52: String "uboInstance" 57: String "outColor" 63: String "int" Name 14 "main" Name 30 "UBO1" MemberName 30(UBO1) 0 "memberA" Name 38 "" Name 42 "UBO2" MemberName 42(UBO2) 0 "memberB" Name 50 "uboInstance" Name 55 "outColor" Decorate 30(UBO1) Block MemberDecorate 30(UBO1) 0 Offset 0 Decorate 38 Binding 0 Decorate 38 DescriptorSet 0 Decorate 42(UBO2) Block MemberDecorate 42(UBO2) 0 Offset 0 Decorate 50(uboInstance) Binding 1 Decorate 50(uboInstance) DescriptorSet 0 Decorate 55(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 13 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(UBO1): TypeStruct 28(fvec4) 33: 7(int) Constant 10 31: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 32 29 18 23 33 12 12 13 34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 35 22 18 13 12 21 35 12 13 31 36: TypePointer Uniform 30(UBO1) 37: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 34 24 12 38: 36(ptr) Variable Uniform 41: 7(int) Constant 8 39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 40 34 18 13 12 21 40 38 41 42(UBO2): TypeStruct 28(fvec4) 43: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 44 29 18 41 33 12 12 13 47: 7(int) Constant 7 45: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 46 22 18 47 12 21 46 12 13 43 48: TypePointer Uniform 42(UBO2) 49: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 45 24 12 50(uboInstance): 48(ptr) Variable Uniform 51: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 52 45 18 47 12 21 52 50(uboInstance) 41 53: TypePointer Output 28(fvec4) 54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 29 13 12 55(outColor): 53(ptr) Variable Output 58: 7(int) Constant 11 56: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 57 29 18 58 12 21 57 55(outColor) 41 62: TypeInt 32 1 64: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 63 10 23 12 65: 62(int) Constant 0 66: TypePointer Uniform 28(fvec4) 67: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 29 24 12 70: 7(int) Constant 14 76: 7(int) Constant 15 14(main): 4 Function None 5 15: Label 60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 61: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 20 20 12 12 59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 69: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 70 70 12 12 68: 66(ptr) AccessChain 38 65 71: 28(fvec4) Load 68 72: 66(ptr) AccessChain 50(uboInstance) 65 73: 28(fvec4) Load 72 74: 28(fvec4) FAdd 71 73 Store 55(outColor) 74 75: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 76 76 12 12 Return FunctionEnd