P4 to Git Change 1094113 by gandryey@gera-dev-w7 on 2014/11/05 18:22:34
ECR #304775 - CL-GL depth buffer interop - Make the changes necessary for the depth buffer interop support. Currently the extension is disabled, because the conformance tests have multiple bugs. Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#45 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#71 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#231 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#197 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#292 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#66 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#101 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#20 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#113 edit ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#217 edit
This commit is contained in:
@@ -345,9 +345,8 @@ Settings::create(
|
||||
|
||||
rectLinearDMA_ = true;
|
||||
|
||||
if (AMD_DEPTH_MSAA_INTEROP) {
|
||||
enableExtension(ClKhrGLDepthImages);
|
||||
depthMSAAInterop_ = true;
|
||||
if (oclVersion_ >= OpenCL20) {
|
||||
//enableExtension(ClKhrGLDepthImages);
|
||||
}
|
||||
if (AMD_THREAD_TRACE_ENABLE) {
|
||||
threadTraceEnable_ = true;
|
||||
@@ -445,7 +444,7 @@ Settings::create(
|
||||
|
||||
if (apuSystem_ &&
|
||||
((calAttr.totalVisibleHeap + calAttr.totalInvisibleHeap) < 150)) {
|
||||
remoteAlloc_ = true;
|
||||
remoteAlloc_ = true;
|
||||
}
|
||||
|
||||
// Override current device settings
|
||||
|
||||
Reference in New Issue
Block a user