Mesa (master): i965: Fix valgrind complaint about base_ir for new FS debugging.

Eric Anholt anholt at kemper.freedesktop.org
Tue Sep 28 16:38:03 UTC 2010


Module: Mesa
Branch: master
Commit: 57edd7c5c116926325e3a86cef618bfd1b5881c1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=57edd7c5c116926325e3a86cef618bfd1b5881c1

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Sep 27 22:06:38 2010 -0700

i965: Fix valgrind complaint about base_ir for new FS debugging.

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 31f5bbf..27ea912 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -405,6 +405,7 @@ public:
       this->current_annotation = NULL;
       this->annotation_string = NULL;
       this->annotation_ir = NULL;
+      this->base_ir = NULL;
    }
    ~fs_visitor()
    {




More information about the mesa-commit mailing list