anv: Implement vk_device::create_sync_for_memory
Fixes: 36ea90a361
("anv: Convert to the common sync and submit framework")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14237>
This commit is contained in:

committed by
Marge Bot

parent
2188829d29
commit
9ae1e621e5
@@ -3176,6 +3176,11 @@ VkResult anv_sync_create_for_bo(struct anv_device *device,
|
||||
struct anv_bo *bo,
|
||||
struct vk_sync **sync_out);
|
||||
|
||||
VkResult anv_create_sync_for_memory(struct vk_device *device,
|
||||
VkDeviceMemory memory,
|
||||
bool signal_memory,
|
||||
struct vk_sync **sync_out);
|
||||
|
||||
struct anv_event {
|
||||
struct vk_object_base base;
|
||||
uint64_t semaphore;
|
||||
|
Reference in New Issue
Block a user