v3dv/cmd_buffer: init command buffer dynamic state during pipeline bind
authorAlejandro Piñeiro <apinheiro@igalia.com>
Sat, 28 Dec 2019 11:20:45 +0000 (12:20 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:26 +0000 (21:21 +0000)
commitd479f8628424c235ac3e93fabdc441386a215849
treeb8348323111b143e3665e7556585d73eef9f1520
parentf752cdbab1a1ac1d19bd26b4b04e923f4ca8d474
v3dv/cmd_buffer: init command buffer dynamic state during pipeline bind

So copying it from the pipeline to the cmd_buffer if defined.

Starting with Viewport/Scissor dynamic state.

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