freedreno/a6xx: single cmdstream for draw+binning
authorRob Clark <robdclark@gmail.com>
Sat, 13 Oct 2018 17:56:05 +0000 (13:56 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 17 Oct 2018 16:44:49 +0000 (12:44 -0400)
commit24d57a6d8f72156aa81dce89683bd16e771c7ea2
tree1425874cdb6c8d349d8f7a9312358becf39b92fe
parent72f6164fefd796f6b0ffdc86b22e02de61835709
freedreno/a6xx: single cmdstream for draw+binning

Now that state which is different for draw vs binning pass is split out
into different state-groups with appropriate enable_mask (so the
appropriate one is chosen for draw vs binning), switch over to using a
single cmdstream for both passes.

This should significantly lower draw overhead for CPU bound benchmarks.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_draw.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c