mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 07:30:30 +01:00
tu: Align lrz height to 32
See previous commit. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32786>
This commit is contained in:
parent
3759889846
commit
a933acdfd7
1 changed files with 1 additions and 1 deletions
|
|
@ -591,7 +591,7 @@ tu_image_update_layout(struct tu_device *device, struct tu_image *image,
|
|||
}
|
||||
|
||||
unsigned lrz_pitch = align(DIV_ROUND_UP(width, 8), 32);
|
||||
unsigned lrz_height = align(DIV_ROUND_UP(height, 8), 16);
|
||||
unsigned lrz_height = align(DIV_ROUND_UP(height, 8), 32);
|
||||
|
||||
image->lrz_height = lrz_height;
|
||||
image->lrz_pitch = lrz_pitch;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue