summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-04 20:12:02 +0100
committerJosé Fonseca <[email protected]>2010-04-06 15:38:21 +0100
commit10dd0cad67ebd0476c9e4de522af3eea136b0e93 (patch)
tree75911690d9cbf1cb72a3ba3e35ebb62510807e9a /src/gallium/auxiliary/SConscript
parentd18d0fdcd8daa0d9979b72978795f0305d2db7c8 (diff)
util: Support all SRGB formats.
Based on code from Brian Paul and Michal Krol.
Diffstat (limited to 'src/gallium/auxiliary/SConscript')
-rw-r--r--src/gallium/auxiliary/SConscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/SConscript b/src/gallium/auxiliary/SConscript
index 73d4150448f..e68b3211733 100644
--- a/src/gallium/auxiliary/SConscript
+++ b/src/gallium/auxiliary/SConscript
@@ -24,6 +24,13 @@ env.CodeGenerate(
)
env.CodeGenerate(
+ target = 'util/u_format_srgb.c',
+ script = 'util/u_format_srgb.py',
+ source = [],
+ command = python_cmd + ' $SCRIPT > $TARGET'
+)
+
+env.CodeGenerate(
target = 'util/u_format_table.c',
script = 'util/u_format_table.py',
source = ['util/u_format.csv'],
@@ -149,6 +156,7 @@ source = [
'util/u_draw_quad.c',
'util/u_format.c',
'util/u_format_s3tc.c',
+ 'util/u_format_srgb.c',
'util/u_format_table.c',
'util/u_format_tests.c',
'util/u_gen_mipmap.c',