From cb8844392cd34613db2f79edcc5ae2ac68fe5ec0 Mon Sep 17 00:00:00 2001 From: Xavi Zhang Date: Mon, 29 Feb 2016 01:36:08 -0500 Subject: amdgpu/addrlib: Check prt flag for PRT_THIN1 extra padding for DCC. --- src/amd/addrlib/r800/egbaddrlib.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/amd/addrlib/r800/egbaddrlib.h') diff --git a/src/amd/addrlib/r800/egbaddrlib.h b/src/amd/addrlib/r800/egbaddrlib.h index 50fd3d927ad..dbe712a6714 100644 --- a/src/amd/addrlib/r800/egbaddrlib.h +++ b/src/amd/addrlib/r800/egbaddrlib.h @@ -303,9 +303,7 @@ protected: virtual VOID HwlComputeSurfaceAlignmentsMacroTiled( AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, - UINT_32 mipLevel, UINT_32 numSamples, ADDR_TILEINFO* pTileInfo, - UINT_32* pBaseAlign, UINT_32* pPitchAlign, UINT_32* pHeightAlign, - UINT_32* pMacroTileWidth, UINT_32* pMacroTileHeight) const + UINT_32 mipLevel, UINT_32 numSamples, ADDR_COMPUTE_SURFACE_INFO_OUTPUT* pOut) const { } @@ -340,9 +338,7 @@ private: BOOL_32 ComputeSurfaceAlignmentsMacroTiled( AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 mipLevel, UINT_32 numSamples, - ADDR_TILEINFO* pTileInfo, - UINT_32* pBaseAlign, UINT_32* pPitchAlign, UINT_32* pHeightAlign, - UINT_32* pMacroTileWidth, UINT_32* pMacroTileHeight) const; + ADDR_COMPUTE_SURFACE_INFO_OUTPUT* pOut) const; /// Surface addressing functions UINT_64 DispatchComputeSurfaceAddrFromCoord( -- cgit v1.2.3