summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-04-22 22:09:11 +0100
committerLionel Landwerlin <[email protected]>2019-04-24 04:33:26 +0800
commit0fb0058f18b24674583770c0c95600675ce8336e (patch)
tree2431c0e0fca82b09830d74c6ed75ef6543352e46
parentcc53815ae10dc39c7e56a3801568794a6ad8b539 (diff)
anv: fix argument name for vkCmdEndQuery
Doesn't fix anything but it's not the right function prototype. Signed-off-by: Lionel Landwerlin <[email protected]> Fixes: 673f33c77dd765 ("anv: Implement CmdBegin/EndQueryIndexed") Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Sagar Ghuge <[email protected]>
-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 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)(