mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Enable VK_KHR_draw_indirect_count.
Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de> Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
578ce3653d
commit
ca744ae579
@ -151,6 +151,7 @@ static const struct vkd3d_optional_extension_info optional_device_extensions[] =
|
||||
{
|
||||
/* KHR extensions */
|
||||
{VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME, offsetof(struct vkd3d_vulkan_info, KHR_dedicated_allocation)},
|
||||
{VK_KHR_DRAW_INDIRECT_COUNT_EXTENSION_NAME, offsetof(struct vkd3d_vulkan_info, KHR_draw_indirect_count)},
|
||||
{VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, offsetof(struct vkd3d_vulkan_info, KHR_get_memory_requirements2)},
|
||||
{VK_KHR_MAINTENANCE3_EXTENSION_NAME, offsetof(struct vkd3d_vulkan_info, KHR_maintenance3)},
|
||||
{VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME, offsetof(struct vkd3d_vulkan_info, KHR_push_descriptor)},
|
||||
|
@ -92,6 +92,7 @@ struct vkd3d_vulkan_info
|
||||
|
||||
/* KHR device extensions */
|
||||
bool KHR_dedicated_allocation;
|
||||
bool KHR_draw_indirect_count;
|
||||
bool KHR_get_memory_requirements2;
|
||||
bool KHR_maintenance3;
|
||||
bool KHR_push_descriptor;
|
||||
|
@ -177,6 +177,10 @@ VK_DEVICE_PFN(vkUnmapMemory)
|
||||
VK_DEVICE_PFN(vkUpdateDescriptorSets)
|
||||
VK_DEVICE_PFN(vkWaitForFences)
|
||||
|
||||
/* VK_KHR_draw_indirect_count */
|
||||
VK_DEVICE_EXT_PFN(vkCmdDrawIndirectCountKHR);
|
||||
VK_DEVICE_EXT_PFN(vkCmdDrawIndexedIndirectCountKHR);
|
||||
|
||||
/* VK_KHR_get_memory_requirements2 */
|
||||
VK_DEVICE_EXT_PFN(vkGetBufferMemoryRequirements2KHR)
|
||||
VK_DEVICE_EXT_PFN(vkGetImageMemoryRequirements2KHR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user