porting over the graphics example
This commit is contained in:
32
src/main.rs
32
src/main.rs
@@ -3,8 +3,6 @@
|
||||
#![allow(unused_variables)]
|
||||
#![allow(unused_mut)]
|
||||
|
||||
|
||||
/*
|
||||
extern crate cgmath;
|
||||
extern crate image;
|
||||
extern crate nalgebra as na;
|
||||
@@ -54,8 +52,8 @@ mod util;
|
||||
mod button;
|
||||
mod workpiece;
|
||||
|
||||
/*
|
||||
|
||||
/*
|
||||
What next?
|
||||
Second sprite for rendering paths at x10 or so resolution
|
||||
color bucketing
|
||||
@@ -205,32 +203,9 @@ fn main() {
|
||||
window.display();
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//use vulkano::buffer::{BufferAccess, BufferUsage, CpuAccessibleBuffer, DeviceLocalBuffer, ImmutableBuffer};
|
||||
//use vulkano::command_buffer::{AutoCommandBufferBuilder, DynamicState};
|
||||
//use vulkano::descriptor::descriptor_set::{PersistentDescriptorSet, PersistentDescriptorSetBuf, StdDescriptorPoolAlloc};
|
||||
//use vulkano::descriptor::pipeline_layout::PipelineLayout;
|
||||
//use vulkano::device::{Device, DeviceExtensions, Queue, QueuesIter};
|
||||
//use vulkano::framebuffer::{Framebuffer, FramebufferAbstract, RenderPassAbstract, Subpass};
|
||||
//use vulkano::image::SwapchainImage;
|
||||
//use vulkano::instance::{Instance, InstanceExtensions, PhysicalDevice, QueueFamily};
|
||||
//use vulkano::pipeline::{ComputePipeline, GraphicsPipeline};
|
||||
//use vulkano::pipeline::viewport::Viewport;
|
||||
//use vulkano::swapchain::{AcquireError, PresentMode, SurfaceTransform, Swapchain, SwapchainCreationError};
|
||||
//use vulkano::swapchain;
|
||||
//use vulkano::sync::{FlushError, GpuFuture};
|
||||
//use vulkano::sync;
|
||||
//use vulkano_win::VkSurfaceBuild;
|
||||
//use winit::{Event, EventsLoop, Window, WindowBuilder, WindowEvent};
|
||||
//use shade_runner::{ComputeLayout, CompileError};
|
||||
//use shaderc::CompileOptions;
|
||||
|
||||
|
||||
/*
|
||||
use vulkano::buffer::{BufferUsage, CpuAccessibleBuffer, DeviceLocalBuffer, ImmutableBuffer, BufferAccess};
|
||||
use vulkano::command_buffer::{AutoCommandBufferBuilder, DynamicState};
|
||||
use vulkano::descriptor::descriptor_set::{PersistentDescriptorSet, StdDescriptorPoolAlloc};
|
||||
@@ -258,6 +233,8 @@ use winit::{Event, EventsLoop, Window, WindowBuilder, WindowEvent};
|
||||
use vulkano_win::VkSurfaceBuild;
|
||||
use vulkano::SafeDeref;
|
||||
|
||||
|
||||
|
||||
fn main() {
|
||||
let instance = {
|
||||
let extensions = vulkano_win::required_extensions();
|
||||
@@ -751,3 +728,4 @@ fn window_size_dependent_setup(
|
||||
}).collect::<Vec<_>>()
|
||||
}
|
||||
|
||||
*/
|
||||
Reference in New Issue
Block a user