Module: Mesa Branch: main Commit: 6750a9094f632567534a2cbdd71ff23944647667 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6750a9094f632567534a2cbdd71ff23944647667
Author: Samuel Pitoiset <[email protected]> Date: Mon Feb 27 10:45:08 2023 +0100 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21549> --- src/amd/vulkan/radv_cmd_buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index a34a5c9b392..b82a638e7c4 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -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
