Skip to content

Is web platform supported? #48

Answered by Wumpf
munrocket asked this question in Q&A
Sep 26, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

I don't quite understand how you'd use a Rust crate on the compute.toys website?

Anyways, for the more general question whether this crate works with WebGPU: "Yes, it should, but"
The big issue is that right now you need to change a browser setting to enable timestamps. According to this website you need to start Chrome with --disable-dawn-features=disallow_unsafe_apis. The WebGPU spec generally does not require the timestamp feature to be available, so there is no general guarantee that timings can be extracted.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@munrocket
Comment options

@munrocket
Comment options

@Wumpf
Comment options

@Wumpf
Comment options

@munrocket
Comment options

Answer selected by Wumpf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants