Skip to content

report.py: Fix scheduler mode descriptions

Kenneth Graunke requested to merge kwg/shader-db:fix-scheduler-mode into master

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.

Merge request reports