You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uniformity: test uniformity when a loop body only returns
Consider: loop { s1 continuing { s2 } }
If the statement behaviour of s1 is exactly {Return}, then the statement
behaviour of the entire loop is {Return}. In particular, nonuniformity
effects do not leak out from s2 to the context after or outside of the
whole loop.
See the WGSL spec fix for gpuweb/gpuweb#5100
Test three new statement scenarios, each where s1 starts with `return;`,
but varying where a collective operation is placed:
- immediately after the return statement
- in the continuing block of the same loop
- immediately after the loop
Fixed: #4476
0 commit comments