anv: Refactor anv_image_init_from_create_info
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 25 Feb 2022 17:50:13 +0000 (09:50 -0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 1 Mar 2022 20:05:50 +0000 (20:05 +0000)
commitcada519482eb553dbebeafbfe97b731996cf9063
treecb798f435202073b5af8c472bb21c86ab04af6a0
parent8d2b7e558b43ac1e07ec4802666f0880d914f6d7
anv: Refactor anv_image_init_from_create_info

Use a variable to store the anv_image_create_info struct. We'll modify it for a
bug fix in the next patch.

Cc: 22.0 <mesa-stable>
Tested-by: Philip Langdale <philipl@overt.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15181>
src/intel/vulkan/anv_image.c