[Mesa-dev] [PATCH 2/3] si-report.py: fix parsing without asm
Marek Olšák
maraeo at gmail.com
Sat Jan 23 08:07:51 PST 2016
From: Marek Olšák <marek.olsak at amd.com>
---
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
More information about the mesa-dev
mailing list