[Mesa-dev] [PATCH] Correct test for depth parameter for checking if dimension is legal

Matt Turner mattst88 at gmail.com
Mon Jan 27 09:20:02 PST 2014


Okay if we make this the subject?

> mesa: Allow depth = 0 parameter for TexImage3D.

I'll also mark it for stable when I commit it.

Reviewed-by: Matt Turner <mattst88 at gmail.com>

On Mon, Jan 27, 2014 at 2:16 AM, Kevin Rogovin <kevin.rogovin at intel.com> wrote:
> Fixes the tests for the depth parameter for TexImage3D calls when the
> target type is GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP_ARRAY
> so that a depth value of 0 is accepted. Previously, the check
> incorrectly required the depth argument to be atleast 1.


More information about the mesa-dev mailing list