Skip to content

Newbie question: CPU backend? #254

Answered by parasyte
saona-raimundo asked this question in Q&A
Newbie question: CPU backend? #254
Jan 9, 2022 · 1 answer

I know the aim of the crate is hardware acceleration, and maybe you resolve my question by redirecting me to another crate, but... is it possible to show pixels in the screen using only the CPU?

Of course the answer has to be yes, as there were no gpus before... but how to do it in Rust is my question and if this crate will ever consider having a cpu backend.

Thank you beforehand!

Your system already provides a CPU adapter, as mentioned in #92 (comment)

See documentation for RequestAdapterOptions::force_fallback_adapter

Indicates that only a fallback adapter can be returned. This is generally a “software” implementation on the system.

And the output from the wgpu-info cli tool. (Look for "Type: Cpu")

Replies

1 suggested answer

parasyte
Jan 9, 2022
Maintainer

Your system already provides a CPU adapter, as mentioned in #92 (comment)

See documentation for RequestAdapterOptions::force_fallback_adapter

Indicates that only a fallback adapter can be returned. This is generally a “software” implementation on the system.

And the output from the wgpu-info cli tool. (Look for "Type: Cpu")

0 replies
Answer selected by saona-raimundo
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