summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2014-07-09 15:40:28 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-07-13 23:32:42 -0700
commite442ad9dbe5e2c950d4a30d465d1f91e84253df2 (patch)
treee3d4ed820884e27c740fe1bb1ad0bf077ab4eeee
parent2fdd774721d5bb72edc1429effdfc8683e469597 (diff)
run.py: Stop counting ignored lines
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rwxr-xr-xrun.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/run.py b/run.py
index aaa938b..54a1ef0 100755
--- a/run.py
+++ b/run.py
@@ -66,14 +66,13 @@ def run_test(filename):
re_vs = re.compile(r"^Native code for .*vertex")
re_align = re.compile(r"{ align")
re_2q = re.compile(r"\(8\).* 2Q };")
- counts["ignore"] = 0
counts["vs "] = 0
counts["gs "] = 0
counts["fs8 "] = 0
counts["fs16"] = 0
for line in lines:
if (re_builtin_shader.search(line)):
- current_type = "ignore"
+ continue
elif (re_vs.search(line)):
current_type = "vs "
elif (re_gs.search(line)):
@@ -88,7 +87,6 @@ def run_test(filename):
# (SIMD16) instruction, other than icache pressure.
if current_type != "fs16" or not re_2q.search(line):
counts[current_type] = counts[current_type] + 1
- del counts["ignore"]
timestr = " {:.3f} secs".format(timeafter - timebefore)
out = ''