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

#89 in Graphics APIs

Download history 2410/week @ 2024-03-14 2477/week @ 2024-03-21 1961/week @ 2024-03-28 1499/week @ 2024-04-04 1784/week @ 2024-04-11 1296/week @ 2024-04-18 1996/week @ 2024-04-25 2015/week @ 2024-05-02 1362/week @ 2024-05-09 1898/week @ 2024-05-16 1813/week @ 2024-05-23 1759/week @ 2024-05-30 1558/week @ 2024-06-06 2526/week @ 2024-06-13 1947/week @ 2024-06-20 1495/week @ 2024-06-27

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