mesa/src/amd/llvm
Rhys Perry d0a09b6ff7
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
ac/llvm: correctly set alignment of vector global load/store
For coherent/volatile access, this would be too high for vector access.

Even when we didn't set the alignment, LLVM seemed to assume too high of
an alignment for 8/16-bit vector access.

Fixes generated_tests/cl/vload/vload-char-constant.cl

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Michel Dänzer <mdaenzer@redhat.com>
Backport-to: 25.0
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34903>
2025-05-12 10:51:57 +00:00
..
ac_llvm_build.c ac/llvm: support nir_op_bfdot2_bfadd 2025-05-09 11:20:26 +00:00
ac_llvm_build.h ac/llvm: support nir_op_bfdot2_bfadd 2025-05-09 11:20:26 +00:00
ac_llvm_helper.cpp ac/llvm: Don't use getTriple() on LLVM21+ 2025-03-11 20:54:34 +00:00
ac_llvm_util.c ac/llvm: remove the low-optimizing compiler option 2025-01-16 02:58:03 +00:00
ac_llvm_util.h ac/llvm: remove the low-optimizing compiler option 2025-01-16 02:58:03 +00:00
ac_nir_to_llvm.c ac/llvm: correctly set alignment of vector global load/store 2025-05-12 10:51:57 +00:00
ac_nir_to_llvm.h amd: lower load_local_invocation_index in NIR 2025-01-02 17:36:55 +00:00
ac_shader_abi.h ac: Don't include full nir.h anymore. 2025-02-12 22:33:07 +01:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00