anv: fix transform feedback surface size
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 21 Aug 2020 20:13:06 +0000 (23:13 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 25 Aug 2020 07:13:52 +0000 (10:13 +0300)
commitfd10cb8cfccb8882e33a1ade047fc467b9716f54
treea01efb6da73a46b55bbb63047844b8b69d694631
parent5e4d69ec786e56794a995be869b5a9b80d050f2d
anv: fix transform feedback surface size

Non multiple 4 sizes are causing issue in particular < 4.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3450
Fixes: 36ee2fd61c8f ("anv: Implement the basic form of VK_EXT_transform_feedback")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6430>
src/intel/vulkan/genX_cmd_buffer.c