summaryrefslogtreecommitdiffstats
path: root/progs/redbook/alpha3D.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2009-10-31 20:46:59 +0100
committerChristoph Bumiller <[email protected]>2009-10-31 20:51:09 +0100
commit1cc16e1b831cef8e1573cc998cee3e55179bb830 (patch)
tree631c2ee863ea4d896eb35740e5323d33c81f2003 /progs/redbook/alpha3D.c
parent91232b7004d7a9fbf4f99bb9ec4e5eea8e1c6eef (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/redbook/alpha3D.c')
0 files changed, 0 insertions, 0 deletions