From 26aa02b5ab99bb88a490410b55d357a004d5436b Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 2 Jul 2020 14:24:14 +1000 Subject: [PATCH] nv30: add missing fallthrough comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Reviewed-by: Karol Herbst Part-of: --- src/gallium/drivers/nouveau/nv30/nv30_texture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nouveau/nv30/nv30_texture.c b/src/gallium/drivers/nouveau/nv30/nv30_texture.c index dfea6dea3d7..5d7505deec8 100644 --- a/src/gallium/drivers/nouveau/nv30/nv30_texture.c +++ b/src/gallium/drivers/nouveau/nv30/nv30_texture.c @@ -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; -- 2.30.2