mesa/src/amd
Alex Smith ce4058dafd radv/ac: Fix shared memory offset calculation
The index passed to get_shared_memory_ptr is an attribute slot index,
i.e. the index of a vec4 within LDS. Therefore this must be scaled by
sizeof(vec4) to give the LDS byte offset.

Fixes: f4e499ec79 ("radv: add initial non-conformant radv vulkan driver")
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
CC: <mesa-stable@lists.freedesktop.org>
2017-03-17 09:35:48 +01:00
..
addrlib radeonsi: add Polaris12 support (v3) 2016-12-21 15:10:03 -05:00
common radv/ac: Fix shared memory offset calculation 2017-03-17 09:35:48 +01:00
vulkan radv: make sure gs copy shader is retrieved from the cache with the variant 2017-03-17 16:17:10 +11:00
Android.addrlib.mk android: add support for libmesa_amdgpu_addrlib 2016-09-13 10:06:04 +10:00
Android.common.mk android: fix llvm, elf dependencies for M, N releases 2017-02-01 23:01:35 +00:00
Android.mk android: amd/common: add support for libmesa_amd_common 2016-11-05 18:42:29 +01:00
Makefile.addrlib.am amd/addrlib: hide private symbols via VISIBILITY_CXXFLAGS 2016-10-14 11:09:00 +01:00
Makefile.am ac: automake: rework sid_tables.h generation 2017-01-12 19:29:28 +00:00
Makefile.common.am build: Replace NEED_RADEON_LLVM with HAVE_GALLIUM_LLVM. 2017-03-07 07:27:45 -08:00
Makefile.sources radeon/ac: move common llvm build functions to a separate file. 2017-02-07 05:46:35 +10:00