Merge branch 'mr/wined3d-blit' into 'master'

Draft: wined3d: Don't reject blits coming from older CS thread.

See merge request wine/wine!6300
This commit is contained in:
Aida Jonikienė 2024-11-19 09:02:17 +00:00
commit 33bf348c0b

View file

@ -3902,9 +3902,10 @@ HRESULT CDECL wined3d_device_context_blt(struct wined3d_device_context *context,
return WINED3DERR_INVALIDCALL;
}
if (dst_texture->resource.device != src_texture->resource.device)
if (src_texture->resource.device->cs->thread_id > dst_texture->resource.device->cs->thread_id
|| src_texture->resource.device->cs > dst_texture->resource.device->cs)
{
FIXME("Rejecting cross-device blit.\n");
FIXME("Rejecting blit from newer command stream.\n");
return E_NOTIMPL;
}