radv: fix flushing non-coherent images inside secondaries on GFX9+

Fixes
dEQP-VK.draw.dynamic_rendering.complete_secondary_cmd_buff.multi_draw.mosaic.*
on VEGA10 (related to the use of HTILE).

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21549>
This commit is contained in:
Samuel Pitoiset
2023-02-27 10:45:08 +01:00
committed by Marge Bot
parent 78c95b2865
commit 6750a9094f
+2
View File
@@ -7213,6 +7213,8 @@ radv_CmdExecuteCommands(VkCommandBuffer commandBuffer, uint32_t commandBufferCou
primary->state.last_vrs_rates_sgpr_idx = secondary->state.last_vrs_rates_sgpr_idx;
primary->state.last_pa_sc_binner_cntl_0 = secondary->state.last_pa_sc_binner_cntl_0;
primary->state.rb_noncoherent_dirty |= secondary->state.rb_noncoherent_dirty;
}
/* After executing commands from secondary buffers we have to dirty