On Fri, Jun 29, 2018 at 8:31 AM, Timothy Arceri <tarc...@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. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev