mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
Revert "freedreno: use bypass if only clears"
Causing issues with stk on a4xx.. still probably a good idea, but seems
some debugging is needed first.
This reverts commit 3ab072d3c8.
This commit is contained in:
parent
e4ad86952a
commit
12f9fa564a
1 changed files with 1 additions and 4 deletions
|
|
@ -391,10 +391,7 @@ fd_gmem_render_tiles(struct fd_batch *batch)
|
|||
bool sysmem = false;
|
||||
|
||||
if (ctx->emit_sysmem_prep) {
|
||||
if (batch->num_draws == 0) {
|
||||
sysmem = true;
|
||||
} else if (batch->cleared || batch->gmem_reason || (batch->num_draws > 5)) {
|
||||
// TODO maybe consider # of draws w/ blend enabled, etc?
|
||||
if (batch->cleared || batch->gmem_reason || (batch->num_draws > 5)) {
|
||||
DBG("GMEM: cleared=%x, gmem_reason=%x, num_draws=%u",
|
||||
batch->cleared, batch->gmem_reason, batch->num_draws);
|
||||
} else if (!(fd_mesa_debug & FD_DBG_NOBYPASS)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue