aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-12-21 21:06:55 +0100
committerBas Nieuwenhuizen <[email protected]>2018-12-21 21:06:55 +0100
commitbba5749484164ae6af4d89bc55910908b4319c07 (patch)
treec7750a1ca28cb0142c2e0baaae936f773eccb508 /src/amd
parent1e872d14865fbe8dddf41b57b79137305144ead1 (diff)
radv: Fix wrongly positioned paren.
Trivial. Fixes: 9f0bfbed11f "radv: Work around non-renderable 128bpp compressed 3d textures on GFX9."
Diffstat (limited to 'src/amd')
-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;