diff --git a/examples/compile.rs b/examples/compile.rs
index fe6b915..6fb33df 100644
--- a/examples/compile.rs
+++ b/examples/compile.rs
@@ -2,12 +2,13 @@ use shade_runner as sr;
use std::path::PathBuf;
fn main() {
- let project_root = std::env::current_dir().expect("failed to get root directory");
- let mut vert_path = project_root.clone();
- vert_path.push(PathBuf::from("examples/shaders/vert.glsl"));
- let mut frag_path = project_root.clone();
- frag_path.push(PathBuf::from("examples/shaders/frag.glsl"));
- let shader = sr::load(vert_path, frag_path).expect("Failed to compile");
- let vulkano_entry = sr::parse(&shader).expect("failed to parse");
- dbg!(vulkano_entry);
+
+// let project_root = std::env::current_dir().expect("failed to get root directory");
+// let mut vert_path = project_root.clone();
+// vert_path.push(PathBuf::from("examples/shaders/vert.glsl"));
+// let mut frag_path = project_root.clone();
+// frag_path.push(PathBuf::from("examples/shaders/frag.glsl"));
+// let shader = sr::load(vert_path, frag_path).expect("Failed to compile");
+// let vulkano_entry = sr::parse(&shader).expect("failed to parse");
+// dbg!(vulkano_entry);
}
diff --git a/src/layouts.rs b/src/layouts.rs
index 55f3ce1..10a920b 100644
--- a/src/layouts.rs
+++ b/src/layouts.rs
@@ -7,51 +7,46 @@ use crate::reflection::LayoutData;
#[derive(Debug, Clone, Default)]
pub struct Entry {
- pub frag_input: FragInput,
- pub frag_output: FragOutput,
- pub frag_layout: FragLayout,
- pub vert_input: VertInput,
- pub vert_output: VertOutput,
- pub vert_layout: VertLayout,
- pub compute_layout: ComputeLayout,
+ pub input: Option,
+ pub output: Option