Refactor Vulkan device and instance handling
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Refactor Vulkan initialization to merge logical and physical device management into a unified `VkDevice` struct. Improved logging for Vulkan instance creation and surface management. Added methods to `VkPhysicalDevice` and `VkSurface` for more detailed querying of physical device capabilities.
This commit is contained in:
parent
b91571e777
commit
d0c6f31a1a
9 changed files with 233 additions and 59 deletions
|
@ -1,8 +1,16 @@
|
|||
pub(self) mod vk_instance;
|
||||
pub(self) mod vk_physical_device;
|
||||
pub(self) mod vk_logical_device;
|
||||
mod utils;
|
||||
mod vk_surface;
|
||||
pub(self) mod vk_render_context;
|
||||
pub use vk_render_context::VkRenderContext;
|
||||
|
||||
pub(self) mod vk_instance;
|
||||
pub use vk_instance::VkInstance;
|
||||
pub use vk_physical_device::VkPhysicalDevice;
|
||||
|
||||
pub(self) mod vk_surface;
|
||||
pub use vk_surface::VkSurface;
|
||||
|
||||
pub(self) mod vk_physical_device;
|
||||
pub use vk_physical_device::VkPhysicalDevice;
|
||||
|
||||
pub(self) mod vk_device;
|
||||
pub use vk_device::VkDevice;
|
||||
|
||||
mod utils;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue