mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
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:
parent
35ab2a6568
commit
d29f6057d7
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ fd_msaa_samples(unsigned samples)
|
|||
{
|
||||
switch (samples) {
|
||||
default:
|
||||
assert(0);
|
||||
unreachable("Unsupported samples");
|
||||
case 0:
|
||||
case 1:
|
||||
return MSAA_ONE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue