From 7df4815c4124fd2d20235e7b04c682c945fecf31 Mon Sep 17 00:00:00 2001 From: Igor Shaposhnik Date: Thu, 24 Jun 2021 15:05:17 +0300 Subject: [PATCH] Remove gfx-rs development section from wgpu README --- wgpu/README.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/wgpu/README.md b/wgpu/README.md index e53de94c7b..caa6f4ca7c 100644 --- a/wgpu/README.md +++ b/wgpu/README.md @@ -53,15 +53,3 @@ cargo run -- ``` In addition, SPIR-V can be used by enabling the `spirv` feature, and the cost of slightly increased build times. - -## Development - -If you need to test local fixes to gfx or other dependencies, the simplest way is to add a Cargo patch. For example, when working on DX12 backend on Windows, you can check out the latest release branch in the [gfx-hal repository](https://github.com/gfx-rs/gfx) (e.g. currently `hal-0.8`) and add this patch to the end of `Cargo.toml`: - -```toml -[patch."https://github.com/gfx-rs/gfx"] -gfx-backend-dx12 = { path = "../gfx/src/backend/dx12" } -gfx-hal = { path = "../gfx/src/hal" } -``` - -If a version needs to be changed, you need to do `cargo update -p gfx-backend-dx12`.