mesa/src
Ian Romanick 4f272bf001 intel/fs: Fix handling of W, UW, and HF constants in combine_constants
Sources that are already W, UW, or HF can be represented as those types
by definition. Pass them through. Previously an HF source on a MAD would
have been marked as !can_promote. I'm pretty sure this means it would
get moved out to a register, but I did not verify this.

For ADD3, a constant source could be D or UD. In this case, the value
must be tested to determine whether it can be represented as W or
UW. The patterns in opt_algebraic won't generate an ADD3 with constant
source, so this problem cannot occur yet.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23262>
2023-06-06 06:10:53 +00:00
..
amd nir: use generated immediate comparison helpers 2023-06-05 13:40:08 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Reformat using the new style 2023-05-29 21:06:12 +00:00
broadcom broadcom/ci: update expected results 2023-06-05 17:00:04 +02:00
c11 c11: Remove _MTX_INITIALIZER_NP as it's not used anymore 2023-05-31 15:44:51 +00:00
compiler nir/print: Print 0 when mem_modes or resource_intel have no values 2023-06-06 01:23:18 +00:00
drm-shim drm-shim: Avoid assertion fail if someone does close(-1). 2023-06-01 01:50:41 +00:00
egl util: Replace all usage of PIPE_TIMEOUT_INFINITE with OS_TIMEOUT_INFINITE 2023-06-05 05:12:02 +00:00
etnaviv ci: rename x86 and amd64 to x86_64, armhf to arm32, and i386 to x86_32 2023-06-02 21:30:15 +02:00
freedreno traces: update sir-f720 trace expectations for zink on anv and freedreno 2023-06-05 20:49:13 +00:00
gallium traces: update sir-f720 trace expectations for zink on anv and freedreno 2023-06-05 20:49:13 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: fix build with APPLEGL 2023-05-15 03:50:30 +00:00
gtest gtest: Update to 1.13.0 2023-05-14 11:09:02 +00:00
imagination pvr: Fix typo causing seg faults copying immutable samplers 2023-06-05 13:06:57 +00:00
imgui
intel intel/fs: Fix handling of W, UW, and HF constants in combine_constants 2023-06-06 06:10:53 +00:00
loader loader: Replace usage of mtx_t with simple_mtx_t in loader/loader_dri3_helper.c 2023-05-31 15:44:50 +00:00
mapi mesa: Add EXT_instanced_arrays support 2023-04-11 10:22:35 +00:00
mesa nir: use generated immediate comparison helpers 2023-06-05 13:40:08 +00:00
microsoft nir: use generated immediate comparison helpers 2023-06-05 13:40:08 +00:00
nouveau compiler: Rename shader_prim to mesa_prim and replace all usage of pipe_prim_type with mesa_prim 2023-06-03 03:29:03 +00:00
panfrost nir: use nir_i{ne,eq}_imm helpers 2023-06-05 13:40:07 +00:00
tool meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
util util: Replace all usage of PIPE_TIMEOUT_INFINITE with OS_TIMEOUT_INFINITE 2023-06-05 05:12:02 +00:00
virtio venus: enable VK_EXT_image_2d_view_of_3d 2023-05-30 22:52:12 +00:00
vulkan vulkan/wsi: fix double free on error condition 2023-06-02 15:12:19 -07:00
.clang-format treewide: Add a .clang-format file 2023-05-29 21:06:12 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00