summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/meson.build
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-10-05 21:31:29 +0200
committerBas Nieuwenhuizen <[email protected]>2017-10-05 23:46:21 +0200
commit908a25ecb0a2f435d3882a4f1849140df562e32a (patch)
tree854895b95b007a42cb042a0ae66fa2c256d24a07 /src/amd/vulkan/meson.build
parent18bdf73556440ca2eaac2d22e1e3ebe1be7b6c1d (diff)
meson: generate builddir/src/amd/vulkan/dev_icd.json
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/amd/vulkan/meson.build')
-rw-r--r--src/amd/vulkan/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build
index 02a2703a5c1..a5a4f813528 100644
--- a/src/amd/vulkan/meson.build
+++ b/src/amd/vulkan/meson.build
@@ -116,9 +116,16 @@ libvulkan_radeon = shared_library(
radv_data = configuration_data()
radv_data.set('install_libdir', join_paths(get_option('prefix'), get_option('libdir')))
+radv_data.set('libvulkan_radeon_path', libvulkan_radeon.full_path())
+
configure_file(
configuration : radv_data,
input : 'radeon_icd.json.in',
output : 'radeon_icd.@[email protected]'.format(target_machine.cpu()),
install_dir : with_vulkan_icd_dir,
)
+configure_file(
+ configuration : radv_data,
+ input : 'dev_icd.json.in',
+ output : 'dev_icd.json'
+)