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