summaryrefslogtreecommitdiffstats
path: root/src/amd/addrlib/r800/ciaddrlib.cpp
diff options
context:
space:
mode:
authorXiaoYuan Zheng <[email protected]>2014-06-26 03:47:51 -0400
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commit3c7bd4e013735266bb140ccad0d1e69cfad418b2 (patch)
tree2a83bc3690705ffdfadd7435e6907ec9c841407f /src/amd/addrlib/r800/ciaddrlib.cpp
parent47de94a79414e241d4f37b8e38e3cc5396ce5b3f (diff)
amdgpu/addrlib: add new flag nonSplit
Flag tcCompatible has different usage in CI and VI. Add a new flag "nonSplit" for CI.
Diffstat (limited to 'src/amd/addrlib/r800/ciaddrlib.cpp')
-rw-r--r--src/amd/addrlib/r800/ciaddrlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/addrlib/r800/ciaddrlib.cpp b/src/amd/addrlib/r800/ciaddrlib.cpp
index 26c4e056177..5f8a1fee527 100644
--- a/src/amd/addrlib/r800/ciaddrlib.cpp
+++ b/src/amd/addrlib/r800/ciaddrlib.cpp
@@ -1010,7 +1010,7 @@ VOID CiAddrLib::HwlSetupTileInfo(
// See table entries 0-4
if (flags.depth || flags.stencil)
{
- if (flags.depth && flags.tcCompatible)
+ if (flags.depth && (flags.nonSplit || flags.tcCompatible))
{
// tileSize = bpp * numSamples * 8 * 8 / 8
UINT_32 tileSize = bpp * numSamples * 8;