dfranx / SHADERed

Lightweight, cross-platform & full-featured shader IDE
https://shadered.org/
MIT License
4.3k stars 271 forks source link

Support for Vulkan GLSL compute shaders and push constants? #138

Open allanmac opened 3 years ago

allanmac commented 3 years ago

It's unclear in the Project>Options>General settings and the documentation if Vulkan GLSL and compute shaders are supported.

As a result, a layout(push_constant) uniform { ... } produces a compilation error.

dfranx commented 3 years ago

Unfortunately, some things aren't supported. Vulkan GLSL will be fully supported once I add Vulkan as a (optional) rendering backend. Fortunately, Vulkan rendering backend is actually on my TODO list for v1.4.*/v1.5 updates (since I would like to add support for RTX shaders sometimes in the future).

This is first time I am documenting something so the documentation could also be vastly improved.

Thanks for reporting!

allanmac commented 3 years ago

Sounds good! I'm looking forward to Vulkan (1.2) support.