|
|
@ -44,6 +44,7 @@ use shaderc::CompileOptions;
|
|
|
|
use shade_runner::CompileError;
|
|
|
|
use shade_runner::CompileError;
|
|
|
|
use crate::workpiece::{WorkpieceLoader, Workpiece};
|
|
|
|
use crate::workpiece::{WorkpieceLoader, Workpiece};
|
|
|
|
use winit::{EventsLoop, WindowBuilder, WindowEvent, Event};
|
|
|
|
use winit::{EventsLoop, WindowBuilder, WindowEvent, Event};
|
|
|
|
|
|
|
|
use winit::dpi::LogicalSize;
|
|
|
|
use vulkano_win::VkSurfaceBuild;
|
|
|
|
use vulkano_win::VkSurfaceBuild;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -67,6 +68,7 @@ fn main() {
|
|
|
|
|
|
|
|
|
|
|
|
let mut events_loop = EventsLoop::new();
|
|
|
|
let mut events_loop = EventsLoop::new();
|
|
|
|
let mut surface = WindowBuilder::new()
|
|
|
|
let mut surface = WindowBuilder::new()
|
|
|
|
|
|
|
|
.with_dimensions(LogicalSize::from((800, 800)))
|
|
|
|
.build_vk_surface(&events_loop, instance.clone()).unwrap();
|
|
|
|
.build_vk_surface(&events_loop, instance.clone()).unwrap();
|
|
|
|
let mut window = surface.window();
|
|
|
|
let mut window = surface.window();
|
|
|
|
|
|
|
|
|
|
|
|