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 <fjhenigman@google.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Frank Henigman 2013-01-28 20:06:59 -05:00 committed by Dave Airlie
parent 83aaf61e24
commit 02fe736cc0
1 changed files with 2 additions and 0 deletions

View File

@ -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;