mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
agx: Don't treat clip distances specially
We've been using the clip lowering, but it's been broken upstream because of this artefact from the (non-lowered implementation) sneaking in from downstream. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21104>
This commit is contained in:
parent
99a6afd1a6
commit
5b92bd99db
1 changed files with 1 additions and 2 deletions
|
|
@ -1785,8 +1785,7 @@ agx_remap_varyings_vs(nir_shader *nir, struct agx_varyings_vs *varyings)
|
|||
|
||||
u_foreach_bit64(loc, nir->info.outputs_written)
|
||||
{
|
||||
if (loc == VARYING_SLOT_POS || loc == VARYING_SLOT_PSIZ ||
|
||||
loc == VARYING_SLOT_CLIP_DIST0 || loc == VARYING_SLOT_CLIP_DIST1)
|
||||
if (loc == VARYING_SLOT_POS || loc == VARYING_SLOT_PSIZ)
|
||||
continue;
|
||||
|
||||
varyings->slots[loc] = base;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue