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

#105 in Graphics APIs

Download history 2876/week @ 2024-11-16 2369/week @ 2024-11-23 2375/week @ 2024-11-30 2995/week @ 2024-12-07 3275/week @ 2024-12-14 2344/week @ 2024-12-21 1712/week @ 2024-12-28 3737/week @ 2025-01-04 3079/week @ 2025-01-11 3710/week @ 2025-01-18 3116/week @ 2025-01-25 4617/week @ 2025-02-01 3450/week @ 2025-02-08 4131/week @ 2025-02-15 4862/week @ 2025-02-22 3254/week @ 2025-03-01

16,771 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