From 0fa55fb8bd5854c4d8c6bc6145777e7c1a151740 Mon Sep 17 00:00:00 2001 From: Ameer J <52414509+ameerj@users.noreply.github.com> Date: Mon, 27 Nov 2023 12:09:23 -0500 Subject: [PATCH] runtime_info: initialize all members --- src/shader_recompiler/runtime_info.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shader_recompiler/runtime_info.h b/src/shader_recompiler/runtime_info.h index 59aec6587d..8198f40bca 100644 --- a/src/shader_recompiler/runtime_info.h +++ b/src/shader_recompiler/runtime_info.h @@ -62,8 +62,8 @@ struct TransformFeedbackVarying { struct RuntimeInfo { std::array generic_input_types{}; - VaryingState previous_stage_stores; - std::map previous_stage_legacy_stores_mapping; + VaryingState previous_stage_stores{}; + std::map previous_stage_legacy_stores_mapping{}; bool convert_depth_mode{}; bool force_early_z{}; @@ -74,8 +74,8 @@ struct RuntimeInfo { InputTopology input_topology{}; - std::optional fixed_state_point_size; - std::optional alpha_test_func; + std::optional fixed_state_point_size{}; + std::optional alpha_test_func{}; float alpha_test_reference{}; /// Static Y negate value