摘要 |
A method and a system for anti-aliasing using Z and Z offset values are disclosed. In one embodiment, an image rendering system includes a processor and a device. The device is configured to store a first value, a second value, a first offset value, and a second offset value. The first value represents a Z value of a first sub-fragment and the second value points to a sub-fragment location that corresponds to the first sub-fragment. The first offset value represents an offset value of the first value in x-direction and the second offset value represents an offset value of the first value in y-direction. The processor is configured to perform an anti-aliasing function using the first value, the second value, the first offset value, and the second offset value.
|