summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_query.c
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2015-12-03 23:58:05 -0800
committerKristian Høgsberg Kristensen <[email protected]>2015-12-04 09:51:47 -0800
commitbbb6875f35c783d4f350dc9fbf2e2904b3d47a5a (patch)
tree3a92815ebd7af2607228900674c98e1ef32c2517 /src/vulkan/anv_query.c
parentc3c61d210f0929a71e031dfb3830bf39cee583a4 (diff)
vk: Map uncached, coherent memory as write-combine
This gives us the required characteristics for the memory type.
Diffstat (limited to 'src/vulkan/anv_query.c')
-rw-r--r--src/vulkan/anv_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_query.c b/src/vulkan/anv_query.c
index 911b9a41264..6f9d7d89aa6 100644
--- a/src/vulkan/anv_query.c
+++ b/src/vulkan/anv_query.c
@@ -69,7 +69,7 @@ VkResult anv_CreateQueryPool(
if (result != VK_SUCCESS)
goto fail;
- pool->bo.map = anv_gem_mmap(device, pool->bo.gem_handle, 0, size);
+ pool->bo.map = anv_gem_mmap(device, pool->bo.gem_handle, 0, size, 0);
*pQueryPool = anv_query_pool_to_handle(pool);