meson: use a feature option for shader_cache

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20409>
This commit is contained in:
Dylan Baker
2022-12-20 15:09:41 -08:00
committed by Marge Bot
parent b200d547dc
commit 98bd7cdb8c
2 changed files with 9 additions and 25 deletions

View File

@@ -200,9 +200,7 @@ option(
)
option(
'shader-cache',
type : 'combo',
value : 'auto',
choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
type : 'feature',
description : 'Build with on-disk shader cache support.',
)
option(