radv: init radv_image::l2_coherent when creating the layout
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 28 Jul 2021 14:06:17 +0000 (16:06 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 30 Jul 2021 17:06:26 +0000 (17:06 +0000)
commit57ff4caf7f02691ab9fc9d8e88cacbfbd1919c29
tree8b3b9805457e9bc67bb2cc2f4217aadee28a66bc
parent87b0962fef4e447a2ea9c76a611aa20b109a259d
radv: init radv_image::l2_coherent when creating the layout

Otherwise, it might not be correctly initialized for Android.

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/12103>
src/amd/vulkan/radv_image.c