diff options
author | Dave Airlie <airlied@redhat.com> | 2011-03-02 14:34:14 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-03-02 15:30:16 +1000 |
commit | 8d62b2aca99ba67f794dd682ed1ec49dc8826390 (patch) | |
tree | 630a9edcd0d7a781adc835e77fc0709e9de40196 /src/gallium/auxiliary/util/u_format_pack.py | |
parent | 59cae3eee105b8522bc9b17cd60ad1e98b1e8825 (diff) |
gallium: add RGTC UNORM support to u_format.
SNORM needs a bit of work in the state tracker in order for mipmap
generation to work I believe.
I'm also not sure that having unorm fetches for an snorm format is
sane.
Diffstat (limited to 'src/gallium/auxiliary/util/u_format_pack.py')
-rw-r--r-- | src/gallium/auxiliary/util/u_format_pack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_format_pack.py b/src/gallium/auxiliary/util/u_format_pack.py index 6d0016c0ad..cc173f808a 100644 --- a/src/gallium/auxiliary/util/u_format_pack.py +++ b/src/gallium/auxiliary/util/u_format_pack.py @@ -632,7 +632,7 @@ def generate_format_fetch(format, dst_channel, dst_native_type, dst_suffix): def is_format_hand_written(format): - return format.layout in ('s3tc', 'subsampled', 'other') or format.colorspace == ZS + return format.layout in ('s3tc', 'rgtc', 'subsampled', 'other') or format.colorspace == ZS def generate(formats): |