Skip to contentSkip to conversation

New: [r300g] [regression] Depth clamping broke Regnum Online

Bug 29518 [email protected] 1 participant 4 messages Aug 11, 2010 – Aug 13, 2010

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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 <[email protected]>
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.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 29518] [r300g] [regression] Depth clamping broke Regnum Online

https://bugs.freedesktop.org/show_bug.cgi?id=29518

--- Comment #1 from Marek Olšák <[email protected]> 2010-08-11 18:37:28 PDT --- It's rendering only garbage here, with or without that patch.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 29518] [r300g] [regression] Depth clamping broke Regnum Online

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29518

--- Comment #2 from Sven Arvidsson <[email protected]> 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).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 29518] [r300g] [regression] Depth clamping broke Regnum Online

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29518

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Marek Olšák <[email protected]> 2010-08-12 18:12:22 PDT --- Depth clamp disabled by commit 16e782b83f298fcf82bbb277690ac0c713e90e21. Closing..

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel