freedreno/a6xx: Fix typo in height alignment calculation in a6xx layout
Fixes KHR-GL31.texture_size_promotion.functional
Fixes: e49748521e
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7792>
This commit is contained in:

committed by
Marge Bot

parent
f7b2165b19
commit
a569ffeb83
@@ -211,7 +211,7 @@ fdl6_layout(struct fdl_layout *layout,
|
||||
* may not be. note this only matters if last level is linear
|
||||
*/
|
||||
if (level == mip_levels - 1)
|
||||
height = align(nblocksy, 4);
|
||||
nblocksy = align(nblocksy, 4);
|
||||
|
||||
slice->offset = offset + layout->size;
|
||||
|
||||
|
Reference in New Issue
Block a user