tu: fix workaround for depth bounds test without depth test

Fixes: bb4db22ff4

("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>
This commit is contained in:
Danylo Piliaiev 2021-10-07 16:02:16 +03:00 committed by Marge Bot
parent 07bc6b7ed9
commit fe9c9ec83f

View file

@ -501,7 +501,6 @@ void
tu6_apply_depth_bounds_workaround(struct tu_device *device, tu6_apply_depth_bounds_workaround(struct tu_device *device,
uint32_t *rb_depth_cntl) uint32_t *rb_depth_cntl)
{ {
return;
if (!device->physical_device->info->a6xx.depth_bounds_require_depth_test_quirk) if (!device->physical_device->info->a6xx.depth_bounds_require_depth_test_quirk)
return; return;