I need to impl a private module so I can have a private get_paths

This commit is contained in:
2019-09-21 23:33:56 -07:00
parent 5462566396
commit fa2c9397bf
6 changed files with 186 additions and 43 deletions

View File

@@ -17,6 +17,7 @@ use crate::compu_kernel::{CompuKernel, CompuKernelHandle};
use crate::compu_buffer::{CompuBuffers, CompuBufferHandle};
use std::time::Duration;
use crate::canvas_shader::CanvasShaderHandle;
use vulkano::pipeline::depth_stencil::{DynamicStencilValue, StencilFaceFlags};
/// VKProcessor holds the vulkan instance information, the swapchain, and the compute and canvas states
///
@@ -27,7 +28,6 @@ pub struct VkProcessor<'a> {
pub device: Arc<Device>,
pub queues: QueuesIter,
pub queue: Arc<Queue>,
pub dynamic_state: DynamicState,
pub swapchain: Option<Arc<Swapchain<Window>>>,
pub swapchain_images: Option<Vec<Arc<SwapchainImage<Window>>>>,
@@ -72,7 +72,6 @@ impl<'a> VkProcessor<'a> {
device: device.clone(),
queue: queue.clone(),
queues: queues,
dynamic_state: DynamicState { line_width: None, viewports: None, scissors: None },
swapchain: None,
swapchain_images: None,
swapchain_recreate_needed: false,