mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
freedreno/a6xx: Fix typo in height alignment calculation in a6xx layout
Fixes KHR-GL31.texture_size_promotion.functional Fixes:e49748521eSigned-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7792> (cherry picked from commita569ffeb83)
This commit is contained in:
parent
ec53c72f58
commit
099633b6af
2 changed files with 2 additions and 2 deletions
|
|
@ -1885,7 +1885,7 @@
|
|||
"description": "freedreno/a6xx: Fix typo in height alignment calculation in a6xx layout",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "e49748521ec9182e8d2eec823182cc463709123f"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -208,7 +208,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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue