tu: fix workaround for depth bounds test without depth test
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Thu, 7 Oct 2021 13:02:16 +0000 (16:02 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Jan 2022 09:36:59 +0000 (09:36 +0000)
Fixes: bb4db22ff43a708bf80a8f72913ee493313393d1

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

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

src/freedreno/vulkan/tu_cmd_buffer.c

index f5cd229..ec34e37 100644 (file)
@@ -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;