[Mesa-dev] [PATCH] anv: enable drawIndirectFirstInstance

Ilia Mirkin imirkin at alum.mit.edu
Wed Nov 23 04:20:11 UTC 2016


This was already piped through in the CmdDraw(Indexed)Indirect handling.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---

Passes the 2 vk-cts tests dedicated to it as well.

 src/intel/vulkan/anv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 9909107..7cce92c 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -412,7 +412,7 @@ void anv_GetPhysicalDeviceFeatures(
       .dualSrcBlend                             = true,
       .logicOp                                  = true,
       .multiDrawIndirect                        = false,
-      .drawIndirectFirstInstance                = false,
+      .drawIndirectFirstInstance                = true,
       .depthClamp                               = true,
       .depthBiasClamp                           = true,
       .fillModeNonSolid                         = true,
-- 
2.7.3



More information about the mesa-dev mailing list