summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorGert Wollny <gw.fossdev@gmail.com>2017-10-16 21:06:26 +0200
committerDave Airlie <airlied@redhat.com>2017-11-01 09:33:40 +1000
commit69eee511c631a8372803f175bd6f5a9551230424 (patch)
tree6b012018a208b38933fe42454e675af2c68e9ba1 /src/gallium/include
parente80bbd6f52341cbf9363f3c0c8b7ad3be851b1e6 (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: <mesa-stable@lists.freedesktop.org> Signed-off-by: Gert Wollny <gw.fossdev@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/include')
0 files changed, 0 insertions, 0 deletions