Module: Mesa
Branch: master
Commit: 2a4191bb383133a440dccf7a9797f0cbc5b7dd3b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a4191bb383133a440dccf7a9797f0cbc5b7dd3b

Author: Eric Engestrom <[email protected]>
Date:   Tue Jul 24 09:54:33 2018 +0100

anv: remove incorrect `UNUSED` flag

Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>

---

 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 5d9becf517..36d4ac13c7 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,

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to