Addr::Lib* pLib = Lib::GetLib(hLib);
BOOL_32 enabled = FALSE;
- //ADDR_E_RETURNCODE returnCode = ADDR_OK;
+ ADDR_E_RETURNCODE returnCode = ADDR_OK;
if (pLib != NULL)
{
}
else
{
- //returnCode = ADDR_ERROR;
+ returnCode = ADDR_ERROR;
}
ADDR_ASSERT(returnCode == ADDR_OK);
// Post validation
if (ret == ADDR_OK)
{
- //Dim2d microBlockDim = Block256b[elementBytesLog2];
+ Dim2d microBlockDim = Block256b[elementBytesLog2];
ADDR_ASSERT((2u << GetMaxValidChannelIndex(pEquation->addr, 8, 0)) ==
(microBlockDim.w * (1 << elementBytesLog2)));
ADDR_ASSERT((2u << GetMaxValidChannelIndex(pEquation->addr, 8, 1)) == microBlockDim.h);
) const
{
BOOL_32 valid = TRUE;
- //UINT_32 numPipes = HwlGetPipes(pTileInfo);
+ UINT_32 numPipes = HwlGetPipes(pTileInfo);
switch (pTileInfo->banks)
{
) const
{
UINT_64 logicalSliceSize;
- //UINT_64 physicalSliceSize;
+ UINT_64 physicalSliceSize;
UINT_32 pitch = *pPitch;
UINT_32 height = *pHeight;
logicalSliceSize = BITS_TO_BYTES(static_cast<UINT_64>(pitch) * height * bpp * numSamples);
// Physical slice: multiplied by thickness
- //physicalSliceSize = logicalSliceSize * thickness;
+ physicalSliceSize = logicalSliceSize * thickness;
//
// R800 will always pad physical slice size to baseAlign which is pipe_interleave_bytes