Commit 044d2130 authored by Rhys Perry's avatar Rhys Perry
Browse files

scons: fix SPIR-V -> NIR build



Signed-off-by: Rhys Perry's avatarRhys Perry <pendingchaos02@gmail.com>
Tested-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: default avatarRoland Scheidegger <sroland@vmware.com>
Fixes: 18f9fc91 ('spirv: add and use a generator id enum')
Part-of: <mesa/mesa!7096>
parent c1223157
Pipeline #213278 waiting for manual action with stages
......@@ -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')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment