aco: allow subdword vector-definitions on some VALU instructions

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35784>
This commit is contained in:
Daniel Schürmann
2025-06-27 08:58:26 +02:00
committed by Marge Bot
parent 025306a95d
commit 3f35b1329e
3 changed files with 10 additions and 10 deletions
+2 -1
View File
@@ -692,7 +692,8 @@ DefInfo::get_subdword_definition_info(Program* program, const aco_ptr<Instructio
}
if (instr->isVALU()) {
assert(rc.bytes() <= 2);
if (rc.bytes() == 3)
rc = v1;
if (can_use_SDWA(gfx_level, instr, false))
return;