From ea23bb04f4a376d68f341dbdcc566a17c0cd2458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 21 Feb 2022 23:25:06 -0500 Subject: [PATCH] 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 Part-of: (cherry picked from commit 79a7ab642ac1e103c9b00e197105eb3f10c6c523) --- .pick_status.json | 2 +- 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 51dd7e55ae6..997bfd62998 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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" }, diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h index 4e5f4fa67ed..1f8114bb4b7 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; };