radv: assign pipeline gfx fields before PM4 emission
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 9 Jul 2020 09:43:29 +0000 (11:43 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jul 2020 12:30:03 +0000 (12:30 +0000)
commitf32cb825159acdfb727039495581b1fb96d5c90c
tree545e79d32f824eb03d0f7ec40684bf816f268c5b
parent2a5fb87de2e536cc82f184275edea755bec22f44
radv: assign pipeline gfx fields before PM4 emission

To be able to constify all radv_pipeline_generate_*() helpers.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5837>
src/amd/vulkan/radv_pipeline.c