spv.debuginfo.scalar_types.glsl.frag // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 172 Capability Shader Capability Float16 Capability Float64 Capability Int64 Capability Int16 Capability Int8 Extension "SPV_KHR_non_semantic_info" 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 14 "main" ExecutionMode 14 OriginUpperLeft 2: String "spv.debuginfo.scalar_types.glsl.frag" 8: String "uint" 16: String "main" 19: String "/* The MIT License (MIT) Copyright (c) 2023 NVIDIA CORPORATION. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #version 460 #extension GL_EXT_shader_explicit_arithmetic_types : require bool VAR_bool; int VAR_int; uint VAR_uint; float VAR_float; double VAR_double; int8_t VAR_int8_t; uint8_t VAR_uint8_t; int16_t VAR_int16_t; uint16_t VAR_uint16_t; int64_t VAR_int64_t; uint64_t VAR_uint64_t; float16_t VAR_float16_t; void main() { VAR_bool = bool(0); VAR_int = int(0); VAR_uint = uint(0); VAR_float = float(0); VAR_double = double(0); VAR_int8_t = int8_t(0); VAR_uint8_t = uint8_t(0); VAR_int16_t = int16_t(0); VAR_uint16_t = uint16_t(0); VAR_int64_t = int64_t(0); VAR_uint64_t = uint64_t(0); VAR_float16_t = float16_t(0); }" 26: String "bool" 32: String "VAR_bool" 36: String "int" 42: String "VAR_int" 48: String "VAR_uint" 51: String "float" 57: String "VAR_float" 59: String "double" 66: String "VAR_double" 69: String "int8_t" 75: String "VAR_int8_t" 78: String "uint8_t" 84: String "VAR_uint8_t" 87: String "int16_t" 94: String "VAR_int16_t" 97: String "uint16_t" 103: String "VAR_uint16_t" 106: String "int64_t" 112: String "VAR_int64_t" 115: String "uint64_t" 121: String "VAR_uint64_t" 124: String "float16_t" 130: String "VAR_float16_t" SourceExtension "GL_EXT_shader_explicit_arithmetic_types" Name 14 "main" Name 30 "VAR_bool" Name 40 "VAR_int" Name 46 "VAR_uint" Name 55 "VAR_float" Name 64 "VAR_double" Name 73 "VAR_int8_t" Name 82 "VAR_uint8_t" Name 92 "VAR_int16_t" Name 101 "VAR_uint16_t" Name 110 "VAR_int64_t" Name 119 "VAR_uint64_t" Name 128 "VAR_float16_t" 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 42 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: TypeBool 27: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 26 10 24 12 28: TypePointer Private 25(bool) 29: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 27 11 12 30(VAR_bool): 28(ptr) Variable Private 33: 7(int) Constant 29 34: 7(int) Constant 8 31: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 32 27 18 33 12 21 32 30(VAR_bool) 34 35: TypeInt 32 1 37: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 36 10 23 12 38: TypePointer Private 35(int) 39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 37 11 12 40(VAR_int): 38(ptr) Variable Private 43: 7(int) Constant 30 41: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 42 37 18 43 12 21 42 40(VAR_int) 34 44: TypePointer Private 7(int) 45: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 11 12 46(VAR_uint): 44(ptr) Variable Private 49: 7(int) Constant 31 47: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 48 9 18 49 12 21 48 46(VAR_uint) 34 50: TypeFloat 32 52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 13 12 53: TypePointer Private 50(float) 54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 52 11 12 55(VAR_float): 53(ptr) Variable Private 56: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 57 52 18 10 12 21 57 55(VAR_float) 34 58: TypeFloat 64 61: 7(int) Constant 64 60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 59 61 13 12 62: TypePointer Private 58(float64_t) 63: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 11 12 64(VAR_double): 62(ptr) Variable Private 67: 7(int) Constant 33 65: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 66 60 18 67 12 21 66 64(VAR_double) 34 68: TypeInt 8 1 70: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 69 34 23 12 71: TypePointer Private 68(int8_t) 72: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 70 11 12 73(VAR_int8_t): 71(ptr) Variable Private 76: 7(int) Constant 34 74: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 75 70 18 76 12 21 75 73(VAR_int8_t) 34 77: TypeInt 8 0 79: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 78 34 11 12 80: TypePointer Private 77(int8_t) 81: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 79 11 12 82(VAR_uint8_t): 80(ptr) Variable Private 85: 7(int) Constant 35 83: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 84 79 18 85 12 21 84 82(VAR_uint8_t) 34 86: TypeInt 16 1 89: 7(int) Constant 16 88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 89 23 12 90: TypePointer Private 86(int16_t) 91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 88 11 12 92(VAR_int16_t): 90(ptr) Variable Private 95: 7(int) Constant 36 93: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 94 88 18 95 12 21 94 92(VAR_int16_t) 34 96: TypeInt 16 0 98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 97 89 11 12 99: TypePointer Private 96(int16_t) 100: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 98 11 12 101(VAR_uint16_t): 99(ptr) Variable Private 104: 7(int) Constant 37 102: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 103 98 18 104 12 21 103 101(VAR_uint16_t) 34 105: TypeInt 64 1 107: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 106 61 23 12 108: TypePointer Private 105(int64_t) 109: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 107 11 12 110(VAR_int64_t): 108(ptr) Variable Private 113: 7(int) Constant 38 111: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 112 107 18 113 12 21 112 110(VAR_int64_t) 34 114: TypeInt 64 0 116: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 115 61 11 12 117: TypePointer Private 114(int64_t) 118: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 116 11 12 119(VAR_uint64_t): 117(ptr) Variable Private 122: 7(int) Constant 39 120: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 121 116 18 122 12 21 121 119(VAR_uint64_t) 34 123: TypeFloat 16 125: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 124 89 13 12 126: TypePointer Private 123(float16_t) 127: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 125 11 12 128(VAR_float16_t): 126(ptr) Variable Private 131: 7(int) Constant 40 129: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 130 125 18 131 12 21 130 128(VAR_float16_t) 34 135: 25(bool) ConstantFalse 137: 7(int) Constant 43 138: 35(int) Constant 0 140: 7(int) Constant 44 142: 7(int) Constant 45 143: 50(float) Constant 0 145: 7(int) Constant 46 146:58(float64_t) Constant 0 0 148: 7(int) Constant 47 149: 68(int8_t) Constant 0 151: 7(int) Constant 48 152: 77(int8_t) Constant 0 154: 7(int) Constant 49 155: 86(int16_t) Constant 0 157: 7(int) Constant 50 158: 96(int16_t) Constant 0 160: 7(int) Constant 51 161:105(int64_t) Constant 0 0 163: 7(int) Constant 52 164:114(int64_t) Constant 0 0 166: 7(int) Constant 53 167:123(float16_t) Constant 0 169: 7(int) Constant 54 171: 7(int) Constant 55 14(main): 4 Function None 5 15: Label 133: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 134: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 20 20 12 12 132: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 136: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 137 137 12 12 Store 30(VAR_bool) 135 139: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 140 140 12 12 Store 40(VAR_int) 138 141: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 142 142 12 12 Store 46(VAR_uint) 12 144: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 145 145 12 12 Store 55(VAR_float) 143 147: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 148 148 12 12 Store 64(VAR_double) 146 150: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 151 151 12 12 Store 73(VAR_int8_t) 149 153: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 154 154 12 12 Store 82(VAR_uint8_t) 152 156: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 157 157 12 12 Store 92(VAR_int16_t) 155 159: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 160 160 12 12 Store 101(VAR_uint16_t) 158 162: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 163 163 12 12 Store 110(VAR_int64_t) 161 165: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12 Store 119(VAR_uint64_t) 164 168: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 169 169 12 12 Store 128(VAR_float16_t) 167 170: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 171 171 12 12 Return FunctionEnd