mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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:
parent
6a7ff2204b
commit
da197c3d55
1 changed files with 0 additions and 9 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue