anv: make the pointer valid before we assign stuff into it
authorIván Briano <ivan.briano@intel.com>
Thu, 10 Feb 2022 22:26:21 +0000 (14:26 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Feb 2022 23:06:13 +0000 (23:06 +0000)
commite2a5e2d5a0f8ed972a4669be9c5d689a6b3e7bca
tree1bda284a7d09ae045d931e6f00f81a3d0e42b21a
parent12b4aad8039e10432a079d93fc44d330905c5dda
anv: make the pointer valid before we assign stuff into it

Fixes: 665ffd4bf9c ("anv: Update VK_KHR_fragment_shading_rate for newer HW")

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14982>
src/intel/vulkan/anv_pass.c