Skip to content
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

Update platform-support.md #1046

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
30 changes: 17 additions & 13 deletions docs/src/platform-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,13 @@ The `rust-gpu` project currently supports a limited number of platforms and grap
| WGPU | 0.6 | Primary | Uses a translation layer to Metal/DX12
| OpenGL | ??? | Tertiary |

### SPIR-V Targets

- `spirv-unknown-spv1.0`
- `spirv-unknown-spv1.1`
- `spirv-unknown-spv1.2`
- `spirv-unknown-spv1.3`
- `spirv-unknown-spv1.4`
- `spirv-unknown-spv1.5`

### Vulkan Targets

- `spirv-unknown-vulkan1.0`
- `spirv-unknown-vulkan1.1`
- `spirv-unknown-vulkan1.1spv1.4`
- `spirv-unknown-vulkan1.2`

### WebGPU Targets

- `spirv-unknown-webgpu0`

### OpenGL Targets

- `spirv-unknown-opengl4.0`
Expand All @@ -64,6 +51,23 @@ The `rust-gpu` project currently supports a limited number of platforms and grap
- `spirv-unknown-opencl2.2`
- `spirv-unknown-opencl2.2embedded`

## Experimental Targets

### Universal SPIR-V Targets
Use this if you target something that uses neither Graphis APIs or OpenCL bindings but conforms to the SPIRV spec.

- `spirv-unknown-spv1.0`
- `spirv-unknown-spv1.1`
- `spirv-unknown-spv1.2`
- `spirv-unknown-spv1.3`
- `spirv-unknown-spv1.4`
- `spirv-unknown-spv1.5`

### WebGPU Targets
When actually targeting `webgpu` you should target vulkan, this target was meant for pre-WGSL shader compilation.

- `spirv-unknown-webgpu0`

## GPU

Currently we don't have specific generations of GPUs for support, as long they support Vulkan 1.1+ with the latest officially installed drivers it should be able build and run the examples. You can check your Vulkan version using the [`vulkaninfo`] command from the `vulkan-sdk`.
Expand Down