mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 22:18:13 +02:00
scons: fix SPIR-V -> NIR build
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Tested-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Fixes:18f9fc919e('spirv: add and use a generator id enum') Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7096> (cherry picked from commit044d213086)
This commit is contained in:
parent
0e076355cc
commit
50d73a42ba
2 changed files with 8 additions and 1 deletions
|
|
@ -4954,7 +4954,7 @@
|
|||
"description": "scons: fix SPIR-V -> NIR build",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "18f9fc919e1b5e7511cc3085dd990b7ca037f38e"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -39,6 +39,13 @@ env.CodeGenerate(
|
|||
command = python_cmd + ' $SCRIPT $SOURCE $TARGET'
|
||||
)
|
||||
|
||||
env.CodeGenerate(
|
||||
target = 'spirv/vtn_generator_ids.h',
|
||||
script = 'spirv/vtn_generator_ids_h.py',
|
||||
source = ['spirv/spir-v.xml'],
|
||||
command = python_cmd + ' $SCRIPT $SOURCE $TARGET'
|
||||
)
|
||||
|
||||
# parse Makefile.sources
|
||||
source_lists = env.ParseSourceList('Makefile.sources')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue