diff options
author | Dave Airlie <[email protected]> | 2011-02-15 13:21:50 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-02-15 14:44:08 +1000 |
commit | a661dacf143d7187abc2360ac945db75296f7e23 (patch) | |
tree | 633a9ed289c30752c4812ea275956589ae0bc3bc /src/gallium/drivers/r300/r300_query.c | |
parent | ea7a548d07ddc69c226a425af0f88f818203d6ee (diff) |
r600g: fix miptree calculations
the miptree setup and pitch storing didn't work so well for block
based things like compressed textures. The CB takes blocks, where
the texture sampler takes pixels, and transfers need bytes,
So now we store blocks/bytes and translate to pixels in the sampler.
This is necessary for s3tc to work properly.
Diffstat (limited to 'src/gallium/drivers/r300/r300_query.c')
0 files changed, 0 insertions, 0 deletions