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

Improvements to the core glsl language #168

Open
fknfilewalker opened this issue Aug 31, 2021 · 2 comments
Open

Improvements to the core glsl language #168

fknfilewalker opened this issue Aug 31, 2021 · 2 comments

Comments

@fknfilewalker
Copy link

Are there plans to improve the glsl language. This could be from simple features like default parameters for functions, till more complex ones like interfaces/classes and/or templates? It seems to me that there was no progress made in this direction in the last couple of years. Features like these would make it much easier to write clean and compact code. If there is already an ongoing discussion, please refer me to it.

@apriori
Copy link

apriori commented Nov 8, 2021

I would second this request, however the general ecosystem around shader development seems to be going into multiple directions simultanenously. Several language implementors provide their own compilation backends to transform their host language to SPIR-V directly and aim for tighter host-language integration. This should be a preferred path.

GLSL is a bad and limited reinvention of C, with all its flaws, lousy compilation model, "type-safety" etc..
Actually fixing GLSL almost definetively means not using it in the first place.

@fknfilewalker
Copy link
Author

I understand that, but this is also a sad solution

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

No branches or pull requests

2 participants