freedreno/a6xx: fix z_mode

Cleanups to the early-lrz-late-z mode commit over-simplified the logic.
This gets us back to the fps gains, and matches what blob does.

Signed-off-by: Rob Clark <robdclark@chromium.org>
40 jobs for !5335 with wip/lrz-fix
detached
Status Job ID Name Coverage
  Container
manual #2959039
aarch64 manual
arm_build
manual #2959040
manual
arm_test
manual #2959041
windows shell 1809 mesa manual
windows_build_vs2019
manual #2959036
manual
x86_build-base
manual #2959038
manual
x86_build_old
manual #2959037
manual
x86_test-base
 
  Container 2
created #2959043
i386_build
created #2959044
ppc64el_build
created #2959045
s390x_build
created #2959042
x86_build
created #2959046
x86_test-gl
created #2959047
x86_test-vk
 
  Meson X86 64
created #2959051
meson-clang
created #2959050
meson-classic
created #2959052
meson-clover
created #2959053
meson-clover-old-llvm
created #2959049
meson-gallium
created #2959048
meson-testing
created #2959054
meson-vulkan
 
  Scons
created #2959055
allowed to fail
scons-win64
 
  Meson Misc
created #2959057
aarch64
meson-arm64
created #2959058
aarch64
meson-arm64-build-test
created #2959056
aarch64
meson-armhf
created #2959060
meson-i386
created #2959063
meson-mingw32-x86_64
created #2959062
kvm
meson-ppc64el
created #2959061
kvm
meson-s390x
created #2959059
windows docker 1809 mesa
meson-windows-vs2019
 
  Freedreno
created #2959070
google-freedreno-db410c
arm64_a306_gles2
created #2959071
google-freedreno-db410c
arm64_a306_gles3
created #2959072
google-freedreno-db410c
arm64_a306_gles3_options
created #2959073
google-freedreno-db820c
arm64_a530_gles2
created #2959074
google-freedreno-db820c
arm64_a530_gles3
created #2959075
google-freedreno-db820c
arm64_a530_gles31
created #2959068
google-freedreno-cheza
arm64_a630_bypass
created #2959064
google-freedreno-cheza
arm64_a630_gles2
created #2959066
google-freedreno-cheza
arm64_a630_gles3
created #2959065
google-freedreno-cheza
arm64_a630_gles31
created #2959069
google-freedreno-cheza
arm64_a630_gmem
created #2959067
google-freedreno-cheza
arm64_a630_noubo