yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
0f99286a
main
1spv.coopmat2_decode_vector.comp 2// Module Version 10600 3// Generated by (magic number): 8000b 4// Id's are bound by 197 5 6 Capability Shader 7 Capability Float16 8 Capability Int8 9 Capability StorageUniformBufferBlock16 10 Capability StorageBuffer8BitAccess 11 Capability VulkanMemoryModelKHR 12 Capability PhysicalStorageBufferAddressesEXT 13 Capability LongVectorEXT 14 Capability CooperativeMatrixTensorAddressingNV 15 Capability CooperativeMatrixBlockLoadsNV 16 Capability TensorAddressingNV 17 Capability CooperativeMatrixDecodeVectorNV 18 Capability CooperativeMatrixKHR 19 Extension "SPV_EXT_long_vector" 20 Extension "SPV_KHR_cooperative_matrix" 21 Extension "SPV_NV_cooperative_matrix2" 22 Extension "SPV_NV_cooperative_matrix_decode_vector" 23 Extension "SPV_NV_tensor_addressing" 24 1: ExtInstImport "GLSL.std.450" 25 MemoryModel PhysicalStorageBuffer64EXT VulkanKHR 26 EntryPoint GLCompute 4 "main" 160 172 27 ExecutionMode 4 LocalSize 64 1 1 28 Source GLSL 450 29 SourceExtension "GL_EXT_buffer_reference" 30 SourceExtension "GL_EXT_long_vector" 31 SourceExtension "GL_EXT_shader_explicit_arithmetic_types" 32 SourceExtension "GL_KHR_cooperative_matrix" 33 SourceExtension "GL_KHR_memory_scope_semantics" 34 SourceExtension "GL_NV_cooperative_matrix2" 35 SourceExtension "GL_NV_cooperative_matrix_decode_vector" 36 Name 4 "main" 37 Name 8 "dwordBuf" 38 MemberName 8(dwordBuf) 0 "d" 39 Name 16 "decodeF16Scalar(bref-dwordBuf1;u1[2];u1[2];" 40 Name 13 "b" 41 Name 14 "blockCoords" 42 Name 15 "coordInBlock" 43 Name 23 "decodeF16x2(bref-dwordBuf1;u1[2];u1[2];" 44 Name 20 "b" 45 Name 21 "blockCoords" 46 Name 22 "coordInBlock" 47 Name 30 "decodeF16x4(bref-dwordBuf1;u1[2];u1[2];" 48 Name 27 "b" 49 Name 28 "blockCoords" 50 Name 29 "coordInBlock" 51 Name 37 "decodeU8Scalar(bref-dwordBuf1;u1[2];u1[2];" 52 Name 34 "b" 53 Name 35 "blockCoords" 54 Name 36 "coordInBlock" 55 Name 44 "decodeU8x4(bref-dwordBuf1;u1[2];u1[2];" 56 Name 41 "b" 57 Name 42 "blockCoords" 58 Name 43 "coordInBlock" 59 Name 51 "decodeU8x8(bref-dwordBuf1;u1[2];u1[2];" 60 Name 48 "b" 61 Name 49 "blockCoords" 62 Name 50 "coordInBlock" 63 Name 141 "t" 64 Name 156 "A" 65 Name 158 "BufType" 66 MemberName 158(BufType) 0 "x" 67 Name 160 "Buf" 68 Name 168 "Au8" 69 Name 170 "BufType8" 70 MemberName 170(BufType8) 0 "x" 71 Name 172 "Buf8" 72 Decorate 8(dwordBuf) Block 73 MemberDecorate 8(dwordBuf) 0 Offset 0 74 Decorate 13(b) Aliased 75 Decorate 20(b) Aliased 76 Decorate 27(b) Aliased 77 Decorate 34(b) Aliased 78 Decorate 41(b) Aliased 79 Decorate 48(b) Aliased 80 Decorate 157 ArrayStride 2 81 Decorate 158(BufType) Block 82 MemberDecorate 158(BufType) 0 Offset 0 83 Decorate 160(Buf) Binding 0 84 Decorate 160(Buf) DescriptorSet 0 85 Decorate 169 ArrayStride 1 86 Decorate 170(BufType8) Block 87 MemberDecorate 170(BufType8) 0 Offset 0 88 Decorate 172(Buf8) Binding 1 89 Decorate 172(Buf8) DescriptorSet 0 90 2: TypeVoid 91 3: TypeFunction 2 92 TypeForwardPointer 6 PhysicalStorageBufferEXT 93 7: TypeInt 32 0 94 8(dwordBuf): TypeStruct 7(int) 95 6: TypePointer PhysicalStorageBufferEXT 8(dwordBuf) 96 9: 7(int) Constant 2 97 10: TypeArray 7(int) 9 98 11: TypeFloat 16 99 12: TypeFunction 11(float16_t) 6(ptr) 10 10 100 18: TypeVector 11(float16_t) 2 101 19: TypeFunction 18(f16vec2) 6(ptr) 10 10 102 25: TypeVector 11(float16_t) 4 103 26: TypeFunction 25(f16vec4) 6(ptr) 10 10 104 32: TypeInt 8 0 105 33: TypeFunction 32(int8_t) 6(ptr) 10 10 106 39: TypeVector 32(int8_t) 4 107 40: TypeFunction 39(i8vec4) 6(ptr) 10 10 108 46: TypeVector 32(int8_t) 8 109 47: TypeFunction 46(i8vec8) 6(ptr) 10 10 110 53: TypeInt 32 1 111 54: 53(int) Constant 0 112 55: TypePointer PhysicalStorageBufferEXT 7(int) 113 89: 53(int) Constant 8 114 94: 53(int) Constant 16 115 99: 53(int) Constant 24 116 138: 7(int) Constant 0 117 139: TypeTensorLayoutNV 9 138 118 140: TypePointer Function 139 119 142: 53(int) Constant 2 120 145: 7(int) Constant 4 121 146: 7(int) Constant 8 122 149: 7(int) Constant 256 123 150: 7(int) Constant 512 124 152: 7(int) Constant 64 125 153: 7(int) Constant 32 126 154: TypeCooperativeMatrixKHR 11(float16_t) 9 152 153 138 127 155: TypePointer Function 154 128 157: TypeRuntimeArray 11(float16_t) 129 158(BufType): TypeStruct 157 130 159: TypePointer StorageBuffer 158(BufType) 131 160(Buf): 159(ptr) Variable StorageBuffer 132 161: TypePointer StorageBuffer 11(float16_t) 133 166: TypeCooperativeMatrixKHR 32(int8_t) 9 152 153 138 134 167: TypePointer Function 166 135 169: TypeRuntimeArray 32(int8_t) 136 170(BufType8): TypeStruct 169 137 171: TypePointer StorageBuffer 170(BufType8) 138 172(Buf8): 171(ptr) Variable StorageBuffer 139 173: TypePointer StorageBuffer 32(int8_t) 140 194: TypeVector 7(int) 3 141 195: 7(int) Constant 1 142 196: 194(ivec3) ConstantComposite 152 195 195 143 4(main): 2 Function None 3 144 5: Label 145 141(t): 140(ptr) Variable Function 146 156(A): 155(ptr) Variable Function 147 168(Au8): 167(ptr) Variable Function 148 143: 139 CreateTensorLayoutNV 149 Store 141(t) 143 150 144: 139 Load 141(t) 151 147: 139 TensorLayoutSetBlockSizeNV 144 145 146 152 Store 141(t) 147 153 148: 139 Load 141(t) 154 151: 139 TensorLayoutSetDimensionNV 148 149 150 155 Store 141(t) 151 156 162: 161(ptr) AccessChain 160(Buf) 54 138 157 163: 139 Load 141(t) 158 164: 154 Load 156(A) 159 165: 154 CooperativeMatrixLoadTensorNV 162 164 163 None DecodeFunc 16(decodeF16Scalar(bref-dwordBuf1;u1[2];u1[2];) 160 Store 156(A) 165 161 174: 173(ptr) AccessChain 172(Buf8) 54 138 162 175: 139 Load 141(t) 163 176: 166 Load 168(Au8) 164 177: 166 CooperativeMatrixLoadTensorNV 174 176 175 None DecodeFunc 37(decodeU8Scalar(bref-dwordBuf1;u1[2];u1[2];) 165 Store 168(Au8) 177 166 178: 161(ptr) AccessChain 160(Buf) 54 138 167 179: 139 Load 141(t) 168 180: 154 Load 156(A) 169 181: 154 CooperativeMatrixLoadTensorNV 178 180 179 None DecodeFunc DecodeVectorFunc 16(decodeF16Scalar(bref-dwordBuf1;u1[2];u1[2];) 23(decodeF16x2(bref-dwordBuf1;u1[2];u1[2];) 170 Store 156(A) 181 171 182: 161(ptr) AccessChain 160(Buf) 54 138 172 183: 139 Load 141(t) 173 184: 154 Load 156(A) 174 185: 154 CooperativeMatrixLoadTensorNV 182 184 183 None DecodeFunc DecodeVectorFunc 16(decodeF16Scalar(bref-dwordBuf1;u1[2];u1[2];) 30(decodeF16x4(bref-dwordBuf1;u1[2];u1[2];) 175 Store 156(A) 185 176 186: 173(ptr) AccessChain 172(Buf8) 54 138 177 187: 139 Load 141(t) 178 188: 166 Load 168(Au8) 179 189: 166 CooperativeMatrixLoadTensorNV 186 188 187 None DecodeFunc DecodeVectorFunc 37(decodeU8Scalar(bref-dwordBuf1;u1[2];u1[2];) 44(decodeU8x4(bref-dwordBuf1;u1[2];u1[2];) 180 Store 168(Au8) 189 181 190: 173(ptr) AccessChain 172(Buf8) 54 138 182 191: 139 Load 141(t) 183 192: 166 Load 168(Au8) 184 193: 166 CooperativeMatrixLoadTensorNV 190 192 191 None DecodeFunc DecodeVectorFunc 37(decodeU8Scalar(bref-dwordBuf1;u1[2];u1[2];) 51(decodeU8x8(bref-dwordBuf1;u1[2];u1[2];) 185 Store 168(Au8) 193 186 Return 187 FunctionEnd 18816(decodeF16Scalar(bref-dwordBuf1;u1[2];u1[2];):11(float16_t) Function None 12 189 13(b): 6(ptr) FunctionParameter 190 14(blockCoords): 10 FunctionParameter 19115(coordInBlock): 10 FunctionParameter 192 17: Label 193 56: 55(ptr) AccessChain 13(b) 54 194 57: 7(int) Load 56 Aligned 4 195 58:11(float16_t) ConvertUToF 57 196 ReturnValue 58 197 FunctionEnd 19823(decodeF16x2(bref-dwordBuf1;u1[2];u1[2];): 18(f16vec2) Function None 19 199 20(b): 6(ptr) FunctionParameter 200 21(blockCoords): 10 FunctionParameter 20122(coordInBlock): 10 FunctionParameter 202 24: Label 203 61: 55(ptr) AccessChain 20(b) 54 204 62: 7(int) Load 61 Aligned 4 205 63: 18(f16vec2) Bitcast 62 206 ReturnValue 63 207 FunctionEnd 20830(decodeF16x4(bref-dwordBuf1;u1[2];u1[2];): 25(f16vec4) Function None 26 209 27(b): 6(ptr) FunctionParameter 210 28(blockCoords): 10 FunctionParameter 21129(coordInBlock): 10 FunctionParameter 212 31: Label 213 66: 55(ptr) AccessChain 27(b) 54 214 67: 7(int) Load 66 Aligned 4 215 68: 18(f16vec2) Bitcast 67 216 69: 55(ptr) AccessChain 27(b) 54 217 70: 7(int) Load 69 Aligned 4 218 71: 18(f16vec2) Bitcast 70 219 72:11(float16_t) CompositeExtract 68 0 220 73:11(float16_t) CompositeExtract 68 1 221 74:11(float16_t) CompositeExtract 71 0 222 75:11(float16_t) CompositeExtract 71 1 223 76: 25(f16vec4) CompositeConstruct 72 73 74 75 224 ReturnValue 76 225 FunctionEnd 22637(decodeU8Scalar(bref-dwordBuf1;u1[2];u1[2];): 32(int8_t) Function None 33 227 34(b): 6(ptr) FunctionParameter 228 35(blockCoords): 10 FunctionParameter 22936(coordInBlock): 10 FunctionParameter 230 38: Label 231 79: 55(ptr) AccessChain 34(b) 54 232 80: 7(int) Load 79 Aligned 4 233 81: 32(int8_t) UConvert 80 234 ReturnValue 81 235 FunctionEnd 23644(decodeU8x4(bref-dwordBuf1;u1[2];u1[2];): 39(i8vec4) Function None 40 237 41(b): 6(ptr) FunctionParameter 238 42(blockCoords): 10 FunctionParameter 23943(coordInBlock): 10 FunctionParameter 240 45: Label 241 84: 55(ptr) AccessChain 41(b) 54 242 85: 7(int) Load 84 Aligned 4 243 86: 32(int8_t) UConvert 85 244 87: 55(ptr) AccessChain 41(b) 54 245 88: 7(int) Load 87 Aligned 4 246 90: 7(int) ShiftRightLogical 88 89 247 91: 32(int8_t) UConvert 90 248 92: 55(ptr) AccessChain 41(b) 54 249 93: 7(int) Load 92 Aligned 4 250 95: 7(int) ShiftRightLogical 93 94 251 96: 32(int8_t) UConvert 95 252 97: 55(ptr) AccessChain 41(b) 54 253 98: 7(int) Load 97 Aligned 4 254 100: 7(int) ShiftRightLogical 98 99 255 101: 32(int8_t) UConvert 100 256 102: 39(i8vec4) CompositeConstruct 86 91 96 101 257 ReturnValue 102 258 FunctionEnd 25951(decodeU8x8(bref-dwordBuf1;u1[2];u1[2];): 46(i8vec8) Function None 47 260 48(b): 6(ptr) FunctionParameter 261 49(blockCoords): 10 FunctionParameter 26250(coordInBlock): 10 FunctionParameter 263 52: Label 264 105: 55(ptr) AccessChain 48(b) 54 265 106: 7(int) Load 105 Aligned 4 266 107: 32(int8_t) UConvert 106 267 108: 55(ptr) AccessChain 48(b) 54 268 109: 7(int) Load 108 Aligned 4 269 110: 7(int) ShiftRightLogical 109 89 270 111: 32(int8_t) UConvert 110 271 112: 55(ptr) AccessChain 48(b) 54 272 113: 7(int) Load 112 Aligned 4 273 114: 7(int) ShiftRightLogical 113 94 274 115: 32(int8_t) UConvert 114 275 116: 55(ptr) AccessChain 48(b) 54 276 117: 7(int) Load 116 Aligned 4 277 118: 7(int) ShiftRightLogical 117 99 278 119: 32(int8_t) UConvert 118 279 120: 55(ptr) AccessChain 48(b) 54 280 121: 7(int) Load 120 Aligned 4 281 122: 32(int8_t) UConvert 121 282 123: 55(ptr) AccessChain 48(b) 54 283 124: 7(int) Load 123 Aligned 4 284 125: 7(int) ShiftRightLogical 124 89 285 126: 32(int8_t) UConvert 125 286 127: 55(ptr) AccessChain 48(b) 54 287 128: 7(int) Load 127 Aligned 4 288 129: 7(int) ShiftRightLogical 128 94 289 130: 32(int8_t) UConvert 129 290 131: 55(ptr) AccessChain 48(b) 54 291 132: 7(int) Load 131 Aligned 4 292 133: 7(int) ShiftRightLogical 132 99 293 134: 32(int8_t) UConvert 133 294 135: 46(i8vec8) CompositeConstruct 107 111 115 119 122 126 130 134 295 ReturnValue 135 296 FunctionEnd