aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/amd/vulkan/radv_meta_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_meta_copy.c b/src/amd/vulkan/radv_meta_copy.c
index 647a167ab4c..5022de3aecd 100644
--- a/src/amd/vulkan/radv_meta_copy.c
+++ b/src/amd/vulkan/radv_meta_copy.c
@@ -117,7 +117,7 @@ image_is_renderable(struct radv_device *device, struct radv_image *image)
if (device->physical_device->rad_info.chip_class >= GFX9 &&
image->type == VK_IMAGE_TYPE_3D &&
- vk_format_get_blocksizebits(image->vk_format == 128) &&
+ vk_format_get_blocksizebits(image->vk_format) == 128 &&
vk_format_is_compressed(image->vk_format))
return false;
return true;