[Mesa-dev] [PATCH mesa] anv: remove incorrect `UNUSED` flag
Eric Engestrom
eric.engestrom at intel.com
Wed Jul 25 19:11:44 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
src/intel/vulkan/anv_image.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index 5d9becf51723b8a4ca47..36d4ac13c75d8a22e7ee 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,
--
Cheers,
Eric
More information about the mesa-dev
mailing list