anv: remove incorrect UNUSED flag

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
Eric Engestrom
2018-07-24 09:54:33 +01:00
parent e68fe445f5
commit 2a4191bb38
+1 -1
View File
@@ -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,