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

[Android] artifacts with large shaders #149

Open
lwky opened this issue Jun 11, 2020 · 0 comments
Open

[Android] artifacts with large shaders #149

lwky opened this issue Jun 11, 2020 · 0 comments

Comments

@lwky
Copy link

lwky commented Jun 11, 2020

I was working with a (too) large fragment shader, and due to method inlining this resulted in a very long main() function. On multiple (older, Andoid 5/6, gles2) android devices, this resulted in strange artifacts such as incorrect colors. Extracting part of the instructions to a separate function resolved the issue.

no problems on iOS or desktop.

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

1 participant