meson: Make shader-cache a trillean instead of boolean

Graphics / Mesa 3D Graphics Library / Mesa - Dylan Baker [pnwbakers.com] - 3 May 2019 17:57 EDT

So that it can be implicitly disabled on windows, where it doesn't compile.

v2: - Use an auto-option rather than automagic.- fix shader_cache check (== -> !=)
v4: - Use new with_shader_cache instead of get_option('shader-cache') elsewhere in the meson build

f5eafc2dc6a meson: Make shader-cache a trillean instead of boolean
meson.build | 18 ++++++++++++++----
meson_options.txt | 5 +++--
2 files changed, 17 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share