Declare which index levels a node reads and nullify the rest

This commit is contained in:
Dennis Kobert
2026-08-24 17:06:07 +00:00
parent f1ccb74625
commit 027218f16c
15 changed files with 275 additions and 65 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ pub fn combine_channels<'e>(
)>,
Interrupt,
> {
let lane = ctx.innermost_index() as usize;
let lane = ctx.index() as usize;
let max_len = red.len().max(green.len()).max(blue.len()).max(alpha.len());
if lane >= max_len {
return Err(GraphError::past_end().into());