hottub.patents
US 12,579,727 B2#3291714 Most CitedActiveUnited States (USPTO)Utility

Apparatus and method for asynchronous ray tracing

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

Abstract

Apparatus and method for asynchronous ray tracing. For example, one embodiment of a processor comprises: a bounding volume hierarchy (BVH) generator to construct a BVH comprising a plurality of hierarchically arranged nodes including a root node, a plurality of internal nodes, and a plurality of leaf nodes comprising primitives, wherein each internal node comprises a child node to either the root node or another internal node and each leaf node comprises a child node to an internal node; a first storage bank to be arranged as a first plurality of entries; a second storage bank to be arranged as a second plurality of entries, wherein each entry of the first plurality of entries and the second plurality of entries is to store a ray to be traversed through the BVH; an allocator circuit to distribute an incoming ray to either the first storage bank or the second storage bank based on a relative numbers of rays currently stored in the first and second storage banks; and traversal circuitry to alternate between selecting a next ray from the first storage bank and the second storage bank, the traversal circuitry to traverse the next ray through the BVH by reading a next BVH node from a top of a BVH node stack and determining whether the next ray intersects the next BVH node.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    An apparatus comprising: a storage bank to store entries of a stack, the entries corresponding to one or more nodes of a bounding volume hierarchy (BVH); traversal circuitry to perform ray traversal and/or intersection operations on one or more rays using the entries of the stack; and wherein performing the ray traversal and/or intersection operations comprises processing the entries of the stack, and wherein processing a first stack entry of the stack comprises: reading the first stack entry for a node from the stack and updating one or more control bits for the first stack entry; and upon determining that a ray intersects the node, removing the first stack entry from the stack and inserting a set of stack entries into the stack, the set of stack entries corresponding to one or more child nodes of the node in an immediate next level of the node in the BVH and being sorted based on intersection distances of the one or more child nodes to the ray.

  2. Claim 2Depends on #1

    The apparatus of claim 1, wherein updating the one or more control bits for the first stack entry causes the first stack entry to be evicted from the stack.

  3. Claim 3Depends on #1

    The apparatus of claim 1, wherein inserting the set of stack entries causes removing, from the stack to a memory, stack entries for nodes at a higher level of the BVH.

  4. Claim 4Depends on #3

    The apparatus of claim 3, wherein the set of stack entries are loaded to the stack when the nodes at the higher level of the BVH are to be processed by the traversal circuitry.

  5. Claim 5Depends on #1

    The apparatus of claim 1, wherein removing a last stack entry of the set of stack entries causes retrieval of a root node of a second BVH.

  6. Claim 6Depends on #1

    The apparatus of claim 1, wherein the first stack entry indicates whether the node is an internal node or leaf node of the BVH.

  7. Claim 7Depends on #1

    The apparatus of claim 1, wherein the stack is a first-in and first out stack.

  8. Claim 8Depends on #1

    The apparatus of claim 1, wherein a tracking data structure is to track nodes that are currently traversed at each level of the BVH.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of application Ser. No. 17/392,810, filed Aug. 3, 2021, which is a continuation of application Ser. No. 16/819,121, filed Mar. 15, 2020 (now U.S. Pat. No. 11,087,522 issued Aug. 10, 2021), which are hereby incorporated by reference. TECHNICAL FIELD This invention relates generally to the field of graphics processors. More particularly, the invention relates to an apparatus and method for asynchronous ray tracing. BACKGROUND ART Ray tracing is a technique in which a light transport is simulated through physically-based rendering. Widely used in cinematic rendering, it was considered too resource-intensive for real-time performance until just a few years ago. One of the key operations in ray tracing is processing a visibility query for ray-scene intersections known as “ ray traversal ” which computes ray-scene intersections by traversing and intersecting nodes in a bounding volume hierarchy (BVH). BRIEF DESCRIPTION OF THE DRAWINGS A better understanding of the present invention can be obtained from the following detailed description in conjunction with the following drawings, in which: FIG. 1 is a block diagram of an embodiment of a computer system with a processor having one or more processor cores and graphics processors; FIGS. 2 A-D are a block diagrams of one embodiment of a processor having one or more processor cores, an integrated memory controller, and an integrated graphics processor; FIGS. 3 A-C are a block diagrams of one embodiment of a graphics processor which may be a discreet graphics processing unit, or may be graphics processor integrated with a plurality of processing cores; FIG. 4 is a block diagram of an embodiment of a graphics-processing engine for a graphics processor; FIGS. 5 A-B are a block diagrams of another embodiment of a graphics processor; FIG. 6 illustrates examples of execution circuitry and logic; FIG. 7 illustrates a graphics processor execution unit instructi

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 (9)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Final Office Action, U.S. Appl. No. 17/392,810, Feb. 8, 2023, 23 pages.
  • Laine, Samuli,
  • “
  • Restart Trail for Stackless BVH Traversal
  • ”
  • , High Performance Graphics, 2010, 5 pages.
  • Non-Final Office Action, U.S. Appl. No. 16/819,121, Dec. 30, 2020, 6 pages.
  • Non-Final Office Action, U.S. Appl. No. 17/392,810, Jul. 3, 2023, 24 pages.
  • Notice of Allowance, U.S. Appl. No. 16/819,121, Apr. 8, 2021, 9 pages.
  • Notice of Allowance, U.S. Appl. No. 16/819,121, Apr. 22, 2021, 7 pages.