mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d: Take the root signature from shaders when creating graphics pipelines.
If the root signature wasn't explicitly specified. This fixes a failure in The Touryst.
This commit is contained in:
committed by
Henri Verbeet
parent
42b65e80cf
commit
2feb3a3bba
Notes:
Henri Verbeet
2025-02-20 16:07:51 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1384
@@ -3491,7 +3491,6 @@ static void test_create_graphics_pipeline_state(void)
|
||||
pso_desc.VS = shader_bytecode(vs_with_rs_code, sizeof(vs_with_rs_code));
|
||||
hr = ID3D12Device_CreateGraphicsPipelineState(device, &pso_desc,
|
||||
&IID_ID3D12PipelineState, (void **)&pipeline_state);
|
||||
todo
|
||||
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
|
||||
if (SUCCEEDED(hr))
|
||||
ID3D12PipelineState_Release(pipeline_state);
|
||||
@@ -3501,7 +3500,6 @@ static void test_create_graphics_pipeline_state(void)
|
||||
pso_desc.PS = shader_bytecode(ps_with_rs_code, sizeof(ps_with_rs_code));
|
||||
hr = ID3D12Device_CreateGraphicsPipelineState(device, &pso_desc,
|
||||
&IID_ID3D12PipelineState, (void **)&pipeline_state);
|
||||
todo
|
||||
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
|
||||
if (SUCCEEDED(hr))
|
||||
ID3D12PipelineState_Release(pipeline_state);
|
||||
@@ -3512,7 +3510,6 @@ static void test_create_graphics_pipeline_state(void)
|
||||
pso_desc.PS = shader_bytecode(ps_with_rs_code, sizeof(ps_with_rs_code));
|
||||
hr = ID3D12Device_CreateGraphicsPipelineState(device, &pso_desc,
|
||||
&IID_ID3D12PipelineState, (void **)&pipeline_state);
|
||||
todo
|
||||
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
|
||||
if (SUCCEEDED(hr))
|
||||
ID3D12PipelineState_Release(pipeline_state);
|
||||
|
Reference in New Issue
Block a user