aboutsummaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-06-13 17:18:34 -0400
committerMarge Bot <[email protected]>2020-06-23 09:25:24 +0000
commitca719c6e303966e8acf8a5d7d094e0075e36f6a0 (patch)
tree1401ded2da23dc2170e602f3e5d73499418a87ab /src/util
parentf8e8701cf1b6a9eee3ec401c569ac88d0405f10e (diff)
glsl,driconf: add allow_glsl_120_subset_in_110 for SPECviewperf13
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5459>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/driconf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/driconf.h b/src/util/driconf.h
index 7f9312241d4..b807e669ce2 100644
--- a/src/util/driconf.h
+++ b/src/util/driconf.h
@@ -162,6 +162,11 @@ DRI_CONF_OPT_BEGIN_B(allow_glsl_extension_directive_midshader, def) \
DRI_CONF_DESC("Allow GLSL #extension directives in the middle of shaders") \
DRI_CONF_OPT_END
+#define DRI_CONF_ALLOW_GLSL_120_SUBSET_IN_110(def) \
+DRI_CONF_OPT_BEGIN_B(allow_glsl_120_subset_in_110, def) \
+ DRI_CONF_DESC("Allow a subset of GLSL 1.20 in GLSL 1.10 as needed by SPECviewperf13") \
+DRI_CONF_OPT_END
+
#define DRI_CONF_ALLOW_GLSL_BUILTIN_CONST_EXPRESSION(def) \
DRI_CONF_OPT_BEGIN_B(allow_glsl_builtin_const_expression, def) \
DRI_CONF_DESC("Allow builtins as part of constant expressions") \