From 10dd0cad67ebd0476c9e4de522af3eea136b0e93 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sun, 4 Apr 2010 20:12:02 +0100 Subject: util: Support all SRGB formats. Based on code from Brian Paul and Michal Krol. --- src/gallium/auxiliary/SConscript | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gallium/auxiliary/SConscript') 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 @@ -23,6 +23,13 @@ env.CodeGenerate( command = python_cmd + ' $SCRIPT > $TARGET' ) +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', @@ -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', -- cgit v1.2.3