summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2017-09-11 15:20:41 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2017-09-13 18:26:54 +0200
commit113ecc2bfadac487013c1b8d1de60636a5f20efa (patch)
tree79882fbf0d4f3b689789a160f52e2478f5aba3cf
parentb0ee0e086059f36b076a0a81472931e42de11bff (diff)
ac/addrlib: relax an assertion
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-rw-r--r--src/amd/addrlib/gfx9/gfx9addrlib.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/addrlib/gfx9/gfx9addrlib.cpp b/src/amd/addrlib/gfx9/gfx9addrlib.cpp
index 57ecb05872..edb4c6e636 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);