mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 00:50:07 +01:00
freedreno: Fixes warning [-Wimplicit-fallthrough] in fd2_texture.c
Warning message: ../src/gallium/drivers/freedreno/a2xx/fd2_texture.c:150: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
ac65f57438
commit
76a10cae12
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ tex_dimension(unsigned target)
|
|||
{
|
||||
switch (target) {
|
||||
default:
|
||||
assert(0);
|
||||
unreachable("Unsupported target");
|
||||
case PIPE_TEXTURE_1D:
|
||||
assert(0); /* TODO */
|
||||
return SQ_TEX_DIMENSION_1D;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue