diff options
author | Vadim Girlin <[email protected]> | 2014-12-10 14:41:10 +0300 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-12-16 12:43:31 +1000 |
commit | de0fd375f6de8f3357d05decc4a7dc231c679645 (patch) | |
tree | 8e48ceeede5a60a09d2f2684243be1b76b62531d /src/gallium/drivers/r600/sb/sb_sched.cpp | |
parent | 34e512d9ead1a4b67cea761a05f008ff92bb368d (diff) |
r600g/sb: fix issues with loops created for switch
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/sb/sb_sched.cpp')
-rw-r--r-- | src/gallium/drivers/r600/sb/sb_sched.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_sched.cpp b/src/gallium/drivers/r600/sb/sb_sched.cpp index 14139161755..4fbdc4fd971 100644 --- a/src/gallium/drivers/r600/sb/sb_sched.cpp +++ b/src/gallium/drivers/r600/sb/sb_sched.cpp @@ -1527,6 +1527,9 @@ bool post_scheduler::check_copy(node *n) { if (!s->is_prealloc()) { recolor_local(s); + + if (!s->chunk || s->chunk != d->chunk) + return false; } if (s->gpr == d->gpr) { |