mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 00:04:11 +00:00
bca7656c8c
* Added an optimization that gets rid of temporary composites. Those temporary composites result from inlining of multi-argument closures. Not only are they rather useless, they're also sometimes invalid, when an argument to said closure is e.g. a pointer. * Correctness fixes to transitive unused removal: - delay only if the instruction is in reference set - properly mark composites being inserted into composites as used * cargo fmt * clippy * Make transformation per-function & rely on DCE for eliminating dead constructs. * Forgot to mark CompositeInsert as pure & additional line cleaning * Rustfmt * Remove duplicate lines only once |
||
---|---|---|
.. | ||
rustc_codegen_spirv | ||
spirv-builder | ||
spirv-std |