mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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:
parent
365cd04375
commit
eabf8054b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue