mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-09 20:31:29 +11:00
Merge pull request #311 from armansito/clip-leaf-bounds-check
[shaders] Explicitly guard writes to clip_bboxes
This commit is contained in:
commit
97250fb2dc
|
@ -200,5 +200,7 @@ fn main(
|
||||||
bbox = vec4(-1e9, -1e9, 1e9, 1e9);
|
bbox = vec4(-1e9, -1e9, 1e9, 1e9);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if global_id.x < config.n_clip {
|
||||||
clip_bboxes[global_id.x] = bbox;
|
clip_bboxes[global_id.x] = bbox;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue