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.
https://bugs.freedesktop.org/show_bug.cgi?id=29518
--- Comment #1 from Marek Olšák maraeo@gmail.com 2010-08-11 18:37:28 PDT --- It's rendering only garbage here, with or without that patch.
https://bugs.freedesktop.org/show_bug.cgi?id=29518
--- Comment #2 from Sven Arvidsson sa@whiz.se 2010-08-12 05:41:05 PDT --- In that case you're probably running it with the shader backend, you need to change it to the fixed function pipeline (in the options).
https://bugs.freedesktop.org/show_bug.cgi?id=29518
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Marek Olšák maraeo@gmail.com 2010-08-12 18:12:22 PDT --- Depth clamp disabled by commit 16e782b83f298fcf82bbb277690ac0c713e90e21. Closing..
dri-devel@lists.freedesktop.org