Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spirvcruncher 2

Console application to pack SPIR-V binary files to cpp header include file

Usage

spirvcruncher2 -i <input_filename(s)> -g spirv.core.grammar.json -o embedded_shaders.h

  • -i | --input <input_filename> ie. use *.spv to pack all shaders into one header
  • -o | --output <output_filename>
  • -g | --grammar location of the downloaded spir-v grammar file from Khronos

optional:

  • -n | --name
  • -s | --silent silent
  • --raw store canonical spir-v verbatim
  • --keepdebug keep debug
  • --emit-canonical

Credits and license

(c) 2026 Ossi Luoto. MIT License

Acknowledgements

Originally inspired from smol-v by Aras Pranckevicius. Please see version 1.0 for more.

About

Console application to pack and convert SPIR-V binary files to C/C++ header file

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages