panfrost: Disable QUADS on Valhall
Even with the fixes in the rest of the series, arb-provoking-vertex-render is still failing on Valhall for a single subcase (involving QUADS). It seems likely that QUADS support is broken on Valhall, given it's not used in any of the APIs for which Arm ships drivers. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17068>
This commit is contained in:
committed by
Marge Bot
parent
008163f382
commit
e9190c45d5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user