Files
mesa/src
Ian Romanick 85e6865ff6 nir: Saturating integer arithmetic is not associative
In 8-bits,

    iadd_sat(iadd_sat(0x7f, 0x7f), -1) =
    iadd_sat(0x7f, -1) =
    0x7e

but,

    iadd_sat(0x7f, iadd_sat(0x7f, -1)) =
    iadd_sat(0x7f, 0x7e) =
    0x7f

Fixes: 272e927d0e ("nir/spirv: initial handling of OpenCL.std extension opcodes")
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-05-01 09:07:47 -07:00
..
2019-04-29 21:17:19 +00:00
2019-04-29 21:17:19 +00:00
2019-04-29 21:17:19 +00:00
2019-02-26 12:49:07 +00:00
2019-04-15 13:44:29 -07:00
2019-05-01 15:45:47 +00:00
2019-04-29 21:17:19 +00:00
2019-03-11 10:01:15 -07:00