Objects leaving trails in Firefox with antialias and preserveDrawingBuffer in three.js WebGLRednerer with mesa 19.2
When background is one-color, objects leave trails like this
with { antialias: true, preserveDrawingBuffer: true }
in WebGLRenderer in three.js in Firefox. Other browsers are not affected, but it worked on previous mesa versions without this issue.
Here's jsfiddle with code that illustrates the issue: https://jsfiddle.net/w0vejxat/
I'm using RX 570 on Arch, but also checked live Ubuntu 19.10 with mesa 19.2 which has this issue, and live Ubuntu 18.04.3 with mesa 19.0 which doesn't have it.
Edit: On laptop with integrated intel graphics there's no such issue, so it has to be radeon specific.