summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2019-04-22 22:09:11 +0100
committerDylan Baker <dylan@pnwbakers.com>2019-04-24 15:28:39 -0700
commit35970dea11b9c29408f1baaac2010b021c647319 (patch)
tree07ea0b908f53e421cb19b4e0dd18012c9c2be5d2
parent08f3ce4c7df427f54bc9711d0194a3f22237730a (diff)
anv: fix argument name for vkCmdEndQuery
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> (cherry picked from commit 0fb0058f18b24674583770c0c95600675ce8336e)
-rw-r--r--src/intel/vulkan/genX_query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c
index 794d92dc6c9..587b1b20477 100644
--- a/src/intel/vulkan/genX_query.c
+++ b/src/intel/vulkan/genX_query.c
@@ -511,9 +511,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)(