mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 01:28:19 +02:00
radv/meta: remove an useless barrier when fixing up DCC for compute resolves
The resolve operation doesn't use DCC of the destination image, so the clear can run in parallel. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39803>
This commit is contained in:
parent
a673c9e414
commit
ed166804f6
1 changed files with 0 additions and 3 deletions
|
|
@ -350,9 +350,6 @@ radv_meta_resolve_compute_image(struct radv_cmd_buffer *cmd_buffer, struct radv_
|
|||
if (!radv_image_use_dcc_image_stores(device, dst_image) &&
|
||||
radv_layout_dcc_compressed(device, dst_image, region->dstSubresource.mipLevel, dst_image_layout, queue_mask) &&
|
||||
!is_partial_resolve) {
|
||||
|
||||
cmd_buffer->state.flush_bits |= RADV_CMD_FLAG_CS_PARTIAL_FLUSH | RADV_CMD_FLAG_INV_VCACHE;
|
||||
|
||||
VkImageSubresourceRange range = {
|
||||
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
|
||||
.baseMipLevel = region->dstSubresource.mipLevel,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue