摘要 |
<p>A graphics processing pipeline 1 includes a rasteriser 3 that tests patches representing respective different regions of a render output against the edges of primitives 2 to determine if the primitive at least partially covers the patch and an early depth test stage 4 that performs early depth tests for primitives in respect of patches of the render output that the primitive has been found by the rasteriser at least partially to cover, by using depth test information associated with a patch indicating the number and distribution of different depth value regions associated with the patch to determine the depth value region or regions associated with the patch that the primitive should be depth tested against and then performing a depth test or tests for the primitive in respect of the respective determined depth value region or regions associated with the patch. The patch data may be stored with a function from which depth values to be used for the patch can be determined and information indicating the depth distribution defines an edge between depth regions in the patch. The depth information associated with the patch may be updated dependent on the result of the depth test associated with the current primitive and may have a stencil value associated with it.</p> |