[Piglit] [PATCH] arb_internalformat_query2: Add fall through comment.

Alejandro Piñeiro apinheiro at igalia.com
Thu Apr 7 07:04:40 UTC 2016


Reviewed-by: Alejandro Piñeiro <apinheiro at igalia.com>

On 07/04/16 00:59, Vinson Lee wrote:
> Silence Coverity "missing break in switch" defect.
>
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
>  tests/spec/arb_internalformat_query2/common.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/spec/arb_internalformat_query2/common.c b/tests/spec/arb_internalformat_query2/common.c
> index e07e2c507ba0..94268a7d2846 100644
> --- a/tests/spec/arb_internalformat_query2/common.c
> +++ b/tests/spec/arb_internalformat_query2/common.c
> @@ -459,6 +459,7 @@ create_texture(const GLenum target,
>                  /* cube map arrays also use TexImage3D buth depth
>                   * needs to be a multiple of six */
>                  depth = 6;
> +                /* fall through */
>          case GL_TEXTURE_2D_ARRAY:
>          case GL_TEXTURE_3D:
>                  glTexImage3D(target, 0, internalformat, width, height, depth, 0,



More information about the Piglit mailing list