From: Frank Henigman Date: Tue, 29 Jan 2013 01:06:59 +0000 (-0500) Subject: intel: initialize fs_visitor::params_remap in constructor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02fe736cc0e6866daa50aaae1ed7b977522eaf65;p=mesa.git intel: initialize fs_visitor::params_remap in constructor Set fs_visitor::params_remap to NULL in the constructor. This variable was potentially tested in fs_visitor::remove_dead_constants() before being set. NOTE: This is a candidate for stable release branches. Signed-off-by: Frank Henigman Reviewed-by: Ian Romanick Signed-off-by: Dave Airlie --- diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index 36d9cf05053..79c5a11f507 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp @@ -2463,6 +2463,8 @@ fs_visitor::fs_visitor(struct brw_context *brw, this->virtual_grf_end = NULL; this->live_intervals_valid = false; + this->params_remap = NULL; + this->force_uncompressed_stack = 0; this->force_sechalf_stack = 0;