anv: fix argument name for vkCmdEndQuery
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 22 Apr 2019 21:09:11 +0000 (22:09 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 23 Apr 2019 20:33:26 +0000 (04:33 +0800)
Doesn't fix anything but it's not the right function prototype.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 673f33c77dd765 ("anv: Implement CmdBegin/EndQueryIndexed")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
src/intel/vulkan/genX_query.c

index 5fbf92c4ab1cfa79ff3a5fc640887507b93e856a..146435c3f8f2fec7209fdeeaf264d752feb96d5c 100644 (file)
@@ -504,9 +504,9 @@ void genX(CmdBeginQueryIndexedEXT)(
 void genX(CmdEndQuery)(
     VkCommandBuffer                             commandBuffer,
     VkQueryPool                                 queryPool,
-    VkQueryControlFlags                         flags)
+    uint32_t                                    query)
 {
-   genX(CmdEndQueryIndexedEXT)(commandBuffer, queryPool, flags, 0);
+   genX(CmdEndQueryIndexedEXT)(commandBuffer, queryPool, query, 0);
 }
 
 void genX(CmdEndQueryIndexedEXT)(