Skip to content
Commit 10c08377 authored by Jerome Glisse's avatar Jerome Glisse
Browse files

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: default avatarJerome Glisse <jglisse@redhat.com>
parent 6a720cb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment