summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <dylan.c.baker@intel.com>2020-11-19 16:09:22 -0800
committerMarge Bot <eric+marge@anholt.net>2020-11-23 17:31:55 +0000
commit7ca4a478ad307e3e706e86b2786929a6a3b7dff8 (patch)
treec02321172d665846afd6f92aed38feb2cf12b9cd /meson_options.txt
parenta92f597b98bb032b904c7c8a8c3a9fe798b51915 (diff)
meson: Don't add extra values to shader-cache
We're trying to move to using a feature here, adding more values breaks that. Fixes: 5de56937a3d009659076dc67de6a57379fc7a31b ("disk_cache: build option for disabled-by-default") Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7699>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 1847928cea2..bae9aa82c2d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -185,8 +185,14 @@ option(
'shader-cache',
type : 'combo',
value : 'auto',
- choices : ['auto', 'true', 'false', 'enabled', 'disabled', 'default-disabled'],
- description : 'Build with on-disk shader cache support. If set to default-disabled, the feature is only activated when environment variable MESA_GLSL_CACHE_DISABLE is set to false'
+ choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
+ description : 'Build with on-disk shader cache support.',
+)
+option(
+ 'shader-cache-default',
+ type : 'boolean',
+ value : true,
+ description : 'If set to false, the feature is only activated when environment variable MESA_GLSL_CACHE_DISABLE is set to false',
)
option(
'vulkan-icd-dir',