radv: initialize the vertex input interface state in only one place
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Apr 2022 13:09:03 +0000 (15:09 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 19 Apr 2022 06:15:52 +0000 (06:15 +0000)
commit443034c1ec0cc39f6ce7bae005c9e948a123938c
treed3c6acf67c66dfb21c7514241efd91c8f8107183
parentea6eaa4c198de4d7ddf3cabb9d4743e8e94f79f6
radv: initialize the vertex input interface state in only one place

Instead of copying states from these structures at many different
places, do it only once. Will help VK_EXT_graphics_pipeline_library.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15967>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h