[Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 11 05:40:45 PDT 2012


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

             Bug #: 47201
           Summary: TGSI source register with absolute negative modifier
                    does not work correctly
    Classification: Unclassified
           Product: Mesa
           Version: 8.0
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: llyzs at 163.com


Recently I found a TGSI fragment shader does not render correctly with r600
driver and I further identified the issue down to instructions in this form:

CMP TEMP[0].yz, -|TEMP[1].xxxx|, TEMP[2].xxxx, CONST[0].xyxw

If I covert all those instructions to the equivalents:

ABS TEMP[5], TEMP[1].xxxx
CMP TEMP[0].yz, -TEMP[5], TEMP[2].xxxx, CONST[0].xyxw

It then works fine. However, the original instructions work just fine with
nouveau and swrast driver, so it should be a r600 bug. Any clue on this issue?

-- 
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