radeonsi: allow unaligned vertex buffer offsets and strides on CIK-VI
authorMarek Olšák <marek.olsak@amd.com>
Fri, 10 Feb 2017 00:15:21 +0000 (01:15 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 18 Feb 2017 00:22:08 +0000 (01:22 +0100)
commit9b91e0b54cc26919b63d781200a2062c6d572afc
treec355a555055368092160b7e3d8be9e3b4184ab61
parent2fb021b6205a393d82d5f3c2e15af624d79742f4
radeonsi: allow unaligned vertex buffer offsets and strides on CIK-VI

So that we can disable u_vbuf for GL core profiles.

This is a v2 of the previous VI-only patch.
It requires SH_MEM_CONFIG.ALIGNMENT_MODE = UNALIGNED on CIK-VI.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c