Mesa (master): radv: Fix wrongly positioned paren.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Dec 21 23:02:03 UTC 2018
Module: Mesa
Branch: master
Commit: bba5749484164ae6af4d89bc55910908b4319c07
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bba5749484164ae6af4d89bc55910908b4319c07
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Fri Dec 21 21:06:55 2018 +0100
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 647a167ab4..5022de3aec 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;
More information about the mesa-commit
mailing list