From: Marek Olšák <[email protected]>
---
si-report.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/si-report.py b/si-report.py
index 3156639..12e16c3 100755
--- a/si-report.py
+++ b/si-report.py
@@ -176,6 +176,8 @@ class si_parser(object):
match = si_parser.re_stats.match(msg)
if match is not None:
+ if self._stats == None:
+ self._stats = si_stats()
self._stats.sgprs = int(match.group(1))
self._stats.vgprs = int(match.group(2))
self._stats.code_size = int(match.group(3))
--
2.1.4
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev