Re: [Mesa-dev] [PATCH] mesa/teximage: increase target support for CompressedTexImage3D

2017-11-08 Thread Juan A. Suarez Romero
Please, ignore this patch (wrong subject; sent a new one with the right subject). J.A. On Wed, 2017-11-08 at 16:38 +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 intern

[Mesa-dev] [PATCH] mesa/teximage: increase target support 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