From f3112c532b01f8ed1832d6a1fae457ce6f362da8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 20 Apr 2021 05:39:30 -0400 Subject: [PATCH] ac/surface: document more meta equation dependencies Reviewed-by: Samuel Pitoiset Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- 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;