author | Jerome Glisse <jglisse@redhat.com> | |
Fri, 3 Feb 2012 17:22:11 +0000 (12:22 -0500) | ||
committer | Jerome Glisse <jglisse@redhat.com> | |
Fri, 3 Feb 2012 19:42:47 +0000 (14:42 -0500) | ||
commit | 10c0837780b2d4a33568c16bb92527e196d6c05e | |
tree | 515bb3bd240b41b32cac309cb9509696ac3f6708 | tree | snapshot (tar.xz tar.gz zip) |
parent | 6a720cb8660975acea1100e61a88a92a7cb3856e | commit | 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>
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>
radeon/radeon_surface.c | diff | blob | history | |
radeon/radeon_surface.h | diff | blob | history |