mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 23:09:05 +02:00
r600: fix brownbag, only align if we are dealing with cubemap
This commit is contained in:
parent
714d9c21ec
commit
9bf40cea00
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ static void calculate_miptree_layout_r300(radeonContextPtr rmesa, radeon_mipmap_
|
|||
* we have separate register for 1'st level offset so add
|
||||
* 2 image alignment after 1'st mip level */
|
||||
if(rmesa->radeonScreen->chip_family >= CHIP_FAMILY_R600 &&
|
||||
level >= 1)
|
||||
mt->target == GL_TEXTURE_CUBE_MAP && level >= 1)
|
||||
curOffset += 2 * mt->levels[level].size;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue