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>
- src/freedreno/common/freedreno_dev_info.h 5 additions, 0 deletionssrc/freedreno/common/freedreno_dev_info.h
- src/freedreno/common/freedreno_devices.py 2 additions, 0 deletionssrc/freedreno/common/freedreno_devices.py
- src/freedreno/vulkan/tu_cmd_buffer.c 22 additions, 0 deletionssrc/freedreno/vulkan/tu_cmd_buffer.c
- src/freedreno/vulkan/tu_pipeline.c 3 additions, 0 deletionssrc/freedreno/vulkan/tu_pipeline.c
- src/freedreno/vulkan/tu_private.h 3 additions, 0 deletionssrc/freedreno/vulkan/tu_private.h