diff options
author | Christian Gmeiner <[email protected]> | 2017-02-08 13:03:19 +0100 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-02-21 21:14:01 +0100 |
commit | f709096d0e34c3f6c9b3e45683b301b9d97a0d1a (patch) | |
tree | 54ae5b550b12ebb9f8180474010f833367f75a2a /src/gallium/drivers/etnaviv | |
parent | 383e8e2d5dc88b3abaec66c228e0f1558d5c7538 (diff) |
etnaviv: add missing fallthrough annotation
Caught by Coverity, reported to me by imirkin.
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_texture.c b/src/gallium/drivers/etnaviv/etnaviv_texture.c index c020fb23b51..1d32c12badd 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_texture.c +++ b/src/gallium/drivers/etnaviv/etnaviv_texture.c @@ -192,6 +192,7 @@ etna_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc, * but set T wrap to repeat */ sv->TE_SAMPLER_CONFIG0_MASK = ~VIVS_TE_SAMPLER_CONFIG0_VWRAP__MASK; sv->TE_SAMPLER_CONFIG0 |= VIVS_TE_SAMPLER_CONFIG0_VWRAP(TEXTURE_WRAPMODE_REPEAT); + /* fallthrough */ case PIPE_TEXTURE_2D: case PIPE_TEXTURE_RECT: sv->TE_SAMPLER_CONFIG0 |= VIVS_TE_SAMPLER_CONFIG0_TYPE(TEXTURE_TYPE_2D); |