P4 to Git Change 1196902 by gandryey@gera-dev-w7 on 2015/10/05 13:18:47
SWDEV-77981 - Clean-up CAL map/unmap functionality - Keep map information only for SDMA copy. GSL map/unmap doesn't require any tracking - simplify the interface to return the address from map() Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#229 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.hpp#85 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/EventQueue.h#7 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#80 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#146 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#58 edit
Dieser Commit ist enthalten in:
@@ -339,7 +339,6 @@ CALGSLContext::copyPartial(GpuEvent& event,
|
||||
bool enableRectCopy,
|
||||
uint32 bytesPerElement)
|
||||
{
|
||||
uint64 surfaceSize;
|
||||
uint32 mode = GSL_SYNCUPLOAD_IGNORE_ELEMENTSIZE;
|
||||
EngineType engineId = MainEngine;
|
||||
assert(m_cs != 0);
|
||||
@@ -347,7 +346,7 @@ CALGSLContext::copyPartial(GpuEvent& event,
|
||||
uint64 linearBytePitch = 0;
|
||||
intp bpp = 0;
|
||||
|
||||
type = dev()->GetCopyType(srcMem, destMem, srcOffset, destOffset, m_allowDMA, flags, surfaceSize, size[0], enableRectCopy);
|
||||
type = dev()->GetCopyType(srcMem, destMem, srcOffset, destOffset, m_allowDMA, flags, size[0], enableRectCopy);
|
||||
|
||||
if(type == USE_NONE)
|
||||
{
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren