mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 06:45:13 +00:00
Update docs/src/writing-shader-crates.md
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
This commit is contained in:
parent
9199a89ea4
commit
a2fe52b904
@ -54,9 +54,9 @@ use spirv_builder::{MetadataPrintout, SpirvBuilder};
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
SpirvBuilder::new(shader_crate, target)
|
SpirvBuilder::new(shader_crate, target)
|
||||||
.print_metadata(MetadataPrintout::Full)
|
.print_metadata(MetadataPrintout::Full)
|
||||||
.build()
|
.build()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user