-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken text rendering on wasm32 target in Firefox #78
Comments
UPD: Huh... Looks like it reproduces only on Firefox (v93).... |
When UPD1: Decreasing initial cache cache makes this bug even funnier (yep, still reproduces only in Firefox): UPD2: Set |
|
@hecrj Wow, I forgot to push local changes to the fork 🥴... Now it is in place, sorry for that! Well, I explicitly ask Yea, my bet is too on the broken caching logic, but I not yet figured out what shat is specifically wrong with it... |
Similar problems were encountered when i was using iced v0.3.0. the last few words are not rendered. not the web but default wgpu |
I have managed to compile
hello
example towasm32
target with some changes to winit initialization, however, when trying to render new text on the next frame, part of the text disappear (e.g I just render text with content that changes each frame withformat!("Frame {}!, counter)
).I have modified the example I'm my fork to help reproduce the issue:
https://github.com/pacmancoder/wgpu_glyph/tree/issue-report/wasm32-text-rendering
UPD: Reproduces only on Firefox (v93)
Steps to run example on wasm32
Results can be compared with non-wasm32 build of example
cargo run --example hello
Normal behavior; Compiled for non-wasm32 target
Text artifacts of wasm32 target, part of the text is missing
Not sure yet if it is related to
wgpu
orwgpu_glyph
implementation.The text was updated successfully, but these errors were encountered: