GPU Pipeline
Graphics Pipeline Geometry and primitives Typically, An application is the place where we want to define the geometry that we want to render to the screen. This geometry can be defined by points, lines, triangles, quads, triangle strips... These are so called geometric primitives. These points will then reside in system memory. Your application will use the 3D API to transfer the defined vertices from system memory into the GPU memory. Vertices So we'll have a vertex that contains location, as well as color information. Vertex shaders A "pass-through" vertex shader will take the shader inputs and will pass these to its output without modifying these: the vertices P1, P2 and P3 from the triangle are fetched from memory, each individual vertex is fed to vertex shader instances which run in parallel. Vertex processing computes the normalized coordinate space position of vertices. The outputs from the vertex shaders are fed ...