Debian Codegraph @

third_party/rust/glslopt/README.md

raw
1 # glslopt-rs
2
3 Rust bindings to [glsl-optimizer](https://github.com/jamienicol/glsl-optimizer).
4
5 ## Updating glsl-optimizer
6
7 To update the version of glsl-optimizer, update the git submodule:
8
9 ```sh
10 git submodule update --remote glsl-optimizer
11 ```
12
13 Then, if required, regenerate the bindings:
14
15 ```sh
16 cargo install bindgen
17 bindgen wrapper.hpp -o src/bindings.rs
18 ```
19
20 Then commit the changes.