hottub.patents
US 12,469,211 B2#3396704 Most CitedActiveUnited States (USPTO)Utility

Processing primitives which have unresolved fragments in a graphics processing system

0Forward Citations (#3396704 Global)
0.0/yrCitation Velocity (#3396704 Global)
0.00Citation PageRank (#3396704 Global)
33Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A graphics processing system performs hidden surface removal and texturing/shading on fragments of primitives. The system includes a primary depth buffer (PDB) for storing depth values of resolved fragments, and a secondary depth buffer (SDB) for storing depth values of unresolved fragments. Incoming fragments are depth tested against depth values from either the PDB or the SDB. When a fragment passes a depth test, its depth value is stored in the PDB if it is a resolved fragment (e.g. if it is opaque or translucent), and its depth value is stored in the SDB if it is an unresolved fragment (e.g. if it is a punch through fragment). This provides more opportunities for subsequent opaque objects to overwrite punch through fragments which passed a depth test, thereby reducing unnecessary processing and time which may be spent on fragments which ultimately will not contribute to the final rendered image.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 33 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A method of processing a fragment in a rendering system, comprising: in response to the fragment passing a depth test, determining whether to store a depth value of the fragment in a first depth buffer or in a second depth buffer based on whether the fragment is resolved or unresolved; performing depth tests for fragments using depth values from at least one of the depth buffers; and maintaining a set of indicators which indicate, for each of a plurality of sample positions, which of the depth buffers to use for the depth tests.

  2. Claim 2Depends on #1

    The method of claim 1, further comprising using the depth values stored in the first and second depth buffers for rendering a scene.

  3. Claim 3Depends on #1

    The method of claim 1, further comprising storing the depth value of the fragment in the first depth buffer or in the second depth buffer in accordance with said determination, wherein: if the fragment is resolved, the depth value of the fragment is stored in the first depth buffer; and if the fragment is unresolved, the depth value of the fragment is stored in the second depth buffer.

  4. Claim 4Independent Claim

    A rendering system comprising at least one processor configured to: in response to a fragment passing a depth test, determine whether to store a depth value of the fragment in a first depth buffer or in a second depth buffer based on whether the fragment is resolved or unresolved; and use depth testing logic to perform depth tests for fragments using depth values from at least one of the depth buffers; wherein the depth testing logic is configured to maintain a set of indicators which indicate, for each of a plurality of sample positions, which of the depth buffers to use for the depth tests.

  5. Claim 5Depends on #4

    The rendering system of claim 4, wherein the rendering system comprises the first depth buffer and the second depth buffer.

  6. Claim 6Depends on #4

    The rendering system of claim 4, wherein the rendering system is further configured to store the depth value of the fragment in the first depth buffer or in the second depth buffer in accordance with said determination.

  7. Claim 7Independent Claim

    The rendering system of claim, 4 wherein the fragments are fragments of primitives of a scene to be rendered, and wherein the rendering system is further configured to render the scene in accordance with values stored in said first and second depth buffers.

  8. Claim 8Depends on #4

    The rendering system of claim 4, wherein the rendering system is configured to: store the depth value of the fragment in the first depth buffer if the fragment is resolved; and store the depth value of the fragment in the second depth buffer if the fragment is unresolved.

Technical Overview & Description

BACKGROUND Graphics processing systems are used to process graphics data in order to render images. As part of the processing performed by a graphics processing system, primitives of objects in a three-dimensional scene are processed to determine which of the primitives are visible at each sample position of a rendering space of the graphics processing system, and to determine the appearance of the visible primitives at the sample positions. In some examples, a single sample position may correspond to a pixel position of the final rendered image, but in other examples, more than one (e.g. four) sample positions may correspond to each pixel position. Two stages of a typical graphics processing system are: (i) hidden surface removal (HSR), in which surfaces which are hidden by other surfaces in a scene are removed, and (ii) texturing and/or shading in which a surface of an object is given a suitable appearance. In a deferred rendering graphics processing system the hidden surface removal stage is implemented before the texturing/shading stage. An example of part of a deferred rendering graphics processing system 100 is shown in FIG. 1 . The system 100 comprises a graphics processing unit (GPU) 102 comprising a HSR module 104 , and a fragment processing module 106 for performing texturing and/or shading on fragments of primitives. As a matter of terminology, a “ fragment ” is an element of a primitive at a sample position. The system 100 also comprises a memory 108 which is arranged to provide primitives to the GPU 102 and to receive processed pixels from the GPU 102 . The HSR module 104 comprises depth testing logic 110 , a depth buffer 112 and a tag buffer 114 . In the deferred rendering system 100 , the HSR module 104 is arranged to receive the primitives from the memory

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (33)

PatentTitleYearCitations

Non-Patent Literature (5)

  • Imagination Technologies Ltd:
  • “
  • PowerVR Series 5 SGX Architecture Guide for Developers
  • ”
  • Nov. 1, 2011 (Nov. 1, 2011), pp. 1-27.