aco: remove p_v_cvt_pk_u8_f32

Now unused.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35391>
This commit is contained in:
Georg Lehmann
2025-06-06 21:44:48 +02:00
committed by Marge Bot
parent d95e90ab5f
commit 94c191e6d9
5 changed files with 2 additions and 18 deletions
+1 -4
View File
@@ -694,7 +694,7 @@ DefInfo::get_subdword_definition_info(Program* program, const aco_ptr<Instructio
if (instr->isVALU()) {
assert(rc.bytes() <= 2);
if (can_use_SDWA(gfx_level, instr, false) || instr->opcode == aco_opcode::p_v_cvt_pk_u8_f32)
if (can_use_SDWA(gfx_level, instr, false))
return;
rc = instr_is_16bit(gfx_level, instr->opcode) ? v2b : v1;
@@ -771,9 +771,6 @@ add_subdword_definition(Program* program, aco_ptr<Instruction>& instr, PhysReg r
amd_gfx_level gfx_level = program->gfx_level;
assert(instr->definitions[0].bytes() <= 2);
if (instr->opcode == aco_opcode::p_v_cvt_pk_u8_f32)
return;
if (reg.byte() == 0 && allow_16bit_write && instr_is_16bit(gfx_level, instr->opcode))
return;