mesa/src
Christian Gmeiner e1cc8ffd5f etnaviv: isa: Add swizzle instruction
Based on observations of the generated assembly, this instruction appears to:
 - Swizzle the 8/16 component vector in src0 according to the pattern defined in src1.
 - Apply a enable mask from src2 to selectively modify elements.

I encountered this instruction while experimenting with _viv_asm and
packed types.

Here is one exmaple kernel:

kernel void k(global int* out, int a, int b) {
  _viv_char2_packed s;

  _viv_asm(MOV, s.x, s, a);
  _viv_asm(MOV, s.y, s, b);

  out[0] = s.x + s.y;
}

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33474>
2025-02-13 09:23:49 +00:00
..
amd radv: simplify determining VBO size 2025-02-13 08:35:21 +01:00
android_stub
asahi hk: Don't include full nir.h in hk_shader.h 2025-02-12 22:33:07 +01:00
broadcom v3dv: improve handling of trailing barriers 2025-02-12 13:15:12 +00:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir: Remove struct keyword from nir.h where possible. 2025-02-12 23:20:15 +01:00
drm-shim
egl egl/glx/sw: Check xcb_query_extension_reply return value for MIT-SHM 2025-02-08 13:50:15 +00:00
etnaviv etnaviv: isa: Add swizzle instruction 2025-02-13 09:23:49 +00:00
freedreno ir3/isa: fix (dis)asm of ldg.a/stg.a on a6xx 2025-02-13 08:01:58 +00:00
gallium nir: Don't include u_printf.h in nir.h, only where necessary. 2025-02-12 23:20:12 +01:00
gbm egl,gallium,gbm,mesa: replace get_param with pipe_caps access 2025-01-17 04:39:46 +00:00
getopt
gfxstream gfxstream: Add common interfaces in the VirtGpuDevice to query DrmInfo 2025-02-07 17:08:34 +00:00
glx egl/glx/sw: Check xcb_query_extension_reply return value for MIT-SHM 2025-02-08 13:50:15 +00:00
gtest
imagination pvr: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +00:00
imgui
intel nir: Don't include the full nir.h when not necessary. 2025-02-12 22:33:07 +01:00
loader loader/wayland: Fix missing timespec.h include 2025-02-06 10:39:25 +01:00
mapi mesa: Add GL_EXT_protected_textures support 2025-02-11 08:14:03 +00:00
mesa mesa: Add GL_EXT_protected_textures support 2025-02-11 08:14:03 +00:00
microsoft nir: Don't include u_printf.h in nir.h, only where necessary. 2025-02-12 23:20:12 +01:00
nouveau nvk: Don't include full nir.h in nvk_shader.h 2025-02-12 22:33:07 +01:00
panfrost pan/bi: Fix scratch access optimization 2025-02-12 17:02:32 +01:00
tool panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
util util/enum_operators: Don't define anything for OpenCL 2025-02-12 22:33:06 +01:00
virtio venus: emulate a second graphics queue on Android 2025-02-11 06:07:24 +00:00
vulkan vk: Don't include full nir.h in headers. 2025-02-12 22:33:07 +01:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format freedreno: move ForEachMacros into freedreno 2025-01-24 12:15:31 +00:00
meson.build dri: put shared-glapi into libgallium.*.so 2025-01-23 00:49:05 +00:00