mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
nv30: add missing fallthrough comment
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
This commit is contained in:
parent
651441c16f
commit
26aa02b5ab
1 changed files with 1 additions and 0 deletions
|
|
@ -240,6 +240,7 @@ nv30_sampler_view_create(struct pipe_context *pipe, struct pipe_resource *pt,
|
|||
break;
|
||||
case PIPE_TEXTURE_CUBE:
|
||||
so->fmt |= NV30_3D_TEX_FORMAT_CUBIC;
|
||||
/* fallthrough */
|
||||
case PIPE_TEXTURE_2D:
|
||||
case PIPE_TEXTURE_RECT:
|
||||
so->fmt |= NV30_3D_TEX_FORMAT_DIMS_2D;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue