correct popCompleted and dropOnComplete
if both popCompleted and dropOnComplete are on
popCompleted postpone dropOnComplete by one cycle
so it can pop a bar before drop.
Vladimir Bauer
3 years ago
| 350 | 350 | s.pool = append(s.pool, qb) |
| 351 | 351 | drop = true |
| 352 | 352 | } else if s.popCompleted && !b.bs.noPop { |
| 353 | if frame.shutdown > 1 { | |
| 354 | popCount += usedRows | |
| 355 | drop = true | |
| 356 | } else { | |
| 353 | switch frame.shutdown { | |
| 354 | case 1: | |
| 355 | b.priority = s.popPriority | |
| 357 | 356 | s.popPriority++ |
| 358 | b.priority = s.popPriority | |
| 357 | drop = false | |
| 358 | default: | |
| 359 | if drop { | |
| 360 | popCount += usedRows | |
| 361 | } | |
| 359 | 362 | } |
| 360 | 363 | } |
| 361 | 364 | if drop { |