diff options
author | Marek Olšák <marek.olsak@amd.com> | 2022-02-21 23:25:06 -0500 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2022-02-23 17:55:57 +0000 |
commit | 03908ef6d5e01ff2dad1799351202fe550d7f79d (patch) | |
tree | 2d1fb07a530fdf5d05612d333cddab3293db1abe | |
parent | a0a15b740070154abf12e04dafb4ed55bb1df582 (diff) |
ac/surface: add more elements to meta equations because HTILE can use them
according to gfx10SwizzlePattern.h
Fixes: 9fabbf2150253d06d - 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 79a7ab642ac1e103c9b00e197105eb3f10c6c523)
-rw-r--r-- | .pick_status.json | 2 | ||||
-rw-r--r-- | src/amd/common/ac_surface.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.pick_status.json b/.pick_status.json index 396f7b67686..3b74f3fa0a4 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -265,7 +265,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" }, diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h index 3f69b34991f..08556163db3 100644 --- a/src/amd/common/ac_surface.h +++ b/src/amd/common/ac_surface.h @@ -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; }; |