Mesa (master): ac/surface: document more meta equation dependencies
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Apr 26 23:08:16 UTC 2021
Module: Mesa
Branch: master
Commit: f3112c532b01f8ed1832d6a1fae457ce6f362da8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3112c532b01f8ed1832d6a1fae457ce6f362da8
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Apr 20 05:39:30 2021 -0400
ac/surface: document more meta equation dependencies
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10343>
---
src/amd/common/ac_surface.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h
index b3207026d9f..d6af39ec466 100644
--- a/src/amd/common/ac_surface.h
+++ b/src/amd/common/ac_surface.h
@@ -197,6 +197,7 @@ struct gfx9_meta_equation {
* - resource type
* - swizzle_mode
* - bpp
+ * - number of samples
* - number of fragments
* - pipe_aligned
* - rb_aligned
@@ -215,9 +216,12 @@ struct gfx9_meta_equation {
/* The gfx10 DCC equation is chip-specific, it requires 64KB_R_X, and it varies with:
* - bpp
+ * - number of samples
+ * - number of fragments
* - pipe_aligned
*
- * The gfx10 HTILE equation is chip-specific.
+ * The gfx10 HTILE equation is chip-specific, it requires 64KB_Z_X, and it varies with:
+ * - number of samples
*/
uint16_t gfx10_bits[60];
} u;
More information about the mesa-commit
mailing list