rust-gpu/crates
Alex Es d548268140
Aggressively prune no-side-effect instructions during DCE. (#691)
* Aggressively prune no-side-effect instructions during DCE.

Since we're walking all the instructions anyway, it's practically
zero-cost.

* Reverse iteration order within a function.

This allows to root more instructions per `spread_roots`
invocation, becoming zero-cost in absence of loops.

* Manually iterate over function instructions in reverse order.
2021-08-04 08:03:38 +00:00
..
rustc_codegen_spirv Aggressively prune no-side-effect instructions during DCE. (#691) 2021-08-04 08:03:38 +00:00
spirv-builder Release v0.4.0-alpha.11 (#702) 2021-08-02 14:02:02 +00:00
spirv-std Release v0.4.0-alpha.11 (#702) 2021-08-02 14:02:02 +00:00