Remove not needed code.

Change-Id: I5b0fd2960ed7777bc7603013071a431af6d435c5
This commit is contained in:
Mrozek, Michal 2018-10-30 12:42:48 +01:00 committed by sys_ocldev
parent d3f71cfb04
commit 1dc3a94ac8
2 changed files with 0 additions and 7 deletions

View File

@ -60,11 +60,6 @@ class WddmAllocation : public GraphicsAllocation {
return this->alignedCpuPtr;
}
void setAlignedCpuPtr(void *ptr) {
this->alignedCpuPtr = ptr;
this->cpuPtr = ptr;
}
size_t getAlignedSize() const {
return this->alignedSize;
}

View File

@ -99,8 +99,6 @@ GraphicsAllocation *WddmMemoryManager::allocateGraphicsMemory64kb(size_t size, s
auto cpuPtr = lockResource(wddmAllocation);
wddmAllocation->setLocked(true);
wddmAllocation->setAlignedCpuPtr(cpuPtr);
// 64kb map is not needed
auto status = wddm->mapGpuVirtualAddress(wddmAllocation, cpuPtr, false, false, false);
DEBUG_BREAK_IF(!status);