runtime_info: initialize all members

This commit is contained in:
Ameer J 2023-11-27 12:09:23 -05:00
parent cb6e5ef048
commit 0fa55fb8bd

View File

@ -62,8 +62,8 @@ struct TransformFeedbackVarying {
struct RuntimeInfo {
std::array<AttributeType, 32> generic_input_types{};
VaryingState previous_stage_stores;
std::map<IR::Attribute, IR::Attribute> previous_stage_legacy_stores_mapping;
VaryingState previous_stage_stores{};
std::map<IR::Attribute, IR::Attribute> previous_stage_legacy_stores_mapping{};
bool convert_depth_mode{};
bool force_early_z{};
@ -74,8 +74,8 @@ struct RuntimeInfo {
InputTopology input_topology{};
std::optional<float> fixed_state_point_size;
std::optional<CompareFunction> alpha_test_func;
std::optional<float> fixed_state_point_size{};
std::optional<CompareFunction> alpha_test_func{};
float alpha_test_reference{};
/// Static Y negate value