mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
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:
parent
1eee114756
commit
5a4b28e77c
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue