[Mesa-dev] r600g/sb: fix a bug in constants folding optimisation pass

Xavier B. xavierb at gmail.com
Fri Jan 30 16:36:30 PST 2015


r600g/sb: fix a bug in constants folding optimisation
 pass:

    ADD     R6.y.1,    R5.w.1, ~1|3f800000
    ADD     R6.y.2,    |R6.y.1|, -0.0001|b8d1b717

was wrongly being converted to

    ADD     R6.y.1,    R5.w.1, ~1|3f800000
    ADD     R6.y.2,    R5.w.1, -1.0001|bf800347

because abs() modifier was ignored.

Signed-off-by: Xavier Bouchoux <xavierb at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150131/2d2ae8f1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-r600g-sb-fix-a-bug-in-constants-folding-optimisation.patch
Type: text/x-patch
Size: 1445 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150131/2d2ae8f1/attachment-0001.bin>


More information about the mesa-dev mailing list