mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests/shader_runner_vulkan: Enable patch list topology support.
This commit is contained in:
parent
e20b63c55e
commit
12ac1dd46b
Notes:
Henri Verbeet
2024-11-21 19:34:41 +01:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1217
@ -501,6 +501,9 @@ static VkPrimitiveTopology vulkan_primitive_topology_from_d3d(D3D_PRIMITIVE_TOPO
|
|||||||
switch (topology)
|
switch (topology)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
|
if (topology >= D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST
|
||||||
|
&& topology <= D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST)
|
||||||
|
return VK_PRIMITIVE_TOPOLOGY_PATCH_LIST;
|
||||||
fatal_error("Unhandled primitive topology %#x.\n", topology);
|
fatal_error("Unhandled primitive topology %#x.\n", topology);
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case D3D_PRIMITIVE_TOPOLOGY_POINTLIST:
|
case D3D_PRIMITIVE_TOPOLOGY_POINTLIST:
|
||||||
|
Loading…
Reference in New Issue
Block a user