aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_format_pack.py
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-08 18:55:51 +0100
committerJosé Fonseca <[email protected]>2010-04-08 19:03:41 +0100
commit956b2f74d8048ee9e0cfde4704bb9a5e438c3b03 (patch)
treed7e6808f1d66cc139bf3a1b3dc12ec39566e5da5 /src/gallium/auxiliary/util/u_format_pack.py
parent1320017049ba3e59e9811a9cfe942f2eef9b0d11 (diff)
util: Describe, implement, and test the new D3D9 color formats.
Diffstat (limited to 'src/gallium/auxiliary/util/u_format_pack.py')
-rw-r--r--src/gallium/auxiliary/util/u_format_pack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_format_pack.py b/src/gallium/auxiliary/util/u_format_pack.py
index 800edd34297..06831d1e192 100644
--- a/src/gallium/auxiliary/util/u_format_pack.py
+++ b/src/gallium/auxiliary/util/u_format_pack.py
@@ -641,13 +641,14 @@ def generate_format_fetch(format, dst_channel, dst_native_type, dst_suffix):
def is_format_hand_written(format):
- return format.layout in ('s3tc', 'subsampled')
+ return format.layout in ('s3tc', 'subsampled', 'other')
def generate(formats):
print
print '#include "pipe/p_compiler.h"'
print '#include "u_math.h"'
print '#include "u_format.h"'
+ print '#include "u_format_other.h"'
print '#include "u_format_srgb.h"'
print '#include "u_format_yuv.h"'
print '#include "u_half.h"'