freedreno/a6xx: update depth-plane control regs
authorRob Clark <robdclark@chromium.org>
Sun, 31 May 2020 17:46:54 +0000 (10:46 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 4 Jun 2020 02:34:54 +0000 (02:34 +0000)
commit27e501bcfc585757ddf9ad6c37a0cee361c2275e
tree4e59c27f852884714d7fa4c29fb7ba30b521420b
parentf6307426ed5bbc978f93fad06153c9d2e6d8d8ee
freedreno/a6xx: update depth-plane control regs

And document the early-lrz-late-z mode.

Initially I thought this would be two bits to control early-lrz vs
early-z.  But having early-z without early-lrz does not make sense,
and the way the values line up makes an enum fit better.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5298>
src/freedreno/registers/a6xx.xml
src/freedreno/vulkan/tu_pipeline.c
src/gallium/drivers/freedreno/a6xx/fd6_program.c