mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 12:41:30 +11:00
Fix precedence issue
Note that this is evidence in favor of https://github.com/gfx-rs/naga/issues/2098 - my code is actually wrong, and it was caught by trying to port it to run in Chrome Canary.
This commit is contained in:
parent
494f523c41
commit
5bd3a3639f
|
@ -63,7 +63,7 @@ fn reduce_tag(tag_word: u32) -> TagMonoid {
|
|||
a += a >> 16u;
|
||||
c.pathseg_offset = a & 0xffu;
|
||||
#ifdef full
|
||||
c.path_ix = countOneBits(tag_word & (PATH_TAG_PATH) * 0x1010101u);
|
||||
c.path_ix = countOneBits(tag_word & (PATH_TAG_PATH * 0x1010101u));
|
||||
c.linewidth_ix = countOneBits(tag_word & (PATH_TAG_LINEWIDTH * 0x1010101u));
|
||||
#endif
|
||||
return c;
|
||||
|
|
Loading…
Reference in a new issue