From 180d365d716d44560be8434a61727020cf95a737 Mon Sep 17 00:00:00 2001 From: Daniel Kulp Date: Mon, 20 Jan 2025 11:33:09 -0500 Subject: [PATCH] Fix warp/canvas mode effects with ispc --- xLights/effects/ispc/ISPCComputeUtilities.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xLights/effects/ispc/ISPCComputeUtilities.cpp b/xLights/effects/ispc/ISPCComputeUtilities.cpp index a3d155367..01914bcd1 100644 --- a/xLights/effects/ispc/ISPCComputeUtilities.cpp +++ b/xLights/effects/ispc/ISPCComputeUtilities.cpp @@ -166,6 +166,8 @@ bool ISPCComputeUtilities::blendLayers(PixelBufferClass *pixelBuffer, int effect data.effectMixThreshold = layer->outputEffectMixThreshold; data.effectMixVaries = layer->effectMixVaries; data.fadeFactor = layer->fadeFactor; + data.startNode = 0; + data.endNode = data.nodeCount; ispc::PutColorsForNodes(data, target, tmpBufferBlend, nullptr, &layer->buffer.indexVector[0]); }