1
0
Fork 0
forked from wry/wry

vulkan: move fence to core

This commit is contained in:
Julian Orth 2026-03-02 10:45:14 +01:00
parent 7e6facf4e3
commit 3ecee1b17f
9 changed files with 89 additions and 91 deletions

View file

@ -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 {