add color changing

This commit is contained in:
zack 2024-12-29 12:00:32 -05:00
parent 94432b0c0d
commit 210d5078c6
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
7 changed files with 129 additions and 54 deletions

View file

@ -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)