diff options
author | Glenn Kennard <glenn.kennard@gmail.com> | 2015-04-08 11:30:37 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-04-16 12:43:20 +1000 |
commit | 17d69862a9232e2bcdfa032c5a65c27557dd9275 (patch) | |
tree | a2da8345e609bdf7bae96d8d379b38d20047cff2 /src | |
parent | 4cf5ca5ca5e70755723f7f0ced77c168d9e3a86f (diff) | |
download | external_mesa3d-17d69862a9232e2bcdfa032c5a65c27557dd9275.zip external_mesa3d-17d69862a9232e2bcdfa032c5a65c27557dd9275.tar.gz external_mesa3d-17d69862a9232e2bcdfa032c5a65c27557dd9275.tar.bz2 |
r600g/sb: Skip empty ALU clause while scheduling
Fixes assert triggered by
ext_transform_feedback-intervening-read output use_gs
piglit test.
Signed-off-by: Glenn Kennard <glenn.kennard@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src')
-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 4248a3f..2e38a62 100644 --- a/src/gallium/drivers/r600/sb/sb_sched.cpp +++ b/src/gallium/drivers/r600/sb/sb_sched.cpp @@ -825,6 +825,9 @@ void post_scheduler::init_regmap() { void post_scheduler::process_alu(container_node *c) { + if (c->empty()) + return; + ucm.clear(); alu.reset(); |