mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
panfrost: Emulate indirect draws on Midgard
I can't really justify spending time on this right now, even to myself. So take the perf hit and get out checkbox. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
This commit is contained in:
parent
bc48df001c
commit
d7788252e6
1 changed files with 4 additions and 0 deletions
|
|
@ -835,6 +835,10 @@ panfrost_create_screen(int fd, struct renderonly *ro)
|
|||
if (dev->arch == 7)
|
||||
dev->quirks |= MIDGARD_NO_AFBC;
|
||||
|
||||
/* XXX: Indirect draws on Midgard need debugging, emulate for now */
|
||||
if (dev->arch < 6)
|
||||
dev->debug |= PAN_DBG_NOINDIRECT;
|
||||
|
||||
dev->ro = ro;
|
||||
|
||||
/* Check if we're loading against a supported GPU model. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue