turnip: improve vertex input handling
authorJonathan Marek <jonathan@marek.ca>
Wed, 18 Mar 2020 02:28:38 +0000 (22:28 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Apr 2020 02:05:52 +0000 (02:05 +0000)
commite62f8ae15a34b51a1fe1aa5752034e3037646d33
tree51bd7dbac875177ca92dad42be2b604b034c1ecd
parent98743f648a356f55c1b10a439efea15937d4af41
turnip: improve vertex input handling

Emit vertexBindingDescriptionCount bindings, instead of one per attribute.

Verified with dEQP-VK.pipeline.vertex_input.*

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4224>
src/freedreno/registers/a6xx.xml
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_pipeline.c
src/freedreno/vulkan/tu_private.h
src/gallium/drivers/freedreno/a6xx/fd6_emit.c