Sync intel D3D11VA textures before mapping to OpenCL
Backport upstream QSV fixes
Update dependencies
Bump version to 5.1.3-5
IssuesclEnqueueAcquireD3D11ObjectsKHR() on intel NEO runtime is not enough to synchronize D3D11 textures, especially when the source comes from DXVA decoder or video processor.
Changes
Issues
clEnqueueAcquireD3D11ObjectsKHR()
on intel NEO runtime is not enough to synchronize D3D11 textures, especially when the source comes from DXVA decoder or video processor.This violates one OpenCL spec since the
cl_khr_d3d11_sharing
extension claimed that the driver is responsible for providing the synchronization guarantee if user setCL_CONTEXT_INTEROP_USER_SYNC=0
on context creation.So implement functions to manually synchronize it.