mesa/src/amd
Rhys Perry 3a72044ece aco: add missing usable_read2 check
A Hitman 2 shader does: read64(local_invocation_index() * 4 - 4). This was
likely emitting a ds_read2_b32 on GFX6. For local_invocation_index()=0,
because the first dword was out-of-bounds, the second was likely also
considered out-of-bounds (even though it's not, at offset 0).

Likely fixes https://gitlab.freedesktop.org/mesa/mesa/-/issues/3882

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: 57e6886f98 ("aco: refactor load_lds to use new helpers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9332>
2021-03-02 13:13:59 +00:00
..
addrlib amd: update addrlib 2021-02-15 09:15:10 +00:00
ci ci/piglit: Stop including the test counts at the end of expectations. 2021-02-24 18:55:02 +00:00
common radeonsi,radv: do not overallocate the SQTT buffer size 2021-03-01 13:13:36 +01:00
compiler aco: add missing usable_read2 check 2021-03-02 13:13:59 +00:00
llvm radv,ac/nir: implement non-uniform get_ssbo_size 2021-01-27 13:00:33 +00:00
registers radeonsi: skip s_sendmsg(gs_alloc_req) for NGG passthrough on new chips 2021-02-13 04:56:05 +00:00
vulkan Revert "radv,aco: allow unaligned LDS access on GFX9+" 2021-03-02 13:13:59 +00:00
Android.addrlib.mk android: amd/addrlib: add gfx10 support 2019-07-10 09:03:55 +02:00
Android.common.mk android: amd/registers: switch to new generated register definitions 2020-09-06 20:20:34 +02:00
Android.compiler.mk android: aco/isel: Move context initialization code to a dedicated file 2020-09-14 21:26:53 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources ac/rgp: add helper function to write rgp elf oject 2021-02-19 14:29:47 +00:00
meson.build aco: add framework for unit testing 2020-07-30 16:13:08 +00:00