servo / pathfinder

A fast, practical GPU rasterizer for fonts and vector graphics
Apache License 2.0
3.6k stars 201 forks source link

set_blur_shadow is broken on metal #411

Open adamnemecek opened 4 years ago

adamnemecek commented 4 years ago

Repro steps:

I made a fork of pathfinder. I added a new example canvas_metal_nanovg

https://github.com/adamnemecek/pathfinder_bug/blob/master/examples/canvas_metal_nanovg

If you run the example, a black screen is displayed. If you toggle the variable SET_SHADOW_BLUR (located here to false to disable setting of shadow blur, you do not encounter this issue.