shader-slang / slang

Making it easier to work with shaders
http://shader-slang.com
MIT License
2.17k stars 187 forks source link

Design interface for dumping multiple linkable SPV files #5002

Open cheneym2 opened 2 months ago

cheneym2 commented 2 months ago

When using -embed-spirv feature, every slang-module with embedded SPIRV will provide one SPV file each, with one additional SPV file as glue. There needs to be an interface to extract all the SPV files from the slang toolchain.

cheneym2 commented 1 month ago

Started this discussion, but need to finish design and write it down.