Lines Matching refs:device
57 vk_sync_timeline_init(struct vk_device *device,
70 return vk_errorf(device, VK_ERROR_UNKNOWN, "mtx_init failed");
75 return vk_errorf(device, VK_ERROR_UNKNOWN, "cnd_init failed");
87 vk_sync_timeline_finish(struct vk_device *device,
95 vk_sync_finish(device, &point->sync);
96 vk_free(&device->alloc, point);
101 vk_sync_finish(device, &point->sync);
102 vk_free(&device->alloc, point);
123 vk_sync_timeline_gc_locked(struct vk_device *device,
128 vk_sync_timeline_alloc_point_locked(struct vk_device *device,
136 result = vk_sync_timeline_gc_locked(device, timeline, false);
148 point = vk_zalloc(&device->alloc, size, 8,
151 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
155 result = vk_sync_init(device, &point->sync, point_sync_type,
158 vk_free(&device->alloc, point);
166 result = vk_sync_reset(device, &point->sync);
181 vk_sync_timeline_alloc_point(struct vk_device *device,
189 result = vk_sync_timeline_alloc_point_locked(device, timeline, value, point_out);
204 vk_sync_timeline_point_free(struct vk_device *device,
248 vk_sync_timeline_gc_locked(struct vk_device *device,
274 VkResult result = vk_sync_wait(device, &point->sync, 0,
293 vk_sync_timeline_point_install(struct vk_device *device,
312 return vk_errorf(device, VK_ERROR_UNKNOWN, "cnd_broadcast failed");
318 vk_sync_timeline_get_point_locked(struct vk_device *device,
342 vk_sync_timeline_get_point(struct vk_device *device,
348 VkResult result = vk_sync_timeline_get_point_locked(device, timeline,
356 vk_sync_timeline_point_release(struct vk_device *device,
367 vk_sync_timeline_signal_locked(struct vk_device *device,
371 VkResult result = vk_sync_timeline_gc_locked(device, timeline, true);
376 return vk_device_set_lost(device, "Timeline values must only ever "
386 return vk_errorf(device, VK_ERROR_UNKNOWN, "cnd_broadcast failed");
392 vk_sync_timeline_signal(struct vk_device *device,
399 VkResult result = vk_sync_timeline_signal_locked(device, timeline, value);
406 vk_sync_timeline_get_value(struct vk_device *device,
413 VkResult result = vk_sync_timeline_gc_locked(device, timeline, true);
425 vk_sync_timeline_wait_locked(struct vk_device *device,
462 return vk_errorf(device, VK_ERROR_UNKNOWN, "cnd_timedwait failed");
474 VkResult result = vk_sync_timeline_gc_locked(device, timeline, false);
485 result = vk_sync_wait(device, &point->sync, 0,
504 vk_sync_timeline_wait(struct vk_device *device,
513 VkResult result = vk_sync_timeline_wait_locked(device, timeline,