From 2a4191bb383133a440dccf7a9797f0cbc5b7dd3b Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 24 Jul 2018 09:54:33 +0100 Subject: anv: remove incorrect `UNUSED` flag Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- src/intel/vulkan/anv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 5d9becf5172..36d4ac13c75 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -303,7 +303,7 @@ make_surface(const struct anv_device *dev, VkImageAspectFlagBits aspect) { const VkImageCreateInfo *vk_info = anv_info->vk_info; - bool ok UNUSED; + bool ok; static const enum isl_surf_dim vk_to_isl_surf_dim[] = { [VK_IMAGE_TYPE_1D] = ISL_SURF_DIM_1D, -- cgit v1.2.3