From 4c7a4ac74fecd6d4904c5ffdec8bde4c587e699f Mon Sep 17 00:00:00 2001 From: king6cong Date: Thu, 21 Jun 2018 18:17:09 +0800 Subject: [PATCH] Update example instructions in README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04837745161..ff1b90face7 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,12 @@ To run an example, simply use `cargo run` and specify the backend with `--featur ```bash git clone https://github.com/gfx-rs/gfx -cd gfx/examples/hal +cd gfx/examples +# macOS +cargo run --bin quad --features metal +# vulkan cargo run --bin quad --features vulkan +# Windows cargo run --bin compute --features dx12 1 2 3 4 ```