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@lists.freedesktop.org ReportedBy: llyzs@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?