GPU
GPU
UNIT
INTRODUCTION
What is GPU?
• It receives commands from the CPU and also pulls geometry information from system
memory
• It outputs a stream of verticesin object space with all their associated information
(normals, texture coordinates, per vertex color etc)
VERTEX PROCESSING
A vertex processing is a graphics processing function that maps vertices onto the
screen and adds special effects to objects in a 3D environment.
• One of its purposes is to transform each vertex's 3D position in virtual space to the
2D coordinate at which it appears on the screen.
• Vertex pipelines also eliminate unneeded geometry by detecting parts of the scene
that are hidden by other parts and simply discarding those parts.
TRIANGLE SETUP
Rasterization
It is the process of determining which screenspace pixel locations are covered by
each triangle. Each triangle generates a primitive called a “fragment” at each
screenspace pixel location that it covers.