projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3119b96
)
anv: Use the query_slot helper in vkResetQueryPoolEXT
author
Jason Ekstrand
<jason@jlekstrand.net>
Fri, 25 Oct 2019 22:07:02 +0000
(17:07 -0500)
committer
Jason Ekstrand
<jason@jlekstrand.net>
Thu, 31 Oct 2019 13:46:09 +0000
(13:46 +0000)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/genX_query.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/genX_query.c
b/src/intel/vulkan/genX_query.c
index b3090f20545179000993e2ed353e4c98a3ec1236..59fe638a48c2cf4065e3a13a3c0a365ab6953131 100644
(file)
--- a/
src/intel/vulkan/genX_query.c
+++ b/
src/intel/vulkan/genX_query.c
@@
-602,7
+602,7
@@
void genX(ResetQueryPoolEXT)(
ANV_FROM_HANDLE(anv_query_pool, pool, queryPool);
for (uint32_t i = 0; i < queryCount; i++) {
- uint64_t *slot =
pool->bo.map + (firstQuery + i) * pool->stride
;
+ uint64_t *slot =
query_slot(pool, firstQuery + i)
;
*slot = 0;
}
}