Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glslang bindings? #77

Closed
dustContributor opened this issue Aug 10, 2015 · 5 comments
Closed

glslang bindings? #77

dustContributor opened this issue Aug 10, 2015 · 5 comments

Comments

@dustContributor
Copy link

Hi! I wonder if doing bindings for glslang would be feasible? (the C API that is).

https://github.com/KhronosGroup/glslang

Console standalone interface is kinda too basic. It would be nice to have a shader validation tool like that, hell it would allow you to make some graphical shader validation tool in Java :3

@Spasi
Copy link
Member

Spasi commented Aug 11, 2015

It could be useful. The API is nice and should be easy to add to LWJGL. But I'm a bit skeptical because I don't think many users will be interested. Also, with Vulkan coming, focus has shifted to SPIR-V and there are many tools/libraries being made for it already. I think we should wait a few months to explore other options.

@dustContributor
Copy link
Author

Yeah, good points. Prolly we'll get a bunch of similar tools "later this year". In the meanwhile I'll be trying nVidia's Linux OpenGL debugger.

@Spasi
Copy link
Member

Spasi commented Sep 4, 2015

Another option: https://github.com/google/shaderc

@Spasi Spasi added this to the 3.0.1 milestone Mar 27, 2016
@Spasi Spasi modified the milestones: 3.0.x, 3.0.1 Aug 13, 2016
@httpdigest
Copy link
Member

I'd vote for adding bindings to the libshaderc part of shaderc. It's painful having to invoke a command line interface executable after every shader modification to build the spir-v files before launching the actual application. A way to use libshaderc as a library inside of a small utility class to compile the shaders at runtime would be great!

@Spasi Spasi closed this as completed in f97fdc9 May 15, 2019
@Spasi Spasi moved this to Next Release in Bindings Sep 3, 2022
@Spasi Spasi added this to Bindings Sep 3, 2022
@Hugobros3
Copy link

Considering https://github.com/scenerygraphics/spirvcrossj is abandonned and deprecated now, it would be nice to have a direct replacement for the glslang bindings that used to offer. Also consider that shaderc just wraps glslang, which is the real GLSL compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants