Skip to content

Use new toolchain file #281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions docs/src/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,6 @@ how to use and develop on Rust-GPU.
git clone --recurse-submodules https://github.com/EmbarkStudios/rust-gpu
```

1. Install the prerequisites using the provided setup script. From the root of the project, run:

MacOS, Linux:

```shell
sh setup.sh
```

Windows:

```shell
setup.bat
```

The setup script installs nightly Rust (required for now, see [#78](https://github.com/EmbarkStudios/rust-gpu/issues/78) for tracking issue).

1. **optional** Install [SPIRV-Tools](https://github.com/KhronosGroup/SPIRV-Tools#downloads) and add it to your `PATH`. You can skip this step if you just want to run examples with the defaults. See [Using installed SPIRV-Tools](#using-installed-spirv-tools) if you decide to go with this option.

1. Next, look at the [examples] folder. There are two kinds of targets here: [runners] and [shaders]. The projects inside `shaders` are "GPU crates", i.e. ones that will be compiled one or more SPIR-V modules. The `runner` projects are normal, CPU crates that use some graphics backend (currently, we have a [`wgpu` runner][examples/runners/wgpu], a [Vulkan runner][examples/runners/ash] through `ash`, and a barebones pure software [CPU runner][examples/runners/cpu]) to actually run one of the "GPU crate" shaders.
Expand Down
4 changes: 3 additions & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
nightly-2020-11-24
[toolchain]
channel = "nightly-2020-11-24"
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]
3 changes: 0 additions & 3 deletions setup.bat

This file was deleted.

3 changes: 0 additions & 3 deletions setup.sh

This file was deleted.