[Bug 31830] [bisected] broken shadows in Unigine Sanctuary and Lightsmark

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 26 02:17:15 PST 2011


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

--- Comment #8 from Pavel Ondračka <drakkk at centrum.cz> 2011-01-26 02:17:15 PST ---
Created an attachment (id=42516)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=42516)
screenshot of the problem

(In reply to comment #7)
> Created an attachment (id=42514)
 View: https://bugs.freedesktop.org/attachment.cgi?id=42514
 Review: https://bugs.freedesktop.org/review?bug=31830&attachment=42514

> Disable instruction rewriting in the scheduler
> 
> I think this bug is actually in the scheduler, and it is just being exposed by
> the reg rename pass.  I have been able to track down a few instructions that
> the scheduler is converting from vector to scalar that change how the shadows
> are rendered.  However, these conversions look valid too me, so I'm really not
> sure what the problem is.  I think this patch fixes Lightsmark, but I'm not
> sure what the shadows are supposed to look like.  Can you try this patch on
> Lightsmark and Sanctuary.  Thanks.

Hi, this patch doesn't help neither. I tested it alone and also with the first
patch. Concerning how the penumbra shadows should look, you don't get the right
behavior with RADEON_DEBUG=noopt? I've attached screenshot comparing bad and
good shadows. Don't know how to help you more, I still have the debug patches
you've sent me when we were debugging sanctuary before the "enable rename_reg"
patch was committed, maybe I could use them again to identify the failing
shader?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list