We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5edb983 commit 11ce561Copy full SHA for 11ce561
Source/GmmLib/Resource/GmmResourceInfoCommonEx.cpp
@@ -478,7 +478,15 @@ uint8_t GMM_STDCALL GmmLib::GmmResourceInfoCommon::ValidateParams()
478
GMM_ASSERTDPF(0, "Overlay and FlipChain flags set. S3D logic may fail.");
479
goto ERROR_CASE;
480
}
481
-
+
482
+ // Displayable surfaces must remain Tile4
483
+ if(((!pGmmGlobalContext->GetSkuTable().FtrDisplayDisabled) &&
484
+ (Surf.Flags.Gpu.Overlay || Surf.Flags.Gpu.FlipChain)) &&
485
+ (!(Surf.Flags.Info.Linear || Surf.Flags.Info.TiledX || GMM_IS_4KB_TILE(Surf.Flags))))
486
+ {
487
+ GMM_ASSERTDPF(0, "Unsupported tiling format for displayable resource.");
488
+ goto ERROR_CASE;
489
+ }
490
491
if(pGmmGlobalContext->GetSkuTable().FtrLocalMemory)
492
{
0 commit comments