mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-09 12:21:31 +11:00
Fix missing barriers in the pathtag_scan
s (#255)
Co-authored-by: Raph Levien <raph.levien@gmail.com> Co-authored-by: Raph Levien <raph.levien@gmail.com>
This commit is contained in:
parent
44058a8578
commit
3902e65618
|
@ -60,6 +60,7 @@ fn main(
|
||||||
workgroupBarrier();
|
workgroupBarrier();
|
||||||
sh_monoid[local_id.x] = agg_part;
|
sh_monoid[local_id.x] = agg_part;
|
||||||
}
|
}
|
||||||
|
workgroupBarrier();
|
||||||
// prefix up to this workgroup
|
// prefix up to this workgroup
|
||||||
#ifdef small
|
#ifdef small
|
||||||
var tm = sh_parent[0];
|
var tm = sh_parent[0];
|
||||||
|
|
|
@ -55,6 +55,7 @@ fn main(
|
||||||
workgroupBarrier();
|
workgroupBarrier();
|
||||||
sh_monoid[local_id.x] = agg;
|
sh_monoid[local_id.x] = agg;
|
||||||
}
|
}
|
||||||
|
workgroupBarrier();
|
||||||
// prefix up to this workgroup
|
// prefix up to this workgroup
|
||||||
var tm = sh_parent[0];
|
var tm = sh_parent[0];
|
||||||
if local_id.x > 0u {
|
if local_id.x > 0u {
|
||||||
|
|
Loading…
Reference in a new issue