diff options
author | marha <marha@users.sourceforge.net> | 2011-05-10 13:17:13 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-05-10 13:17:13 +0000 |
commit | 0f6aea154580c2f220be98d12108dd7d316c21f6 (patch) | |
tree | c60630ec6de1c0b2a4367133a15a19300afb8625 /mesalib/src/glsl/glsl_parser_extras.cpp | |
parent | 43b2398ee28e9144fd51eb9994d67c4c9a198c9c (diff) | |
download | vcxsrv-0f6aea154580c2f220be98d12108dd7d316c21f6.tar.gz vcxsrv-0f6aea154580c2f220be98d12108dd7d316c21f6.tar.bz2 vcxsrv-0f6aea154580c2f220be98d12108dd7d316c21f6.zip |
libfontenc pixman mesa git update 10 May 2011
Diffstat (limited to 'mesalib/src/glsl/glsl_parser_extras.cpp')
-rw-r--r-- | mesalib/src/glsl/glsl_parser_extras.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mesalib/src/glsl/glsl_parser_extras.cpp b/mesalib/src/glsl/glsl_parser_extras.cpp index 18bff88de..fce2faa75 100644 --- a/mesalib/src/glsl/glsl_parser_extras.cpp +++ b/mesalib/src/glsl/glsl_parser_extras.cpp @@ -240,6 +240,14 @@ _mesa_glsl_process_extension(const char *name, YYLTYPE *name_locp, state->EXT_texture_array_warn = (ext_mode == extension_warn); unsupported = !state->extensions->EXT_texture_array; + } else if (strcmp(name, "GL_ARB_shader_texture_lod") == 0) { + /* Force ARB_texture_rectangle to be on so sampler2DRects are defined */ + state->ARB_texture_rectangle_enable = true; + + state->ARB_shader_texture_lod_enable = (ext_mode != extension_disable); + state->ARB_shader_texture_lod_warn = (ext_mode == extension_warn); + + unsupported = !state->extensions->ARB_shader_texture_lod; } else if (strcmp(name, "GL_ARB_shader_stencil_export") == 0) { state->ARB_shader_stencil_export_enable = (ext_mode != extension_disable); state->ARB_shader_stencil_export_warn = (ext_mode == extension_warn); |