diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2022-05-24 15:17:47 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2022-05-24 15:18:15 -0700 |
commit | a9b6151af8741a82f6e502ae4849d626da96f283 (patch) | |
tree | 897abef6132cbdb366fe37da8bd5715145e968e8 | |
parent | b6c62e8d9cd0388c87a987c5e313abd269cd82a9 (diff) |
report.py: Fix scheduler mode descriptions
This fixes a bug where the scheduler mode for every shader was detected
as "scheduled" instead of the actual mode name.
Code above this block was detecting "scheduled with mode X" and parsing
that as field = word 0 = "scheduled" and val = word 3 = "X". Then this
code came along and did the default parsing of "N things" as value =
word 0 and field = word 1, and overrode that. We should just put it
in the else case so each case happens independently.
-rwxr-xr-x | report.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -68,8 +68,7 @@ def get_results(filename, args): continue else: name = stat_split_spaces[1] - - val = stat_split_spaces[0] + val = stat_split_spaces[0] if name == "inst": name = "instructions" |