vulkano/shader-parser/examples/example.rs
2016-01-31 11:36:16 +01:00

10 lines
219 B
Rust

extern crate shader_parser;
use std::io::Cursor;
fn main() {
let content = include_bytes!("example.spv");
let output = shader_parser::reflect(Cursor::new(&content[..])).unwrap();
println!("{}", output);
}