summaryrefslogtreecommitdiff
path: root/nouveau/nouveau_device.c
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2012-02-03 12:22:11 -0500
committerJerome Glisse <jglisse@redhat.com>2012-02-03 14:42:47 -0500
commit10c0837780b2d4a33568c16bb92527e196d6c05e (patch)
tree515bb3bd240b41b32cac309cb9509696ac3f6708 /nouveau/nouveau_device.c
parent6a720cb8660975acea1100e61a88a92a7cb3856e (diff)
radeon: fix surface API for good before anyone start relying on it
The mipmap level computation was wrong, we need to know the block width, height, depth of compressed texture to properly compute this. Change API to provide block width, height, depth instead of nblk_x, nblk_y, nblk_z. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'nouveau/nouveau_device.c')
0 files changed, 0 insertions, 0 deletions