radeonsi: GL_LINES rendering is affected by GL_POINT_SPRITE
FNA has support for point list rendering, but only supports doing so with point sprites. Because of this, it's easier for us to just glEnable(GL_POINT_SPRITE)
on startup and leave it there, but on my RX580, draw calls using GL_LINES
render incorrectly, even though the setting should only affect GL_POINTS
calls.
Repro Case
A quick warning, the part of the game affected happens to be the very end, so if you've not played FEZ and intend to later, don't look at this trace...
Anyway, here is an apitrace dump that shows the issue - the frames leading up to ~2000 should be an absurdly large grid of white lines, but with the setup described below it's mostly a black screen with only some lines rendering toward the end of the shot. This trace will play back correctly when using the NVIDIA binary blob, for example.
Versions
Fedora 31 x86_64, RX 580 8GB
Packages:
mesa-dri-drivers-20.1.0-0.3.20200407.00.eeb6262.fc31.x86_64
llvm-libs-9.0.1-5.fc31.x86_64
Repo can be found here.