From 113ecc2bfadac487013c1b8d1de60636a5f20efa Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Mon, 11 Sep 2017 15:20:41 +0200 Subject: ac/addrlib: relax an assertion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/amd/addrlib/gfx9/gfx9addrlib.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/amd/addrlib') diff --git a/src/amd/addrlib/gfx9/gfx9addrlib.cpp b/src/amd/addrlib/gfx9/gfx9addrlib.cpp index 57ecb058727..edb4c6e636a 100644 --- a/src/amd/addrlib/gfx9/gfx9addrlib.cpp +++ b/src/amd/addrlib/gfx9/gfx9addrlib.cpp @@ -268,7 +268,8 @@ ADDR_E_RETURNCODE Gfx9Lib::HwlComputeCmaskInfo( ADDR2_COMPUTE_CMASK_INFO_OUTPUT* pOut ///< [out] output structure ) const { - ADDR_ASSERT(pIn->resourceType == ADDR_RSRC_TEX_2D); +// TODO: Clarify with AddrLib team +// ADDR_ASSERT(pIn->resourceType == ADDR_RSRC_TEX_2D); UINT_32 numPipeTotal = GetPipeNumForMetaAddressing(pIn->cMaskFlags.pipeAligned, pIn->swizzleMode); -- cgit v1.2.3