diff options
author | Dave Airlie <[email protected]> | 2016-10-14 13:31:35 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-10-19 09:05:26 +1000 |
commit | 1ae6ece9802e77ede97722c0f7cdd0c24e6fbd04 (patch) | |
tree | a4bd20d4a57a7853616b8696b6dfa47ad200faea /src/intel/vulkan/genX_state.c | |
parent | 0cfd428aefe13441e93cc6f57d70f0b282ad2b21 (diff) |
anv: move to using vk_alloc helpers.
This moves all the alloc/free in anv to the generic helpers.
Acked-by: Jason Ekstrand <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_state.c')
-rw-r--r-- | src/intel/vulkan/genX_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_state.c b/src/intel/vulkan/genX_state.c index a6d405dac5d..be1bd785bce 100644 --- a/src/intel/vulkan/genX_state.c +++ b/src/intel/vulkan/genX_state.c @@ -159,7 +159,7 @@ VkResult genX(CreateSampler)( assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO); - sampler = anv_alloc2(&device->alloc, pAllocator, sizeof(*sampler), 8, + sampler = vk_alloc2(&device->alloc, pAllocator, sizeof(*sampler), 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); if (!sampler) return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); |