Skip to content

Commit

Permalink
Merge #1554
Browse files Browse the repository at this point in the history
1554: Remove gfx-rs development section from wgpu README r=grovesNL a=Gordon-F

Outdated part of README.


Co-authored-by: Igor Shaposhnik <[email protected]>
  • Loading branch information
bors[bot] and Gordon-F authored Jun 24, 2021
2 parents 86e4b9b + 7df4815 commit 8ddb3be
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions wgpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,3 @@ cargo run -- <input.spv> <output.wgsl>
```

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`.

0 comments on commit 8ddb3be

Please sign in to comment.