mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +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;
|
a += a >> 16u;
|
||||||
c.pathseg_offset = a & 0xffu;
|
c.pathseg_offset = a & 0xffu;
|
||||||
#ifdef full
|
#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));
|
c.linewidth_ix = countOneBits(tag_word & (PATH_TAG_LINEWIDTH * 0x1010101u));
|
||||||
#endif
|
#endif
|
||||||
return c;
|
return c;
|
||||||
|
|
Loading…
Reference in a new issue