diff options
author | Gert Wollny <[email protected]> | 2017-10-16 21:06:26 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-11-01 09:33:40 +1000 |
commit | 69eee511c631a8372803f175bd6f5a9551230424 (patch) | |
tree | 6b012018a208b38933fe42454e675af2c68e9ba1 /src/gallium/drivers/vc5/vc5_screen.c | |
parent | e80bbd6f52341cbf9363f3c0c8b7ad3be851b1e6 (diff) |
r600/sb: bail out if prepare_alu_group() doesn't find a proper scheduling
It is possible that the optimizer ends up in an infinite loop in
post_scheduler::schedule_alu(), because post_scheduler::prepare_alu_group()
does not find a proper scheduling. This can be deducted from
pending.count() being larger than zero and not getting smaller.
This patch works around this problem by signalling this failure so that the
optimizers bails out and the un-optimized shader is used.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103142
Cc: <[email protected]>
Signed-off-by: Gert Wollny <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_screen.c')
0 files changed, 0 insertions, 0 deletions