mesa/src
Alyssa Rosenzweig d7f0804a47 nir/format_convert: handle clamping smaller bit sizes
asahi will pass in 16bits, works fine if we convert before clamping. note we
don't try to be clever and make a smaller immediate because it would require
extra logic for negatives to make sure we don't have garbage in upper bits
(nir_validate checks that). do the simple, obviously correct thing.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26440>
2023-12-04 15:41:19 +00:00
..
amd radv: Enable compute dispatch tunneling 2023-12-04 12:32:47 +00:00
android_stub
asahi asahi: Use the compat version of qsort_r 2023-11-29 17:01:09 +00:00
broadcom v3dv: drop duplicate flag 2023-12-04 04:13:39 +00:00
c11
compiler nir/format_convert: handle clamping smaller bit sizes 2023-12-04 15:41:19 +00:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl meson: work around meson 0.62 issue 2023-12-04 11:41:37 +00:00
etnaviv etnaviv: rs: Call etna_rs_gen_clear_surface(..) when needed 2023-11-27 06:59:05 +00:00
freedreno Revert "ci/freedreno: disable a660 as it's down now" 2023-12-04 12:52:48 +00:00
gallium iris/xe2+: Use Region-based Tessellation redistribution 2023-12-02 02:22:07 +00:00
gbm gbm: delete some zink handling 2023-10-09 18:43:09 +00:00
getopt
glx mesa/st, dri2, wgl, glx: Restore flush_objects interop backward compat 2023-11-21 23:15:32 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination pvr: update symbols that have become aliases for newer ones 2023-12-04 12:16:06 +00:00
imgui
intel intel/tools: hang viewer/editor 2023-12-04 14:51:29 +00:00
loader dri: added build dependencies for systems using non-standard prefixed X11 libs. 2023-11-02 15:08:17 +00:00
mapi mesa: add GL_APPLE_sync support 2023-10-20 17:20:11 +00:00
mesa gallium: add PIPE_CAP_PERFORMANCE_MONITOR for GL_AMD_performance_monitor 2023-11-28 17:34:26 +00:00
microsoft microsoft/clc: Fix image lowering pass to only erase variables at the end 2023-11-30 23:32:08 +00:00
nouveau nak: Call nir_opt_shrink_vectors 2023-12-03 04:15:39 +00:00
panfrost panfrost: do not handle NONE-swizzle 2023-12-01 07:53:58 +00:00
tool perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
util util/format: document NONE swizzle 2023-12-01 07:53:58 +00:00
virtio venus: scrub msaa sample mask only with valid msaa state 2023-11-29 20:49:29 +00:00
vulkan vulkan: Add helpers for access flags 2023-12-01 17:59:51 +00:00
.clang-format util/rb_tree: Add augmented trees and interval trees 2023-11-02 21:03:46 +00:00
meson.build meson: Only include virtio when DRM available 2023-11-07 18:22:56 +00:00