[Mesa-dev] CompressedTexImage3D spec bug?

Marek Olšák maraeo at gmail.com
Fri May 15 10:05:18 PDT 2015


>From ARB_texture_cube_map_array:

Accepted by the <target> parameter of TexImage3D, TexSubImage3D,
    CompressedTeximage3D, CompressedTexSubImage3D and CopyTexSubImage3D:

        TEXTURE_CUBE_MAP_ARRAY_ARB

So the extension spec "fixes" the core spec.

Marek

On Fri, May 15, 2015 at 4:49 AM, Roland Scheidegger <sroland at vmware.com> wrote:
> Accidentally, I stumbled upon this bit in gl 4.5, chapter 8.7
> "Compressed Texture Images":
> "An INVALID_OPERATION error is generated by CompressedTexImage3D if
> internalformat is one of the EAC, ETC2, or RGTC formats and either
> border is non-zero, or target is not TEXTURE_2D_ARRAY."
> This forbids TEXTURE_CUBE_MAP_ARRAY as a target.
> Doesn't look like that's what mesa implements, nor does it make sense.
> This has to be a spec bug, right?
>
> Roland
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list