projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spirv,radv,anv: implement no-op VK_GOOGLE_user_type
[mesa.git]
/
src
/
intel
/
vulkan
/
anv_wsi_display.c
diff --git
a/src/intel/vulkan/anv_wsi_display.c
b/src/intel/vulkan/anv_wsi_display.c
index a6326c738de4545de5861b1a22d3c86866433120..62db692a9a88c254b5a002af5a9bb12b92706d4c 100644
(file)
--- a/
src/intel/vulkan/anv_wsi_display.c
+++ b/
src/intel/vulkan/anv_wsi_display.c
@@
-255,7
+255,7
@@
anv_RegisterDeviceEventEXT(VkDevice _device,
struct anv_fence *fence;
VkResult ret;
struct anv_fence *fence;
VkResult ret;
- fence = vk_zalloc2(&device->
instance->
alloc, allocator, sizeof (*fence), 8,
+ fence = vk_zalloc2(&device->
vk.
alloc, allocator, sizeof (*fence), 8,
VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
if (!fence)
return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY);
VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
if (!fence)
return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY);
@@
-270,7
+270,7
@@
anv_RegisterDeviceEventEXT(VkDevice _device,
if (ret == VK_SUCCESS)
*_fence = anv_fence_to_handle(fence);
else
if (ret == VK_SUCCESS)
*_fence = anv_fence_to_handle(fence);
else
- vk_free2(&device->
instance->
alloc, allocator, fence);
+ vk_free2(&device->
vk.
alloc, allocator, fence);
return ret;
}
return ret;
}
@@
-285,7
+285,7
@@
anv_RegisterDisplayEventEXT(VkDevice _device,
struct anv_fence *fence;
VkResult ret;
struct anv_fence *fence;
VkResult ret;
- fence = vk_zalloc2(&device->alloc, allocator, sizeof (*fence), 8,
+ fence = vk_zalloc2(&device->
vk.
alloc, allocator, sizeof (*fence), 8,
VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
if (!fence)
return VK_ERROR_OUT_OF_HOST_MEMORY;
VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
if (!fence)
return VK_ERROR_OUT_OF_HOST_MEMORY;
@@
-299,7
+299,7
@@
anv_RegisterDisplayEventEXT(VkDevice _device,
if (ret == VK_SUCCESS)
*_fence = anv_fence_to_handle(fence);
else
if (ret == VK_SUCCESS)
*_fence = anv_fence_to_handle(fence);
else
- vk_free2(&device->alloc, allocator, fence);
+ vk_free2(&device->
vk.
alloc, allocator, fence);
return ret;
}
return ret;
}