v3dv: vertex input support
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 30 Jul 2020 23:11:39 +0000 (01:11 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:26 +0000 (21:21 +0000)
commitaad44cc614c4ee06ac14cabf1031731ad78b7765
tree6dc65f5f5b3645e55593e579c3a934df1f1fd8f7
parent8c4fcc2bf72fe04953ab4c73f5dfbc38ca885af0
v3dv: vertex input support

This includes:

   * Implementation for CmdBindVertexBuffers

   * Gather vertex input info during CreateGraphicsPipelines
     (pipeline_init) and SHADER_STATE_ATTRIBUTE_RECORD prepacking

   * Final emission of such packet during CmdDraw
     (cmd_buffer_emit_graphics_pipeline)

Default attributes values will be handled on a following patch.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_cmd_buffer.c
src/broadcom/vulkan/v3dv_device.c
src/broadcom/vulkan/v3dv_pipeline.c
src/broadcom/vulkan/v3dv_private.h