mesa/src/compiler
Marek Olšák 3800f0af41 nir/algebraic: optimize pack_split(unpack(a).x, unpack(a).y) -> a
This is required to optimize FP64 and Int64 shaders generated by
virglrenderer. It generates pack/unpack around every 64-bit op,
which NIR currently can't eliminate. This fixes that.

There is a new constraint ".y", which means that the use of an instruction
should have swizzle.y. This allows us to add patterns that have Y swizzle
on results of instructions.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32172>
2025-01-07 05:47:52 +00:00
..
clc meson: Add mesa-clc and install-mesa-clc options 2024-12-23 15:09:40 +00:00
glsl glsl: fix corruption due to blake3 hash not being set for nir_opt_undef 2025-01-06 19:50:51 +00:00
isaspec build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
libcl libcl: add VkDraw(Indexed)IndirectCommand definitions 2024-12-12 21:16:12 +00:00
nir nir/algebraic: optimize pack_split(unpack(a).x, unpack(a).y) -> a 2025-01-07 05:47:52 +00:00
rust compiler/rust/bitset: Test next_unset() 2025-01-02 20:52:48 +00:00
spirv meson: Add mesa-clc and install-mesa-clc options 2024-12-23 15:09:40 +00:00
builtin_types.py compiler/types: Add multisample vimage/vtexture types 2024-08-27 15:06:16 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c glsl: fix glsl_get_word_size_align_bytes 2025-01-06 22:09:49 +00:00
glsl_types.h glsl: remove unused code 2025-01-06 19:09:18 +00:00
meson.build nak: Move bitset to compiler crate 2024-08-07 21:08:18 +00:00
shader_enums.c nir: add load_front_face_fsign 2024-12-30 22:31:34 +00:00
shader_enums.h mesa: remove unused PROGRAM_SYSTEM_VALUE 2025-01-06 19:09:17 +00:00
shader_info.h nir: add option to use compact view indices 2024-12-09 20:31:49 +00:00