12 releases

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

#100 in Graphics APIs

Download history 2834/week @ 2024-08-17 4061/week @ 2024-08-24 3758/week @ 2024-08-31 3688/week @ 2024-09-07 2688/week @ 2024-09-14 2594/week @ 2024-09-21 2499/week @ 2024-09-28 4414/week @ 2024-10-05 3277/week @ 2024-10-12 3604/week @ 2024-10-19 3076/week @ 2024-10-26 3270/week @ 2024-11-02 2516/week @ 2024-11-09 2876/week @ 2024-11-16 2412/week @ 2024-11-23 2475/week @ 2024-11-30

10,789 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 Lex 360 SLoC // 0.3% 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