scons: add code to generate format_fallback.c file
Fixes: a1983223d8
"mesa: Add _mesa_format_fallback_rgbx_to_rgba() [v2]"
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
@@ -79,6 +79,13 @@ format_unpack = env.CodeGenerate(
|
||||
command = python_cmd + ' $SCRIPT ' + ' $SOURCE > $TARGET'
|
||||
)
|
||||
|
||||
format_fallback = env.CodeGenerate(
|
||||
target = 'main/format_fallback.c',
|
||||
script = 'main/format_fallback.py',
|
||||
source = 'main/formats.csv',
|
||||
command = python_cmd + ' $SCRIPT ' + ' $SOURCE ' + ' $TARGET'
|
||||
)
|
||||
|
||||
#
|
||||
# Assembly sources
|
||||
#
|
||||
|
Reference in New Issue
Block a user