[Webkit-unassigned] [Bug 205756] REGRESSION: [ Mac ] webgl/2.0.0/conformance2/glsl3/no-attribute-vertex-shader.html is failing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 4 13:52:25 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=205756
--- Comment #4 from Dean Jackson <dino at apple.com> ---
You can test this if you change the vertex shader code to:
if (gl_VertexID == 0) {
gl_Position = vec4(-1., 1., 0, 1);
} else if (gl_VertexID == 1) {
gl_Position = vec4(-1., -1., 0, 1);
} else if (gl_VertexID == 2) {
gl_Position = vec4(1., -1., 0, 1);
} else {
gl_Position = vec4(-1, 1, 0, 1);
}
That should give you a single green triangle.
Change the else value to vec4(0), and you should still get a triangle, but you don't on some mac hardware.
--
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/20200104/3ef1c164/attachment.htm>
More information about the webkit-unassigned
mailing list