From bba5749484164ae6af4d89bc55910908b4319c07 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Fri, 21 Dec 2018 21:06:55 +0100 Subject: [PATCH] radv: Fix wrongly positioned paren. Trivial. Fixes: 9f0bfbed11f "radv: Work around non-renderable 128bpp compressed 3d textures on GFX9." --- src/amd/vulkan/radv_meta_copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2