Re: [Mesa-dev] [PATCH] mesa/teximage: add more targets for CompressedTexImage3D

2017-11-15 Thread Juan A. Suarez Romero
On Tue, 2017-11-14 at 16:57 -0800, Nanley Chery wrote: > On Wed, Nov 08, 2017 at 04:52:02PM +0100, Juan A. Suarez Romero wrote: > > From section 8.7, page 179 of OpenGL ES 3.2 spec: > > > > An INVALID_OPERATION error is generated by CompressedTexImage3D > > if internalformat is one of the the

Re: [Mesa-dev] [PATCH] mesa/teximage: add more targets for CompressedTexImage3D

2017-11-14 Thread Nanley Chery
On Wed, Nov 08, 2017 at 04:52:02PM +0100, Juan A. Suarez Romero wrote: > From section 8.7, page 179 of OpenGL ES 3.2 spec: > > An INVALID_OPERATION error is generated by CompressedTexImage3D > if internalformat is one of the the formats in table 8.17 and target > is not TEXTURE_2D_ARRAY, TEX

[Mesa-dev] [PATCH] mesa/teximage: add more targets for CompressedTexImage3D

2017-11-08 Thread Juan A. Suarez Romero
From section 8.7, page 179 of OpenGL ES 3.2 spec: An INVALID_OPERATION error is generated by CompressedTexImage3D if internalformat is one of the the formats in table 8.17 and target is not TEXTURE_2D_ARRAY, TEXTURE_CUBE_MAP_ARRAY or TEXTURE_3D. So far it was only considering TEXTURE_2D_ARR