On 02/22/2013 11:27 AM, Jordan Justen wrote:
Using MESA_GL_VERSION_OVERRIDE=3.2 and
MESA_GLSL_VERSION_OVERRIDE=150 currently fails with piglit's
shader_runner. For a GLSL 1.50 test, shader_runner wants to
create a 3.2 core profile for a 1.50 test, but that was not
working. Also, the compiler would assert during initialization
if the version override was 1.50.
Jordan Justen (4):
glsl: allow GLSL compiler version to be overridden to 1.50
mesa version: add _mesa_get_gl_version_override
intel: update max versions based on MESA_GL_VERSION_OVERRIDE
intel: Enable __DRI_API_OPENGL_CORE api with dri2 contexts
src/glsl/builtin_variables.cpp | 2 +
src/glsl/glsl_types.cpp | 1 +
src/mesa/drivers/dri/intel/intel_screen.c | 12 ++++
src/mesa/main/version.c | 94 ++++++++++++++++++++---------
src/mesa/main/version.h | 3 +
5 files changed, 85 insertions(+), 27 deletions(-)
Series seems good to me. This should also eliminate a lot of the
terrible hacks I've had to do to get 3.2 stuff running.
For the series:
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev