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 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
