mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
Restore FillMaskInv logic
This commit is contained in:
parent
13134e7cb3
commit
b928c7a3ed
|
@ -234,7 +234,9 @@ void main() {
|
||||||
// Include the path in the tile if
|
// Include the path in the tile if
|
||||||
// - the tile contains at least a segment (tile offset non-zero)
|
// - the tile contains at least a segment (tile offset non-zero)
|
||||||
// - the tile is completely covered (backdrop non-zero)
|
// - the tile is completely covered (backdrop non-zero)
|
||||||
include_tile = tile.backdrop != 0 || tile.tile.offset != 0;
|
bool inside = tile.backdrop != 0;
|
||||||
|
bool fill = tag != Annotated_FillMaskInv;
|
||||||
|
include_tile = tile.tile.offset != 0 || inside == fill;
|
||||||
}
|
}
|
||||||
if (include_tile) {
|
if (include_tile) {
|
||||||
uint el_slice = el_ix / 32;
|
uint el_slice = el_ix / 32;
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue