tu: Change of disable_fs state should force depth state recalculation

tu6_build_depth_plane_z_mode depends on state.disable_fs.

Fixes: be481e6615 ("tu: Disable FS in certain cases even if FS is not empty")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41856>
This commit is contained in:
Danylo Piliaiev 2026-05-28 13:48:09 +02:00 committed by Marge Bot
parent 930f7f4a1b
commit 727a30f4c7

View file

@ -8307,7 +8307,7 @@ tu6_draw_common(struct tu_cmd_buffer *cmd,
}
bool dirty_lrz =
(dirty & TU_CMD_DIRTY_LRZ) ||
(dirty & (TU_CMD_DIRTY_LRZ | TU_CMD_DIRTY_DISABLE_FS)) ||
BITSET_TEST(cmd->vk.dynamic_graphics_state.dirty,
MESA_VK_DYNAMIC_DS_DEPTH_TEST_ENABLE) ||
BITSET_TEST(cmd->vk.dynamic_graphics_state.dirty,