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:
Rob Clark 2025-01-02 09:16:29 -08:00 committed by Marge Bot
parent 3759889846
commit a933acdfd7

View file

@ -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;