CPC G06T 1/20 (2013.01) [G06T 1/60 (2013.01); G06T 15/005 (2013.01); G06T 15/405 (2013.01)] | 27 Claims |
1. An apparatus for graphics processing, comprising:
a memory; and
at least one processor coupled to the memory and, based at least in part on information stored in the memory, the at least one processor is configured to:
perform a first binning pass associated with visibility information for each of a plurality of primitives in at least one frame, wherein the visibility information for each of the plurality of primitives corresponds to a visible indication or an invisible indication, wherein each of the plurality of primitives with the visible indication corresponds to a visible set of primitives, wherein each of the plurality of primitives with the invisible indication corresponds to an invisible set of primitives, wherein the first binning pass includes a first visibility test that produces the visibility information for each of the plurality of primitives;
update a depth buffer based on the visibility information for all of the plurality of primitives in the at least one frame;
perform a second binning pass for each of the visible set of primitives based on the updated depth buffer, wherein the second binning pass is associated with updated visibility information for each primitive in the visible set of primitives, wherein the updated visibility information for each primitive in the visible set of primitives corresponds to an updated visible indication or an updated invisible indication, wherein the second binning pass includes a second visibility test that produces the updated visibility information for each primitive in the visible set of primitives; and
store at least one of the updated visibility information or updated position data for all primitives in the visible set of primitives from the second binning pass.
|