https://bugs.freedesktop.org/show_bug.cgi?id=29518
Summary: [r300g] [regression] Depth clamping broke Regnum Online Product: Mesa Version: git Platform: Other URL: http://www.regnumonline.com.ar/ OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: sa@whiz.se
Created an attachment (id=37802) --> (https://bugs.freedesktop.org/attachment.cgi?id=37802) Screenshot of RO
Lately I have noticed that the game Regnum Online have regressed, it has never worked perfectly (see bug 28847) but now it's only rendering garbage.
Bisecting leads to this:
ca7ead03da4481cd34933175898f4a924e588ad4 is the first bad commit commit ca7ead03da4481cd34933175898f4a924e588ad4 Author: Marek Olšák maraeo@gmail.com Date: Tue Jul 20 16:37:22 2010 +0200
r300g: implement depth clamp
Depth clamping seems to be implicit if clipping is disabled.
It's not perfect, but it's good enough for wine and passes the corresponding piglit tests.
:040000 040000 2c23739a006e4151928169bfb4da12b323c4d2c7 bcd5168351aa7e5b75ed39bdea8e7e7eb5caf2ed M src
I have confirmed the problem by reverting said commit.