Move isl3Capable outside of Graphics Allocation.

Change-Id: If9949f0d6d3405dcdeb221cbee1ce30307166c21
This commit is contained in:
Mrozek, Michal
2019-02-27 14:52:10 +01:00
committed by sys_ocldev
parent 030ba34de5
commit 6cb4732abe
6 changed files with 23 additions and 17 deletions

View File

@@ -103,7 +103,7 @@ void CommandStreamReceiver::makeSurfacePackNonResident(ResidencyContainer &alloc
void CommandStreamReceiver::makeResidentHostPtrAllocation(GraphicsAllocation *gfxAllocation) {
makeResident(*gfxAllocation);
if (!gfxAllocation->isL3Capable()) {
if (!isL3Capable(*gfxAllocation)) {
setDisableL3Cache(true);
}
}