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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user