diff options
author | Emma Anholt <emma@anholt.net> | 2021-12-02 09:47:37 -0800 |
---|---|---|
committer | Emma Anholt <emma@anholt.net> | 2022-03-07 15:29:58 +0000 |
commit | 21f9732b3571e436dc455c9867c0208ebf85a9bd (patch) | |
tree | 46dea5ef1ea0bb3b6a55c0a09f2c39820913e54d | |
parent | a458a22fae276de242f25b6f34c761be64eab88c (diff) |
report.py: Add support for shader-db without a loops count.
i915 doesn't have loops at all, so just skip the check.
-rwxr-xr-x | report.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ def main(): # If the number of loops changed, then we may have unrolled some # loops, in which case other measurements will be misleading. - if m != "loops" and before[p]["loops"] != after[p]["loops"] and not args.ignore_loops: + if m != "loops" and "loops" in before[p] and before[p]["loops"] != after[p]["loops"] and not args.ignore_loops: continue after_count = after[p][m] |