microZEUS
The whole stack, hand-drawn.

◄ Wiki / Graphics

robustBufferAccess

A GPU safety feature that makes out-of-bounds buffer reads/writes in a shader return harmless results instead of crashing.

Shaders sometimes index past the end of a buffer. Without protection this is undefined behavior that can crash or corrupt memory. When robustBufferAccess is enabled, the Vulkan implementation guarantees such accesses are bounded — reads return zero or clamped values, writes are discarded — so a buggy shader degrades gracefully rather than taking down the system.

See also

  • shaderA small program that runs on the GPU to compute part of how a scene is drawn.
  • SSBOA large GPU buffer that shaders can both read from and write to freely.
  • SPIR-VThe compiled binary format that Vulkan shaders are shipped in, independent of any GPU or source language.

Referenced by

SPIR-V · SSBO