11 releases

0.1.10 Feb 13, 2024
0.1.9 Mar 17, 2021
0.1.8 Feb 1, 2021
0.1.7 Aug 26, 2020
0.1.2 Apr 30, 2020

#116 in Graphics APIs

Download history 1154/week @ 2024-01-15 1499/week @ 2024-01-22 1160/week @ 2024-01-29 1335/week @ 2024-02-05 1596/week @ 2024-02-12 1421/week @ 2024-02-19 1803/week @ 2024-02-26 2375/week @ 2024-03-04 1992/week @ 2024-03-11 2446/week @ 2024-03-18 2437/week @ 2024-03-25 1548/week @ 2024-04-01 1723/week @ 2024-04-08 1450/week @ 2024-04-15 1551/week @ 2024-04-22 2018/week @ 2024-04-29

6,853 downloads per month
Used in 3 crates (via zng-webrender)

MIT license

4MB
83K SLoC

C++ 64K SLoC // 0.2% comments C 13K SLoC // 0.2% comments Happy 2K SLoC GLSL 1.5K SLoC // 0.2% comments LLVM 772 SLoC Rust 409 SLoC // 0.0% comments Python 381 SLoC // 0.5% comments Shell 7 SLoC

glslopt-rs

Rust bindings to glsl-optimizer.

Updating glsl-optimizer

To update the version of glsl-optimizer, update the git submodule:

git submodule update --remote glsl-optimizer

Then, if required, regenerate the bindings:

cargo install bindgen
bindgen wrapper.hpp -o src/bindings.rs

Then commit the changes.

No runtime deps