radv: Clean up setting the surface flags.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 11 Aug 2020 01:39:54 +0000 (03:39 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 14 Aug 2020 10:29:44 +0000 (10:29 +0000)
commit0980d1d5ab0829fa78852d81651d5386874e528a
tree07f22a2bbe98443013a85541122f8b69b484e518
parentd19bc94e4eb94a2c8cbdb328c9eaa2faf1ba424c
radv:  Clean up setting the surface flags.

If we don't give the init function access to the fields we will not
accidentally start setting them.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6274>
src/amd/vulkan/radv_image.c