i965/fs: Invalidate live intervals in passes that remove an instruction.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_fs.cpp
index 7c1096b775eb193a877800fecad5a86d76ebf1f1..175e36e4257f47ee54a8f036fc2f7825c15edae4 100644 (file)
@@ -1844,6 +1844,9 @@ fs_visitor::compute_to_mrf()
       }
    }
 
+   if (progress)
+      live_intervals_valid = false;
+
    return progress;
 }
 
@@ -1920,6 +1923,9 @@ fs_visitor::remove_duplicate_mrf_writes()
       }
    }
 
+   if (progress)
+      live_intervals_valid = false;
+
    return progress;
 }