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

#103 in Graphics APIs

Download history 2466/week @ 2024-07-31 3085/week @ 2024-08-07 4028/week @ 2024-08-14 2928/week @ 2024-08-21 4138/week @ 2024-08-28 3614/week @ 2024-09-04 3509/week @ 2024-09-11 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 1767/week @ 2024-11-13

11,836 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