mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
glsl: Regenerate autogenerated file builtin_function.cpp.
For changes way back in ab58b21634.
Should fix fd.o bug #35603.
This commit is contained in:
parent
eaadbacb5c
commit
b531e75cc5
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue