engine_vulkan: Refactor queue finding
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 8m39s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 8m39s
This commit is contained in:
parent
9ea8721346
commit
4676b1b5b8
5 changed files with 202 additions and 160 deletions
|
@ -1,7 +1,7 @@
|
|||
use std::sync::Arc;
|
||||
|
||||
use bevy_app::{App, Plugin};
|
||||
use bevy_ecs::resource::Resource;
|
||||
use utils::{device::create_and_insert_device, instance::create_and_insert_instance};
|
||||
use vulkano::{
|
||||
command_buffer::allocator::StandardCommandBufferAllocator,
|
||||
descriptor_set::allocator::StandardDescriptorSetAllocator,
|
||||
|
@ -10,9 +10,11 @@ use vulkano::{
|
|||
memory::allocator::StandardMemoryAllocator,
|
||||
};
|
||||
|
||||
use bevy_app::{App, Plugin};
|
||||
mod device;
|
||||
mod instance;
|
||||
mod queues;
|
||||
|
||||
mod utils;
|
||||
use crate::{device::create_and_insert_device, instance::create_and_insert_instance};
|
||||
|
||||
#[derive(Resource, Clone)]
|
||||
pub struct VulkanInstance(pub Arc<Instance>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue