From 62275f20d9953cacd179b98990341530625c9e8f Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Tue, 1 Apr 2025 20:58:31 +0200 Subject: [PATCH] Revert begin rework vulkan --- src/main.rs | 1 - src/vulkano/context.rs | 12 ------------ src/vulkano/mod.rs | 3 --- src/vulkano/queues.rs | 8 -------- src/vulkano/renderer.rs | 0 5 files changed, 24 deletions(-) delete mode 100644 src/vulkano/context.rs delete mode 100644 src/vulkano/mod.rs delete mode 100644 src/vulkano/queues.rs delete mode 100644 src/vulkano/renderer.rs diff --git a/src/main.rs b/src/main.rs index 4c3f414..6c01c40 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,6 @@ use std::error::Error; use winit::event_loop::{ControlFlow, EventLoop}; mod renderer; -mod vulkano; fn main() -> Result<(), impl Error> { env_logger::init(); diff --git a/src/vulkano/context.rs b/src/vulkano/context.rs deleted file mode 100644 index b4b5753..0000000 --- a/src/vulkano/context.rs +++ /dev/null @@ -1,12 +0,0 @@ -use crate::vulkano::queues::Queues; -use std::sync::Arc; -use vulkano::device::Device; -use vulkano::instance::Instance; -use vulkano::memory::allocator::StandardMemoryAllocator; - -struct Context { - instance: Arc, - device: Arc, - queues: Queues, - memory_allocator: Arc, -} diff --git a/src/vulkano/mod.rs b/src/vulkano/mod.rs deleted file mode 100644 index 3d6d8f1..0000000 --- a/src/vulkano/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub mod context; -pub mod queues; -mod renderer; diff --git a/src/vulkano/queues.rs b/src/vulkano/queues.rs deleted file mode 100644 index c602a2a..0000000 --- a/src/vulkano/queues.rs +++ /dev/null @@ -1,8 +0,0 @@ -use std::sync::Arc; -use vulkano::device::Queue; - -pub struct Queues { - graphics_queue: Arc, - compute_queue: Arc, - transfer_queue: Option>, -} diff --git a/src/vulkano/renderer.rs b/src/vulkano/renderer.rs deleted file mode 100644 index e69de29..0000000