From 02fe736cc0e6866daa50aaae1ed7b977522eaf65 Mon Sep 17 00:00:00 2001 From: Frank Henigman Date: Mon, 28 Jan 2013 20:06:59 -0500 Subject: 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 --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3