Portability: handle vertex input stride
KHR_portability_subset provides minVertexInputBindingStrideAlignment
property that indicates the minimum alignment for vertex input strides.
This change fixes all cases where vertex attribute offsets exceeded
vertex buffer stride on MacOS.
Note that minVertexInputBindingStrideAlignment has value of 4 on MacOS
and becouse of that check for this was not added to all 250 places in
cts code that use VkVertexInputBindingDescription. All those places
currently use stride that is multiple of 4. Check was only added to
haderrender, shaderexecutor and in spirv_assembly module.
See:
https://github.com/KhronosGroup/MoltenVK/issues/1285
Components: Vulkan
Affects:
dEQP-VK.*
Change-Id: Ia7d74b9950e8af88c2d7a8462a830c3a6469538f