mesa/src/intel
Iván Briano 446f652cde intel/cmat: fix stride calculation in cmat load/store
The stride given in the shader is in number of elements of the of the
type pointed by the given pointer, which may not match the matrix own
element type.
Since we cast the pointer to match the element type, the stride needs to
be ajusted accordingly.

v2:
 - Fix mismatching bit-width in matrix element type and pointer type (Caio)
 - Do the stride calculation in one place

Fixes dEQP-VK.compute.pipeline.cooperative_matrix.khr_*.multicomponent.*

Fixes: 3a35f8b29b ("intel/cmat: Lower cmat_load and cmat_store")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10820

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27903>
2024-03-15 20:34:43 +00:00
..
blorp anv/iris/blorp: use the right MOCS values for each engine 2024-03-06 20:33:12 +00:00
ci ci/intel: split asus-cx9400-volteer into acer-cp514-2h-11{30,60}g7-volteer 2024-03-06 01:52:49 +00:00
common intel/elk: Remove multi-polygon support 2024-03-07 15:53:19 +00:00
compiler intel/cmat: fix stride calculation in cmat load/store 2024-03-15 20:34:43 +00:00
decoder intel/decoder: Add ELK support 2024-02-24 00:24:31 +00:00
dev intel: Enable Xe KMD support by default 2024-03-12 22:22:50 +00:00
ds intel/ds: add pipe control reasons to perfetto flushes 2024-03-08 07:52:20 +00:00
genxml anv/trtt: update GFX_TRTT_VA_RANGE for LNL 2024-03-13 01:50:35 +00:00
isl anv/iris/blorp: use the right MOCS values for each engine 2024-03-06 20:33:12 +00:00
nullhw-layer intel/nullhw: Fix 32bits compilation warnings 2024-02-28 23:37:43 +00:00
perf intel: Remove unused ALIGN macro 2023-12-07 02:30:53 +00:00
shaders intel-clc: Use correct set of nir_options when building for Gfx8 2024-02-24 00:24:32 +00:00
tools intel/tools: Make intel_stub_gpu work when using meson devenv 2024-03-15 03:25:46 +00:00
vulkan iris,anv: WA 1509820217 is no impact for Xe2+ 2024-03-15 12:02:45 +00:00
vulkan_hasvk anv/hasvk: default image_read_without_format to true 2024-03-13 19:29:04 +00:00
meson.build intel: Only build shaders with anv and iris 2024-02-21 20:53:36 +00:00