From: Jordan Justen Date: Tue, 23 Jun 2020 02:46:23 +0000 (-0700) Subject: iris: Add missing break in switch in modifier_is_supported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44b1f9c6ffe361f9effacd4548e0aacce8c85ecd;p=mesa.git iris: Add missing break in switch in modifier_is_supported The current fall-through doesn't cause a difference in code flow, but I think we want a break here. Fixes: 2305ab693820 ("iris: Refactor modifier_is_supported for gen12") Signed-off-by: Jordan Justen Reviewed-by: Nanley Chery Part-of: --- diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 9fdd79aeffe..ffb0990bded 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -108,6 +108,7 @@ modifier_is_supported(const struct gen_device_info *devinfo, if (rt_format == ISL_FORMAT_UNSUPPORTED || !isl_format_supports_ccs_e(devinfo, rt_format)) return false; + break; } default: break;