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>
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