diff options
author | Xavi Zhang <[email protected]> | 2016-02-29 01:36:08 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 14:44:33 +0200 |
commit | cb8844392cd34613db2f79edcc5ae2ac68fe5ec0 (patch) | |
tree | 19e7d53b027f0c55cc119d5e8e3304b5fc32f723 /src/amd/addrlib/r800/egbaddrlib.h | |
parent | fe216415c69091ac27a10daafa3cd4ba0e205c6d (diff) |
amdgpu/addrlib: Check prt flag for PRT_THIN1 extra padding for DCC.
Diffstat (limited to 'src/amd/addrlib/r800/egbaddrlib.h')
-rw-r--r-- | src/amd/addrlib/r800/egbaddrlib.h | 8 |
1 files changed, 2 insertions, 6 deletions
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( |