diff options
author | Erico Nunes <nunes.erico@gmail.com> | 2020-05-09 19:51:13 +0200 |
---|---|---|
committer | Erico Nunes <nunes.erico@gmail.com> | 2020-12-02 16:21:09 +0100 |
commit | d0167a28faddfceeed7daa1176eb0295bfdff733 (patch) | |
tree | dbf29a91a112700915897021ab93213f8eb19324 /shaders/skia/493-2.shader_test | |
parent | 9d05675cccf39c8e5c5fe3d6daec08eea4e63908 (diff) |
report.py: fix crash on get_sched_mode
Current shader-db master report.py reports this for non-intel drivers:
Traceback (most recent call last):
File "./report.py", line 384, in <module>
main()
File "./report.py", line 243, in main
get_sched_mode(before[p], after[p]))
File "./report.py", line 114, in get_sched_mode
p = " (scheduled: " + b["scheduled"]
KeyError: 'scheduled'
Add a check so it avoids accessing the 'scheduled' key when it isn't
valid.
Fixes: 95e35b3 report.py: Handle scheduler mode changes
Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'shaders/skia/493-2.shader_test')
0 files changed, 0 insertions, 0 deletions