SWDEV-290122 - OpenGL tests fails with CL_MEM_ALLOCATION_ERROR
Change-Id: I34d7063f05dd46c32cf59a88c455691ba5099679
[ROCm/clr commit: b5b1ccc990]
Este cometimento está contido em:
cometido por
Maneesh Gupta
ascendente
d984c8ee22
cometimento
bfc21e4a59
@@ -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;
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador