ComputeShaders
Compute shaders are shader programs designed for general-purpose GPU computation (GPGPU). They run on the GPU outside of the traditional graphics pipeline and typically write to memory buffers or images rather than producing a rendered frame. They are invoked by a dispatch that specifies a two- or three-dimensional grid of work groups, each containing multiple threads or invocations.
In the execution model, each thread executes the same shader code with a unique index identifying its
Compute shaders are implemented in several graphics APIs, including OpenGL with GLSL, DirectX with HLSL, Vulkan,
Applications cover data-parallel tasks such as physics and fluid simulations, image and video processing, numerical computations,