freedreno: fix FD_MESA_DEBUG=flush
authorRob Clark <robdclark@gmail.com>
Thu, 6 Sep 2018 11:52:01 +0000 (07:52 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 27 Sep 2018 19:25:49 +0000 (15:25 -0400)
commita7fa44cd33378c6058b8069e6edcae1963c96bd3
treec8235ee341de7a02a0bc420b9e31dfebb4beed14
parent83c5c026ee66ccdcc2e31c1b54c1b70e4309092e
freedreno: fix FD_MESA_DEBUG=flush

The logic to force a flush every draw was short-circuited with newer
kernels.  Also it should apply to clears as well.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_draw.c