anv: dynamic vertex input binding stride and size support

Graphics / Mesa 3D Graphics Library / Mesa - Tapani Pälli [intel.com] - 2 August 2020 17:44 UTC

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

b9a05447a19 anv: dynamic vertex input binding stride and size support
src/intel/vulkan/anv_cmd_buffer.c | 38 ++++++++++++++++++++++++++++++++------
src/intel/vulkan/anv_private.h | 4 ++++
src/intel/vulkan/genX_cmd_buffer.c | 18 ++++++++++++++----
3 files changed, 50 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share