-
Notifications
You must be signed in to change notification settings - Fork 8
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
Question: How to run my own example component? #46
Comments
I think something like that will work, if I can make it work I will create a PR. |
For the last few days, I've been looking into creating a standalone runtime, so that wasi-webgpu can be played with. I'm not at all done, but will post here if I manage to put something together. |
Ok, thanks, I've been fixing some alignment issue with the c# generator which manifests with this WIT which is why I've not posted back. |
Checkout https://github.com/wasi-gfx/graphtime |
Thanks!. On linux I get
and on windows:
|
Possiblty https://github.com/GuillaumeGomez/sysinfo/pull/762/files required somewhere. |
I'm not getting these issues. |
That's very knid, let me do some checking first. |
updating rust solved some of them. but I believe wgpu 0.20 is yanked. so that is a problem https://docs.rs/wgpu/latest/wgpu/
|
Right. It's yanked. But that should not effect a project that already has a Cargo.lock with v0.20. Can you ensure that your Cargo.lock is the same as the repos? I should probably update wgpu, but until I get to that. |
You are right, I'd fiddled with
Which is the same I get for the skybox example, so that might be a WSL issue with getting the adapter. The framebufffer example does work in WSL, and so does my example component, which is a Doom fire demo |
I'll close this. These are the changes I made https://github.com/yowl/wasi-gfx-runtime/tree/user-example but maybe not worth creating a PR for it as graphtime would be better. See wasi-gfx/graphtime#1 |
Just FYI I've updated wgpu which should make wasi-gfx-runtime more stable on windows. |
Hi,
I have a componet written in c# and would like to try it. Is there some way I can do that with
cargo run -p runtime
? Maybe just add an option to accept a file instead of an "example" herewasi-gfx-runtime/examples/runtime/src/main.rs
Line 145 in 0271ff4
The text was updated successfully, but these errors were encountered: