amd: fix incorrect addrlib comment for HTILE equations
authorMarek Olšák <marek.olsak@amd.com>
Fri, 7 May 2021 11:01:44 +0000 (07:01 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 25 May 2021 16:15:44 +0000 (16:15 +0000)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10813>

src/amd/addrlib/src/gfx10/gfx10addrlib.cpp

index 814dff4..f2c6d6b 100644 (file)
@@ -254,7 +254,7 @@ ADDR_E_RETURNCODE Gfx10Lib::HwlComputeHtileInfo(
         }
 
         // Get the HTILE address equation (copied from HtileAddrFromCoord).
-        // Note that HTILE doesn't depend on the number of samples.
+        // HTILE addressing depends on the number of samples, but this code doesn't support it yet.
         const UINT_32 index = m_xmaskBaseIndex;
         const UINT_8* patIdxTable = m_settings.supportRbPlus ? GFX10_HTILE_RBPLUS_PATIDX : GFX10_HTILE_PATIDX;