From 0fb0058f18b24674583770c0c95600675ce8336e Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 22 Apr 2019 22:09:11 +0100 Subject: anv: fix argument name for vkCmdEndQuery Doesn't fix anything but it's not the right function prototype. Signed-off-by: Lionel Landwerlin Fixes: 673f33c77dd765 ("anv: Implement CmdBegin/EndQueryIndexed") Reviewed-by: Caio Marcelo de Oliveira Filho Reviewed-by: Jason Ekstrand Reviewed-by: Sagar Ghuge --- src/intel/vulkan/genX_query.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c index 5fbf92c4ab1..146435c3f8f 100644 --- a/src/intel/vulkan/genX_query.c +++ b/src/intel/vulkan/genX_query.c @@ -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)( -- cgit v1.2.3