mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 21:00:16 +01:00
dzn: Use d3d12_compute_pipeline_state_stream_new_desc() in the compute path
Fixes: 9feda65a83 ("dzn: Use CreatePipelineState()")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17140>
This commit is contained in:
parent
d3e6ef195a
commit
e4e531732b
1 changed files with 2 additions and 2 deletions
|
|
@ -1556,8 +1556,8 @@ dzn_compute_pipeline_create(struct dzn_device *device,
|
|||
.pPipelineStateSubobjectStream = state_buf,
|
||||
};
|
||||
|
||||
d3d12_gfx_pipeline_state_stream_new_desc(&stream_desc, CS, D3D12_SHADER_BYTECODE, shader);
|
||||
d3d12_gfx_pipeline_state_stream_new_desc(&stream_desc, ROOT_SIGNATURE, ID3D12RootSignature *, root_sig);
|
||||
d3d12_compute_pipeline_state_stream_new_desc(&stream_desc, CS, D3D12_SHADER_BYTECODE, shader);
|
||||
d3d12_compute_pipeline_state_stream_new_desc(&stream_desc, ROOT_SIGNATURE, ID3D12RootSignature *, root_sig);
|
||||
*root_sig = pipeline->base.root.sig;
|
||||
|
||||
nir_shader *nir = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue