P4 to Git Change 1151521 by jatang@jatang-opencl-hsa-stg1 on 2015/05/15 15:16:15

EPR #419347 - Fix a d3d9 memory leak.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceD3D9.cpp#12 edit


[ROCm/clr commit: 5303c618b2]
Αυτή η υποβολή περιλαμβάνεται σε:
foreman
2015-05-15 15:49:45 -04:00
γονέας 3609d0357b
υποβολή f424d020d4
@@ -34,6 +34,7 @@ CALGSLDevice::associateD3D9Device(void* d3d9Device)
IDirect3D9Ex* p3d9devEx = static_cast<IDirect3D9Ex*>(p3d9dev);
p3d9devEx->GetAdapterLUID(pCaps.AdapterOrdinal, &d3d9deviceLuid);
p3d9devEx->Release();
// match the adapter
if (m_adp->getMVPUinfo(&calDevAdapterLuid, &calDevChainBitMask))