summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2022-02-21 23:25:06 -0500
committerDylan Baker <dylan.c.baker@intel.com>2022-02-24 14:56:51 -0800
commitea23bb04f4a376d68f341dbdcc566a17c0cd2458 (patch)
tree0acd9b3a2c00fd3850d55b45b15a7a91104c25c9
parente28013062671062d6cb43e6fd479138935bce807 (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.json2
-rw-r--r--src/amd/common/ac_surface.h2
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;
};