Darkyenus / glsl4idea

A GLSL language plugin for IntelliJ IDEA
GNU Lesser General Public License v3.0
101 stars 30 forks source link

Support debugPrintfEXT() in Vulkan Shaders #164

Closed electrocnic closed 2 years ago

electrocnic commented 2 years ago

Hello, I use debugPrintfEXT("foo %v3f", bar); a lot in my vulkan shaders but the glsl4idea plugin does not recognize this syntax, probably because this seems to be the first time where Strings are ever used in shaders. It fails to properly syntax highlight the rest of the code starting from the first occurrence of ".

Could you please add support for this? Thanks!

electrocnic commented 2 years ago

Thanks so much for implementing this so quickly! Works like a charme!