Skip to content

[Merged by Bors] - Enable Msaa for webgl by default#3489

Closed
mockersf wants to merge 2 commits intobevyengine:mainfrom
mockersf:msaa-for-webgl
Closed

[Merged by Bors] - Enable Msaa for webgl by default#3489
mockersf wants to merge 2 commits intobevyengine:mainfrom
mockersf:msaa-for-webgl

Conversation

@mockersf
Copy link
Copy Markdown
Member

Objective

Solution

  • Remove custom config for Msaa in webgl
  • I also changed two options that were using the arch instead of the webgl feature. it shouldn't change much for webgl, but could help if someone wants to target wasm but not webgl2

@github-actions github-actions bot added the S-Needs-Triage This issue needs to be labelled label Dec 29, 2021
@mockersf mockersf added A-Rendering Drawing game state to the screen O-Web Specific to web (WASM) builds and removed S-Needs-Triage This issue needs to be labelled labels Dec 29, 2021
@cart
Copy link
Copy Markdown
Member

cart commented Dec 29, 2021

Love it!

@cart
Copy link
Copy Markdown
Member

cart commented Dec 29, 2021

bors r+

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

- `Msaa` was disabled in webgl due to a bug in wgpu
- Bug has been fixed (gfx-rs/wgpu#2307) and backported (gfx-rs/wgpu#2327), and updates for [`wgpu-core`](https://crates.io/crates/wgpu-core/0.12.1) and [`wgpu-hal`](https://crates.io/crates/wgpu-hal/0.12.1) have been released

## Solution

- Remove custom config for `Msaa` in webgl
- I also changed two options that were using the arch instead of the `webgl` feature. it shouldn't change much for webgl, but could help if someone wants to target wasm but not webgl2


Co-authored-by: François <[email protected]>
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Dec 29, 2021

@bors bors bot changed the title Enable Msaa for webgl by default [Merged by Bors] - Enable Msaa for webgl by default Dec 29, 2021
@bors bors bot closed this Dec 29, 2021
mockersf added a commit to mockersf/bevy that referenced this pull request Jan 1, 2022
# Objective

- `Msaa` was disabled in webgl due to a bug in wgpu
- Bug has been fixed (gfx-rs/wgpu#2307) and backported (gfx-rs/wgpu#2327), and updates for [`wgpu-core`](https://crates.io/crates/wgpu-core/0.12.1) and [`wgpu-hal`](https://crates.io/crates/wgpu-hal/0.12.1) have been released

## Solution

- Remove custom config for `Msaa` in webgl
- I also changed two options that were using the arch instead of the `webgl` feature. it shouldn't change much for webgl, but could help if someone wants to target wasm but not webgl2


Co-authored-by: François <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen O-Web Specific to web (WASM) builds

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants