diff --git a/basic-3d-rendering/input-geometry/playing-with-buffers.md b/basic-3d-rendering/input-geometry/playing-with-buffers.md index 7c04417..63c6473 100644 --- a/basic-3d-rendering/input-geometry/playing-with-buffers.md +++ b/basic-3d-rendering/input-geometry/playing-with-buffers.md @@ -353,7 +353,7 @@ while (!ready) { } ``` -You could now see `Buffer 2 mapped with status 0` (0 being the value of `BufferMapAsyncStatus::Success`) when running your program. **However**, we never change the `ready` variable to `true`! So the program then **halts forever**... not great. That is why the next section shows how to pass some context to the callback. +You could now see `Buffer 2 mapped with status 1` (1 being the value of `BufferMapAsyncStatus::Success`) when running your program. **However**, we never change the `ready` variable to `true`! So the program then **halts forever**... not great. That is why the next section shows how to pass some context to the callback. ### Mapping context diff --git a/getting-started/hello-webgpu.md b/getting-started/hello-webgpu.md index 5986aad..9ad98a2 100644 --- a/getting-started/hello-webgpu.md +++ b/getting-started/hello-webgpu.md @@ -133,6 +133,10 @@ This is given by the `main` branch of my distribution repository: - [WebGPU any distribution](https://github.com/eliemichel/WebGPU-distribution/archive/refs/tags/main-v0.2.0-beta1.zip) +```{tip} +The README of that resposity has instructions for how to add it to your project using FetchContent_Declare. If you do that, you will likely be using a newer version of Dawn or wgpu-native than the one this was written against. As a result, the examples in this book may not compile for you. See below for how to download the version this book was written against. +``` + **Pros** - You can have two `build` at the same time, one that uses Dawn and one that uses `wgpu-native`