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
Fix for chromium GLSL compiler issue #1114
Conversation
@tsherif @Pessimistress |
It seems that behavior is correct for WebGL 2:
Odd that there's inconsistency across browsers though... |
It was a recent update to the spec: KhronosGroup/WebGL#2780 |
I first observed this issue in Chromium 76. Is this going to be an issue for everyone when Chrome updates? (i.e. do we need to patch 6.x)? |
I imagine it won't be an issue unless there's code somewhere that uses GLSL 3 shaders that don't output anything? |
Thanks for the link. |
If RASTERIZER_DISCARD isn't working, I'd say that's a bug. We should file it with Chromium: https://bugs.chromium.org/p/chromium/issues/list |
For #1112
Background
Empty Fragment shader used to work :
But when upgrading chromium fails all Transform related tests with this error :
Change in this PR fixes the problem.
Change List