Commit 06a2783f authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Radix-k: Don't push the final_image as the spare_image.

parent 9f7d4004
......@@ -687,6 +687,12 @@ static IceTBoolean radixkTryCompositeIncoming(radixkPartnerInfo *partners,
partners[back_index].receiveImage,
spare_image);
radixkSwapImages(&partners[front_index].receiveImage, &spare_image);
if (icetSparseImageEqual(spare_image, final_image)) {
/* Special case, front image was sharing buffer with final.
Use back image for next spare. */
spare_image = partners[back_index].receiveImage;
partners[back_index].receiveImage = icetSparseImageNull();
}
partners[front_index].compositeLevel++;
to_composite_index = front_index;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment