Reducing shading by merging fragments from the adjacent primitives
First Claim
1. A method comprising:
- merging two fragments from neighboring primitives that cover the same pixel; and
determining which of the two fragments covers the pixel'"'"'s center; and
only shading the fragment that covers the pixel'"'"'s center and refraining from shading a merged fragment that does not cover the pixel'"'"'s center.
1 Assignment
0 Petitions
Accused Products
Abstract
Instead of shading a triangle from the rasterizer as soon as it is known that there is a sample inside the triangle, in accordance with one embodiment, shading is delayed until the triangle beside it, called the neighboring triangle, is received. If there is a neighboring triangle facing the same way, with non-mutually exclusive coverage, meaning that it is not overlapping the same region, then the shader shades only once for the pair of triangles. That is, two separate fragments are merged and treated as one fragment. Specifically, the fragment that is over the pixel center is the one that is used and the other fragment is replaced by merging. The merger happens only over the extent of a pixel and more than one primitive is not shaded at a time. However, multiple merges within a 2×2 block of pixels are possible.
-
Citations
30 Claims
-
1. A method comprising:
-
merging two fragments from neighboring primitives that cover the same pixel; and determining which of the two fragments covers the pixel'"'"'s center; and only shading the fragment that covers the pixel'"'"'s center and refraining from shading a merged fragment that does not cover the pixel'"'"'s center. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. One or more non-transitory computer readable media storing instructions executed by a processor to perform a method comprising:
-
merging two fragments from neighboring primitives that cover the same pixel; determining which of the two fragments covers the pixel'"'"'s center; and only shading the fragment that covers the pixel'"'"'s center and refraining from shading a merged fragment that does not cover the pixel'"'"'s center. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. An apparatus comprising:
-
a processor to merge two fragments from neighboring primitives that cover the same pixel, determine which of the two fragments covers the pixel'"'"'s center, and only shade the fragment that covers the pixel'"'"'s center and refrain from shading a merged fragment that does not cover the pixel'"'"'s center; and a storage coupled to said processor. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification