M1 MacOS browser Firefox/ANGLE on GL glitches depth point cloud
Firefox & Chrome glitch when they use WebGL with the ANGLE backend set to GL. On my machine this is the default for Firefox, but not on Chrome which defaults to Metal. (Furthermore, by default we use WebGPU on Chrome which also doesn't run into this)
https://github.com/rerun-io/rerun/assets/1220815/441bf167-158c-42c3-a190-784e4b04c338
The artifacts exposed here seem to be dependent on gpu fragment shader scheduling - notice the blocks despite us not using any compute shader. Since I don't recall seeing this before updating to MacOS Sonoma, this is likely a driver bug.
Changing Chrome to use GL as backend for ANGLE:
Info on Firefox webgl backends: https://wiki.mozilla.org/Platform/GFX/WebGL/Backends Doesn't seem it can be changed to Metal!
In Firefox 132.0.2 the issue is less worse: Selection doesn't work properly and outlines are broken