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

sys supasim-spirv-tools-sys

Very simple SpirV-tools 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

#1053 in Graphics APIs

Download history 10/week @ 2025-11-06 29/week @ 2025-11-13 63/week @ 2025-11-20 56/week @ 2025-11-27 56/week @ 2025-12-04 13/week @ 2025-12-11 24/week @ 2025-12-18 64/week @ 2025-12-25 34/week @ 2026-01-01 20/week @ 2026-01-08 10/week @ 2026-01-15 13/week @ 2026-01-22 24/week @ 2026-01-29 30/week @ 2026-02-05 13/week @ 2026-02-12 14/week @ 2026-02-19

82 downloads per month
Used in 3 crates (via supasim-kernels)

MIT license

6KB
83 lines

Usage

I don't specify a minimum spirv tools 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-tools subdirectory and libraries in $VULKAN_SDK/lib subdirectory. You can also set the SPIRV_TOOLS_DIR environment variable. When using this, it will search for headers in the $SPIRV_TOOLS/include subdirectory and libraries in the $SPIRV_TOOLS/lib subdirectory. Directory names are capitalized on windows. Finally, you can set the SPIRV_TOOLS_HEADERS_DIR and SPIRV_TOOLS_LIBS_DIR environment variables, which do as you might guess.

No runtime deps

~0–1.9MB
~37K SLoC