glslang icon indicating copy to clipboard operation
glslang copied to clipboard

Provide lib for StandAlone glslangValidator API

Open mm-longcheng opened this issue 4 years ago • 1 comments

glslangValidator is good as a command line tool. But I want to be able to use the compiler in my own program. Use lib API rather than an independent command line. I tried to modify a copy from StandAlone, but it seems a bit complicated. shaderc is good but i don’t want to introduce too many libraries, glslang is enough.

mm-longcheng avatar Sep 10 '21 01:09 mm-longcheng

You can use glslang as a .lib without any changes. The API is fully exposed, you can copy usage examples from the .exe's workflow and use it in your own code.

mbechard avatar Sep 16 '21 15:09 mbechard