mc-imperial / spirv-control-flow

Formal modelling of SPIR-V control flow using Alloy
Apache License 2.0
2 stars 0 forks source link

Cross compile SPIR-V from amber files into various target languages #16

Closed Jack-Clark closed 2 years ago

Jack-Clark commented 2 years ago

The languages supported are hlsl, glsl and msl. The conversion process uses spirv-cross to cross compile the SPIR-V from amber files into the target language. The results are stored in files the appropriate suffix for the target language. For example, converting to glsl will create .comp files. Naga may be supported in the future as an alternative to spirv-cross.

Currently, no compilation is done on the target language files. This should be supported in the future.