◄ Wiki / Graphics
shaderInt8/16
Vulkan features letting shaders use 8-bit and 16-bit integer types, including in storage buffers.
These features enable narrower integer types inside shaders, which save memory and bandwidth and can speed up math when full 32-bit precision isn't needed. They come paired with storage-width support so those small types can also be read from and written to buffers, not just used in registers. Common in machine-learning and packed-data workloads on the GPU.
See also
- shaderInt32A Vulkan feature guaranteeing shaders can do exact 32-bit integer math.
- 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.