vkd3d: Return DXGI_ERROR_NOT_FOUND from GetProtectedResourceSession().

This commit is contained in:
Conor McCarthy 2024-02-05 13:55:07 +10:00 committed by Alexandre Julliard
parent e38f3995fd
commit 4668271872
Notes: Alexandre Julliard 2024-02-15 23:58:28 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/627
2 changed files with 1 additions and 3 deletions

View File

@ -1725,7 +1725,7 @@ static HRESULT STDMETHODCALLTYPE d3d12_resource_GetProtectedResourceSession(ID3D
{
FIXME("iface %p, iid %s, session %p stub!\n", iface, debugstr_guid(iid), session);
return E_NOTIMPL;
return DXGI_ERROR_NOT_FOUND;
}
static const struct ID3D12Resource1Vtbl d3d12_resource_vtbl =

View File

@ -1893,7 +1893,6 @@ static void test_create_committed_resource(void)
hr = ID3D12Resource1_GetProtectedResourceSession(resource1, &IID_ID3D12ProtectedResourceSession,
(void **)&protected_session);
todo
ok(hr == DXGI_ERROR_NOT_FOUND, "Got unexpected hr %#x.\n", hr);
ID3D12Resource1_Release(resource1);
@ -2241,7 +2240,6 @@ static void test_create_placed_resource(void)
{
hr = ID3D12Resource1_GetProtectedResourceSession(resource1, &IID_ID3D12ProtectedResourceSession,
(void **)&protected_session);
todo
ok(hr == DXGI_ERROR_NOT_FOUND, "Got unexpected hr %#x.\n", hr);
ID3D12Resource1_Release(resource1);
}