summaryrefslogtreecommitdiffstats
path: root/src/amd/addrlib/r800/egbaddrlib.cpp
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-20 22:02:11 +0100
committerMarek Olšák <[email protected]>2018-03-28 11:37:43 -0400
commit5425d32fcf400bac42a2667d230fb3823c3a3f0c (patch)
treed5d593f53dbb9b47baa068f63fe8d1e317982f23 /src/amd/addrlib/r800/egbaddrlib.cpp
parent431a1d12cc48060366caf49da76108cd0406b0f6 (diff)
amd/addrlib: update to the latest version for Vega12
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/amd/addrlib/r800/egbaddrlib.cpp')
-rw-r--r--src/amd/addrlib/r800/egbaddrlib.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/amd/addrlib/r800/egbaddrlib.cpp b/src/amd/addrlib/r800/egbaddrlib.cpp
index 99aa6cf4cdb..3947cfda2fd 100644
--- a/src/amd/addrlib/r800/egbaddrlib.cpp
+++ b/src/amd/addrlib/r800/egbaddrlib.cpp
@@ -100,11 +100,13 @@ BOOL_32 EgBasedLib::DispatchComputeSurfaceInfo(
ADDR_TILEINFO tileInfoDef = {0};
ADDR_TILEINFO* pTileInfo = &tileInfoDef;
-
- UINT_32 padDims = 0;
+ UINT_32 padDims = 0;
BOOL_32 valid;
- tileMode = DegradeLargeThickTile(tileMode, bpp);
+ if (pIn->flags.disallowLargeThickDegrade == 0)
+ {
+ tileMode = DegradeLargeThickTile(tileMode, bpp);
+ }
// Only override numSamples for NI above
if (m_chipFamily >= ADDR_CHIP_FAMILY_NI)