spv.debuginfo.scalar_types.glsl.frag // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 159 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 "// OpModuleProcessed auto-map-locations // OpModuleProcessed auto-map-bindings // OpModuleProcessed client vulkan100 // OpModuleProcessed target-env vulkan1.0 // OpModuleProcessed keep-uncalled // OpModuleProcessed entry-point main #line 1 /* 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); }" 29: String "bool" 35: String "VAR_bool" 41: String "int" 47: String "VAR_int" 55: String "VAR_uint" 59: String "float" 65: String "VAR_float" 70: String "double" 77: String "VAR_double" 82: String "int8_t" 88: String "VAR_int8_t" 93: String "uint8_t" 99: String "VAR_uint8_t" 104: String "int16_t" 111: String "VAR_int16_t" 116: String "uint16_t" 122: String "VAR_uint16_t" 127: String "int64_t" 133: String "VAR_int64_t" 138: String "uint64_t" 144: String "VAR_uint64_t" 149: String "float16_t" 155: String "VAR_float16_t" SourceExtension "GL_EXT_shader_explicit_arithmetic_types" Name 14 "main" Name 33 "VAR_bool" Name 45 "VAR_int" Name 53 "VAR_uint" Name 63 "VAR_float" Name 75 "VAR_double" Name 86 "VAR_int8_t" Name 97 "VAR_uint8_t" Name 109 "VAR_int16_t" Name 120 "VAR_uint16_t" Name 131 "VAR_int64_t" Name 142 "VAR_uint64_t" Name 153 "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 28: TypeBool 30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 24 12 31: TypePointer Private 28(bool) 32: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 30 11 12 33(VAR_bool): 31(ptr) Variable Private 36: 7(int) Constant 43 37: 7(int) Constant 8 34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 35 30 18 36 12 21 35 33(VAR_bool) 37 38: 28(bool) ConstantFalse 40: TypeInt 32 1 42: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 41 10 23 12 43: TypePointer Private 40(int) 44: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 42 11 12 45(VAR_int): 43(ptr) Variable Private 48: 7(int) Constant 44 46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 47 42 18 48 12 21 47 45(VAR_int) 37 49: 40(int) Constant 0 51: TypePointer Private 7(int) 52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 11 12 53(VAR_uint): 51(ptr) Variable Private 56: 7(int) Constant 45 54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 55 9 18 56 12 21 55 53(VAR_uint) 37 58: TypeFloat 32 60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 59 10 13 12 61: TypePointer Private 58(float) 62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 11 12 63(VAR_float): 61(ptr) Variable Private 66: 7(int) Constant 46 64: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 65 60 18 66 12 21 65 63(VAR_float) 37 67: 58(float) Constant 0 69: TypeFloat 64 72: 7(int) Constant 64 71: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 70 72 13 12 73: TypePointer Private 69(float64_t) 74: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 11 12 75(VAR_double): 73(ptr) Variable Private 78: 7(int) Constant 47 76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 77 71 18 78 12 21 77 75(VAR_double) 37 79:69(float64_t) Constant 0 0 81: TypeInt 8 1 83: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 82 37 23 12 84: TypePointer Private 81(int8_t) 85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 83 11 12 86(VAR_int8_t): 84(ptr) Variable Private 89: 7(int) Constant 48 87: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 88 83 18 89 12 21 88 86(VAR_int8_t) 37 90: 81(int8_t) Constant 0 92: TypeInt 8 0 94: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 93 37 11 12 95: TypePointer Private 92(int8_t) 96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 94 11 12 97(VAR_uint8_t): 95(ptr) Variable Private 100: 7(int) Constant 49 98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 99 94 18 100 12 21 99 97(VAR_uint8_t) 37 101: 92(int8_t) Constant 0 103: TypeInt 16 1 106: 7(int) Constant 16 105: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 104 106 23 12 107: TypePointer Private 103(int16_t) 108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 105 11 12 109(VAR_int16_t): 107(ptr) Variable Private 112: 7(int) Constant 50 110: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 111 105 18 112 12 21 111 109(VAR_int16_t) 37 113:103(int16_t) Constant 0 115: TypeInt 16 0 117: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 116 106 11 12 118: TypePointer Private 115(int16_t) 119: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 117 11 12 120(VAR_uint16_t): 118(ptr) Variable Private 123: 7(int) Constant 51 121: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 122 117 18 123 12 21 122 120(VAR_uint16_t) 37 124:115(int16_t) Constant 0 126: TypeInt 64 1 128: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 127 72 23 12 129: TypePointer Private 126(int64_t) 130: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 128 11 12 131(VAR_int64_t): 129(ptr) Variable Private 134: 7(int) Constant 52 132: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 133 128 18 134 12 21 133 131(VAR_int64_t) 37 135:126(int64_t) Constant 0 0 137: TypeInt 64 0 139: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 138 72 11 12 140: TypePointer Private 137(int64_t) 141: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 139 11 12 142(VAR_uint64_t): 140(ptr) Variable Private 145: 7(int) Constant 53 143: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 144 139 18 145 12 21 144 142(VAR_uint64_t) 37 146:137(int64_t) Constant 0 0 148: TypeFloat 16 150: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 149 106 13 12 151: TypePointer Private 148(float16_t) 152: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 150 11 12 153(VAR_float16_t): 151(ptr) Variable Private 156: 7(int) Constant 54 154: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 155 150 18 156 12 21 155 153(VAR_float16_t) 37 157:148(float16_t) Constant 0 14(main): 4 Function None 5 15: Label 26: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 27: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 20 20 12 12 25: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 36 36 12 12 Store 33(VAR_bool) 38 50: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 48 48 12 12 Store 45(VAR_int) 49 57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 56 56 12 12 Store 53(VAR_uint) 12 68: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 66 66 12 12 Store 63(VAR_float) 67 80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 78 78 12 12 Store 75(VAR_double) 79 91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 89 89 12 12 Store 86(VAR_int8_t) 90 102: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 100 100 12 12 Store 97(VAR_uint8_t) 101 114: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 112 112 12 12 Store 109(VAR_int16_t) 113 125: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 123 123 12 12 Store 120(VAR_uint16_t) 124 136: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 134 134 12 12 Store 131(VAR_int64_t) 135 147: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 145 145 12 12 Store 142(VAR_uint64_t) 146 158: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 156 156 12 12 Store 153(VAR_float16_t) 157 Return FunctionEnd