[Webkit-unassigned] [Bug 201784] Layout Test webgl/2.0.0/conformance/glsl/misc/shaders-with-invariance.html is failing since ANGLE roll

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 8 15:46:33 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=201784

--- Comment #4 from Dean Jackson <dino at apple.com> ---
The difference is in the translated fragment shader source.

Before:
invariant varying mediump vec4 webgl_a78e73e400000001;
void main(){
(gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0));
(gl_FragColor = webgl_a78e73e400000001);
}

After:
varying mediump vec4 webgl_a78e73e400000001;
void main(){
(gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0));
(gl_FragColor = webgl_a78e73e400000001);
}

However, my reading of the GLSL specifications says this is ok.

"Only variables output from a shader can be candidates for invariance. This includes user-defined output variables and the built-in output variables. As only outputs can be declared as invariant, an output from one shader stage will still match an input of a subsequent stage without the input being declared as invariant."

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191008/2b304355/attachment-0001.html>


More information about the webkit-unassigned mailing list