mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
etnaviv: add missing fallthrough annotation
Caught by Coverity, reported to me by imirkin. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
parent
383e8e2d5d
commit
f709096d0e
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue