vulkan-core: make SyncobjCtx optional
This commit is contained in:
parent
0a84bd47bf
commit
e2d2a2e9b9
6 changed files with 16 additions and 11 deletions
|
|
@ -16,6 +16,6 @@ pub trait VulkanDeviceInf: Sized {
|
|||
fn external_fence_fd(&self) -> &external_fence_fd::Device;
|
||||
fn external_semaphore_fd(&self) -> &external_semaphore_fd::Device;
|
||||
fn supports_timeline_opaque_export(&self) -> bool;
|
||||
fn sync_ctx(&self) -> &Rc<SyncobjCtx>;
|
||||
fn sync_ctx(&self) -> Option<&Rc<SyncobjCtx>>;
|
||||
fn eventfd_cache(&self) -> &Rc<EventfdCache>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue