summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorAlex Smith <asmith@feralinteractive.com>2017-03-16 16:40:07 +0000
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2017-03-17 09:35:48 +0100
commitce4058dafd2dd283addaa99e8d5b51e53f634f9b (patch)
tree49ed6c223a0c5fc7d64ba6d114184f4b8d58ad9c /src/glx
parente88cac1df03d01a9e8a1de1a4a2ee888149e727a (diff)
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: f4e499ec791 ("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>
Diffstat (limited to 'src/glx')
0 files changed, 0 insertions, 0 deletions