mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-21 07:50:35 +01:00
vulkan: fix typo
Signed-off-by: Hyunjun Ko <zzoon@igalia.com> Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14105>
This commit is contained in:
parent
f976f71fb0
commit
58aa920706
2 changed files with 3 additions and 3 deletions
|
|
@ -222,7 +222,7 @@ vk_drm_syncobj_import_opaque_fd(struct vk_device *device,
|
|||
int err = drmSyncobjFDToHandle(device->drm_fd, fd, &new_handle);
|
||||
if (err) {
|
||||
return vk_errorf(device, VK_ERROR_UNKNOWN,
|
||||
"DRM_IOCTL_SYNCOBJ_HANDLE_TO_FD failed: %m");
|
||||
"DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE failed: %m");
|
||||
}
|
||||
|
||||
err = drmSyncobjDestroy(device->drm_fd, sobj->syncobj);
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ enum vk_sync_features {
|
|||
* vk_sync types. This is used to by the threaded submit mode to ensure
|
||||
* that everything gets submitted to the kernel driver in-order.
|
||||
*
|
||||
* A vk_sync is operates in binary mode if VK_SYNC_IS_TIMELINE is not set
|
||||
* A vk_sync operates in binary mode if VK_SYNC_IS_TIMELINE is not set
|
||||
* in vk_sync::flags.
|
||||
*/
|
||||
VK_SYNC_FEATURE_BINARY = (1 << 0),
|
||||
|
|
@ -72,7 +72,7 @@ enum vk_sync_features {
|
|||
* submit to re-order things so that the kernel requests happen in a valid
|
||||
* linear order.
|
||||
*
|
||||
* A vk_sync is operates in binary mode if VK_SYNC_IS_TIMELINE is set in
|
||||
* A vk_sync operates in timeline mode if VK_SYNC_IS_TIMELINE is set in
|
||||
* vk_sync::flags.
|
||||
*/
|
||||
VK_SYNC_FEATURE_TIMELINE = (1 << 1),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue