ac/surface: add more elements to meta equations because HTILE can use them

according to gfx10SwizzlePattern.h

Fixes: 9fabbf2150 - ac/surface: copy the HTILE equations to the surface

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15098>
(cherry picked from commit 79a7ab642a)
This commit is contained in:
Marek Olšák 2022-02-21 23:25:06 -05:00 committed by Dylan Baker
parent e280130626
commit ea23bb04f4
2 changed files with 2 additions and 2 deletions

View file

@ -238,7 +238,7 @@
"description": "ac/surface: add more elements to meta equations because HTILE can use them",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "9fabbf2150253d06dedca3bfa6cb852197e193ac"
},

View file

@ -223,7 +223,7 @@ struct gfx9_meta_equation {
* The gfx10 HTILE equation is chip-specific, it requires 64KB_Z_X, and it varies with:
* - number of samples
*/
uint16_t gfx10_bits[60];
uint16_t gfx10_bits[64];
} u;
};