nv30: add missing fallthrough comment
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 2 Jul 2020 04:24:14 +0000 (14:24 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 23:52:53 +0000 (23:52 +0000)
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>

src/gallium/drivers/nouveau/nv30/nv30_texture.c

index dfea6dea3d7ca5d7357251b8e1fc09c32b4d3f7b..5d7505deec8f4bc9a6c302b8c824c29b592f7df5 100644 (file)
@@ -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;