@@ -43,7 +43,7 @@ Rust GPU changes this by letting you use Rust to write GPU programs (often calle
43
43
These Rust GPU programs are then compiled into [ SPIR-V] ( https://www.khronos.org/spir/ ) ,
44
44
a low-level format that [ most GPUs understand] ( https://vulkan.gpuinfo.org/ ) . Since
45
45
SPIR-V is the format [ Vulkan] ( https://www.vulkan.org/ ) uses, Rust GPU makes it possible
46
- to integrate Rust-based GPU programs into any Vulkan-compatible workflow.
46
+ to integrate Rust-based GPU programs into any Vulkan-compatible workflow[ ^ 1 ] .
47
47
48
48
For more details, check out the [ Rust GPU website] ( https://Rust-gpu.github.io/ ) or the [ GitHub repository] ( https://github.com/Rust-gpu/Rust-gpu ) .
49
49
@@ -82,7 +82,7 @@ To handle communication between our code on the CPU and GPU, we'll use
82
82
implements the WebGPU API. On the web, it works directly with the browser's WebGPU
83
83
implementation. On native platforms, it translates API calls to the platform's GPU API
84
84
(Vulkan, DirectX, or Metal). This lets us run the same code on a wide range of
85
- platforms, including Windows, Linux, macOS[ ^ 1 ] , iOS[ ^ 2 ] , Android, and the web[ ^ 3 ] .
85
+ platforms, including Windows, Linux, macOS[ ^ 2 ] , iOS[ ^ 3 ] , Android, and the web[ ^ 4 ] .
86
86
87
87
By using Rust GPU and ` wgpu ` , we have a clean, portable setup with everything written in
88
88
Rust.
@@ -568,8 +568,19 @@ or get involved, check out the [`rust-gpu` repo on
568
568
GitHub] ( https://github.com/rust-gpu/rust-gpu ) .
569
569
<br />
570
570
571
- [ ^ 1 ] : Technically ` wgpu ` uses [ MoltenVK] ( https://github.com/KhronosGroup/MoltenVK ) or translates to Metal on macOS
572
- [ ^ 2 ] : Technically ` wgpu ` uses [ MoltenVK] ( https://github.com/KhronosGroup/MoltenVK ) or translates to Metal on iOS
571
+ [ ^ 1 ] :
572
+ Why not CUDA? That is covered by [ Rust
573
+ CUDA] ( https://github.com/Rust-GPU/Rust-CUDA ) , a related project that I am planning
574
+ on rebooting soon!
575
+
576
+ [ ^ 2 ] :
577
+ Technically ` wgpu ` uses [ MoltenVK] ( https://github.com/KhronosGroup/MoltenVK ) or
578
+ translates to Metal on macOS
579
+
573
580
[ ^ 3 ] :
581
+ Technically ` wgpu ` uses [ MoltenVK] ( https://github.com/KhronosGroup/MoltenVK ) or
582
+ translates to Metal on iOS
583
+
584
+ [ ^ 4 ] :
574
585
Technically ` wgpu ` translates SPIR-V to GLSL (WebGL) or WGSL (WebGPU) via
575
586
[ naga] ( https://github.com/gfx-rs/wgpu/tree/trunk/naga ) on the web
0 commit comments