[Mesa-dev] [PATCH] glsl: enable EXT_texture_array by default in 1.30

Ilia Mirkin imirkin at alum.mit.edu
Fri Jun 29 12:46:09 UTC 2018

On Fri, Jun 29, 2018 at 8:31 AM, Timothy Arceri <tarceri at itsqueeze.com> wrote:
> On 29/06/18 21:34, Ilia Mirkin wrote:
>> NAK.
>> The extension was not made core in GL 3.0. Many of the features were
>> integrated into GL 3.0, but the actual extension text was not merged.
>> (As is often true with extensions' functionality being integrated into
>> core specs.) These enables control various functions like
>> texture2DArray() and so on -- these are not part of the GLSL 1.30
>> spec. (And GLSL 1.30 deprecated the previously existing textureType()
>> variants.)
> Meh your right. OpenGL really sucks sometimes. It's next to impossible for a
> CTS to stop this kind of behavior (drivers exposing functions incorrectly).

Negative tests that make sure things aren't enabled, but yeah - annoying.

> Guess its back to adding another drirc entry and config option.

You can just have it add

#extension all: warn

into the shader (I think that's an existing option). Not generally
safe, but if it works for a particular game, pretty easy.

More information about the mesa-dev mailing list