13 releases

0.1.12 Nov 7, 2025
0.1.11 Aug 30, 2024
0.1.10 Feb 13, 2024
0.1.9 Mar 17, 2021
0.1.2 Apr 30, 2020

#64 in Graphics APIs

Download history 6361/week @ 2025-08-19 6282/week @ 2025-08-26 5784/week @ 2025-09-02 4605/week @ 2025-09-09 5446/week @ 2025-09-16 6085/week @ 2025-09-23 6449/week @ 2025-09-30 5845/week @ 2025-10-07 6893/week @ 2025-10-14 7799/week @ 2025-10-21 7169/week @ 2025-10-28 7773/week @ 2025-11-04 7319/week @ 2025-11-11 8219/week @ 2025-11-18 5308/week @ 2025-11-25 4337/week @ 2025-12-02

26,327 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 410 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