mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Mark clip distance as unsupported on MoltenVK.
At least for tessellation and geometry shaders.
This commit is contained in:
parent
9a83e568b4
commit
66cd2af188
Notes:
Alexandre Julliard
2024-01-24 22:55:37 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/545
@ -31626,6 +31626,12 @@ static void test_clip_distance(void)
|
|||||||
|
|
||||||
ID3D12PipelineState_Release(pso);
|
ID3D12PipelineState_Release(pso);
|
||||||
|
|
||||||
|
if (is_mvk_device(device))
|
||||||
|
{
|
||||||
|
skip("Clipping not supported in tessellation and geometry shaders on MoltenVK.\n");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
/* tessellation shaders */
|
/* tessellation shaders */
|
||||||
pso_desc.HS = hs;
|
pso_desc.HS = hs;
|
||||||
pso_desc.DS = ds;
|
pso_desc.DS = ds;
|
||||||
@ -31712,6 +31718,7 @@ static void test_clip_distance(void)
|
|||||||
reset_command_list(command_list, context.allocator);
|
reset_command_list(command_list, context.allocator);
|
||||||
transition_resource_state(command_list, context.render_target,
|
transition_resource_state(command_list, context.render_target,
|
||||||
D3D12_RESOURCE_STATE_COPY_SOURCE, D3D12_RESOURCE_STATE_RENDER_TARGET);
|
D3D12_RESOURCE_STATE_COPY_SOURCE, D3D12_RESOURCE_STATE_RENDER_TARGET);
|
||||||
|
}
|
||||||
|
|
||||||
/* multiple clip distances */
|
/* multiple clip distances */
|
||||||
pso_desc.VS = vs_multiple;
|
pso_desc.VS = vs_multiple;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user