freedreno: simplify pctx->clear()
authorRob Clark <robdclark@gmail.com>
Thu, 6 Sep 2018 12:44:52 +0000 (08:44 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 27 Sep 2018 19:26:32 +0000 (15:26 -0400)
commit5bb96bf73a1b2a9978c4cb766477e453610345f1
tree2152e6961738d0f21c51d78b739b915e0251dc32
parenta7fa44cd33378c6058b8069e6edcae1963c96bd3
freedreno: simplify pctx->clear()

This is defined to always clear the entire surface(s) specified,
regardless of scissor state.. mesa/st will turn scissored clears
into a draw.  So rip about a bunch of unnecessary machinery.

Also remove a comment that was obsolete since using u_blitter to
turn clear into draw (for the cases where there isn't a hw blitter
fast-path).

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a5xx/fd5_draw.c
src/gallium/drivers/freedreno/a6xx/fd6_draw.c
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_batch.h
src/gallium/drivers/freedreno/freedreno_draw.c
src/gallium/drivers/freedreno/freedreno_gmem.c