Skip to content
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

[Merged by Bors] - Ported WgpuOptions to bevy_render2 #3282

Closed
wants to merge 1 commit into from

Conversation

folke
Copy link
Contributor

@folke folke commented Dec 9, 2021

Objective

The new renderer does not support any options yet for wgpu. These are needed for example for rendering wireframes (see #3193).

Solution

I've ported WgpuOptions to bevy_render2.

The defaults match the defaults that were used before this PR (meaning, some specific options when target_arch = wasm32).

Additionally, I removed Auto from WgpuBackends and added Primary. The default will use primary or GL based on the target_arch.

@github-actions github-actions bot added the S-Needs-Triage This issue needs to be labelled label Dec 9, 2021
@cart
Copy link
Member

cart commented Dec 9, 2021

bors r+

bors bot pushed a commit that referenced this pull request Dec 9, 2021
# Objective

The new renderer does not support any options yet for wgpu. These are needed for example for rendering wireframes (see #3193).

## Solution

I've ported WgpuOptions to bevy_render2.

The defaults match the defaults that were used before this PR (meaning, some specific options when target_arch = wasm32).

Additionally, I removed `Auto` from WgpuBackends and added `Primary`. The default will use primary or GL based on the target_arch.
@bors bors bot changed the title Ported WgpuOptions to bevy_render2 [Merged by Bors] - Ported WgpuOptions to bevy_render2 Dec 9, 2021
@bors bors bot closed this Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants