diff options
author | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2009-10-31 20:46:59 +0100 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2009-10-31 20:51:09 +0100 |
commit | 1cc16e1b831cef8e1573cc998cee3e55179bb830 (patch) | |
tree | 631c2ee863ea4d896eb35740e5323d33c81f2003 /progs/SConscript | |
parent | 91232b7004d7a9fbf4f99bb9ec4e5eea8e1c6eef (diff) |
nv50: fix textures with block size != cpp
First, using width * block size as pitch is evidently
wrong if a block contains more than 1 texel.
For tiled textures, since a block occupies a contiguous
area of memory, y addressing in m2mf has to be done by
block index, not the y coordinate itself.
This should fix compressed textures.
Diffstat (limited to 'progs/SConscript')
0 files changed, 0 insertions, 0 deletions