From ece5e27a7fcd50c0a9718b7506b0edee542ec50d Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Wed, 6 Apr 2022 18:25:54 +0200 Subject: [PATCH] dzn: Allow multiDrawIndirect and drawIndirectFirstInstance Those are already supported, let's just toggle the switch. Acked-by: Jesse Natalie Part-of: --- src/microsoft/vulkan/dzn_device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c index 3e3725ded84..69dd7d221ff 100644 --- a/src/microsoft/vulkan/dzn_device.c +++ b/src/microsoft/vulkan/dzn_device.c @@ -1021,8 +1021,8 @@ dzn_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, .sampleRateShading = true, .dualSrcBlend = false, .logicOp = false, - .multiDrawIndirect = false, - .drawIndirectFirstInstance = false, + .multiDrawIndirect = true, + .drawIndirectFirstInstance = true, .depthClamp = false, .depthBiasClamp = false, .fillModeNonSolid = false, @@ -1361,7 +1361,7 @@ dzn_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice, .subTexelPrecisionBits = 4, .mipmapPrecisionBits = 4, .maxDrawIndexedIndexValue = 0x00ffffff, - .maxDrawIndirectCount = 1, + .maxDrawIndirectCount = UINT32_MAX, .maxSamplerLodBias = 2.0f, .maxSamplerAnisotropy = 1.0f, .maxViewports = 1,