Apparatus and method for efficient graphics processing including ray tracing
Abstract
Apparatus and method for efficient graphics processing including ray tracing. For example, one embodiment of a graphics processor comprises: execution hardware logic to execute graphics commands and render images; an interface to couple functional units of the execution hardware logic to a tiled resource; and a tiled resource manager to manage access by the functional units to the tiled resource, a functional unit of the execution hardware logic to generate a request with a hash identifier (ID) to request access to a portion of the tiled resource, wherein the tiled resource manager is to determine whether a portion of the tiled resource identified by the hash ID exists, and if not, to allocate a new portion of the tiled resource and associate the new portion with the hash ID.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 54 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A graphics processor comprising: circuitry to schedule shaders for execution; and execution hardware logic coupled to the circuitry to execute the shaders using a plurality of fixed sized blocks of memory, a functional unit of the execution hardware logic to request a write access with a hash identifier (ID) that is mapped to a portion of the plurality of fixed sized blocks of memory in executing a first shader, wherein the first shader is to write content to the portion of the plurality of fixed sized blocks of memory, and wherein a second shader is to request a read access with the hash ID to read the content from the portion of the plurality of fixed sized blocks of memory.
- Claim 2Depends on #1
The graphics processor of claim 1, wherein the hash ID is generated based on one or more of a ray tracing instance ID, a geometry ID, and a frame counter.
- Claim 3Depends on #1
The graphics processor of claim 1, wherein the first shader is to lock the portion of the plurality of fixed sized blocks of memory during writing the content to the portion of the plurality of fixed sized blocks of memory.
- Claim 4Depends on #1
The graphics processor of claim 1, wherein responsive to the portion of the plurality of fixed sized blocks of memory identified by the hash ID not existing, a new portion of the plurality of fixed sized blocks of memory is allocated and associated with the hash ID.
- Claim 5Depends on #4
The graphics processor of claim 4, wherein a flag is set for the new portion of the plurality of fixed sized blocks of memory to indicate that the new portion of the plurality of fixed sized blocks of memory is available for allocating.
- Claim 6Depends on #4
The graphics processor of claim 4, wherein upon no new portion of the plurality of fixed sized blocks of memory being found, an existing portion of the plurality of fixed sized blocks of memory is evicted and reallocated as the new portion of the plurality of fixed sized blocks of memory associated with the hash ID.
- Claim 7Depends on #6
The graphics processor of claim 6, wherein evicting the existing portion of the plurality of fixed sized blocks of memory follows a least recently used (LRU) eviction policy and the existing portion of the plurality of fixed sized blocks of memory is used least recently.
- Claim 8Depends on #1
The graphics processor of claim 1, wherein upon a new portion of the plurality of fixed sized blocks of memory being allocated, the execution hardware logic is to execute a user compute shader, the user compute shader to write triangles in the portion of the plurality of fixed sized blocks of memory.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of application Ser. No. 17/133,573, filed Dec. 23, 2020, which claims the benefit of U.S. Provisional Patent Application Ser. No. 63/066,799, filed Aug. 17, 2020, all of which are herein 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 efficient graphics processing including ray tracing implementations. 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). Rasterization is a technique in which, screen objects are created from 3D models of objects created from a mesh of triangles. The vertices of each triangle intersect with the vertices of other triangles of different shapes and sizes. Each vertex has a position in space as well as information about color, texture and its normal, which is used to determine the way the surface of an object is facing. A rasterization unit converts the triangles of the 3D models into pixels in a 2D screen space and each pixel can be assigned an initial color value based on the vertex data. 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 illustrate computing systems and graphics processors provided by embodim
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 (54)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Pantaleoni et al., HLBVH: Hierarchical LBVH Construction for Real Time Ray Tracing of Dynamic Geometry, NVIDIA, High-Performance Graphics, 2010, 49 pages.
- Popov et al.,
- “
- Object Partitioning Considered Harmful: Space Subdivision for BVHs
- ”
- , Proceedings of the 1st ACM conference on High Performance Graphics, 2009, pp. 1-8.
- Rasmusson, Jim,
- “
- Lossy and Lossless Compression Techniques for Graphics Processors
- ”