From 048afdd438902cb9f2b3477b15e3a40550e9465f Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Fri, 18 Oct 2024 06:31:18 -0400 Subject: [PATCH] tu: Don't invalidate CS state for 3D blits We don't dirty the CS state, so if a 3D blit comes between binding a compute pipeline and executing a dispatch then we won't re-emit the pipeline and invalidating CS state causes immediates emitted via CP_LOAD_STATE to disappear. Fixes dEQP-VK.binding_model.descriptor_buffer.ycbcr_sampler.compute_comp. Cc: mesa-stable Part-of: --- src/freedreno/vulkan/tu_clear_blit.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/freedreno/vulkan/tu_clear_blit.cc b/src/freedreno/vulkan/tu_clear_blit.cc index d2fe07bb56a..a7cfe5b7553 100644 --- a/src/freedreno/vulkan/tu_clear_blit.cc +++ b/src/freedreno/vulkan/tu_clear_blit.cc @@ -898,8 +898,6 @@ r3d_common(struct tu_cmd_buffer *cmd, struct tu_cs *cs, enum r3d_type type, .ds_state = true, .gs_state = true, .fs_state = true, - .cs_state = true, - .cs_ibo = true, .gfx_ibo = true, .gfx_shared_const = true, .cs_bindless = CHIP == A6XX ? 0x1f : 0xff,