intel: Handle arbitrary compressed formats in intel_compressed_num_bytes.
authorEric Anholt <eric@anholt.net>
Thu, 13 May 2010 21:48:13 +0000 (14:48 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 14 May 2010 18:27:59 +0000 (11:27 -0700)
commit7554b83a21bd62b20df5a7327b69f08108ac9ab6
treeb0c2856d5778831759e2b9e82075df3614cae4f2
parent07ff65925fdcc2d0ff449b6474f3cbd1351b2b18
intel: Handle arbitrary compressed formats in intel_compressed_num_bytes.

Note that we don't support arbitrary block size for compressed quite
yet -- block height of 4 is hard-coded all over the place.

Bug #27098 (srgb dxt1 producing a bytes per pixel of 0).
src/mesa/drivers/dri/intel/intel_tex_format.c