mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-12-03 12:14:16 +00:00
14 lines
606 B
Rust
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());
|
|
}
|