mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
tests/shader_runner_d3d12: Appropriately set the root descriptor table for dispatching.
This commit is contained in:
committed by
Henri Verbeet
parent
1569bb3fb8
commit
fb985f496d
Notes:
Henri Verbeet
2025-11-12 15:30:40 +01:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1811
@@ -517,7 +517,7 @@ static bool d3d12_runner_dispatch(struct shader_runner *r, unsigned int x, unsig
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (r->descriptor_count)
|
if (r->descriptor_count)
|
||||||
ID3D12GraphicsCommandList_SetGraphicsRootDescriptorTable(command_list, 0,
|
ID3D12GraphicsCommandList_SetComputeRootDescriptorTable(command_list, 0,
|
||||||
get_gpu_descriptor_handle(test_context, runner->heap, 0));
|
get_gpu_descriptor_handle(test_context, runner->heap, 0));
|
||||||
|
|
||||||
ID3D12GraphicsCommandList_SetPipelineState(command_list, pso);
|
ID3D12GraphicsCommandList_SetPipelineState(command_list, pso);
|
||||||
|
|||||||
Reference in New Issue
Block a user