Module: Mesa
Branch: main
Commit: 8de17393f5c11e5de6d1966e59888cf10102507c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8de17393f5c11e5de6d1966e59888cf10102507c

Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Oct 10 07:48:59 2022 -0400

zink: fix weird formatting

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19018>

---

 src/gallium/drivers/zink/zink_resource.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gallium/drivers/zink/zink_resource.c 
b/src/gallium/drivers/zink/zink_resource.c
index e3b793ee7f6..2e558c65bcc 100644
--- a/src/gallium/drivers/zink/zink_resource.c
+++ b/src/gallium/drivers/zink/zink_resource.c
@@ -408,8 +408,7 @@ get_image_usage(struct zink_screen *screen, 
VkImageCreateInfo *ici, const struct
                return usage;
          }
       }
-   } else
-   {
+   } else {
       VkFormatProperties props = screen->format_props[templ->format];
       VkFormatFeatureFlags feats = tiling == VK_IMAGE_TILING_LINEAR ? 
props.linearTilingFeatures : props.optimalTilingFeatures;
       if (ici->flags & VK_IMAGE_CREATE_EXTENDED_USAGE_BIT)

Reply via email to