diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 72698843c8e..b7cc255645c 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -325,6 +325,14 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) modes |= BITFIELD_BIT(PIPE_PRIM_POLYGON); } + if (dev->arch >= 9) { + /* Although Valhall is supposed to support quads, they + * don't seem to work correctly. Disable to fix + * arb-provoking-vertex-render. + */ + modes &= ~BITFIELD_BIT(PIPE_PRIM_QUADS); + } + return modes; }