glsl: Initialize ir_variable member field data.is_xfb.
Fix defect reported by Coverity Scan. Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member field data.is_xfb is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7414>
This commit is contained in:
@@ -2025,6 +2025,7 @@ ir_variable::ir_variable(const struct glsl_type *type, const char *name,
|
||||
this->data.has_initializer = false;
|
||||
this->data.is_implicit_initializer = false;
|
||||
this->data.is_unmatched_generic_inout = false;
|
||||
this->data.is_xfb = false;
|
||||
this->data.is_xfb_only = false;
|
||||
this->data.explicit_xfb_buffer = false;
|
||||
this->data.explicit_xfb_offset = false;
|
||||
|
Reference in New Issue
Block a user