Module: vkd3d Branch: master Commit: 46682718721d815bb3d699c049007429bb422f2e URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/46682718721d815bb3d699c0490074...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Mon Feb 5 13:55:07 2024 +1000
vkd3d: Return DXGI_ERROR_NOT_FOUND from GetProtectedResourceSession().
---
libs/vkd3d/resource.c | 2 +- tests/d3d12.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c index 8f4d1835..c37ab5f4 100644 --- a/libs/vkd3d/resource.c +++ b/libs/vkd3d/resource.c @@ -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 = diff --git a/tests/d3d12.c b/tests/d3d12.c index 33efa0f2..ac40c641 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -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); }