#supasim #spir-v #bindings #spirv-cross #helper #env-var #sub-directory #specify-path

sys supasim-spirv-cross-sys

Very simple SpirV-Cross bindings as used by supasim. No other utilities or helpers are provided.

2 releases

Uses new Rust 2024

0.0.2 Aug 16, 2025
0.0.1 Jun 9, 2025

#950 in Graphics APIs

Download history 18/week @ 2025-07-09 77/week @ 2025-07-16 24/week @ 2025-07-23 14/week @ 2025-07-30 67/week @ 2025-08-06 161/week @ 2025-08-13 73/week @ 2025-08-20 118/week @ 2025-08-27 74/week @ 2025-09-03 76/week @ 2025-09-10 109/week @ 2025-09-17 64/week @ 2025-09-24 125/week @ 2025-10-01 79/week @ 2025-10-08 67/week @ 2025-10-15 38/week @ 2025-10-22

312 downloads per month
Used in supasim-kernels

MIT license

7KB
114 lines

Usage

I don't specify a minimum spirv cross version. Anything somewhat recent should work fine.

When using, you will have to specify the path of the libraries and the headers. When setting the VULKAN_SDK environment variable, these are automatically found. When using this, it will search for headers in $VULKAN_SDK/include/spirv-cross subdirectory and libraries in $VULKAN_SDK/lib subdirectory. You can also set the SPIRV_CROSS_DIR environment variable. When using this, it will search for headers in the $SPIRV_CROSS/include subdirectory and libraries in the $SPIRV_CROSS/lib subdirectory. Directory names are capitalized on windows. Finally, you can set the SPIRV_CROSS_HEADERS_DIR and SPIRV_CROSS_LIBS_DIR environment variables, which do as you might guess.

No runtime deps

~0–2.1MB
~42K SLoC