spirv: add missing build dependency

Fixes: 59a72570b6 ("compiler: Move spirv into a module of its own")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10277
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26624>
(cherry picked from commit c51e40dd8b)
This commit is contained in:
Eric Engestrom
2023-12-10 16:35:53 +00:00
committed by Eric Engestrom
parent a858601acd
commit da30685af9
2 changed files with 4 additions and 2 deletions

View File

@@ -264,7 +264,7 @@
"description": "spirv: add missing build dependency",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "59a72570b66ad7c4fd953e18e18a9b09b1a7ae7e",
"notes": null

View File

@@ -81,7 +81,9 @@ idep_vtn = declare_dependency(
spirv2nir = executable(
'spirv2nir',
files('spirv2nir.c'),
files('spirv2nir.c') + [
vtn_generator_ids_h,
],
dependencies : [dep_m, idep_vtn, idep_mesautil],
include_directories : [inc_include, inc_src, inc_mapi, inc_mesa],
c_args : [c_msvc_compat_args, no_override_init_args],