11 releases

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

#156 in Graphics APIs

Download history 703/week @ 2023-12-23 933/week @ 2023-12-30 961/week @ 2024-01-06 1127/week @ 2024-01-13 1351/week @ 2024-01-20 1254/week @ 2024-01-27 1252/week @ 2024-02-03 1672/week @ 2024-02-10 1482/week @ 2024-02-17 1734/week @ 2024-02-24 2208/week @ 2024-03-02 2078/week @ 2024-03-09 2441/week @ 2024-03-16 2423/week @ 2024-03-23 1642/week @ 2024-03-30 1299/week @ 2024-04-06

8,253 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 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