mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
radv: fix flushing non-coherent images in EndCommandBuffer()
The condition was inverted.
This doesn't fix anything known.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21549>
(cherry picked from commit 7c62f6fa01)
This commit is contained in:
parent
fe2f5e6b76
commit
9e777a4b5a
2 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@
|
|||
"description": "radv: fix flushing non-coherent images in EndCommandBuffer()",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6039,7 +6039,7 @@ radv_EndCommandBuffer(VkCommandBuffer commandBuffer)
|
|||
/* Flush noncoherent images on GFX9+ so we can assume they're clean on the start of a
|
||||
* command buffer.
|
||||
*/
|
||||
if (cmd_buffer->state.rb_noncoherent_dirty && can_skip_buffer_l2_flushes(cmd_buffer->device))
|
||||
if (cmd_buffer->state.rb_noncoherent_dirty && !can_skip_buffer_l2_flushes(cmd_buffer->device))
|
||||
cmd_buffer->state.flush_bits |= radv_src_access_flush(
|
||||
cmd_buffer,
|
||||
VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue