mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 17:20:21 +01:00
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:
parent
e529ade0ea
commit
7bbcf3ac70
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue