summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-07-24 09:54:33 +0100
committerEric Engestrom <[email protected]>2018-07-26 10:06:11 +0100
commit2a4191bb383133a440dccf7a9797f0cbc5b7dd3b (patch)
tree3bb5463eddca57341f19fd7a918ebb6161452cd3 /src
parente68fe445f514ad9327a4e9ad6a5174b66d69a901 (diff)
anv: remove incorrect `UNUSED` flag
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/anv_image.c2
1 files changed, 1 insertions, 1 deletions
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,