summaryrefslogtreecommitdiffstats
path: root/third_party/rust/glslopt/README.md
blob: 95997604a738430be4556ef348dc2a4540b51e3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# glslopt-rs

Rust bindings to [glsl-optimizer](https://github.com/jamienicol/glsl-optimizer).

## Updating glsl-optimizer

To update the version of glsl-optimizer, update the git submodule:

```sh
git submodule update --remote glsl-optimizer
```

Then, if required, regenerate the bindings:

```sh
cargo install bindgen
bindgen wrapper.hpp -o src/bindings.rs
```

Then commit the changes.