mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 16:38:09 +02:00
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:
parent
d29f6057d7
commit
ac65f57438
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue