amdgpu/addrlib: Seperate 2 dcc related workarounds by different flags

1) dccCompatible for padding MSAA surface to support fast clear
2) dccPipeWorkaround for padding surface to support dcc
This commit is contained in:
Nicolai Hähnle
2016-07-20 10:33:44 +02:00
committed by Marek Olšák
parent 48bf5d0800
commit a136926eef
3 changed files with 9 additions and 3 deletions
+2
View File
@@ -336,6 +336,8 @@ ADDR_E_RETURNCODE Lib::ComputeSurfaceInfo(
if (returnCode == ADDR_OK)
{
localIn.flags.dccPipeWorkaround = localIn.flags.dccCompatible;
if (localIn.tileMode == ADDR_TM_UNKNOWN)
{
// HWL layer may override tile mode if necessary