add color changing
This commit is contained in:
parent
94432b0c0d
commit
210d5078c6
7 changed files with 129 additions and 54 deletions
|
|
@ -6,6 +6,10 @@ use std::{
|
|||
use spirv_builder::{MetadataPrintout, SpirvBuilder};
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
// Tell Cargo to rerun this script if the shaders crate or its contents change
|
||||
println!("cargo:rerun-if-changed=../shaders/src");
|
||||
println!("cargo:rerun-if-changed=../shaders/Cargo.toml");
|
||||
|
||||
SpirvBuilder::new("../shaders/", "spirv-unknown-vulkan1.2")
|
||||
.print_metadata(MetadataPrintout::None)
|
||||
.multimodule(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue