tu: Handle 8x MSAA for LRZ

Fixes: be9f2e5189
("tu/a7xx: support 8x MSAA")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32868>
This commit is contained in:
Danylo Piliaiev 2025-01-03 14:56:21 +01:00 committed by Marge Bot
parent 1eee114756
commit 5a4b28e77c

View file

@ -580,6 +580,9 @@ tu_image_update_layout(struct tu_device *device, struct tu_image *image,
/* LRZ buffer is super-sampled */
switch (layout->nr_samples) {
case 8:
height *= 2;
FALLTHROUGH;
case 4:
width *= 2;
FALLTHROUGH;