From: Bas Nieuwenhuizen Date: Fri, 21 Dec 2018 20:06:55 +0000 (+0100) Subject: radv: Fix wrongly positioned paren. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bba5749484164ae6af4d89bc55910908b4319c07;p=mesa.git radv: Fix wrongly positioned paren. Trivial. Fixes: 9f0bfbed11f "radv: Work around non-renderable 128bpp compressed 3d textures on GFX9." --- 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;