vulkan: move fence to core
This commit is contained in:
parent
7e6facf4e3
commit
3ecee1b17f
9 changed files with 89 additions and 91 deletions
|
|
@ -25,6 +25,9 @@ use {
|
|||
uapi::{Ustr, ustr},
|
||||
};
|
||||
|
||||
pub mod device;
|
||||
pub mod fence;
|
||||
|
||||
static VULKAN_ENTRY: Lazy<Result<Entry, Arc<LoadingError>>> =
|
||||
Lazy::new(|| unsafe { Entry::load() }.map_err(Arc::new));
|
||||
|
||||
|
|
@ -45,6 +48,10 @@ pub enum VulkanCoreError {
|
|||
CreateInstance(#[source] vk::Result),
|
||||
#[error("Could not create a debug-utils messenger")]
|
||||
Messenger(#[source] vk::Result),
|
||||
#[error("Could not create a fence")]
|
||||
CreateFence(#[source] vk::Result),
|
||||
#[error("Could not export a sync file from a semaphore")]
|
||||
ExportSyncFile(#[source] vk::Result),
|
||||
}
|
||||
|
||||
pub struct VulkanCoreInstance {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue