mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 07:40:11 +01:00
anv/meson: Add float64_spv_h custom target
Signed-off-by: Mykhailo Skorokhodov <mykhailo.skorokhodov@globallogic.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18854>
This commit is contained in:
parent
f8425e661a
commit
829d74b2f2
1 changed files with 14 additions and 1 deletions
|
|
@ -43,6 +43,19 @@ anv_entrypoints = custom_target(
|
|||
depend_files : vk_entrypoints_gen_depend_files,
|
||||
)
|
||||
|
||||
float64_spv_h = custom_target(
|
||||
'float64_spv.h',
|
||||
input : [glsl2spirv, float64_glsl_file],
|
||||
output : 'float64_spv.h',
|
||||
command : [
|
||||
prog_python, '@INPUT@', '@OUTPUT@',
|
||||
'--create-entry', 'main',
|
||||
'--vn', 'float64_spv_source',
|
||||
'--glsl-version', '450',
|
||||
'-Olib',
|
||||
]
|
||||
)
|
||||
|
||||
idep_anv_headers = declare_dependency(
|
||||
sources : [anv_entrypoints[0]],
|
||||
include_directories : inc_anv,
|
||||
|
|
@ -195,7 +208,7 @@ libanv_common = static_library(
|
|||
'anv_common',
|
||||
[
|
||||
libanv_files, anv_entrypoints, sha1_h,
|
||||
gen_xml_pack,
|
||||
gen_xml_pack, float64_spv_h,
|
||||
],
|
||||
include_directories : [
|
||||
inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_intel, inc_compiler,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue