diff options
author | Carlos Xiong <[email protected]> | 2014-07-02 01:46:06 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 14:44:33 +0200 |
commit | c12e35065af693fcad866d2089adf277a6109683 (patch) | |
tree | 3b7b2a95c24f515c0947a7d46ca71546926b24c6 /src/amd/addrlib/core | |
parent | 2ffb30c2af877793a36cf4c99028792ca65962f5 (diff) |
amdgpu/addrlib: Add a flag "tcCompatible" to surface info output structure.
Even if surface info input flag "tcComaptible" is enabled, tc
compatible may be not supported if tile split happens for depth
surfaces. Add a new flag in output structure to notify client to
disable tc compatible in this case.
Diffstat (limited to 'src/amd/addrlib/core')
-rw-r--r-- | src/amd/addrlib/core/addrlib.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/addrlib/core/addrlib.cpp b/src/amd/addrlib/core/addrlib.cpp index b829eec474b..8cf4a245229 100644 --- a/src/amd/addrlib/core/addrlib.cpp +++ b/src/amd/addrlib/core/addrlib.cpp @@ -449,6 +449,7 @@ ADDR_E_RETURNCODE AddrLib::ComputeSurfaceInfo( pOut->pixelBits = localIn.bpp; pOut->numSamples = localIn.numSamples; pOut->last2DLevel = FALSE; + pOut->tcCompatible = FALSE; #if !ALT_TEST if (localIn.numSamples > 1) |