diff --git a/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp b/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp index 407e7bfbfe..554bf0d6c3 100644 --- a/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp +++ b/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp @@ -750,13 +750,13 @@ CALGSLDevice::resGLAssociate(GLResAssociate & resData) const attribs.isDOPPDesktopTexture = ATIGL_TRUE; attribs.displayable = GSL_MOA_DISPLAYABLE_LAYOUT; } - if (hData->isDoppPresentTexture == GL_TRUE) + if ((hData->isDoppPresentTexture == GL_TRUE) || + (hData->isDisplayable == GL_TRUE)) { attribs.displayable = GSL_MOA_DISPLAYABLE_LAYOUT; } attribs.doppVidpnSourceId = hData->vidpnSourceId; - // VBOs are hardcoded to have a UINT8 type format if (hRes.type == GL_RESOURCE_ATTACH_VERTEXBUFFER_AMD) {