andersch.dev

<2022-05-08 Sun>

Shader

A shader is a program that runs on the GPU. These programs target specific parts of the GPU's rendering pipeline and are written in special shading languages that are usually associated with their corresponding rendering API.

List of shading languages

List of common shaders

Shader compilation chain

 Source code
      |
      v
   Bytecode
      |
      v
(Intermediate Representation)
      |
      v
  (Bytecode)
      |
      v
  API frontend
      |
      v
Driver compiler
      |
      v
     ISA

Specific shader programs

Resources