Module: Mesa Branch: 7.10 Commit: b531e75cc53803ed4588edfdb235a37c88d4087e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b531e75cc53803ed4588edfdb235a37c88d4087e
Author: Kenneth Graunke <[email protected]> Date: Tue May 31 12:02:53 2011 -0700 glsl: Regenerate autogenerated file builtin_function.cpp. For changes way back in ab58b216349bcef94426132161e760b16cd11dbd. Should fix fd.o bug #35603. --- src/glsl/builtin_function.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/glsl/builtin_function.cpp b/src/glsl/builtin_function.cpp index c6d1fc8..0202adc 100644 --- a/src/glsl/builtin_function.cpp +++ b/src/glsl/builtin_function.cpp @@ -37,6 +37,8 @@ read_builtins(GLenum target, const char *protos, const char **functions, unsigne { struct gl_context fakeCtx; fakeCtx.API = API_OPENGL; + fakeCtx.Const.GLSLVersion = 130; + fakeCtx.Extensions.ARB_ES2_compatibility = true; gl_shader *sh = _mesa_new_shader(NULL, 0, target); struct _mesa_glsl_parse_state *st = new(sh) _mesa_glsl_parse_state(&fakeCtx, target, sh); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
