mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
radv: emit pending flushes after late decompressions with fbfetch
If the rendering state is inherited in the secondary, otherwise nothing wait for the pending flushes after a decompression pass. One more argument to stop delaying this. Fixes dEQP-VK.renderpasses.dynamic_rendering.partial_secondary_cmd_buff.local_read.* Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39678>
This commit is contained in:
parent
cbf0a38fa4
commit
13c9e529bd
1 changed files with 3 additions and 0 deletions
|
|
@ -9685,6 +9685,9 @@ radv_CmdExecuteCommands(VkCommandBuffer commandBuffer, uint32_t commandBufferCou
|
|||
if (primary->state.dirty & RADV_CMD_DIRTY_FBFETCH_OUTPUT) {
|
||||
radv_handle_fbfetch_output(primary);
|
||||
primary->state.dirty &= ~RADV_CMD_DIRTY_FBFETCH_OUTPUT;
|
||||
|
||||
/* Emit pending flushes if a late decompression was performed. */
|
||||
radv_emit_cache_flush(primary);
|
||||
}
|
||||
|
||||
if (primary->state.render.active && (primary->state.dirty & RADV_CMD_DIRTY_FRAMEBUFFER)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue