ac/nir/lower_ps_late: remove gfx6 mrtz writemask workaround

This is now done in the backends.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38853>
This commit is contained in:
Georg Lehmann 2025-12-09 14:13:50 +01:00 committed by Marge Bot
parent 6a7ff2204b
commit da197c3d55

View file

@ -252,15 +252,6 @@ emit_ps_mrtz_export(nir_builder *b, lower_ps_state *s, nir_def *mrtz_alpha)
}
}
/* GFX6 (except OLAND and HAINAN) has a bug that it only looks at the
* X writemask component.
*/
if (s->options->gfx_level == GFX6 &&
s->options->family != CHIP_OLAND &&
s->options->family != CHIP_HAINAN) {
write_mask |= 0x1;
}
s->exp[s->exp_num++] = nir_export_amd(b, nir_vec(b, outputs, 4),
.base = V_008DFC_SQ_EXP_MRTZ,
.write_mask = write_mask,