diff options
Diffstat (limited to 'src/vulkan/anv_query.c')
-rw-r--r-- | src/vulkan/anv_query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_query.c b/src/vulkan/anv_query.c index d4c34c7f021..5b052341e0c 100644 --- a/src/vulkan/anv_query.c +++ b/src/vulkan/anv_query.c @@ -60,9 +60,9 @@ VkResult anv_CreateQueryPool( return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); pool->type = pCreateInfo->queryType; - pool->slots = pCreateInfo->entryCount; + pool->slots = pCreateInfo->queryCount; - size = pCreateInfo->entryCount * slot_size; + size = pCreateInfo->queryCount * slot_size; result = anv_bo_init_new(&pool->bo, device, size); if (result != VK_SUCCESS) goto fail; |