Commit Graph
3491 Commits
Author SHA1 Message Date
bors[bot]andDzmitry Malyshau eef478fc5d Merge #1307
1307: Update gfx with fixed Metal cross feature r=kvark a=kvark

Just another update

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-04-05 04:48:59 +00:00
Dzmitry Malyshau 2e9d9d8267 Update gfx with fixed Metal cross feature 2021-04-05 00:48:17 -04:00
bors[bot]andDzmitry Malyshau a474992b72 [rs] Merge #843
843: Update wgpu-core with SPIRV coordinate fix r=kvark a=kvark

See https://github.com/gfx-rs/wgpu/pull/1305
Fixes #842

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-04-04 23:08:31 +00:00
Dzmitry Malyshau 88524d2ff8 [rs] Update wgpu-core with SPIRV coordinate fix 2021-04-04 19:08:03 -04:00
bors[bot]andDzmitry Malyshau 31f52202c5 Merge #1305
1305: Don't flip SPIR-V coordinate space on input r=kvark a=kvark

**Connections**
fixes https://github.com/gfx-rs/wgpu-rs/issues/842

**Description**
The SPV-in by default changes the coordinate space, but for WebGPU we don't want it.

**Testing**
Untested...

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-04-04 22:42:24 +00:00
Dzmitry Malyshau 1dddfa6234 Don't flip SPIR-V coordinate space on input 2021-04-04 18:38:56 -04:00
bors[bot]andDzmitry Malyshau bb9f3ad990 [rs] Merge #839
839: Update naga to gfx-20 r=kvark a=kvark

See https://github.com/gfx-rs/wgpu/pull/1304

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-04-04 15:36:50 +00:00
Dzmitry Malyshau b1bbaf38a2 [rs] Update naga to gfx-20 2021-04-04 11:36:13 -04:00
bors[bot]andDzmitry Malyshau 11666be077 Merge #1304
1304: Update naga to gfx-20 r=kvark a=kvark

See https://github.com/gfx-rs/gfx/pull/3714

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-04-04 15:26:57 +00:00
Dzmitry Malyshau 0bd8526239 Update naga to gfx-20 2021-04-04 11:25:10 -04:00
bors[bot]andadamnemecek 8a0bb3327a Merge #1302
1302: removed autocapture from cargo.toml r=cwfitzgerald a=adamnemecek



Co-authored-by: adamnemecek <adamnemecek@gmail.com>
2021-04-02 19:46:35 +00:00
adamnemecek af8b94c729 removed autocapture 2021-04-02 09:43:38 -07:00
bors[bot]andadamnemecek c45c56934f [rs] Merge #835
835: frame capture r=kvark a=adamnemecek



Co-authored-by: adamnemecek <adamnemecek@gmail.com>
2021-04-01 20:28:21 +00:00
adamnemecek 99eccdff3d [rs] frame capture 2021-04-01 13:25:59 -07:00
bors[bot]andadamnemecek 1f9958a88f Merge #1301
1301: framecapture r=kvark a=adamnemecek



Co-authored-by: adamnemecek <adamnemecek@gmail.com>
2021-04-01 19:54:26 +00:00
adamnemecek d91ad13482 framecapture 2021-04-01 12:51:50 -07:00
bors[bot]andConnor Fitzgerald 3b8da5d6c2 [rs] Merge #829
829: Add Downlevel Infrastructure r=kvark a=cwfitzgerald

wgpu-rs frontend for https://github.com/gfx-rs/wgpu/pull/1297.

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2021-04-01 15:59:54 +00:00
Connor Fitzgerald 4161cbb893 [rs] Add downlevel infrastructure 2021-04-01 11:53:16 -04:00
bors[bot]andConnor Fitzgerald 45f890c11c Merge #1297
1297: Downlevel Infrastructure and Validate Compute Shader Presence r=kvark a=cwfitzgerald

**Connections**

Provides the core infrastructure for #1244.

**Description**

Nothing too crazy in here. Includes the infrastructure and the beginnings of validation. Some of the properties can't easily be verified, but I will follow up with the rest of the low-hanging fruit in another PR.

**Testing**

Testing on https://github.com/gfx-rs/wgpu-rs/pull/829.


Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2021-04-01 15:50:23 +00:00
Connor Fitzgerald 3073a454ff Update to flag-based downlevel bools 2021-04-01 11:48:09 -04:00
bors[bot]andDzmitry Malyshau f997e8f9d3 [rs] Merge #826
826: Disable SPIRV-Cross by default r=cwfitzgerald a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-03-31 12:23:28 +00:00
Dzmitry Malyshau 84026d75ee [rs] Disable SPIRV-Cross by default 2021-03-31 08:22:42 -04:00
Connor Fitzgerald fca72f54f9 Validate compute shader's presence 2021-03-31 01:08:53 -04:00
Connor Fitzgerald 4db9a4522e Add downlevel infrastructure 2021-03-31 01:08:48 -04:00
bors[bot]andDy11on 4b7211a116 [rs] Merge #827
827: Fixed water example file section in the README.md r=cwfitzgerald a=Dy11on

Fixed the file section in the README.md for the water example, since it now uses wgsl

Co-authored-by: Dy11on <26803229+Dy11on@users.noreply.github.com>
2021-03-31 03:32:05 +00:00
Dy11on 79722cc395 [rs] Fixed water example file section in the README.md 2021-03-30 22:09:25 -04:00
bors[bot]andDzmitry Malyshau 110efb8fe8 [rs] Merge #763
763: Port the water example shaders to WGSL r=cwfitzgerald a=kvark



Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-03-31 01:39:05 +00:00
Dzmitry Malyshau 49a741a0c6 [rs] Update to gfx-19, port the water example shaders to WGSL 2021-03-30 21:36:49 -04:00
bors[bot]andDzmitry Malyshau 41f106d7fc Merge #1296
1296: Update gfx to the MSL entry point fix r=kvark a=kvark

See https://github.com/gfx-rs/gfx/pull/3705

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-03-31 01:26:36 +00:00
Dzmitry Malyshau 49c59ec063 Update gfx to the MSL entry point fix 2021-03-30 21:25:40 -04:00
bors[bot]andGordon-F be16c7f2f2 Merge #1294
1294: Update naga to gfx-19 r=kvark a=Gordon-F

Just a naga update. Also fix https://github.com/gfx-rs/wgpu/issues/1293.

Co-authored-by: Gordon-F <ishaposhnik@icloud.com>
2021-03-30 23:34:59 +00:00
Gordon-F 7fc70bf349 Force-enable EXPERIMENTAL_TRANSLATION flag when running without cross feature 2021-03-31 02:01:43 +03:00
Gordon-F 124d5e3a7c Update naga to gfx-19 2021-03-31 02:00:48 +03:00
bors[bot]andLuis Wirth 8d30098db8 [rs] Merge #824
824: make all labels use `wgpu::Label` r=kvark a=LU15W1R7H

This PR does a very minor change.

It replaces all occurences of `label: Option<'a str>` with `label: crate::Label`,
making the usage consistent all across the API.

This doesn't bring any benefit other than consistency.

I hope to have catched every occurance.


Co-authored-by: Luis Wirth <lwirth2000@gmail.com>
2021-03-30 18:48:24 +00:00
bors[bot]andConnor Fitzgerald 569f87ebda Merge #1291
1291: Add color blend modes r=kvark a=cwfitzgerald

Continuation of #1289, because apparently you can't re-open an accidentally closed pull request if you force pushed...

Should be GTG.

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2021-03-30 17:39:26 +00:00
Connor Fitzgerald 0616a08c65 Add color blend modes 2021-03-30 13:37:43 -04:00
Luis Wirth 632f828eda [rs] make all labels use wgpu::Label
replace all occurences of `label: Option<'a str>` with `label: crate::Label`
2021-03-30 18:16:08 +02:00
bors[bot]andDan Wilhelm b0bf790a17 [rs] Merge #823
823: Fix crash-on-resize in skybox example r=kvark a=danwilhelm

Problem: Skybox example currently crashes on resize. 
- Solution: Now, recreates depth texture on resize event.
---
Problem: Shadow example currently duplicates texture creation code on resize. 
- Solution: Now, shadow is refactored identically to skybox & water examples -- minimizes code duplication, makes examples more similar.

Co-authored-by: Dan Wilhelm <dan@danwilhelm.com>
2021-03-30 03:55:48 +00:00
Dan Wilhelm 144bffb1a3 [rs] Refactor texture creation for shadow 2021-03-29 20:10:20 -07:00
10dbb8746e [rs] Merge #819 #822
819: Boost texels alpha channel in cube example. r=kvark a=VincentFTS

Permits to have a good rendering for WebGL.

822: Update wasm-bindgen and web-sys to latest r=kvark a=grovesNL

#821 for `master`

On `master` it should be ok to update wasm-bindgen and web-sys, so we don't need to fix syn's version

Co-authored-by: VincentFTS <platforms@ftsoftware.fr>
Co-authored-by: Joshua Groves <josh@joshgroves.com>
2021-03-30 02:25:17 +00:00
Dan Wilhelm 96d9a87817 [rs] Recreate texture on resize for skybox 2021-03-29 19:24:00 -07:00
Joshua Groves aa3792a68f [rs] Update wasm-bindgen and web-sys to latest 2021-03-29 22:24:32 -02:30
bors[bot]andIgor Shaposhnik 456525d9c7 Merge #1290
1290: Update to latest gpu-alloc r=kvark a=Gordon-F



Co-authored-by: Igor Shaposhnik <Gordon-F@users.noreply.github.com>
2021-03-29 13:38:13 +00:00
Igor Shaposhnik 6097421647 Update to latest gpu-alloc 2021-03-29 09:33:40 +00:00
bors[bot]andConnor Fitzgerald ae880cbb93 [rs] Merge #815
815: Add missing re-exports r=kvark a=cwfitzgerald

Missed a couple wgt types.

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2021-03-26 20:21:13 +00:00
Connor Fitzgerald 2fd1047045 [rs] Add missing re-exports 2021-03-26 15:51:11 -04:00
VincentFTS d81061eca8 [rs] Boost texels alpha channel in cube example.
Permits to have a good rendering for WebGL.
2021-03-26 18:43:45 +01:00
bors[bot]andGordon-F e07a7cb539 [rs] Merge #814
814: Update to latest wgpu, naga, gfx. r=kvark a=Gordon-F

Update to latest wgpu, naga, gfx and enable `EXPERIMENTAL_TRANSLATION` with GL backend for `boids`, `cube` and `hello-compute`.

Co-authored-by: Gordon-F <ishaposhnik@icloud.com>
2021-03-25 23:54:46 +00:00
Gordon-F 6485e81f4b [rs] Enable EXPERIMENTAL_TRANSLATION with GL backend for some examples 2021-03-25 22:11:51 +03:00
Gordon-F 6d62cc5bc3 [rs] Update to latest wgpu, naga, gfx. 2021-03-25 21:46:35 +03:00