d3d12: Implement fence_get_win32_handle to get HANDLE from d3d12_fence

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26456>
This commit is contained in:
Sil Vilerino
2023-11-17 18:29:45 -05:00
committed by Marge Bot
parent 942791b937
commit 05fe740374
4 changed files with 27 additions and 4 deletions

View File

@@ -659,7 +659,7 @@ d3d12_video_processor_create_command_objects(struct d3d12_video_processor *pD3D1
}
hr = pD3D12Proc->m_pD3D12Screen->dev->CreateFence(0,
D3D12_FENCE_FLAG_NONE,
D3D12_FENCE_FLAG_SHARED,
IID_PPV_ARGS(&pD3D12Proc->m_spFence));
if (FAILED(hr)) {