[Mesa-dev] [PATCH 0/4] Fix issue with overriding GL to 3.2 and GLSL to 1.50

Jordan Justen jordan.l.justen at intel.com
Fri Feb 22 11:27:31 PST 2013


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(-)

-- 
1.7.10.4



More information about the mesa-dev mailing list