Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 978 Bytes

CONTRIBUTING.md

File metadata and controls

5 lines (3 loc) · 978 Bytes

Contributing

spirv_cross is linked to the SPIRV-Cross library through git submodules. To receive changes from the upstream repository, update the submodule to track a different commit.

spirv_cross provides a number of C externs to enable automatic bindings generation from bindgen. To expose additional capabilities, edit wrapper.cpp and wrapper.hpp. Afterwards, run cargo run within the bindings_generator directory, which will generate an updated bindings.rs. Feel free to update bindings_generator/src/main.rs if changes are necessary to expose additional C++ types that are supported by bindgen.