Mesa (master): anv: update fallthrough comment so gcc sees it

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 2 04:11:19 UTC 2020


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

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Jul  1 16:24:59 2020 +1000

anv: update fallthrough comment so gcc sees it

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5714>

---

 src/intel/vulkan/anv_formats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c
index eb1514bb42f..b7cac527ac5 100644
--- a/src/intel/vulkan/anv_formats.c
+++ b/src/intel/vulkan/anv_formats.c
@@ -1155,7 +1155,7 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties2(
             external_props->externalMemoryProperties = android_image_props;
             break;
          }
-      /* fallthrough if ahw not supported */
+      /* fallthrough - if ahw not supported */
       default:
          /* From the Vulkan 1.0.42 spec:
           *



More information about the mesa-commit mailing list