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