glsl,driconf: add allow_glsl_120_subset_in_110 for SPECviewperf13
[mesa.git] / src / mesa / state_tracker / st_extensions.c
index 0efd16bfd4a64d89b4319e082a2f3345f61877b3..1ba60a94a385de493ad1c611f99e28e2c8535be4 100644 (file)
@@ -1402,6 +1402,9 @@ void st_init_extensions(struct pipe_screen *screen,
    if (options->allow_glsl_extension_directive_midshader)
       consts->AllowGLSLExtensionDirectiveMidShader = GL_TRUE;
 
+   if (options->allow_glsl_120_subset_in_110)
+      consts->AllowGLSL120SubsetIn110 = GL_TRUE;
+
    if (options->allow_glsl_builtin_const_expression)
       consts->AllowGLSLBuiltinConstantExpression = GL_TRUE;