vulkano/examples/build.rs
2017-01-21 16:33:09 +01:00

14 lines
606 B
Rust

extern crate vulkano_shaders;
fn main() {
// building the shaders used in the examples
vulkano_shaders::build_glsl_shaders([
("src/bin/triangle_vs.glsl", vulkano_shaders::ShaderType::Vertex),
("src/bin/triangle_fs.glsl", vulkano_shaders::ShaderType::Fragment),
("src/bin/teapot_vs.glsl", vulkano_shaders::ShaderType::Vertex),
("src/bin/teapot_fs.glsl", vulkano_shaders::ShaderType::Fragment),
("src/bin/image_vs.glsl", vulkano_shaders::ShaderType::Vertex),
("src/bin/image_fs.glsl", vulkano_shaders::ShaderType::Fragment),
].iter().cloned());
}