freedreno: use bypass if only clears
authorRob Clark <robdclark@gmail.com>
Fri, 12 May 2017 18:24:33 +0000 (14:24 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 13 May 2017 17:12:36 +0000 (13:12 -0400)
commit3ab072d3c8643c66d8e07e63df970b792728bac6
tree11b28174d77d765360bedde13e4be3fea4668276
parent840f6beb81a5b51d782d54e9064af0ba193b221a
freedreno: use bypass if only clears

Some things trigger batches that only contain a clear (like glmark2
startup).  No point to use GMEM for this.

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