Skip to content

Commit 0969584

Browse files
johnmachgfxbot
authored andcommitted
DG1 Placed resource alignment issues Dx12/Vulkan
Change-Id: I215182231392071fe475f4e451efe5b30332df75
1 parent 53013af commit 0969584

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/GmmLib/Resource/GmmResourceInfoCommon.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ uint8_t GMM_STDCALL GmmLib::GmmResourceInfoCommon::Is64KBPageSuitable()
5555
if(pGmmGlobalContext->GetSkuTable().FtrLocalMemory)
5656
{
5757
Ignore64KBPadding |= (Surf.Flags.Info.NonLocalOnly || (Surf.Flags.Info.Shared && !Surf.Flags.Info.NotLockable));
58+
Ignore64KBPadding |= (pGmmGlobalContext->GetSkuTable().FtrLocalMemoryAllows4KB && Surf.Flags.Info.NoOptimizationPadding);
5859
}
5960
else
6061
{

0 commit comments

Comments
 (0)