From 44b1f9c6ffe361f9effacd4548e0aacce8c85ecd Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 22 Jun 2020 19:46:23 -0700 Subject: [PATCH] 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: --- src/gallium/drivers/iris/iris_resource.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2