Skip to content

configurable wgpu backend#2207

Merged
emilk merged 7 commits intoemilk:masterfrom
rerun-io:wgpu-configuration
Oct 31, 2022
Merged

configurable wgpu backend#2207
emilk merged 7 commits intoemilk:masterfrom
rerun-io:wgpu-configuration

Conversation

@Wumpf
Copy link
Collaborator

@Wumpf Wumpf commented Oct 31, 2022

introduces WgpuConfiguration, a config object used for both Native (winit) and Web rendering with wgpu. Encapsulates creation options for wgpu instance/adapter/device/surface and exposes a callback for surface errors.

Needed for users selecting WebGPU as backend on the web - #2137

(tested so far only via demo on wgpu and wgpu/web(gl))

Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great ⭐

@emilk emilk merged commit 4c82519 into emilk:master Oct 31, 2022
@Wumpf Wumpf deleted the wgpu-configuration branch October 31, 2022 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants