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:
Yonggang Luo 2022-08-23 13:22:39 +08:00 committed by Marge Bot
parent 85f0d4e269
commit 7fda8d149b

View file

@ -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: