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:
committed by
Marge Bot
parent
025306a95d
commit
3f35b1329e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user