diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-07-10 23:58:56 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-08-05 10:56:15 -0700 |
commit | 55a929955fa683a4e59ffb730ae37b645d10ba49 (patch) | |
tree | 6284788b3a9445e75da246aba5f263d9c04058b4 /src/mesa/main/format_info.py | |
parent | 12610ffcf79b20996f16fec4cbed1c1e2ef67f5e (diff) | |
download | external_mesa3d-55a929955fa683a4e59ffb730ae37b645d10ba49.zip external_mesa3d-55a929955fa683a4e59ffb730ae37b645d10ba49.tar.gz external_mesa3d-55a929955fa683a4e59ffb730ae37b645d10ba49.tar.bz2 |
mesa/formats: Remove IndexBits
Mesa hasn't supported color-indexed textures for some time. This is 0 for
all texture formats, so we don't need to store it.
Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/format_info.py')
-rw-r--r-- | src/mesa/main/format_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/format_info.py b/src/mesa/main/format_info.py index 9b63bfb..b8956a5 100644 --- a/src/mesa/main/format_info.py +++ b/src/mesa/main/format_info.py @@ -171,7 +171,7 @@ for fmat in formats: bits = [ get_channel_bits(fmat, name) for name in ['r', 'g', 'b', 'a']] print ' {0},'.format(', '.join(map(str, bits))) - bits = [ get_channel_bits(fmat, name) for name in ['l', 'i', 'I', 'z', 's']] + bits = [ get_channel_bits(fmat, name) for name in ['l', 'i', 'z', 's']] print ' {0},'.format(', '.join(map(str, bits))) print ' {0}, {1}, {2},'.format(fmat.block_width, fmat.block_height, |