diff options
author | Nicolai Hähnle <[email protected]> | 2017-11-14 15:01:13 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-03 15:51:12 -0400 |
commit | 0ffa2292b36346ed4255cb93a1e9544101cb616e (patch) | |
tree | 1c432990a47403b226951460688e1dc054767b60 /src/gallium/drivers/radeonsi/meson.build | |
parent | af29ad7cc6b122bfdfd15ae4b67951c9c679a022 (diff) |
radeonsi/gfx10: generate gfx10_format_table.h
Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/meson.build')
-rw-r--r-- | src/gallium/drivers/radeonsi/meson.build | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/meson.build b/src/gallium/drivers/radeonsi/meson.build index 6d5e9339585..d733452300d 100644 --- a/src/gallium/drivers/radeonsi/meson.build +++ b/src/gallium/drivers/radeonsi/meson.build @@ -99,9 +99,21 @@ si_driinfo_h = custom_target( capture : true, ) +gfx10_format_table_h = custom_target( + 'gfx10_format_table.h', + input : files( + 'gfx10_format_table.py', + '../../auxiliary/util/u_format.csv', '../../../amd/registers/gfx10-rsrc.json' + ), + output : 'gfx10_format_table.h', + command : [prog_python, '@INPUT@'], + capture : true, + depend_files : ['../../../amd/registers/regdb.py'] +) + libradeonsi = static_library( 'radeonsi', - [files_libradeonsi, si_driinfo_h, sid_tables_h], + [files_libradeonsi, si_driinfo_h, sid_tables_h, gfx10_format_table_h], include_directories : [ inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_amd_common, inc_gallium_drivers, |