ac/addrlib: relax an assertion
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 11 Sep 2017 13:20:41 +0000 (15:20 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 13 Sep 2017 16:26:54 +0000 (18:26 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/addrlib/gfx9/gfx9addrlib.cpp

index 57ecb0587278958bce6d51719f8cf4dd32aad21f..edb4c6e636ac1b825bcafb20e9873678df587964 100644 (file)
@@ -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);