MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / main

Function main

examples/multibuilder/src/main.rs:3–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1use spirv_builder::{MetadataPrintout, SpirvBuilder};
2
3fn main() {
4 let result = SpirvBuilder::new(
5 concat!(env!("CARGO_MANIFEST_DIR"), "/../shaders/sky-shader"),
6 "spirv-unknown-spv1.3",
7 )
8 .print_metadata(MetadataPrintout::DependencyOnly)
9 .multimodule(true)
10 .build()
11 .unwrap();
12 println!("{result:#?}");
13}

Callers

nothing calls this directly

Calls 3

multimoduleMethod · 0.80
print_metadataMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected