mesa/src
Ian Romanick 0d314eb3cc intel/cmat: Enable packed formats for unary, length, and construct
With this, a minimum test case passes:

    void main()
    {
        coopmat<float16_t, gl_ScopeSubgroup, M, N, gl_MatrixUseA> matA;
        coopmat<float, gl_ScopeSubgroup, M, N, gl_MatrixUseA> matR;

        matA = coopmat<float16_t, gl_ScopeSubgroup, M, N, gl_MatrixUseA>(2.0);
        matR = coopmat<float, gl_ScopeSubgroup, M, N, gl_MatrixUseA>(matA);

        coopMatStore(matR, result, 0, N, gl_CooperativeMatrixLayoutRowMajor);
    }

v2: Use nir_vec instead of explicit nir_vec{2,4}. Also fixes a typo in
one of the 4x8 cases.

v3: Use nir_pack_bits and nir_unpack_bits to dramatically simplify
coop_unary handling. This saved 67 lines of code.

v4: Allow packing factor 2 and packing factor 1 elements be stored in
16-bit integers.

v5: Massive update to the comment in lower_cooperative_matrix_unary_op
with some suggestions from Caio. Add a comment and assertion around
`nir_def *v[4]`. Suggested by Caio.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25994>
2023-12-29 20:24:15 -08:00
..
amd meson: always define {,DRAW_}LLVM_AVAILABLE one way or the other 2023-12-24 10:01:39 +00:00
android_stub
asahi asahi: clamp draw count for mdi 2023-12-09 12:08:39 -04:00
broadcom ci/v3dv: add new failures 2023-12-24 00:48:10 +01:00
c11
compiler compiler/types: Use a typedef for glsl_type 2023-12-22 07:53:25 -08:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl egl/glx: fallback to software when Zink is forced and fails 2023-12-19 11:59:49 +00:00
etnaviv ci/austriancoder: separate HW definition from SW 2023-12-16 16:03:08 +01:00
freedreno freedreno: Add a644 support 2023-12-29 09:44:07 +00:00
gallium iris: Fix lowered images in get_main_plane_for_plane 2023-12-29 09:08:57 +00:00
gbm gbm: delete some zink handling 2023-10-09 18:43:09 +00:00
getopt
glx glx: Handle IGNORE_GLX_SWAP_METHOD_OML regardless of GLX_USE_APPLEGL 2023-12-18 17:52:09 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination pvr: alloc WSI memory via GPU when there isn't a valid display FD 2023-12-12 12:41:13 +00:00
imgui
intel intel/cmat: Enable packed formats for unary, length, and construct 2023-12-29 20:24:15 -08:00
loader dri: added build dependencies for systems using non-standard prefixed X11 libs. 2023-11-02 15:08:17 +00:00
mapi glthread: add a string table of function names 2023-12-08 04:25:52 +00:00
mesa mesa: Use glsl_type C helpers 2023-12-22 06:44:23 -08:00
microsoft ci/msvc: Rename vs2019 to msvc 2023-12-24 11:46:43 +00:00
nouveau nouveau: Use glsl_type C helpers 2023-12-22 06:44:23 -08:00
panfrost ci: Remove per-driver wayland-dEQP-EGL xfails 2023-12-22 11:13:23 +00:00
tool perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
util driconf: add Witcher3 to Intel XeSS workaround 2023-12-27 17:10:19 +00:00
virtio vulkan/android: Only limit advertised extensions in strict mode 2023-12-13 20:09:37 +00:00
vulkan Revert "vk/util: ignore unsupported feature structs" 2023-12-25 20:36:34 +00:00
.clang-format nir: add _safe variants of nir_foreach_reg_load/store 2023-12-15 17:19:28 +00:00
meson.build meson: Only include virtio when DRM available 2023-11-07 18:22:56 +00:00