From b270ed3361dd18c756633f210faa1460c7670774 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sat, 22 Apr 2023 12:39:18 +0200 Subject: [PATCH 1/2] Update platform-support.md Remove internal and unsupported compilation targets from public docs --- docs/src/platform-support.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/docs/src/platform-support.md b/docs/src/platform-support.md index 785e452ecd..d87f393fc2 100644 --- a/docs/src/platform-support.md +++ b/docs/src/platform-support.md @@ -25,15 +25,6 @@ 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` @@ -41,10 +32,6 @@ The `rust-gpu` project currently supports a limited number of platforms and grap - `spirv-unknown-vulkan1.1spv1.4` - `spirv-unknown-vulkan1.2` -### WebGPU Targets - -- `spirv-unknown-webgpu0` - ### OpenGL Targets - `spirv-unknown-opengl4.0` From d81ad798326c8968bb603b281ec5685ac2289879 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sat, 22 Apr 2023 12:59:04 +0200 Subject: [PATCH 2/2] Update platform-support.md --- docs/src/platform-support.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/src/platform-support.md b/docs/src/platform-support.md index d87f393fc2..33285b4d2f 100644 --- a/docs/src/platform-support.md +++ b/docs/src/platform-support.md @@ -51,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`.