radv: Fix wrongly positioned paren.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 21 Dec 2018 20:06:55 +0000 (21:06 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 21 Dec 2018 20:06:55 +0000 (21:06 +0100)
Trivial.

Fixes: 9f0bfbed11f "radv: Work around non-renderable 128bpp compressed 3d textures on GFX9."
src/amd/vulkan/radv_meta_copy.c

index 647a167ab4c78d9a73527f937f538aaff5a93700..5022de3aecdd33f432dca5d92e39ffc59ed91be8 100644 (file)
@@ -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;