diff options
author | Jordan Justen <[email protected]> | 2020-06-22 19:46:23 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2020-07-09 17:20:14 -0700 |
commit | 44b1f9c6ffe361f9effacd4548e0aacce8c85ecd (patch) | |
tree | 13584641c46b680ae9f9c9b6e6db30ea5eb7a09c /src | |
parent | ffb6eb6d5df7a227bedae31376f826099b4c00b9 (diff) |
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 <[email protected]>
Reviewed-by: Nanley Chery <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5618>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_resource.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |