mesa/src
Erik Faye-Lund 30aab0af07 nir/lower_int64: do not try to clamp floats to int-range
The clamping isn't correct, because the exact values ended up getting
rounded off a bit when converting back to floats.

But, converting floats to integers have undefined results when the
float value doesn't fit in the integer. So let's not try to clamp the
value here.

This was caught by digging at a Clang warning, see this thread for
details:

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15547#note_1329769

Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16022>
2022-04-21 14:12:34 +00:00
..
amd util: Remove util_cpu_detect 2022-04-20 18:44:35 +00:00
android_stub
asahi asahi: Port driver to macOS 12.x ABI 2022-03-22 00:19:30 +00:00
broadcom util: Remove util_cpu_detect 2022-04-20 18:44:35 +00:00
compiler nir/lower_int64: do not try to clamp floats to int-range 2022-04-21 14:12:34 +00:00
drm-shim drm-shim: Implement a shim function for close 2022-04-12 10:01:39 +00:00
egl win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00
etnaviv ci: update various ci result files 2022-03-11 09:58:28 +00:00
freedreno turnip: Don't disable LRZ in subpasses after the first in the easy case. 2022-04-19 18:45:30 +00:00
gallium util/stencil: fix stencil fallback blit shader texture types. 2022-04-21 13:01:53 +00:00
gbm gallium: Learn about kopper 2022-04-07 00:17:40 +00:00
getopt
glx glx: Learn about kopper 2022-04-07 00:17:40 +00:00
gtest
hgl
imagination pvr: replace p_compiler.h boolean with stdbool 2022-04-21 12:52:52 +00:00
imgui
intel anv: Fix geometry flickering issue when compute and 3D passes are combined 2022-04-21 11:00:07 +00:00
loader gallium/dri: add missing PIPE_BIND_DRI_PRIME handling 2022-02-08 00:13:07 +00:00
mapi win32: Do not use BUILD_GL32, we use def file to export win32 dll symbols. 2022-04-19 19:38:47 +00:00
mesa gallium: add PIPE_CAP_MULTI_DRAW_INDIRECT_PARTIAL_STRIDE 2022-04-21 02:29:09 +00:00
microsoft dzn: remove stale cpp_args 2022-04-21 11:21:06 +00:00
nouveau Use proper types for meson objects 2022-04-18 13:03:08 +03:00
panfrost Use proper types for meson objects 2022-04-18 13:03:08 +03:00
tool ci: Use a dlclose-disabling preload library for leak checking in Vulkan. 2022-01-27 23:47:46 +00:00
util util: Remove util_cpu_detect 2022-04-20 18:44:35 +00:00
virtio venus: use linear modifier for legacy common wsi path 2022-04-21 01:29:21 +00:00
vulkan win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00
meson.build microsoft: Initial vulkan-on-12 driver 2022-03-25 16:21:45 +00:00