yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
c6793af9
16.3.0
1spv.coopmat2_tensor.comp 2// Module Version 10600 3// Generated by (magic number): 8000b 4// Id's are bound by 162 5 6 Capability Shader 7 Capability Float16 8 Capability StorageUniformBufferBlock16 9 Capability VulkanMemoryModelKHR 10 Capability PhysicalStorageBufferAddressesEXT 11 Capability CooperativeMatrixTensorAddressingNV 12 Capability CooperativeMatrixBlockLoadsNV 13 Capability TensorAddressingNV 14 Capability CooperativeMatrixKHR 15 Extension "SPV_KHR_cooperative_matrix" 16 Extension "SPV_NV_cooperative_matrix2" 17 Extension "SPV_NV_tensor_addressing" 18 1: ExtInstImport "GLSL.std.450" 19 MemoryModel PhysicalStorageBuffer64EXT VulkanKHR 20 EntryPoint GLCompute 4 "main" 90 122 21 ExecutionMode 4 LocalSize 64 1 1 22 Source GLSL 450 23 SourceExtension "GL_EXT_buffer_reference" 24 SourceExtension "GL_EXT_shader_explicit_arithmetic_types" 25 SourceExtension "GL_KHR_cooperative_matrix" 26 SourceExtension "GL_KHR_memory_scope_semantics" 27 SourceExtension "GL_NV_cooperative_matrix2" 28 Name 4 "main" 29 Name 8 "fp16Buf" 30 MemberName 8(fp16Buf) 0 "f" 31 Name 16 "decode(1;u1[2];u1[2];" 32 Name 13 "b" 33 Name 14 "blockCoords" 34 Name 15 "coordInBlock" 35 Name 28 "t" 36 Name 35 "t2" 37 Name 56 "v" 38 Name 75 "v2" 39 Name 79 "v3" 40 Name 84 "A" 41 Name 88 "BufType" 42 MemberName 88(BufType) 0 "arr" 43 MemberName 88(BufType) 1 "x" 44 Name 90 "Buf" 45 Name 118 "S" 46 MemberName 118(S) 0 "x" 47 Name 120 "SBuf" 48 MemberName 120(SBuf) 0 "s" 49 Name 122 "sbuf" 50 Name 129 "Clamp" 51 Name 132 "tc" 52 Name 136 "Arr" 53 Name 151 "Clamp_signed" 54 Name 154 "tc_s" 55 Name 158 "v4" 56 Decorate 8(fp16Buf) Block 57 MemberDecorate 8(fp16Buf) 0 Offset 0 58 Decorate 13(b) Aliased 59 Decorate 85 ArrayStride 2 60 Decorate 86 ArrayStride 512 61 Decorate 87 ArrayStride 2 62 Decorate 88(BufType) Block 63 MemberDecorate 88(BufType) 0 Offset 0 64 MemberDecorate 88(BufType) 1 Offset 131072 65 Decorate 90(Buf) Binding 1 66 Decorate 90(Buf) DescriptorSet 0 67 MemberDecorate 118(S) 0 Offset 0 68 Decorate 119 ArrayStride 4 69 Decorate 120(SBuf) Block 70 MemberDecorate 120(SBuf) 0 Offset 0 71 Decorate 122(sbuf) Binding 0 72 Decorate 122(sbuf) DescriptorSet 0 73 Decorate 129(Clamp) SpecId 0 74 Decorate 151(Clamp_signed) SpecId 1 75 2: TypeVoid 76 3: TypeFunction 2 77 TypeForwardPointer 6 PhysicalStorageBufferEXT 78 7: TypeFloat 16 79 8(fp16Buf): TypeStruct 7(float16_t) 80 6: TypePointer PhysicalStorageBufferEXT 8(fp16Buf) 81 9: TypeInt 32 0 82 10: 9(int) Constant 2 83 11: TypeArray 9(int) 10 84 12: TypeFunction 7(float16_t) 6(ptr) 11 11 85 18: TypeInt 32 1 86 19: 18(int) Constant 0 87 20: TypePointer PhysicalStorageBufferEXT 7(float16_t) 88 25: 9(int) Constant 0 89 26: TypeTensorLayoutNV 10 25 90 27: TypePointer Function 26 91 29: 18(int) Constant 2 92 31: 9(int) Constant 3 93 32: 9(int) Constant 1 94 33: TypeTensorLayoutNV 31 32 95 34: TypePointer Function 33 96 36: 18(int) Constant 3 97 37: 18(int) Constant 1 98 40: 9(int) Constant 4 99 41: 9(int) Constant 8 100 44: 9(int) Constant 256 101 45: 9(int) Constant 512 102 48: 9(int) Constant 128 103 49: 9(int) Constant 32 104 51: 9(int) Constant 5 105 52: TypeBool 106 53: 52(bool) ConstantFalse 107 54: TypeTensorViewNV 51 53 25 32 10 31 40 108 55: TypePointer Function 54 109 57: 18(int) Constant 5 110 60: 9(int) Constant 10 111 61: 9(int) Constant 11 112 62: 9(int) Constant 12 113 63: 9(int) Constant 13 114 64: 9(int) Constant 14 115 67: 9(int) Constant 15 116 70: 9(int) Constant 16 117 72: 52(bool) ConstantTrue 118 73: TypeTensorViewNV 51 72 25 32 10 31 40 119 74: TypePointer Function 73 120 77: TypeTensorViewNV 10 72 32 25 121 78: TypePointer Function 77 122 81: 9(int) Constant 64 123 82: TypeCooperativeMatrixKHR 7(float16_t) 10 81 49 25 124 83: TypePointer Function 82 125 85: TypeArray 7(float16_t) 44 126 86: TypeArray 85 44 127 87: TypeRuntimeArray 7(float16_t) 128 88(BufType): TypeStruct 86 87 129 89: TypePointer StorageBuffer 88(BufType) 130 90(Buf): 89(ptr) Variable StorageBuffer 131 91: TypePointer StorageBuffer 7(float16_t) 132 117: TypeVector 7(float16_t) 2 133 118(S): TypeStruct 117(f16vec2) 134 119: TypeRuntimeArray 118(S) 135 120(SBuf): TypeStruct 119 136 121: TypePointer StorageBuffer 120(SBuf) 137 122(sbuf): 121(ptr) Variable StorageBuffer 138 123: TypePointer StorageBuffer 118(S) 139 129(Clamp): 9(int) SpecConstant 1 140 130: TypeTensorLayoutNV 10 129(Clamp) 141 131: TypePointer Function 130 142 134: TypeArray 82 10 143 135: TypePointer Function 134 144 142: 18(int) Constant 8 145 148: 18(int) Constant 16 146151(Clamp_signed): 18(int) SpecConstant 1 147 152: TypeTensorLayoutNV 10 151(Clamp_signed) 148 153: TypePointer Function 152 149 156: TypeTensorViewNV 129(Clamp) 72 25 150 157: TypePointer Function 156 151 160: TypeVector 9(int) 3 152 161: 160(ivec3) ConstantComposite 81 32 32 153 4(main): 2 Function None 3 154 5: Label 155 28(t): 27(ptr) Variable Function 156 35(t2): 34(ptr) Variable Function 157 56(v): 55(ptr) Variable Function 158 75(v2): 74(ptr) Variable Function 159 79(v3): 78(ptr) Variable Function 160 84(A): 83(ptr) Variable Function 161 132(tc): 131(ptr) Variable Function 162 136(Arr): 135(ptr) Variable Function 163 154(tc_s): 153(ptr) Variable Function 164 158(v4): 157(ptr) Variable Function 165 30: 26 CreateTensorLayoutNV 166 Store 28(t) 30 167 38: 33 CreateTensorLayoutNV 168 Store 35(t2) 38 169 39: 26 Load 28(t) 170 42: 26 TensorLayoutSetBlockSizeNV 39 40 41 171 Store 28(t) 42 172 43: 26 Load 28(t) 173 46: 26 TensorLayoutSetDimensionNV 43 44 45 174 Store 28(t) 46 175 47: 26 Load 28(t) 176 50: 26 TensorLayoutSliceNV 47 48 49 44 49 177 Store 28(t) 50 178 58: 54 CreateTensorViewNV 179 Store 56(v) 58 180 59: 54 Load 56(v) 181 65: 54 TensorViewSetDimensionNV 59 60 61 62 63 64 182 Store 56(v) 65 183 66: 54 Load 56(v) 184 68: 54 TensorViewSetStrideNV 66 60 61 62 63 67 185 Store 56(v) 68 186 69: 54 Load 56(v) 187 71: 54 TensorViewSetClipNV 69 25 70 25 70 188 Store 56(v) 71 189 76: 73 CreateTensorViewNV 190 Store 75(v2) 76 191 80: 77 CreateTensorViewNV 192 Store 79(v3) 80 193 92: 91(ptr) AccessChain 90(Buf) 37 25 194 93: 26 Load 28(t) 195 94: 82 Load 84(A) 196 95: 82 CooperativeMatrixLoadTensorNV 92 94 93 None None 197 Store 84(A) 95 198 96: 82 Load 84(A) 199 97: 91(ptr) AccessChain 90(Buf) 37 25 200 98: 26 Load 28(t) 201 CooperativeMatrixStoreTensorNV 97 96 98 None None 202 99: 91(ptr) AccessChain 90(Buf) 37 25 203 100: 26 Load 28(t) 204 101: 54 Load 56(v) 205 102: 82 Load 84(A) 206 103: 82 CooperativeMatrixLoadTensorNV 99 102 100 None TensorView 101 207 Store 84(A) 103 208 104: 82 Load 84(A) 209 105: 91(ptr) AccessChain 90(Buf) 37 25 210 106: 26 Load 28(t) 211 107: 54 Load 56(v) 212 CooperativeMatrixStoreTensorNV 105 104 106 None TensorView 107 213 108: 91(ptr) AccessChain 90(Buf) 37 25 214 109: 26 Load 28(t) 215 110: 82 Load 84(A) 216 111: 82 CooperativeMatrixLoadTensorNV 108 110 109 None DecodeFunc 16(decode(1;u1[2];u1[2];) 217 Store 84(A) 111 218 112: 91(ptr) AccessChain 90(Buf) 37 25 219 113: 26 Load 28(t) 220 114: 54 Load 56(v) 221 115: 82 Load 84(A) 222 116: 82 CooperativeMatrixLoadTensorNV 112 115 113 None TensorView DecodeFunc 114 16(decode(1;u1[2];u1[2];) 223 Store 84(A) 116 224 124: 123(ptr) AccessChain 122(sbuf) 19 32 225 125: 26 Load 28(t) 226 126: 54 Load 56(v) 227 127: 82 Load 84(A) 228 128: 82 CooperativeMatrixLoadTensorNV 124 127 125 None TensorView DecodeFunc 126 16(decode(1;u1[2];u1[2];) 229 Store 84(A) 128 230 133: 130 CreateTensorLayoutNV 231 Store 132(tc) 133 232 137: 83(ptr) AccessChain 136(Arr) 37 233 138: 91(ptr) AccessChain 90(Buf) 37 25 234 139: 26 Load 28(t) 235 140: 82 Load 137 236 141: 82 CooperativeMatrixLoadTensorNV 138 140 139 None None 237 Store 137 141 238 143: 91(ptr) AccessChain 90(Buf) 19 142 25 239 144: 26 Load 28(t) 240 145: 82 Load 84(A) 241 146: 82 CooperativeMatrixLoadTensorNV 143 145 144 None None 242 Store 84(A) 146 243 147: 82 Load 84(A) 244 149: 91(ptr) AccessChain 90(Buf) 19 148 25 245 150: 26 Load 28(t) 246 CooperativeMatrixStoreTensorNV 149 147 150 None None 247 155: 152 CreateTensorLayoutNV 248 Store 154(tc_s) 155 249 159: 156 CreateTensorViewNV 250 Store 158(v4) 159 251 Return 252 FunctionEnd 25316(decode(1;u1[2];u1[2];):7(float16_t) Function None 12 254 13(b): 6(ptr) FunctionParameter 255 14(blockCoords): 11 FunctionParameter 25615(coordInBlock): 11 FunctionParameter 257 17: Label 258 21: 20(ptr) AccessChain 13(b) 19 259 22:7(float16_t) Load 21 Aligned 2 260 ReturnValue 22 261 FunctionEnd