[Mesa-dev] [PATCH] ilo: Add missing break statement in aos_tex TGSI_OPCODE_TEX2 case.
Chia-I Wu
olvaffe at gmail.com
Mon May 6 21:19:50 PDT 2013
On Mon, May 6, 2013 at 3:51 AM, Vinson Lee <vlee at freedesktop.org> wrote:
> Fixes "Missing break in switch" defect reported by Coverity.
>
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Applied. Thanks.
> ---
> src/gallium/drivers/ilo/shader/toy_tgsi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/ilo/shader/toy_tgsi.c b/src/gallium/drivers/ilo/shader/toy_tgsi.c
> index c2b1da5..046c646 100644
> --- a/src/gallium/drivers/ilo/shader/toy_tgsi.c
> +++ b/src/gallium/drivers/ilo/shader/toy_tgsi.c
> @@ -357,6 +357,7 @@ aos_tex(struct toy_compiler *tc,
> break;
> case TGSI_OPCODE_TEX2:
> opcode = TOY_OPCODE_TGSI_TEX2;
> + break;
> case TGSI_OPCODE_TXB2:
> opcode = TOY_OPCODE_TGSI_TXB2;
> break;
> --
> 1.8.1.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
--
olv at LunarG.com
More information about the mesa-dev
mailing list