i965: fix problem with constant out of bounds access (v3)
[mesa.git] / src / mesa / drivers / dri / i965 / brw_fs_visitor.cpp
index 79c5a11f507b1b275b5d1e9184e5ea947cd36d2a..9bb15d037c164c13a267113e03a1c43c2b3f02e3 100644 (file)
@@ -2464,6 +2464,7 @@ fs_visitor::fs_visitor(struct brw_context *brw,
    this->live_intervals_valid = false;
 
    this->params_remap = NULL;
+   this->nr_params_remap = 0;
 
    this->force_uncompressed_stack = 0;
    this->force_sechalf_stack = 0;