diff options
author | Samuel Pitoiset <[email protected]> | 2019-06-25 18:15:14 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-07-07 17:03:38 +0200 |
commit | 3dc5ec5d167fba9cc44793499fd74fbc75beb627 (patch) | |
tree | 1c56ca3b5820802b14665068965d44d36e7a6007 /src/amd/vulkan/meson.build | |
parent | 9c1266048f530926ff3da4172680be76f854f738 (diff) |
radv/gfx10: generate gfx10_format_table.h
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/meson.build')
-rw-r--r-- | src/amd/vulkan/meson.build | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build index 2ff2fb34465..80f2d8fc0b0 100644 --- a/src/amd/vulkan/meson.build +++ b/src/amd/vulkan/meson.build @@ -48,6 +48,15 @@ amd_vk_format_table_c = custom_target( capture : true, ) +radv_gfx10_format_table_h = custom_target( + 'radv_gfx10_format_table.h', + input : ['gfx10_format_table.py', 'vk_format_layout.csv', '../registers/gfx10-rsrc.json'], + output : 'gfx10_format_table.h', + command : [prog_python, '@INPUT@'], + capture : true, + depend_files : files('../registers/regdb.py') +) + libradv_files = files( 'winsys/amdgpu/radv_amdgpu_bo.c', 'winsys/amdgpu/radv_amdgpu_bo.h', @@ -138,7 +147,7 @@ endif libvulkan_radeon = shared_library( 'vulkan_radeon', - [libradv_files, radv_entrypoints, radv_extensions_c, amd_vk_format_table_c, sha1_h, xmlpool_options_h], + [libradv_files, radv_entrypoints, radv_extensions_c, amd_vk_format_table_c, sha1_h, xmlpool_options_h, radv_gfx10_format_table_h], include_directories : [ inc_common, inc_amd, inc_amd_common, inc_compiler, inc_util, inc_vulkan_wsi, ], |