From a74ecdefe72aa12aef35313b3e725e1044561f43 Mon Sep 17 00:00:00 2001 From: Ben Hansen Date: Tue, 5 Oct 2021 11:39:01 -0600 Subject: [PATCH 1/5] Learn Wgpu Section --- content/news/026/index.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/content/news/026/index.md b/content/news/026/index.md index 00cd5d925..633eaeeb9 100644 --- a/content/news/026/index.md +++ b/content/news/026/index.md @@ -209,6 +209,17 @@ As the godot-rust community keeps growing, the project can now be found ## Learning Material Updates +### Learn WGPU Updated: No more swap chains! + +As part of the update to 0.10 the wgpu team removed the `SwapChain` from the +API. The `surface` will now be used to retrieve textures to render to wrapped +in `SurfaceTexture`s. You configure the `Surface` in a similar way to how you +would configure the `SwapChain` except the struct is now called +`SurfaceConfiguration` instead of `SwapChainDescriptor`. If you want to know +more, you can check [the tutorial]. + +[the tutorial]: https://sotrh.github.io/learn-wgpu/news + ## Tooling Updates ## Library Updates From 77303afa0a0c48d0c643aa7a071816cf97d86935 Mon Sep 17 00:00:00 2001 From: Joe Clay <27cupsofcoffee@gmail.com> Date: Fri, 8 Oct 2021 17:24:21 +0100 Subject: [PATCH 2/5] Apply suggestions from code review --- content/news/026/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/news/026/index.md b/content/news/026/index.md index 633eaeeb9..7ab6f704d 100644 --- a/content/news/026/index.md +++ b/content/news/026/index.md @@ -211,10 +211,10 @@ As the godot-rust community keeps growing, the project can now be found ### Learn WGPU Updated: No more swap chains! -As part of the update to 0.10 the wgpu team removed the `SwapChain` from the -API. The `surface` will now be used to retrieve textures to render to wrapped +As part of the update to 0.10, the wgpu team removed the `SwapChain` from the +API. The `Surface` will now be used to retrieve textures to render to wrapped in `SurfaceTexture`s. You configure the `Surface` in a similar way to how you -would configure the `SwapChain` except the struct is now called +would configure the `SwapChain`, except the struct is now called `SurfaceConfiguration` instead of `SwapChainDescriptor`. If you want to know more, you can check [the tutorial]. From e1c033ac5b2a7c2626bc0fe2a1e76b6ec30b7f55 Mon Sep 17 00:00:00 2001 From: Andrey Lesnikov Date: Fri, 8 Oct 2021 23:13:35 +0300 Subject: [PATCH 3/5] N26: Remove accidental empty line --- content/news/026/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/news/026/index.md b/content/news/026/index.md index ef599cc2c..23119666a 100644 --- a/content/news/026/index.md +++ b/content/news/026/index.md @@ -484,7 +484,6 @@ If you don't, you can still read [the slides][dan-olson-slides]. [gdc-vault-video]: https://gdcvault.com/play/1027315 [dan-olson-slides]: https://research.activision.com/publications/2021/09/the-rust-programming-language-for-game-tooling - ## Tooling Updates ## Library Updates From 16ff2480e016f2c511967030fc59d58ebb8a8d66 Mon Sep 17 00:00:00 2001 From: Andrey Lesnikov Date: Fri, 8 Oct 2021 23:37:33 +0300 Subject: [PATCH 4/5] N26: Learn Wgpu: Style/fmt tweaks --- content/news/026/index.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/content/news/026/index.md b/content/news/026/index.md index 23119666a..8d229ce2f 100644 --- a/content/news/026/index.md +++ b/content/news/026/index.md @@ -454,16 +454,18 @@ More details to be shown soonish! ## Learning Material Updates -### Learn WGPU Updated: No more swap chains! +### [Learn Wgpu][learn-wgpu] Updated: No More Swap Chains! As part of the update to 0.10, the wgpu team removed the `SwapChain` from the API. The `Surface` will now be used to retrieve textures to render to wrapped in `SurfaceTexture`s. You configure the `Surface` in a similar way to how you would configure the `SwapChain`, except the struct is now called -`SurfaceConfiguration` instead of `SwapChainDescriptor`. If you want to know -more, you can check [the tutorial]. +`SurfaceConfiguration` instead of `SwapChainDescriptor`. -[the tutorial]: https://sotrh.github.io/learn-wgpu/news +If you want to know more, you can check [the tutorial's news page][learn-wgpu-news]. + +[learn-wgpu]: https://sotrh.github.io/learn-wgpu +[learn-wgpu-news]: https://sotrh.github.io/learn-wgpu/news ### GDC: Rust for Game Tooling by [Dan Olson][dan-olson-twitter] From cd9dc076576ec38fb1070059924e078ada8cb8ea Mon Sep 17 00:00:00 2001 From: Andrey Lesnikov Date: Fri, 8 Oct 2021 23:38:10 +0300 Subject: [PATCH 5/5] N2: Learn Wgpu: Fix section order --- content/news/026/index.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/content/news/026/index.md b/content/news/026/index.md index 8d229ce2f..31571ec47 100644 --- a/content/news/026/index.md +++ b/content/news/026/index.md @@ -454,19 +454,6 @@ More details to be shown soonish! ## Learning Material Updates -### [Learn Wgpu][learn-wgpu] Updated: No More Swap Chains! - -As part of the update to 0.10, the wgpu team removed the `SwapChain` from the -API. The `Surface` will now be used to retrieve textures to render to wrapped -in `SurfaceTexture`s. You configure the `Surface` in a similar way to how you -would configure the `SwapChain`, except the struct is now called -`SurfaceConfiguration` instead of `SwapChainDescriptor`. - -If you want to know more, you can check [the tutorial's news page][learn-wgpu-news]. - -[learn-wgpu]: https://sotrh.github.io/learn-wgpu -[learn-wgpu-news]: https://sotrh.github.io/learn-wgpu/news - ### GDC: Rust for Game Tooling by [Dan Olson][dan-olson-twitter] ![Title card](gdc-talk.jpg) @@ -486,6 +473,19 @@ If you don't, you can still read [the slides][dan-olson-slides]. [gdc-vault-video]: https://gdcvault.com/play/1027315 [dan-olson-slides]: https://research.activision.com/publications/2021/09/the-rust-programming-language-for-game-tooling +### [Learn Wgpu][learn-wgpu] Updated: No More Swap Chains! + +As part of the update to 0.10, the wgpu team removed the `SwapChain` from the +API. The `Surface` will now be used to retrieve textures to render to wrapped +in `SurfaceTexture`s. You configure the `Surface` in a similar way to how you +would configure the `SwapChain`, except the struct is now called +`SurfaceConfiguration` instead of `SwapChainDescriptor`. + +If you want to know more, you can check [the tutorial's news page][learn-wgpu-news]. + +[learn-wgpu]: https://sotrh.github.io/learn-wgpu +[learn-wgpu-news]: https://sotrh.github.io/learn-wgpu/news + ## Tooling Updates ## Library Updates