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

Add a GLSL compiler to improve Shader Management #258

Open
JonasGilg opened this issue Jun 22, 2021 · 0 comments
Open

Add a GLSL compiler to improve Shader Management #258

JonasGilg opened this issue Jun 22, 2021 · 0 comments
Labels
discussion needed Further information is requested new feature A feature request or a general improvement idea refactoring This is mainly about code restructuring

Comments

@JonasGilg
Copy link
Member

The Problem

Currently shaders are being build using the compiler of the GPU driver. This leads to missing features and inconsistencies. We are mostly missing #include and proper #define functionality. To circumvent this problem, we currently build the shaders at runtime by stitching a string together.

The Solution

We can use a library, that compiles shaders with all required features. There are two contenders:

Both libraries should be fulfilling our needs and are under active development. glslang has a C++ interface, for which I do prefer it.

Any opinions?

@JonasGilg JonasGilg added new feature A feature request or a general improvement idea discussion needed Further information is requested refactoring This is mainly about code restructuring labels Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion needed Further information is requested new feature A feature request or a general improvement idea refactoring This is mainly about code restructuring
Projects
None yet
Development

No branches or pull requests

1 participant