Mesa (main): tu: fix workaround for depth bounds test without depth test

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 10 10:11:36 UTC 2022


Module: Mesa
Branch: main
Commit: fe9c9ec83fa132b49ff08161abc0166d8ff9998c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe9c9ec83fa132b49ff08161abc0166d8ff9998c

Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date:   Thu Oct  7 16:02:16 2021 +0300

tu: fix workaround for depth bounds test without depth test

Fixes: bb4db22ff43a708bf80a8f72913ee493313393d1

("turnip: apply workaround for depth bounds test without depth test")

Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14390>

---

 src/freedreno/vulkan/tu_cmd_buffer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/freedreno/vulkan/tu_cmd_buffer.c b/src/freedreno/vulkan/tu_cmd_buffer.c
index f5cd229617c..ec34e3781b5 100644
--- a/src/freedreno/vulkan/tu_cmd_buffer.c
+++ b/src/freedreno/vulkan/tu_cmd_buffer.c
@@ -501,7 +501,6 @@ void
 tu6_apply_depth_bounds_workaround(struct tu_device *device,
                                   uint32_t *rb_depth_cntl)
 {
-   return;
    if (!device->physical_device->info->a6xx.depth_bounds_require_depth_test_quirk)
       return;
 



More information about the mesa-commit mailing list