diff options
author | Ian Romanick <[email protected]> | 2018-09-10 22:38:29 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-23 00:18:57 +0000 |
commit | 1d165b0548639df48c406fd6514298309e68aba9 (patch) | |
tree | 501b0fb310674a620f635789b1e9a43937322d1f /src/broadcom/drm-shim/meson.build | |
parent | 20d34c4ebf07c98a40ea43b0cccc95537c176fa9 (diff) |
glsl: Add new expressions for INTEL_shader_integer_functions2
v2: Re-write iadd64_saturate and isub64_saturate to avoid undefined
overflow behavior. Also fix copy-and-paste bug in isub64_saturate.
Suggested by Caio.
v3: Avoid signed integer overflow for abs_sub(0, INT_MIN). Noticed by
Caio.
v4: Alternate fix for signed integer overflow for abs_sub(0, INT_MIN).
I tried the previous methon in a small test program with -ftrapv, and it
failed.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/767>
Diffstat (limited to 'src/broadcom/drm-shim/meson.build')
0 files changed, 0 insertions, 0 deletions