panvk: Fix valgrind issue in nir_lower_descriptors

Initialize progress to false as it might not be set by NIR_PASS()

Fixes: 258979d69c ("panvk: Wrap our descriptor lowering passes in NIR_PASS()")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33011>
This commit is contained in:
Lars-Ivar Hesselberg Simonsen 2025-01-14 13:28:56 +01:00 committed by Marge Bot
parent 365cd04375
commit eabf8054b8

View file

@ -1216,7 +1216,7 @@ panvk_per_arch(nir_lower_descriptors)(
VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_DISABLED_EXT ||
rs->images != VK_PIPELINE_ROBUSTNESS_IMAGE_BEHAVIOR_DISABLED_EXT,
};
bool progress;
bool progress = false;
#if PAN_ARCH <= 7
ctx.ubo_addr_format = nir_address_format_32bit_index_offset;