mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: create_root_signature() can also return E_INVALIDARG.
The Nvidia drivers on Windows do that.
This commit is contained in:
parent
ea652cb0e4
commit
3bf82279e9
@ -2109,7 +2109,7 @@ static void test_create_root_signature(void)
|
|||||||
root_signature_desc.pStaticSamplers = NULL;
|
root_signature_desc.pStaticSamplers = NULL;
|
||||||
root_signature_desc.Flags = D3D12_ROOT_SIGNATURE_FLAG_NONE;
|
root_signature_desc.Flags = D3D12_ROOT_SIGNATURE_FLAG_NONE;
|
||||||
hr = create_root_signature(device, &root_signature_desc, &root_signature);
|
hr = create_root_signature(device, &root_signature_desc, &root_signature);
|
||||||
todo(hr == E_FAIL, "Got unexpected hr %#x.\n", hr);
|
todo(hr == E_FAIL || hr == E_INVALIDARG, "Got unexpected hr %#x.\n", hr);
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
ID3D12RootSignature_Release(root_signature);
|
ID3D12RootSignature_Release(root_signature);
|
||||||
root_parameters[0].ShaderVisibility = D3D12_SHADER_VISIBILITY_PIXEL;
|
root_parameters[0].ShaderVisibility = D3D12_SHADER_VISIBILITY_PIXEL;
|
||||||
@ -2144,7 +2144,7 @@ static void test_create_root_signature(void)
|
|||||||
root_signature_desc.pStaticSamplers = NULL;
|
root_signature_desc.pStaticSamplers = NULL;
|
||||||
root_signature_desc.Flags = D3D12_ROOT_SIGNATURE_FLAG_NONE;
|
root_signature_desc.Flags = D3D12_ROOT_SIGNATURE_FLAG_NONE;
|
||||||
hr = create_root_signature(device, &root_signature_desc, &root_signature);
|
hr = create_root_signature(device, &root_signature_desc, &root_signature);
|
||||||
todo(hr == E_FAIL, "Got unexpected hr %#x.\n", hr);
|
todo(hr == E_FAIL || hr == E_INVALIDARG, "Got unexpected hr %#x.\n", hr);
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
ID3D12RootSignature_Release(root_signature);
|
ID3D12RootSignature_Release(root_signature);
|
||||||
root_parameters[0].ShaderVisibility = D3D12_SHADER_VISIBILITY_GEOMETRY;
|
root_parameters[0].ShaderVisibility = D3D12_SHADER_VISIBILITY_GEOMETRY;
|
||||||
|
Loading…
Reference in New Issue
Block a user