mesa/src
Ian Romanick 7d8bf7c167 nir/lower_bit_size: Support add_sat and sub_sat
Without this, lowered saturating ALU instructions would only clamp to
the range of the new type instead of the range of the old type.

v2: Use nir_iclamp.  Suggested by Jason. Use new
u_{int,uint}N_{min,max}() helpers.

Fixes: 090e282407 ("nir: Add a saturated unsigned integer add opcode")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12142>
2021-08-24 19:58:57 +00:00
..
amd radv: call nir_lower_flrp() after the first radv_optimize_nir() 2021-08-24 16:10:30 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom broadcom/compiler: Fix qpu.flags.muf typo. 2021-08-24 08:30:59 +00:00
compiler nir/lower_bit_size: Support add_sat and sub_sat 2021-08-24 19:58:57 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl python: explicitly require python3 2021-08-14 21:44:31 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno tu: Enable VK_KHR_uniform_buffer_standard_layout 2021-08-23 18:30:22 +00:00
gallium panfrost: Replace writers pointer with hash table 2021-08-24 19:39:51 +00:00
gbm gbm: add GBM_FORMAT_R16 2021-08-06 13:38:00 +00:00
getopt
glx glx: Simplify context API profile computation 2021-08-18 21:11:02 +00:00
gtest
hgl
imgui
intel intel/compiler: Add unified barrier support for CS 2021-08-24 01:31:48 +00:00
loader driconfig: Add support for device specific config 2021-08-02 16:37:24 -07:00
mapi glthread: implement glGetUniformLocation without syncing 2021-08-24 15:24:07 +00:00
mesa glthread: implement glGetUniformLocation without syncing 2021-08-24 15:24:07 +00:00
microsoft nir: Move phi src setup to a helper. 2021-08-13 16:11:57 +00:00
nouveau
panfrost panfrost: Move bo->label assignment into the lock 2021-08-24 14:31:54 -04:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util gallium: use a packed enum to make pipe_prim_mode 1-byte large with __GNUC__ 2021-08-24 10:43:44 -04:00
virtio venus: use uint32_t in vn_ring_submit 2021-08-24 08:56:16 -07:00
vulkan vulkan/wsi/sw: wait for image fence before submitting to queue 2021-08-24 03:30:17 +10:00
meson.build meson: Build panfrost with tools=panfrost 2021-07-22 17:55:49 +00:00