[Mesa-dev] [PATCH] mesa: Allow override of GL version with environment variables

2011-09-26 Thread Chad Versace
It is necessary to manually set the GL version to 3.0 in order to run Piglit tests using glGetUniform*(). This patch allows one to override the version of an OpenGL, OpenGL ES1, or OpenGL ES2 context by setting the environment variable MESA_GL_VERSION, MESA_GLES1_VERSION, or MESA_GLES2_VERSION.

Re: [Mesa-dev] [PATCH] mesa: Allow override of GL version with environment variables

2011-09-26 Thread Brian Paul
On Mon, Sep 26, 2011 at 1:05 PM, Chad Versace c...@chad-versace.us wrote: It is necessary to manually set the GL version to 3.0 in order to run Piglit tests using glGetUniform*(). This patch allows one to override the version of an OpenGL, OpenGL ES1, or OpenGL ES2 context by setting the

Re: [Mesa-dev] [PATCH] mesa: Allow override of GL version with environment variables

2011-09-26 Thread Ian Romanick
On 09/26/2011 12:05 PM, Chad Versace wrote: It is necessary to manually set the GL version to 3.0 in order to run Piglit tests using glGetUniform*(). This patch allows one to override the version of an OpenGL, OpenGL ES1, or OpenGL ES2 context by setting the environment variable

Re: [Mesa-dev] [PATCH] mesa: Allow override of GL version with environment variables

2011-09-26 Thread Kenneth Graunke
On 09/26/2011 12:57 PM, Ian Romanick wrote: On 09/26/2011 12:05 PM, Chad Versace wrote: It is necessary to manually set the GL version to 3.0 in order to run Piglit tests using glGetUniform*(). This patch allows one to override the version of an OpenGL, OpenGL ES1, or OpenGL ES2 context by