turnip: apply workaround for depth bounds test without depth test

On some GPUs when:
- depth bounds test is enabled
- depth test is disabled
- depth attachment uses UBWC in sysmem mode
GPU hangs. As a workaround we should enable z test. That's what blob
is doing for a630. And since we enable z test we should make it always pass.

Blob doesn't emit this workaround on a650 and a660. Untested on a640.

Fixes:
 dEQP-VK.pipeline.extended_dynamic_state.two_draws_static.depth_bounds_test_disable
 dEQP-VK.pipeline.extended_dynamic_state.two_draws_dynamic.depth_bounds_test_disable
 dEQP-VK.dynamic_state.ds_state.depth_bounds_1

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <!12407>
59 jobs for !12407 with turnip/fix/depth-bound-without-depth-test-hang in 18 minutes and 7 seconds (queued for 16 seconds)
latest detached
Status Name Job ID Coverage
  Sanity
passed sanity #12936565

00:00:08

 
  Container
passed debian/arm_build #12936570
aarch64

00:00:16

passed debian/x86_build-base #12936567

00:00:17

passed debian/x86_test-base #12936568

00:00:18

passed fedora/x86_build #12936571

00:00:17

passed windows_build_vs2019 #12936573
windows shell 1809 mesa

00:00:10

 
  Container 2
passed debian/android_build #12936582

00:00:16

passed debian/i386_build #12936577

00:00:12

passed debian/ppc64el_build #12936579

00:00:16

passed debian/s390x_build #12936580

00:00:13

passed debian/x86_build #12936576

00:00:12

passed debian/x86_test-gl #12936584

00:00:16

passed debian/x86_test-vk #12936586

00:00:13

passed kernel+rootfs_amd64 #12936587

00:00:41

passed kernel+rootfs_arm64 #12936589
aarch64

00:01:11

passed kernel+rootfs_armhf #12936591
aarch64

00:00:11

 
  Build X86 64
passed debian-clang #12936603

00:08:43

passed debian-clover #12936605

00:02:10

passed debian-clover-testing #12936597

00:02:15

passed debian-gallium #12936598

00:02:44

passed debian-release #12936600

00:03:34

passed debian-testing #12936593

00:02:18

passed debian-testing-asan #12936595

00:03:04

passed debian-vulkan #12936607

00:01:24

passed fedora-release #12936601

00:02:02

 
  Build Misc
passed debian-android #12936610

00:01:33

passed debian-arm64 #12936614
aarch64

00:01:28

passed debian-arm64-asan #12936615
aarch64

00:02:49

passed debian-arm64-build-test #12936618
aarch64

00:01:22

passed debian-armhf #12936612
aarch64

00:01:39

passed debian/arm_test #12936608

00:00:40

passed debian-i386 #12936620

00:03:05

passed debian-mingw32-x86_64 #12936621

00:02:16

 
  Freedreno
passed a306_gl 1/5 #12936623
google-freedreno-db410c

00:07:30

passed a306_gl 2/5 #12936625
google-freedreno-db410c

00:07:48

passed a306_gl 3/5 #12936627
google-freedreno-db410c

00:07:41

passed a306_gl 4/5 #12936629
google-freedreno-db410c

00:06:50

passed a306_gl 5/5 #12936631
google-freedreno-db410c

00:07:06

passed a306-traces #12936633
google-freedreno-db410c

00:02:35

passed a530_gl 1/5 #12936635
google-freedreno-db820c

00:07:44

passed a530_gl 2/5 #12936637
google-freedreno-db820c

00:07:49

passed a530_gl 3/5 #12936639
google-freedreno-db820c

00:07:57

passed a530_gl 4/5 #12936641
google-freedreno-db820c

00:08:02

passed a530_gl 5/5 #12936643
google-freedreno-db820c

00:08:00

passed a530_piglit_shader 1/2 #12936645
google-freedreno-db820c

00:08:12

passed a530_piglit_shader 2/2 #12936647
google-freedreno-db820c

00:07:54

passed a530-traces #12936649
google-freedreno-db820c

00:07:45

passed a630_egl #12936659
google-freedreno-cheza

00:02:07

passed a630_gl 1/4 #12936651
google-freedreno-cheza

00:05:07

passed a630_gl 2/4 #12936653
google-freedreno-cheza

00:05:52

passed a630_gl 3/4 #12936655
google-freedreno-cheza

00:04:47

passed a630_gl 4/4 #12936657
google-freedreno-cheza

00:05:32

passed a630_piglit #12936667
google-freedreno-cheza

00:08:28

passed a630-traces #12936669
google-freedreno-cheza

00:04:03

passed a630-traces-performance #12936673
google-freedreno-cheza manual

00:07:15

passed a630-traces-restricted #12936671
google-freedreno-cheza

00:03:18

passed a630_vk 1/3 #12936661
google-freedreno-cheza

00:07:39

passed a630_vk 2/3 #12936663
google-freedreno-cheza

00:09:07

passed a630_vk 3/3 #12936665
google-freedreno-cheza

00:08:58