diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index fe6715ae861..3ebde7e5cc3 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -281,7 +281,8 @@ radv_use_tc_compat_cmask_for_image(struct radv_device *device, VK_IMAGE_USAGE_TRANSFER_SRC_BIT))) return false; - if (radv_image_has_dcc(image)) + /* If the image doesn't have FMASK, it can't be fetchable. */ + if (!radv_image_has_fmask(image)) return false; return true;