mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
panfrost: Disable point sprites on Bifrost
It doesn't look like the lowering in !6473 will land before the branch point. Let's nop out point sprites in the backend to avoid MMU faults from creating invalid Midgard-style varyings. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7408>
This commit is contained in:
parent
2ed003633c
commit
828c7e7626
1 changed files with 5 additions and 0 deletions
|
|
@ -1720,6 +1720,11 @@ panfrost_emit_varying_descriptor(struct panfrost_batch *batch,
|
|||
|
||||
struct pipe_stream_output_info *so = &vs->stream_output;
|
||||
uint16_t point_coord_mask = ctx->rasterizer->base.sprite_coord_enable;
|
||||
|
||||
/* TODO: point sprites need lowering on Bifrost */
|
||||
if (dev->quirks & IS_BIFROST)
|
||||
point_coord_mask = 0;
|
||||
|
||||
unsigned present = pan_varying_present(vs, fs, dev->quirks, point_coord_mask);
|
||||
|
||||
/* Check if this varying is linked by us. This is the case for
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue