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
このコミットが含まれているのは:
@@ -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);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする