Skip to content

Commit bb0a048

Browse files
committed
radv: disable DCC for dst transfer.
When we end up doing subresolves we end up doing it into a place with dcc enabled, this fails horribly. Just disable DCC on dst transfer for now. Signed-off-by: Dave Airlie <[email protected]>
1 parent dd6298c commit bb0a048

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/amd/vulkan/radv_image.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ radv_init_surface(struct radv_device *device,
116116
surface->flags |= RADEON_SURF_HAS_TILE_MODE_INDEX;
117117

118118
if ((pCreateInfo->usage & (VK_IMAGE_USAGE_TRANSFER_SRC_BIT |
119+
VK_IMAGE_USAGE_TRANSFER_DST_BIT |
119120
VK_IMAGE_USAGE_STORAGE_BIT)) ||
120121
(pCreateInfo->flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT) ||
121122
(pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR) ||

0 commit comments

Comments
 (0)