Planar z representation for z compression
First Claim
Patent Images
1. A z operations unit, comprising:
- a source z evaluation unit configured to compute a source z value using tile specific coefficients for a plane equation defining a fragment of a source primitive, wherein the fragment is a portion of the source primitive that is within a tile, wherein the tile includes portions of at least two scanlines each of the tile specific coefficients based on a reference position within the tile wherein the reference position is unique to the tile and is not shared with any other tiles that are intersected by the primitive;
a z triage unit configured to determine a minimum source z value and a maximum source z value for the fragment using the tile specific coefficients and produce a trivial z test result that indicates whether the fragment should be rejected, the fragment should be accepted, or that the source z value should be computed and compared with a destination z value;
a destination z evaluation unit configured to receive destination z data from a z buffer and produce the destination z value; and
a z test unit configured to determine whether or not the source z value or the destination z value should be stored in the z buffer.
1 Assignment
0 Petitions
Accused Products
Abstract
A z buffer stores compressed z data represented in a planar format for one or more tiles. The compressed format includes a set of tile specific coefficients defining a plane equation for each z tested primitive intersecting the tile. The z buffer stores a maximum number of sets of tile specific coefficients for each tile, and when the maximum number of sets is exceeded for a particular tile, an uncompressed format is used to store the z data for the particular tile.
63 Citations
12 Claims
-
1. A z operations unit, comprising:
-
a source z evaluation unit configured to compute a source z value using tile specific coefficients for a plane equation defining a fragment of a source primitive, wherein the fragment is a portion of the source primitive that is within a tile, wherein the tile includes portions of at least two scanlines each of the tile specific coefficients based on a reference position within the tile wherein the reference position is unique to the tile and is not shared with any other tiles that are intersected by the primitive; a z triage unit configured to determine a minimum source z value and a maximum source z value for the fragment using the tile specific coefficients and produce a trivial z test result that indicates whether the fragment should be rejected, the fragment should be accepted, or that the source z value should be computed and compared with a destination z value; a destination z evaluation unit configured to receive destination z data from a z buffer and produce the destination z value; and a z test unit configured to determine whether or not the source z value or the destination z value should be stored in the z buffer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
Specification