Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.34 KB

File metadata and controls

20 lines (13 loc) · 1.34 KB

Software rendering backend for wgpu

This is a custom backend for wgpu which renders everything on the CPU. It aims to support all features that are usually guaranteed by wgpu to be supported, and some more that we can manage to implement. The project is still under development, so it currently only supports some basic usecases.

To facilitate running shaders on the CPU, this repository also contains naga-cranelift, a cranelift-powered compiler backend for naga.

Examples can be found in wgpu-cpu/examples.

Rendering of the Utah Teapot with interpolated vertex colors that result in a red, green and blue gradient.
Utah Teapot with interpolated vertex colors (example)
Rendering of the Stanford Bunny with a colorful test card texture.
Stanford Bunny with texture (example)