1
0
Fork 0
firefox/third_party/rust/glslopt/README.md
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
390 B
Markdown

# 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.