anv: dynamic vertex input binding stride and size support
authorTapani Pälli <tapani.palli@intel.com>
Tue, 2 Jun 2020 07:02:25 +0000 (10:02 +0300)
committerMarge Bot <eric+marge@anholt.net>
Sun, 2 Aug 2020 17:44:54 +0000 (17:44 +0000)
commitb9a05447a1976101c04a02f5588c51de0b0f6573
tree4a7718174d9af3e627f4529612ec80d30d1d6317
parente4590c07500941ae1afa82db5e4fea2111a68604
anv: dynamic vertex input binding stride and size support

If pStrides or Psizes are NULL we should use the values defined by the
pipeline.

v2: fix commit message and fix the code to set explicitly if we are
    using dynamic stride/size

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5604>
src/intel/vulkan/anv_cmd_buffer.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c