spv.coopmat2_decode_vector_b.comp // Module Version 10600 // Generated by (magic number): 8000b // Id's are bound by 189 Capability Shader Capability Float16 Capability Int8 Capability StorageUniformBufferBlock16 Capability StorageBuffer8BitAccess Capability VulkanMemoryModelKHR Capability PhysicalStorageBufferAddressesEXT Capability CooperativeMatrixTensorAddressingNV Capability CooperativeMatrixBlockLoadsNV Capability TensorAddressingNV Capability CooperativeMatrixDecodeVectorNV Capability CooperativeMatrixKHR Extension "SPV_KHR_cooperative_matrix" Extension "SPV_NV_cooperative_matrix2" Extension "SPV_NV_cooperative_matrix_decode_vector" Extension "SPV_NV_tensor_addressing" 1: ExtInstImport "GLSL.std.450" MemoryModel PhysicalStorageBuffer64EXT VulkanKHR EntryPoint GLCompute 4 "main" 117 141 ExecutionMode 4 LocalSize 64 1 1 Source GLSL 450 SourceExtension "GL_EXT_buffer_reference" SourceExtension "GL_EXT_shader_explicit_arithmetic_types" SourceExtension "GL_KHR_cooperative_matrix" SourceExtension "GL_KHR_memory_scope_semantics" SourceExtension "GL_NV_cooperative_matrix2" SourceExtension "GL_NV_cooperative_matrix_decode_vector" Name 4 "main" Name 8 "dwordBuf" MemberName 8(dwordBuf) 0 "d" Name 16 "decodeF16Scalar(bref-dwordBuf1;u1[2];u1[2];" Name 13 "b" Name 14 "blockCoords" Name 15 "coordInBlock" Name 23 "decodeF16x2(bref-dwordBuf1;u1[2];u1[2];" Name 20 "b" Name 21 "blockCoords" Name 22 "coordInBlock" Name 30 "decodeU8Scalar(bref-dwordBuf1;u1[2];u1[2];" Name 27 "b" Name 28 "blockCoords" Name 29 "coordInBlock" Name 37 "decodeU8x4(bref-dwordBuf1;u1[2];u1[2];" Name 34 "b" Name 35 "blockCoords" Name 36 "coordInBlock" Name 45 "decodeF16Scalar3d(bref-dwordBuf1;u1[3];u1[3];" Name 42 "b" Name 43 "blockCoords" Name 44 "coordInBlock" Name 51 "decodeF16x2_3d(bref-dwordBuf1;u1[3];u1[3];" Name 48 "b" Name 49 "blockCoords" Name 50 "coordInBlock" Name 105 "t" Name 113 "B" Name 115 "BufType" MemberName 115(BufType) 0 "x" Name 117 "Buf" Name 127 "vT2" Name 137 "Bu8" Name 139 "BufType8" MemberName 139(BufType8) 0 "x" Name 141 "Buf8" Name 150 "vI2" Name 159 "Acc" Name 166 "t3" Name 171 "vT3" Name 180 "vW3" Decorate 8(dwordBuf) Block MemberDecorate 8(dwordBuf) 0 Offset 0 Decorate 13(b) Aliased Decorate 20(b) Aliased Decorate 27(b) Aliased Decorate 34(b) Aliased Decorate 42(b) Aliased Decorate 48(b) Aliased Decorate 114 ArrayStride 2 Decorate 115(BufType) Block MemberDecorate 115(BufType) 0 Offset 0 Decorate 117(Buf) Binding 0 Decorate 117(Buf) DescriptorSet 0 Decorate 138 ArrayStride 1 Decorate 139(BufType8) Block MemberDecorate 139(BufType8) 0 Offset 0 Decorate 141(Buf8) Binding 1 Decorate 141(Buf8) DescriptorSet 0 2: TypeVoid 3: TypeFunction 2 TypeForwardPointer 6 PhysicalStorageBufferEXT 7: TypeInt 32 0 8(dwordBuf): TypeStruct 7(int) 6: TypePointer PhysicalStorageBufferEXT 8(dwordBuf) 9: 7(int) Constant 2 10: TypeArray 7(int) 9 11: TypeFloat 16 12: TypeFunction 11(float16_t) 6(ptr) 10 10 18: TypeVector 11(float16_t) 2 19: TypeFunction 18(f16vec2) 6(ptr) 10 10 25: TypeInt 8 0 26: TypeFunction 25(int8_t) 6(ptr) 10 10 32: TypeVector 25(int8_t) 4 33: TypeFunction 32(i8vec4) 6(ptr) 10 10 39: 7(int) Constant 3 40: TypeArray 7(int) 39 41: TypeFunction 11(float16_t) 6(ptr) 40 40 47: TypeFunction 18(f16vec2) 6(ptr) 40 40 53: TypeInt 32 1 54: 53(int) Constant 0 55: TypePointer PhysicalStorageBufferEXT 7(int) 76: 53(int) Constant 8 81: 53(int) Constant 16 86: 53(int) Constant 24 102: 7(int) Constant 0 103: TypeTensorLayoutNV 9 102 104: TypePointer Function 103 106: 53(int) Constant 2 108: 7(int) Constant 64 109: 7(int) Constant 32 110: 7(int) Constant 1 111: TypeCooperativeMatrixKHR 11(float16_t) 9 108 109 110 112: TypePointer Function 111 114: TypeRuntimeArray 11(float16_t) 115(BufType): TypeStruct 114 116: TypePointer StorageBuffer 115(BufType) 117(Buf): 116(ptr) Variable StorageBuffer 118: TypePointer StorageBuffer 11(float16_t) 123: TypeBool 124: 123(bool) ConstantFalse 125: TypeTensorViewNV 9 124 110 102 126: TypePointer Function 125 128: 53(int) Constant 1 135: TypeCooperativeMatrixKHR 25(int8_t) 9 108 109 110 136: TypePointer Function 135 138: TypeRuntimeArray 25(int8_t) 139(BufType8): TypeStruct 138 140: TypePointer StorageBuffer 139(BufType8) 141(Buf8): 140(ptr) Variable StorageBuffer 142: TypePointer StorageBuffer 25(int8_t) 148: TypeTensorViewNV 9 124 102 110 149: TypePointer Function 148 157: TypeCooperativeMatrixKHR 11(float16_t) 9 108 109 9 158: TypePointer Function 157 164: TypeTensorLayoutNV 39 102 165: TypePointer Function 164 167: 53(int) Constant 3 169: TypeTensorViewNV 39 124 102 9 110 170: TypePointer Function 169 178: TypeTensorViewNV 39 124 110 9 102 179: TypePointer Function 178 187: TypeVector 7(int) 3 188: 187(ivec3) ConstantComposite 108 110 110 4(main): 2 Function None 3 5: Label 105(t): 104(ptr) Variable Function 113(B): 112(ptr) Variable Function 127(vT2): 126(ptr) Variable Function 137(Bu8): 136(ptr) Variable Function 150(vI2): 149(ptr) Variable Function 159(Acc): 158(ptr) Variable Function 166(t3): 165(ptr) Variable Function 171(vT3): 170(ptr) Variable Function 180(vW3): 179(ptr) Variable Function 107: 103 CreateTensorLayoutNV Store 105(t) 107 119: 118(ptr) AccessChain 117(Buf) 54 102 120: 103 Load 105(t) 121: 111 Load 113(B) 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];) Store 113(B) 122 129: 125 CreateTensorViewNV Store 127(vT2) 129 130: 118(ptr) AccessChain 117(Buf) 54 102 131: 103 Load 105(t) 132: 125 Load 127(vT2) 133: 111 Load 113(B) 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];) Store 113(B) 134 143: 142(ptr) AccessChain 141(Buf8) 54 102 144: 103 Load 105(t) 145: 125 Load 127(vT2) 146: 135 Load 137(Bu8) 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];) Store 137(Bu8) 147 151: 148 CreateTensorViewNV Store 150(vI2) 151 152: 118(ptr) AccessChain 117(Buf) 54 102 153: 103 Load 105(t) 154: 148 Load 150(vI2) 155: 111 Load 113(B) 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];) Store 113(B) 156 160: 118(ptr) AccessChain 117(Buf) 54 102 161: 103 Load 105(t) 162: 157 Load 159(Acc) 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];) Store 159(Acc) 163 168: 164 CreateTensorLayoutNV Store 166(t3) 168 172: 169 CreateTensorViewNV Store 171(vT3) 172 173: 118(ptr) AccessChain 117(Buf) 54 102 174: 164 Load 166(t3) 175: 169 Load 171(vT3) 176: 111 Load 113(B) 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];) Store 113(B) 177 181: 178 CreateTensorViewNV Store 180(vW3) 181 182: 118(ptr) AccessChain 117(Buf) 54 102 183: 164 Load 166(t3) 184: 178 Load 180(vW3) 185: 111 Load 113(B) 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];) Store 113(B) 186 Return FunctionEnd 16(decodeF16Scalar(bref-dwordBuf1;u1[2];u1[2];):11(float16_t) Function None 12 13(b): 6(ptr) FunctionParameter 14(blockCoords): 10 FunctionParameter 15(coordInBlock): 10 FunctionParameter 17: Label 56: 55(ptr) AccessChain 13(b) 54 57: 7(int) Load 56 Aligned 4 58:11(float16_t) ConvertUToF 57 ReturnValue 58 FunctionEnd 23(decodeF16x2(bref-dwordBuf1;u1[2];u1[2];): 18(f16vec2) Function None 19 20(b): 6(ptr) FunctionParameter 21(blockCoords): 10 FunctionParameter 22(coordInBlock): 10 FunctionParameter 24: Label 61: 55(ptr) AccessChain 20(b) 54 62: 7(int) Load 61 Aligned 4 63: 18(f16vec2) Bitcast 62 ReturnValue 63 FunctionEnd 30(decodeU8Scalar(bref-dwordBuf1;u1[2];u1[2];): 25(int8_t) Function None 26 27(b): 6(ptr) FunctionParameter 28(blockCoords): 10 FunctionParameter 29(coordInBlock): 10 FunctionParameter 31: Label 66: 55(ptr) AccessChain 27(b) 54 67: 7(int) Load 66 Aligned 4 68: 25(int8_t) UConvert 67 ReturnValue 68 FunctionEnd 37(decodeU8x4(bref-dwordBuf1;u1[2];u1[2];): 32(i8vec4) Function None 33 34(b): 6(ptr) FunctionParameter 35(blockCoords): 10 FunctionParameter 36(coordInBlock): 10 FunctionParameter 38: Label 71: 55(ptr) AccessChain 34(b) 54 72: 7(int) Load 71 Aligned 4 73: 25(int8_t) UConvert 72 74: 55(ptr) AccessChain 34(b) 54 75: 7(int) Load 74 Aligned 4 77: 7(int) ShiftRightLogical 75 76 78: 25(int8_t) UConvert 77 79: 55(ptr) AccessChain 34(b) 54 80: 7(int) Load 79 Aligned 4 82: 7(int) ShiftRightLogical 80 81 83: 25(int8_t) UConvert 82 84: 55(ptr) AccessChain 34(b) 54 85: 7(int) Load 84 Aligned 4 87: 7(int) ShiftRightLogical 85 86 88: 25(int8_t) UConvert 87 89: 32(i8vec4) CompositeConstruct 73 78 83 88 ReturnValue 89 FunctionEnd 45(decodeF16Scalar3d(bref-dwordBuf1;u1[3];u1[3];):11(float16_t) Function None 41 42(b): 6(ptr) FunctionParameter 43(blockCoords): 40 FunctionParameter 44(coordInBlock): 40 FunctionParameter 46: Label 92: 55(ptr) AccessChain 42(b) 54 93: 7(int) Load 92 Aligned 4 94:11(float16_t) ConvertUToF 93 ReturnValue 94 FunctionEnd 51(decodeF16x2_3d(bref-dwordBuf1;u1[3];u1[3];): 18(f16vec2) Function None 47 48(b): 6(ptr) FunctionParameter 49(blockCoords): 40 FunctionParameter 50(coordInBlock): 40 FunctionParameter 52: Label 97: 55(ptr) AccessChain 48(b) 54 98: 7(int) Load 97 Aligned 4 99: 18(f16vec2) Bitcast 98 ReturnValue 99 FunctionEnd