diff options
author | Rob Clark <[email protected]> | 2017-05-14 14:16:39 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-05-14 15:10:08 -0400 |
commit | 12f9fa564aa844d8ecd995853ac78a3f8156b965 (patch) | |
tree | 021d71e9f7a1d8866f75cb1757b52641ecb4b721 /src/gallium/drivers/freedreno | |
parent | e4ad86952a197549894eb4c9a96af0c76dd95d18 (diff) |
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 3ab072d3c8643c66d8e07e63df970b792728bac6.
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_gmem.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index c4dda564940..03400717bfa 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -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)) { |