From: Nicolai Hähnle Date: Mon, 11 Sep 2017 13:20:41 +0000 (+0200) Subject: ac/addrlib: relax an assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=113ecc2bfadac487013c1b8d1de60636a5f20efa;p=mesa.git ac/addrlib: relax an assertion Reviewed-by: Marek Olšák --- 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);