2
0

SWDEV-290122 - OpenGL tests fails with CL_MEM_ALLOCATION_ERROR

Change-Id: I34d7063f05dd46c32cf59a88c455691ba5099679


[ROCm/clr commit: b5b1ccc990]
Este cometimento está contido em:
Alex Xie
2021-06-15 15:43:59 -04:00
cometido por Maneesh Gupta
ascendente d984c8ee22
cometimento bfc21e4a59
+3
Ver ficheiro
@@ -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;