P4 to Git Change 1506949 by skeely@skeely_LC_linux on 2018/01/23 19:20:01

SWDEV-94389 - Handle interop buffer creation failure.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#56 edit
このコミットが含まれているのは:
foreman
2018-01-23 19:29:17 -05:00
コミット c0f4b7895e
+1
ファイルの表示
@@ -1624,6 +1624,7 @@ cl_mem clCreateFromGLBufferAMD(Context& amdContext, cl_mem_flags flags, GLuint b
if (NULL == mem) {
LogPrintfError("Can't allocate memory size - 0x%08X bytes!", pBufferGL->getSize());
*not_null(errcode_ret) = CL_INVALID_GL_OBJECT;
return (cl_mem)0;
}
mem->processGLResource(device::Memory::GLDecompressResource);
}