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
..
amd radv: update to use the new features struct names 2019-04-30 16:55:18 +01:00
broadcom delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
compiler nir: Saturating integer arithmetic is not associative 2019-05-01 09:07:47 -07:00
egl egl: return correct error code for a case req ver < 3 with forward-compatible 2019-05-01 00:14:00 +00:00
freedreno freedreno/ir3: fixes for half reg in/out 2019-04-30 10:39:24 -07:00
gallium swr/rast: Add general SWTag statistics 2019-05-01 15:11:30 +00:00
gbm delete autotools input files 2019-04-29 21:17:19 +00:00
getopt
glx delete autotools input files 2019-04-29 21:17:19 +00:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: update memory editor 2019-02-26 12:49:07 +00:00
intel anv: add support for VK_EXT_memory_budget 2019-04-30 15:40:33 +00:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi Revert "meson: drop GLESv1 .so version back to 1.0.0" 2019-04-30 13:49:20 +01:00
mesa mesa: Add missing display list support for GL_FOG_COORDINATE_SOURCE 2019-04-30 07:52:59 -07:00
util util: move #include out of #if linux 2019-05-01 15:45:47 +00:00
vulkan delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00