Mesa (master): anv: fix argument name for vkCmdEndQuery

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 23 20:45:16 UTC 2019


Module: Mesa
Branch: master
Commit: 0fb0058f18b24674583770c0c95600675ce8336e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fb0058f18b24674583770c0c95600675ce8336e

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Apr 22 22:09:11 2019 +0100

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 at intel.com>
Fixes: 673f33c77dd765 ("anv: Implement CmdBegin/EndQueryIndexed")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Sagar Ghuge <sagar.ghuge at intel.com>

---

 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)(




More information about the mesa-commit mailing list