freedreno/a6xx: do streamout only in binning pass
authorRob Clark <robdclark@chromium.org>
Fri, 20 Sep 2019 21:58:49 +0000 (14:58 -0700)
committerRob Clark <robdclark@gmail.com>
Mon, 23 Sep 2019 20:02:34 +0000 (20:02 +0000)
commitd8cbf1adc12fe71e19c08ac6a74ce5df3ea3404f
tree4d8507af73823e63251292f91a865f3728ed8239
parentb9bf374512a96fbd10976275c826d8998e068de1
freedreno/a6xx: do streamout only in binning pass

Use VPC_SO_OVERRIDE to control whether we do streamout in binning or
draw pass.  Normally we want to do streamout in binning pass, except
when there is a single tile and binning passed is skipped.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_gmem.c