summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-10-17 11:59:48 +0100
committerEric Engestrom <[email protected]>2017-10-17 16:19:21 +0100
commitcde785927396e2581a3b3b3301c3783ea9a2961c (patch)
treed1a3d471d50b811147084172d2080b6e0f9c1c10 /src/amd
parent759ab66db036dd911cb589429eb4dbb3eb4fdc4c (diff)
meson: add missing radv_extensions.c generation for libvulkan_radeon
Fixes: 17201a2eb0b1b8538713 "radv: port to using updated anv entrypoint/extension generator." Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Andres Gomez <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/meson.build10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build
index a5a4f813528..6a416d98867 100644
--- a/src/amd/vulkan/meson.build
+++ b/src/amd/vulkan/meson.build
@@ -26,6 +26,14 @@ radv_entrypoints = custom_target(
'--outdir', meson.current_build_dir()],
)
+radv_extensions = custom_target(
+ 'radv_extensions.c',
+ input : ['radv_extensions.py', vk_api_xml],
+ output : ['radv_extensions.c'],
+ command : [prog_python2, '@INPUT0@', '--xml', '@INPUT1@',
+ '--out', '@OUTPUT@'],
+)
+
vk_format_table_c = custom_target(
'vk_format_table.c',
input : ['vk_format_table.py', 'vk_format_layout.csv'],
@@ -102,7 +110,7 @@ endif
libvulkan_radeon = shared_library(
'vulkan_radeon',
- [libradv_files, radv_entrypoints, nir_opcodes_h, vk_format_table_c],
+ [libradv_files, radv_entrypoints, radv_extensions, nir_opcodes_h, vk_format_table_c],
include_directories : [inc_common, inc_amd, inc_amd_common, inc_compiler,
inc_vulkan_util, inc_vulkan_wsi],
link_with : [libamd_common, libamdgpu_addrlib, libvulkan_util,