freedreno: Fixes warning [-Wimplicit-fallthrough] in freedreno_util.h

Warning message:
../src/gallium/drivers/freedreno/freedreno_util.h:433:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18204>
This commit is contained in:
Yonggang Luo 2022-08-23 12:33:25 +08:00 committed by Marge Bot
parent 35ab2a6568
commit d29f6057d7

View file

@ -429,7 +429,7 @@ fd_msaa_samples(unsigned samples)
{
switch (samples) {
default:
assert(0);
unreachable("Unsupported samples");
case 0:
case 1:
return MSAA_ONE;