Enable debug logging for cargo-gpu (#3207)
debug cargo-gpu: debug logging
This commit is contained in:
parent
593a89f2e2
commit
074a33f58f
|
|
@ -2184,6 +2184,7 @@ version = "0.1.0"
|
|||
dependencies = [
|
||||
"cargo-gpu",
|
||||
"env_logger",
|
||||
"log",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
|||
|
|
@ -14,3 +14,4 @@ crate-type = ["rlib", "dylib"]
|
|||
[build-dependencies]
|
||||
cargo-gpu = { workspace = true }
|
||||
env_logger = { workspace = true }
|
||||
log = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ use cargo_gpu::spirv_builder::{MetadataPrintout, SpirvMetadata};
|
|||
use std::path::PathBuf;
|
||||
|
||||
pub fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
env_logger::builder().init();
|
||||
env_logger::builder().filter_level(log::LevelFilter::Debug).init();
|
||||
|
||||
// Skip building the shader if they are provided externally
|
||||
println!("cargo:rerun-if-env-changed=GRAPHENE_RASTER_NODES_SHADER_PATH");
|
||||
|
|
|
|||
Loading…
Reference in New Issue