| spv.debuginfo.include.glsl.frag | |
| // Module Version 10000 | |
| // Generated by (magic number): 8000b | |
| // Id's are bound by 112 | |
| Capability Shader | |
| Extension "SPV_KHR_non_semantic_info" | |
| 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" | |
| 4: ExtInstImport "GLSL.std.450" | |
| MemoryModel Logical GLSL450 | |
| EntryPoint Fragment 15 "main" 62 | |
| ExecutionMode 15 OriginUpperLeft | |
| 2: String "spv.debuginfo.include.glsl.frag" | |
| 3: String "spv.debuginfo.include.glsl.h" | |
| 9: String "uint" | |
| 18: String "float" | |
| 31: String "headerFunction" | |
| 34: String " | |
| out vec4 headerOut; | |
| uniform UBO { | |
| vec4 headerUboItem; | |
| }; | |
| vec4 headerFunction(vec4 a) { | |
| return -a; | |
| }" | |
| 39: String "#version 450 | |
| #extension GL_GOOGLE_include_directive : require | |
| #include "spv.debuginfo.include.glsl.h" | |
| vec4 mainFileFunction(vec4 v) { | |
| return -v; | |
| } | |
| void main() { | |
| headerOut = headerFunction(mainFileFunction(headerUboItem)); | |
| }" | |
| 42: String "a" | |
| 50: String "mainFileFunction" | |
| 53: String "v" | |
| 57: String "main" | |
| 64: String "headerOut" | |
| 67: String "headerUboItem" | |
| 70: String "UBO" | |
| 75: String "" | |
| 97: String "int" | |
| SourceExtension "GL_GOOGLE_cpp_style_line_directive" | |
| SourceExtension "GL_GOOGLE_include_directive" | |
| Name 15 "main" | |
| Name 29 "headerFunction(vf4;" | |
| Name 28 "a" | |
| Name 48 "mainFileFunction(vf4;" | |
| Name 47 "v" | |
| Name 62 "headerOut" | |
| Name 65 "UBO" | |
| MemberName 65(UBO) 0 "headerUboItem" | |
| Name 73 "" | |
| Name 100 "param" | |
| Name 108 "param" | |
| Decorate 62(headerOut) Location 0 | |
| Decorate 65(UBO) Block | |
| MemberDecorate 65(UBO) 0 Offset 0 | |
| Decorate 73 Binding 0 | |
| Decorate 73 DescriptorSet 0 | |
| 5: TypeVoid | |
| 6: TypeFunction 5 | |
| 8: TypeInt 32 0 | |
| 11: 8(int) Constant 32 | |
| 12: 8(int) Constant 6 | |
| 13: 8(int) Constant 0 | |
| 10: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 11 12 13 | |
| 14: 8(int) Constant 3 | |
| 7: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 14 5 | |
| 17: TypeFloat 32 | |
| 19: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 18 11 14 13 | |
| 20: TypeVector 17(float) 4 | |
| 21: 8(int) Constant 4 | |
| 22: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 19 21 | |
| 23: TypePointer Function 20(fvec4) | |
| 24: 8(int) Constant 7 | |
| 25: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 24 13 | |
| 26: TypeFunction 20(fvec4) 23(ptr) | |
| 27: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 14 22 22 | |
| 33: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 3 34 | |
| 35: 8(int) Constant 8 | |
| 37: 8(int) Constant 1 | |
| 38: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 39 | |
| 40: 8(int) Constant 2 | |
| 36: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 21 38 40 | |
| 32: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 31 27 33 35 13 36 31 14 35 | |
| 41: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 42 22 33 35 13 32 21 37 | |
| 44: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) | |
| 51: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 50 27 38 12 13 36 50 14 12 | |
| 52: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 22 38 12 13 51 21 37 | |
| 59: 8(int) Constant 10 | |
| 58: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 57 7 38 59 13 36 57 14 59 | |
| 60: TypePointer Output 20(fvec4) | |
| 61: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 14 13 | |
| 62(headerOut): 60(ptr) Variable Output | |
| 63: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 22 33 40 13 36 64 62(headerOut) 35 | |
| 65(UBO): TypeStruct 20(fvec4) | |
| 68: 8(int) Constant 5 | |
| 66: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 22 33 68 24 13 13 14 | |
| 69: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 70 37 33 21 13 36 70 13 14 66 | |
| 71: TypePointer Uniform 65(UBO) | |
| 72: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 69 40 13 | |
| 73: 71(ptr) Variable Uniform | |
| 74: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 75 69 33 21 13 36 75 73 35 | |
| 79: 8(int) Constant 9 | |
| 96: TypeInt 32 1 | |
| 98: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 97 11 21 13 | |
| 99: 96(int) Constant 0 | |
| 101: TypePointer Uniform 20(fvec4) | |
| 102: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 40 13 | |
| 105: 8(int) Constant 11 | |
| 111: 8(int) Constant 12 | |
| 15(main): 5 Function None 6 | |
| 16: Label | |
| 100(param): 23(ptr) Variable Function | |
| 108(param): 23(ptr) Variable Function | |
| 94: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 | |
| 95: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 59 59 13 13 | |
| 93: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 58 15(main) | |
| 104: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 105 105 13 13 | |
| 103: 101(ptr) AccessChain 73 99 | |
| 106: 20(fvec4) Load 103 | |
| Store 100(param) 106 | |
| 107: 20(fvec4) FunctionCall 48(mainFileFunction(vf4;) 100(param) | |
| Store 108(param) 107 | |
| 109: 20(fvec4) FunctionCall 29(headerFunction(vf4;) 108(param) | |
| Store 62(headerOut) 109 | |
| 110: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 111 111 13 13 | |
| Return | |
| FunctionEnd | |
| 29(headerFunction(vf4;): 20(fvec4) Function None 26 | |
| 28(a): 23(ptr) FunctionParameter | |
| 30: Label | |
| 45: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 32 | |
| 46: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 35 35 13 13 | |
| 43: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 41 28(a) 44 | |
| 76: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 32 29(headerFunction(vf4;) | |
| 78: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 79 79 13 13 | |
| 77: 20(fvec4) Load 28(a) | |
| 80: 20(fvec4) FNegate 77 | |
| ReturnValue 80 | |
| FunctionEnd | |
| 48(mainFileFunction(vf4;): 20(fvec4) Function None 26 | |
| 47(v): 23(ptr) FunctionParameter | |
| 49: Label | |
| 55: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 51 | |
| 56: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 12 12 13 13 | |
| 54: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 47(v) 44 | |
| 85: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 51 48(mainFileFunction(vf4;) | |
| 87: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 24 24 13 13 | |
| 86: 20(fvec4) Load 47(v) | |
| 88: 20(fvec4) FNegate 86 | |
| ReturnValue 88 | |
| FunctionEnd |