Hacker News new | ask | show | jobs
by sigsev_251 875 days ago
Not a glsl or hlsl compiler, but there is a C compiler that targets spirv and is written in C. Here's the repo: https://github.com/heroseh/hcc
1 comments

Would it be that hard to make it understand glsl?

I have no idea how far apart glsl and C are.