shader: pack 16-bit lane pairs with one bit-field insert

This commit is contained in:
nmzik
2026-10-21 22:46:04 +02:00
parent 4a1440197f
commit 10a852c2ac
3 changed files with 9 additions and 15 deletions
+2 -4
View File
@@ -25109,10 +25109,8 @@ TestCase Vop3CvtPkI16I32Captured() {
test.opcodes = {O::BUFFER_LOAD_DWORD, O::V_MOV_B32, O::V_CVT_PK_I16_I32,
O::BUFFER_STORE_DWORD, O::S_ENDPGM};
test.decoded_counts = {{"0x00000014: V_CVT_PK_I16_I32 v5, v7, v16\n", 1}};
test.ir_counts = {{" = BitwiseAnd32 ", 2},
{" = ShiftLeftLogical32 ", 1},
{" = BitwiseOr32 ", 1}};
test.required_spirv = {"OpBitwiseAnd", "OpShiftLeftLogical", "OpBitwiseOr"};
test.ir_counts = {{" = BitFieldInsert ", 1}};
test.required_spirv = {"OpBitFieldInsert"};
return test;
}