freedreno/a6xx: skip tiles with no geometry
authorRob Clark <robdclark@chromium.org>
Sat, 27 Jul 2019 16:00:37 +0000 (09:00 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 2 Aug 2019 17:24:14 +0000 (10:24 -0700)
commitd8379da19ee1c2086cd39a648136a7128f402f58
treeabffe4c6c86db4a3580e2349c11ffccc003c92a8
parentde3e130fc9cdd894b413fa769658960a210f8b74
freedreno/a6xx: skip tiles with no geometry

If no clear, and no geometry according to VSC_STATE[pipe] we can skip
the tile entirely.  If there is a fast-clear, we can't skip restore
(clear) or resolve IBs, but we can still skip draw IB.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_gmem.c