mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
freedreno: Fixes warning [-Wimplicit-fallthrough] in fd5_texture.h
Warning message: ../src/gallium/drivers/freedreno/a5xx/fd5_texture.h:71: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
85f0d4e269
commit
7fda8d149b
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ fd5_tex_type(unsigned target)
|
|||
{
|
||||
switch (target) {
|
||||
default:
|
||||
assert(0);
|
||||
unreachable("Unsupported target");;
|
||||
case PIPE_BUFFER:
|
||||
return A5XX_TEX_BUFFER;
|
||||
case PIPE_TEXTURE_1D:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue