Cc: 20.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5148>
if (!definition.isFixed()) {
Temp tmp = definition.getTemp();
- /* subdword instructions before RDNA write full registers */
if (tmp.regClass().is_subdword() &&
- !instr_can_access_subdword(ctx, instr) &&
- ctx.program->chip_class <= GFX9) {
+ !instr_can_access_subdword(ctx, instr)) {
assert(tmp.bytes() <= 4);
tmp = Temp(definition.tempId(), v1);
}