anv: move to using vk_alloc helpers.
This moves all the alloc/free in anv to the generic helpers. Acked-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -68,7 +68,7 @@ void anv_DestroySurfaceKHR(
|
||||
ANV_FROM_HANDLE(anv_instance, instance, _instance);
|
||||
ANV_FROM_HANDLE(_VkIcdSurfaceBase, surface, _surface);
|
||||
|
||||
anv_free2(&instance->alloc, pAllocator, surface);
|
||||
vk_free2(&instance->alloc, pAllocator, surface);
|
||||
}
|
||||
|
||||
VkResult anv_GetPhysicalDeviceSurfaceSupportKHR(
|
||||
|
Reference in New Issue
Block a user