Re: [Mesa-dev] [PATCH] mesa: Allow TexImage3D on depth/stencil textures in ES 3.0.

2013-01-16 Thread Ian Romanick
On 01/16/2013 01:49 PM, Kenneth Graunke wrote: ES 3.0 supports 2D array textures, which are populated via TexImage3D. Fixes es3conform's shadow_execution_frag test. Actually, this should be handled by other checks already in texture_error_check. Search for "additional checks for depth textur

Re: [Mesa-dev] [PATCH] mesa: Allow TexImage3D on depth/stencil textures in ES 3.0.

2013-01-16 Thread Matt Turner
On Wed, Jan 16, 2013 at 2:38 PM, Ian Romanick wrote: > These checks are suck. :( Won't this let you specify depth component > textures for GL_TEXTURE_3D textures too? Looks like it, since packed_pixels_pixelstore is failing with this patch. ___ mesa-de

Re: [Mesa-dev] [PATCH] mesa: Allow TexImage3D on depth/stencil textures in ES 3.0.

2013-01-16 Thread Ian Romanick
On 01/16/2013 01:49 PM, Kenneth Graunke wrote: ES 3.0 supports 2D array textures, which are populated via TexImage3D. Fixes es3conform's shadow_execution_frag test. Signed-off-by: Kenneth Graunke --- src/mesa/main/glformats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

[Mesa-dev] [PATCH] mesa: Allow TexImage3D on depth/stencil textures in ES 3.0.

2013-01-16 Thread Kenneth Graunke
ES 3.0 supports 2D array textures, which are populated via TexImage3D. Fixes es3conform's shadow_execution_frag test. Signed-off-by: Kenneth Graunke --- src/mesa/main/glformats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/gl