From 3f0f26193fced1f389f8fcba6c0448c97e29298a Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 16 Mar 2017 18:14:01 -0400 Subject: [PATCH] P4 to Git Change 1386753 by gandryey@gera-w8 on 2017/03/16 18:08:37 SWDEV-115529 - Interoperability DX11/OGL/OCL - Make sure displayable tiling property is passed to the aliased memory object Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#28 edit --- rocclr/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {