Jordan Justen <jordan.l.jus...@intel.com> writes:

> Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com>
> ---
>  src/mesa/main/texformat.c |   13 +++++++++++++
>  src/mesa/main/texformat.h |    2 ++
>  2 files changed, 15 insertions(+)
>
> diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c
> index ed40b7e..a7df868 100644
> --- a/src/mesa/main/texformat.c
> +++ b/src/mesa/main/texformat.c
> @@ -929,3 +929,16 @@ _mesa_choose_tex_format(struct gl_context *ctx, GLenum 
> target,
>     return MESA_FORMAT_NONE;
>  }
>  
> +GLboolean
> +_mesa_tex_target_is_array(GLenum target)
> +{
> +   switch (target) {
> +   case GL_TEXTURE_1D_ARRAY_EXT:
> +   case GL_TEXTURE_2D_ARRAY_EXT:
> +   case GL_TEXTURE_2D_MULTISAMPLE_ARRAY:
> +   case GL_TEXTURE_CUBE_MAP_ARRAY:
> +      return GL_TRUE;
> +   default: 

trailing whitespace.

With the removal of the extraneous change in patch 2, patches 1-4 are:

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgprt6NkCEVfw.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to