Factorio v1.0 - Linux native - 64 bit - OpenGL/radeonsi - completely broken rendering
aka Marek's broken it
Anything fd6bbdcf and/or newer is botched; right up to very latest.
Mesa 20.2 or the immediately preceding commit 701f7ae and earlier - are A-OK at least on my old trusty R9 285.
apitrace: https://1drv.ms/u/s!AkYoNWXHbTGlbo_R1s-uqwMTPqU?e=UhiF5J (~670MB/1.4GB)
A nice easy one to replicate hopefully.
...err...just don't ask me to fix it
edit: only just getting around to trying some debug options.
I'll test a few out...
AMDDEBUG=zerovram ./factorio doesn't help
edit2: No joy with debug options but I can do
git revert fd6bbdcf and that's OK too.
For some reason the game doesn't like the one change made by that particular commit.