You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My best guess is that creating a buffer here corrupts or invalidates wgpu_glyph's cached transform buffer because if I remove this check from the pipeline it starts rendering correctly:
Hello, I'm not sure if this is a problem with wgpu, wgpu_glyph, or my understanding of wgpu so I'm posting it to both projects.
I've created a minimal runnable example here: https://github.com/MichaelBaker/wgpu-glyph-example
This is the line that causes the problem. If you comment this line out, the text renders correctly: https://github.com/MichaelBaker/wgpu-glyph-example/blob/5bcd7200d1a27df7add4a68b744b41df9b1de681/src/main.rs#L70
My best guess is that creating a buffer here corrupts or invalidates wgpu_glyph's cached transform buffer because if I remove this check from the pipeline it starts rendering correctly:
wgpu_glyph/src/pipeline.rs
Line 353 in e53659e
Otherwise this library has worked great so thanks for putting it together.
I'm on a Macbook Pro running macOS 10.15.3 (Catalina).
Here is the wgpu issue: gfx-rs/wgpu-rs#288
The text was updated successfully, but these errors were encountered: