Does this mean I can write shaders in Rust for use with WGPU or Vulkan?
WGPU/Vulkan don't work with PTX shaders by default, additional translation would be needed.
On a side note, Vulkan has extension to launch CUDA kernels: https://docs.vulkan.org/refpages/latest/refpages/source/VK_N...
The way I understood it, rust would become an option next to Vulkan, WGPU (and opengl etc?).
But only for compute tasks. So, practically an alternative language to write compute shaders in.
WGPU/Vulkan don't work with PTX shaders by default, additional translation would be needed.
On a side note, Vulkan has extension to launch CUDA kernels: https://docs.vulkan.org/refpages/latest/refpages/source/VK_N...
The way I understood it, rust would become an option next to Vulkan, WGPU (and opengl etc?).
But only for compute tasks. So, practically an alternative language to write compute shaders in.