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

Marek Olšák maraeo at gmail.com
Fri Feb 6 11:05:56 PST 2015


I pushed both patches. Thanks.

Marek

On Sat, Jan 31, 2015 at 1:36 AM, Xavier B. <xavierb at gmail.com> wrote:
> 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>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list