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

a uniform with [ or ] in a comment cause a bad shader generation #18

Open
aiekick opened this issue Dec 18, 2023 · 0 comments
Open

a uniform with [ or ] in a comment cause a bad shader generation #18

aiekick opened this issue Dec 18, 2023 · 0 comments
Assignees
Labels
bug Something isn't working SoGLSL

Comments

@aiekick
Copy link
Owner

aiekick commented Dec 18, 2023

ex : uniform float(5:25:5) uHeightCoef; // possible range [5..25]

cause the shader to be send to gpu like "uniform uHeightCoef[1];" so cause compilation error

@aiekick aiekick added bug Something isn't working SoGLSL labels Dec 18, 2023
@aiekick aiekick self-assigned this Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SoGLSL
Projects
None yet
Development

No branches or pull requests

1 participant