freedreno: a2xx: cleanup REG_A2XX_PA_CL_VTE_CNTL
authorJonathan Marek <jonathan@marek.ca>
Thu, 13 Dec 2018 17:11:31 +0000 (12:11 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 21 Jan 2019 14:22:10 +0000 (09:22 -0500)
commit64b12520a2848913fa78c12f48eaca39f42584c9
tree5d62925dc38384e11925150da71d76992729fc12
parent6ef7700ac61f30a3136937722a54e98314f85bbc
freedreno: a2xx: cleanup REG_A2XX_PA_CL_VTE_CNTL

Doesn't change much, but reduces the size of fd2_emit_state

gmem2mem does not need to change the value: no Z clipping on resolve
mem2gmem now needs to restore the common value after rendering

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
src/gallium/drivers/freedreno/a2xx/fd2_gmem.c