summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_allocator.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-02-18 13:37:01 -0800
committerJason Ekstrand <[email protected]>2016-02-18 13:55:57 -0800
commitd5bb23156d698675fff74b1e8207ce0217c148db (patch)
tree716ae7402e52caaaa71172246de5b48cdabd12aa /src/intel/vulkan/anv_allocator.c
parent1b37276467e47919256c0a171b92004d3cfaaab4 (diff)
anv/allocator: Set is_winsys_bo to false for block pool BOs
Diffstat (limited to 'src/intel/vulkan/anv_allocator.c')
-rw-r--r--src/intel/vulkan/anv_allocator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c
index a7ae975656b..3b62bda3e93 100644
--- a/src/intel/vulkan/anv_allocator.c
+++ b/src/intel/vulkan/anv_allocator.c
@@ -253,6 +253,7 @@ anv_block_pool_init(struct anv_block_pool *pool,
pool->bo.gem_handle = 0;
pool->bo.offset = 0;
pool->bo.size = 0;
+ pool->bo.is_winsys_bo = false;
pool->block_size = block_size;
pool->free_list = ANV_FREE_LIST_EMPTY;
pool->back_free_list = ANV_FREE_LIST_EMPTY;