yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
e4c40890
main
1spv.debuginfo.include.glsl.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 112 5 6 Capability Shader 7 Extension "SPV_KHR_non_semantic_info" 8 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 9 4: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Fragment 15 "main" 62 12 ExecutionMode 15 OriginUpperLeft 13 2: String "spv.debuginfo.include.glsl.frag" 14 3: String "spv.debuginfo.include.glsl.h" 15 9: String "uint" 16 18: String "float" 17 31: String "headerFunction" 18 34: String " 19out vec4 headerOut; 20 21uniform UBO { 22 vec4 headerUboItem; 23}; 24 25vec4 headerFunction(vec4 a) { 26 return -a; 27}" 28 39: String "#version 450 29 30#extension GL_GOOGLE_include_directive : require 31#include "spv.debuginfo.include.glsl.h" 32 33vec4 mainFileFunction(vec4 v) { 34 return -v; 35} 36 37void main() { 38 headerOut = headerFunction(mainFileFunction(headerUboItem)); 39}" 40 42: String "a" 41 50: String "mainFileFunction" 42 53: String "v" 43 57: String "main" 44 64: String "headerOut" 45 67: String "headerUboItem" 46 70: String "UBO" 47 75: String "" 48 97: String "int" 49 SourceExtension "GL_GOOGLE_cpp_style_line_directive" 50 SourceExtension "GL_GOOGLE_include_directive" 51 Name 15 "main" 52 Name 29 "headerFunction(vf4;" 53 Name 28 "a" 54 Name 48 "mainFileFunction(vf4;" 55 Name 47 "v" 56 Name 62 "headerOut" 57 Name 65 "UBO" 58 MemberName 65(UBO) 0 "headerUboItem" 59 Name 73 "" 60 Name 100 "param" 61 Name 108 "param" 62 Decorate 62(headerOut) Location 0 63 Decorate 65(UBO) Block 64 MemberDecorate 65(UBO) 0 Offset 0 65 Decorate 73 Binding 0 66 Decorate 73 DescriptorSet 0 67 5: TypeVoid 68 6: TypeFunction 5 69 8: TypeInt 32 0 70 11: 8(int) Constant 32 71 12: 8(int) Constant 6 72 13: 8(int) Constant 0 73 10: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 11 12 13 74 14: 8(int) Constant 3 75 7: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 14 5 76 17: TypeFloat 32 77 19: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 18 11 14 13 78 20: TypeVector 17(float) 4 79 21: 8(int) Constant 4 80 22: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 19 21 81 23: TypePointer Function 20(fvec4) 82 24: 8(int) Constant 7 83 25: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 24 13 84 26: TypeFunction 20(fvec4) 23(ptr) 85 27: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 14 22 22 86 33: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 3 34 87 35: 8(int) Constant 8 88 37: 8(int) Constant 1 89 38: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 39 90 40: 8(int) Constant 2 91 36: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 21 38 40 92 32: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 31 27 33 35 13 36 31 14 35 93 41: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 42 22 33 35 13 32 21 37 94 44: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 95 51: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 50 27 38 12 13 36 50 14 12 96 52: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 22 38 12 13 51 21 37 97 59: 8(int) Constant 10 98 58: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 57 7 38 59 13 36 57 14 59 99 60: TypePointer Output 20(fvec4) 100 61: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 14 13 101 62(headerOut): 60(ptr) Variable Output 102 63: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 22 33 40 13 36 64 62(headerOut) 35 103 65(UBO): TypeStruct 20(fvec4) 104 68: 8(int) Constant 5 105 66: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 22 33 68 24 13 13 14 106 69: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 70 37 33 21 13 36 70 13 14 66 107 71: TypePointer Uniform 65(UBO) 108 72: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 69 40 13 109 73: 71(ptr) Variable Uniform 110 74: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 75 69 33 21 13 36 75 73 35 111 79: 8(int) Constant 9 112 96: TypeInt 32 1 113 98: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 97 11 21 13 114 99: 96(int) Constant 0 115 101: TypePointer Uniform 20(fvec4) 116 102: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 40 13 117 105: 8(int) Constant 11 118 111: 8(int) Constant 12 119 15(main): 5 Function None 6 120 16: Label 121 100(param): 23(ptr) Variable Function 122 108(param): 23(ptr) Variable Function 123 94: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58 124 95: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 59 59 13 13 125 93: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 58 15(main) 126 104: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 105 105 13 13 127 103: 101(ptr) AccessChain 73 99 128 106: 20(fvec4) Load 103 129 Store 100(param) 106 130 107: 20(fvec4) FunctionCall 48(mainFileFunction(vf4;) 100(param) 131 Store 108(param) 107 132 109: 20(fvec4) FunctionCall 29(headerFunction(vf4;) 108(param) 133 Store 62(headerOut) 109 134 110: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 111 111 13 13 135 Return 136 FunctionEnd 13729(headerFunction(vf4;): 20(fvec4) Function None 26 138 28(a): 23(ptr) FunctionParameter 139 30: Label 140 45: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 32 141 46: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 35 35 13 13 142 43: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 41 28(a) 44 143 76: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 32 29(headerFunction(vf4;) 144 78: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 79 79 13 13 145 77: 20(fvec4) Load 28(a) 146 80: 20(fvec4) FNegate 77 147 ReturnValue 80 148 FunctionEnd 14948(mainFileFunction(vf4;): 20(fvec4) Function None 26 150 47(v): 23(ptr) FunctionParameter 151 49: Label 152 55: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 51 153 56: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 12 12 13 13 154 54: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 47(v) 44 155 85: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 51 48(mainFileFunction(vf4;) 156 87: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 24 24 13 13 157 86: 20(fvec4) Load 47(v) 158 88: 20(fvec4) FNegate 86 159 ReturnValue 88 160 FunctionEnd