summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-09-20 11:53:29 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-09-27 09:12:34 -0700
commit673dda8330769309a319d3e7f24a029cd72a1caf (patch)
treee6418ab1566d57904f24b5e85fc03f47497aaf91 /meson_options.txt
parentd1992255bb29054fa51763376d125183a9f602f3 (diff)
meson: build "radv" vulkan driver for radeon hardware
This builds, installs, and has been tested on a r290x (Hawaii) with the Vulkan CTS. It dies horribly in a fire at the same point for the meson build as the autotools build. v2: - enable radv by default - add shader cache support and enforce that it's built for radv v3: - Fix typo in meson_options (Nicholas) - strip trailing 'svn' from llvm version before setting the version preprocessor flag (Bas) - Check for LLVM module requirements Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 0e0d04a0f8..082ade7f48 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -20,8 +20,10 @@
option('platforms', type : 'string', value : 'x11,wayland',
description : 'comma separated list of window systems to support. wayland, x11, surfaceless, drm, etc.')
-option('vulkan-drivers', type : 'string', value : 'intel',
+option('vulkan-drivers', type : 'string', value : 'intel,amd',
description : 'comma separated list of vulkan drivers to build.')
+option('shader-cache', type : 'boolean', value : true,
+ description : 'Build with on-disk shader cache support')
option('vulkan_icd_dir', type : 'string', value : '',
description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d')
option('valgrind', type : 'boolean', value : true,