CPC G06T 15/503 (2013.01) [G06T 1/60 (2013.01); G06T 11/203 (2013.01); G06T 11/40 (2013.01); G06T 15/80 (2013.01); G06T 2200/12 (2013.01)] | 24 Claims |
1. A computing system comprising:
a graphics processor;
a central processing unit; and
a memory including a set of instructions, which when executed by one or more of the graphics processor or the central processing unit, cause the computing system to:
identify a first parameter associated with a first vertex of a primitive, wherein the first parameter indicates a first number of samples to be taken for a first pixel corresponding to the first vertex;
identify a second parameter associated with a second vertex of the primitive, wherein the second parameter indicates a second number of samples to be taken for a second pixel corresponding to the second vertex;
generate a first coverage mask based on a first anti-aliasing mode associated with the first parameter;
shade the first pixel based on the first parameter and the first coverage mask; and
shade the second pixel based on the second parameter.
|