Skip to contentSkip to conversation

New: r600g: Fix location for clip plane registers

Bug 31788 [email protected] 1 participant 3 messages Nov 20, 2010

lore
Share & tools
lore
#0 lore raw

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

Summary: r600g: Fix location for clip plane registers
Product: Mesa
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]

This fixes a failure with the improved Piglit user-test clip in bug 31787 (problem originally discovered in Clutter conformance test suite)

This makes the r600 registers correspond between r600c and r600g. The corresponding evergreen code uses a stride of 4 for both r600c and r600g - from the register locations it doesn't appear that can be correct but without hardware or docs at hand, I didn't want to change it in this patch. Should be checked.

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.
#1 lore raw

[Bug 31788] r600g: Fix location for clip plane registers

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

--- Comment #1 from Owen Taylor <[email protected]> 2010-11-20 06:44:08 PST --- Created an attachment (id=40436)
View: https://bugs.freedesktop.org/attachment.cgi?id=40436
Review: https://bugs.freedesktop.org/review?bug=31788&attachment=40436

r600g: Fix location for clip plane registers

The stride between the different clip plane registers was incorrect.

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.
#2 lore raw

[Bug 31788] r600g: Fix location for clip plane registers

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Alex Deucher <[email protected]> 2010-11-20 09:23:12 PST --- Thanks, committed:
c63a86e1e5665fb5cd94de42d6c59171398e12ee

Evergreen needs the fix as well, and I added it. For reference, you can find the evergreen regs here:
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/tree/src/evergreen_reg_auto.h
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/tree/src/evergreen_reg.h

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.