summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Kennard <[email protected]>2015-04-08 11:30:37 +0200
committerDave Airlie <[email protected]>2015-04-16 12:43:20 +1000
commit17d69862a9232e2bcdfa032c5a65c27557dd9275 (patch)
treea2da8345e609bdf7bae96d8d379b38d20047cff2
parent4cf5ca5ca5e70755723f7f0ced77c168d9e3a86f (diff)
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 <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/gallium/drivers/r600/sb/sb_sched.cpp3
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 4248a3fd30a..2e38a62c05a 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();