freedreno: a2xx: clear fixes and fast clear path
authorJonathan Marek <jonathan@marek.ca>
Mon, 28 Jan 2019 17:49:54 +0000 (12:49 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 28 Jan 2019 23:21:16 +0000 (18:21 -0500)
commit912a9c8d8cf5e7e4e05a5cb06f4284eeff7b379a
treef12b82c1489feb53d99f8cad0dcc9ca1efbaa26a
parentcb2322c7c0f95d6d1a2b90494cf5f6fd55f55638
freedreno: a2xx: clear fixes and fast clear path

This fixes the depth/stencil clear on a20x, and adds a fast clear path.

The fast clear path is only used for a20x, needs performance tests on a22x.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
src/gallium/drivers/freedreno/a2xx/fd2_context.c
src/gallium/drivers/freedreno/a2xx/fd2_draw.c
src/gallium/drivers/freedreno/a2xx/fd2_draw.h
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
src/gallium/drivers/freedreno/a2xx/fd2_gmem.c
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_batch.h
src/gallium/drivers/freedreno/freedreno_gmem.c