aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorFrank Henigman <[email protected]>2013-01-28 20:06:59 -0500
committerDave Airlie <[email protected]>2013-05-30 10:37:35 +1000
commit02fe736cc0e6866daa50aaae1ed7b977522eaf65 (patch)
treefc1b72f819b2e09b488b8e9ce6b0bfbe6adab16b /src/mesa
parent83aaf61e24d43e5b7ddd07b16aa4d4b460c0b2a9 (diff)
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 <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_visitor.cpp2
1 files changed, 2 insertions, 0 deletions
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;