SWDEV-290122 - OpenGL tests fails with CL_MEM_ALLOCATION_ERROR
Change-Id: I34d7063f05dd46c32cf59a88c455691ba5099679
This commit is contained in:
@@ -930,6 +930,9 @@ bool Resource::CreateInterop(CreateParams* params) {
|
||||
imgOpenInfo.swizzledFormat.swizzle = channels;
|
||||
imgOpenInfo.usage.shaderRead = true;
|
||||
imgOpenInfo.usage.shaderWrite = true;
|
||||
#if defined(__unix__)
|
||||
imgOpenInfo.resourceInfo.handleType = Pal::HandleType::DmaBufFd;
|
||||
#endif
|
||||
memRef_ = GpuMemoryReference::Create(dev(), imgOpenInfo, &imgCreateInfo, &image_);
|
||||
if (nullptr == memRef_) {
|
||||
return false;
|
||||
|
||||
مرجع در شماره جدید
Block a user