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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user