Commit 20372b4d authored by Eric Anholt's avatar Eric Anholt

report: For a thread count, flip the polarity for hurt vs helped.

VC4 and V3D have a value for "how many threads of this shader can run
in parallel", and we want that number to be bigger.
Reviewed-by: Eric Engestrom's avatarEric Engestrom <>
parent 91f3f176
......@@ -159,7 +159,9 @@ def main():
affected_before[m] += before_count
affected_after[m] += after_count
if after_count > before_count:
higher_is_better = m == "threads"
if (after_count > before_count) ^ higher_is_better:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment