microZEUS
The whole stack, hand-drawn.

◄ Wiki / Graphics

compute shader

A GPU program that does general-purpose parallel math instead of producing pixels.

A compute shader is a stage that runs your own code across the GPU's many cores for tasks unrelated to drawing — image processing, simulation, or number crunching. Unlike vertex or fragment shaders it isn't tied to the rendering steps; it just reads and writes data in parallel. It is the entry point to using a GPU as a general math engine.

See also

  • compute pipelineA GPU setup for running general math work rather than drawing graphics.
  • builtinSpecial pre-defined variables a shader program reads from or writes to in order to talk to the graphics pipeline.
  • blitA fast bulk copy of a rectangular block of image pixels from one place to another, optionally scaling it.

Referenced by

blit · builtin · compute pipeline