[Webkit-unassigned] [Bug 218185] WebGL2 clearBuffer results are lost if drawing buffer is pending a clear in certain cases
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 20 16:55:20 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=218185
--- Comment #4 from Kenneth Russell <kbr at google.com> ---
Thanks. Yes, it looks like there's a problem as you describe.
Would you be willing to try writing a test case for this? It could be modeled after https://github.com/KhronosGroup/WebGL/blob/master/sdk/tests/conformance2/rendering/rasterizer-discard-and-implicit-clear.html . Suggestion:
- Use setupQuad to set up a small quad (maybe scale 0.1)
In requestAnimationFrame:
- Enable scissor test (but have the scissor rect cover the entire canvas)
- Use clearBufferiv to clear the color buffer to green
- Draw the scaled quad in green
- Assert the canvas is fully green (with the bug, the surrounding region of the quad will be black)
--
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/20201121/52c04719/attachment.htm>
More information about the webkit-unassigned
mailing list