diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-01-11 12:01:30 -0800 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-01-14 10:49:33 -0800 |
commit | 09c3ff01dfd72aa84334fe82cc3319594fc99ac6 (patch) | |
tree | dba4b7df0f7e77e9e063665f06d5d3d37aeb4658 /src/intel/vulkan/anv_batch_chain.c | |
parent | 9fdded0cc34b4bdb87923707c05b8ceffb2f174c (diff) |
src/intel: use new hash table and set creation helpers
Replace calls to create hash tables and sets that use
_mesa_hash_pointer/_mesa_key_pointer_equal with the helpers
_mesa_pointer_hash_table_create() and _mesa_pointer_set_create().
Reviewed-by: Jason Ekstrand <[email protected]>
Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_batch_chain.c')
-rw-r--r-- | src/intel/vulkan/anv_batch_chain.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_batch_chain.c b/src/intel/vulkan/anv_batch_chain.c index a9f8c5b79b1..a41305bc6d1 100644 --- a/src/intel/vulkan/anv_batch_chain.c +++ b/src/intel/vulkan/anv_batch_chain.c @@ -75,8 +75,7 @@ anv_reloc_list_init_clone(struct anv_reloc_list *list, return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); } - list->deps = _mesa_set_create(NULL, _mesa_hash_pointer, - _mesa_key_pointer_equal); + list->deps = _mesa_pointer_set_create(NULL); if (!list->deps) { vk_free(alloc, list->relocs); |