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

#114 in Graphics APIs

Download history 2196/week @ 2024-09-18 2771/week @ 2024-09-25 3374/week @ 2024-10-02 3693/week @ 2024-10-09 3780/week @ 2024-10-16 3281/week @ 2024-10-23 3497/week @ 2024-10-30 2738/week @ 2024-11-06 2294/week @ 2024-11-13 2931/week @ 2024-11-20 2056/week @ 2024-11-27 2694/week @ 2024-12-04 3241/week @ 2024-12-11 3457/week @ 2024-12-18 1377/week @ 2024-12-25 1862/week @ 2025-01-01

10,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 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