Re:Wgpu-0.10 released: WebGPU implementation now in pure Rust
by garaetjjte on Thursday August 19, 2021 @07:28AM
(#28232548)
All modern GPUs have MMUs that prevent shaders from accessing arbitrary memory. In rare cases where it is absent (like VC4 on Raspberry Pi) driver needs to statically analyze shaders and ensure that all memory accesses are clamped.
There are GPUs that support IOMMU but they cost a fortune. (or is IOMMU a separate feature than just having virtual memory for GPU memory?)
Running user-supplied shaders seems like a security nightmare.