mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
Part of https://github.com/compiler-explorer/compiler-explorer/issues/2331 Inspired by https://github.com/compiler-explorer/compiler-explorer/pull/3932 I think it is great that HLSL has support here, but the lack of GLSL support is what stops me from using Compiler-Explorer more often. LunarG also have shown in our [yearly ecosystem survey](https://www.lunarg.com/wp-content/uploads/2024/04/2024-Vulkan-Ecosystem-Survey-Results-04-04-2024.pdf) that GLSL is very widely used in the GPU space  A while ago I started to create [my own SPIR-V tool](https://github.com/sjfricke/SPIRV-Playground) but was given feedback to "please just spend your free-time efforts making compiler-explorer better for SPIR-V instead" ... to which I agree (since seems a LOT of ground work was already laid out for me 😄 ) So here it is, a working version of GLSL using `glslang` 🚀  I guess beside reviewing my very unused Typescript skills, I know we will need to add things to the Infra repo to get things public. For that I am not sure what the best course of action is, we do have [rolling releases](https://github.com/KhronosGroup/glslang/releases/tag/main-tot) of `glslang` as well as SDK version tags --------- Co-authored-by: Matt Godbolt <matt@godbolt.org>