MaikKlein / rlsl

Rust to SPIR-V compiler
Apache License 2.0
557 stars 14 forks source link

Investigate llvm <-> spirv translation for better optimizations #15

Open MaikKlein opened 6 years ago

MaikKlein commented 6 years ago

Potential bi-directional spir-v <-> llvm compiler https://gitlab.collabora.com/tomeu/llvm-spirv

ambiso commented 4 years ago

The SPIRV-LLVM-Translator could be used to translate between LLVM bitcode and SPIR-V.

There is also the LLVM-SPIRV-backend. I don't know about the progress of either, but I was told the first one would be more complete.

MaikKlein commented 4 years ago

This currently only targets OpenCL and does not support the logical addressing model which is required by Vulkan.