[Piglit] [Mesa-dev] [PATCH] piglit/general/texunits: fix to check the correct extension and be less pedantic
brianp at vmware.com
Fri Apr 16 07:44:58 PDT 2010
Luca Barbieri wrote:
>> I think the real source of difficulty is that you don't have to opt-in
>> to extensions. This makes it easy for application developers to
>> accidentally rely on extension behavior that is supported on their
>> development machine. When the code is run on a different system, it may
>> mysteriously fail.
> Yes, indeed.
> Conceivably we could have a mechanism to let the developer force Mesa
> extensions off.
The MESA_EXTENSION_OVERRIDE env var lets you disable GL extensions for
testing purposes, etc. Ex:
will disable GL_ARB_vertex_shader (note the '-').
More information about the Piglit