mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Move isl3Capable outside of Graphics Allocation.
Change-Id: If9949f0d6d3405dcdeb221cbee1ce30307166c21
This commit is contained in:
committed by
sys_ocldev
parent
030ba34de5
commit
6cb4732abe
@@ -103,7 +103,7 @@ void CommandStreamReceiver::makeSurfacePackNonResident(ResidencyContainer &alloc
|
||||
|
||||
void CommandStreamReceiver::makeResidentHostPtrAllocation(GraphicsAllocation *gfxAllocation) {
|
||||
makeResident(*gfxAllocation);
|
||||
if (!gfxAllocation->isL3Capable()) {
|
||||
if (!isL3Capable(*gfxAllocation)) {
|
||||
setDisableL3Cache(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user