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