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

Warning message:
../src/gallium/drivers/freedreno/a4xx/fd4_texture.h:75: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:00:31 +08:00 committed by Marge Bot
parent d29f6057d7
commit ac65f57438

View file

@ -71,7 +71,7 @@ fd4_tex_type(unsigned target)
{
switch (target) {
default:
assert(0);
unreachable("Unsupported target");
case PIPE_BUFFER:
return A4XX_TEX_BUFFER;
case PIPE_TEXTURE_1D: