Re: [Mesa-dev] [PATCH 6/7] mesa: Validate the layer selection of an array texture too

2013-07-31 Thread Ian Romanick
On 07/31/2013 03:07 PM, Marek Olšák wrote: I think we should also validate the layer for GL_TEXTURE_CUBE_MAP_ARRAY. You are correct. I'll update the patch and the test case. Marek On Wed, Jul 31, 2013 at 10:29 PM, Ian Romanick wrote: From: Ian Romanick Previously only the slice of a 3D

Re: [Mesa-dev] [PATCH 6/7] mesa: Validate the layer selection of an array texture too

2013-07-31 Thread Marek Olšák
I think we should also validate the layer for GL_TEXTURE_CUBE_MAP_ARRAY. Marek On Wed, Jul 31, 2013 at 10:29 PM, Ian Romanick wrote: > From: Ian Romanick > > Previously only the slice of a 3D texture was validated in the FBO > completeness check. This fixes the failure in the 'invalid layer of

[Mesa-dev] [PATCH 6/7] mesa: Validate the layer selection of an array texture too

2013-07-31 Thread Ian Romanick
From: Ian Romanick Previously only the slice of a 3D texture was validated in the FBO completeness check. This fixes the failure in the 'invalid layer of an array texture' subtest of piglit's fbo-incomplete test. v2: 1D_ARRAY textures have Depth == 1. Instead, compare against Height. Signed-o