Compute shader

from Wikipedia, the free encyclopedia

As a Compute Shader is a shader in OpenGL or Direct3D which to DirectX heard called, the isolation from the graphics pipeline arbitrary computations on data on the graphics card can perform.

function

A compute shader works in a similar way to general GPGPU kernels , e.g. from OpenCL or CUDA , with a large number of identical threads on data in the graphics memory . In contrast to these GPGPU languages, compute shaders are embedded in OpenGL or Direct 3D and can therefore be better integrated into graphics applications.

support

OpenGL supports compute shaders from version 4.3. Programs for the shader can be written in GLSL , the general shader programming language of OpenGL. Direct 3D (DirectX) supports compute shaders from version 11.

See also

Individual evidence

  1. OpenGL Compute Shader Specification
  2. OpenGL Shader Language Specification, Version 4.30.8 (PDF)