# US 2020/0402290 A1 · Apparatus and method for implementing bounding volume hierarchy (bvh) operations on tesselation hardware

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0402290 A1
- Document ID: US20200402290A1
- Status: Published application
- Kind: A1
- Application number: 16/803,614
- Filed: 2020-02-27
- Published: 2020-12-24
- Earliest claimed: 2017-04-07
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: CARSTEN BENTHIN; GABOR LIKTOR
- Web page: https://patentgrep.com/patent/US20200402290A1

## CPC

- G06T 15/06: Ray-tracing
- G06T 15/005: {General purpose rendering architectures}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An apparatus and method are described for using tessellation hardware to generate bounding volume hierarchies (BVHs) and perform other ray tracing operations. For example, one embodiment of an apparatus comprises: a shader to output a plurality of tessellation factors and one or more input surfaces; and a tessellation circuit comprising first circuitry and/or logic to tesselate each input surface to generate a new set of primitives and second circuitry and/or logic to concurrently generate a bounding volume hierarchy (BVH) 1521 based on the new set of primitives.

## Claims

### Claim 1

(canceled)

### Claim 2

A graphics processor comprising:
a hull shader;
a tessellation unit to receive surfaces and tessellation factors from the hull shader; and
a bounding volume generator unit to dynamically generate, based on the tessellation factors, two or more child nodes of a bounding volume hierarchy (BVH) each containing at least a portion of a surface, wherein the two or more child nodes are generated concurrently with operation of the tessellation unit.

### Claim 3 (depends on 2)

The graphics processor as in claim 2, wherein the tessellation factors specify how finely the surfaces are to be tessellated.

### Claim 4 (depends on 2)

The graphics processor as in claim 2, wherein the operation of the tessellation unit comprises tessellating the surfaces based on the tessellation factors to generate a new set of primitives.

### Claim 5 (depends on 4)

The graphics processor as in claim 4, wherein the BVH comprises a plurality of nodes representing volumes which enclose the new set of primitives.

### Claim 6 (depends on 5)

The graphics processor as in claim 5, wherein a parent volume associated with a parent node encloses one or more primitives and a child node under the parent node in the BVH encloses a subset of the one or more primitives.

### Claim 7 (depends on 4)

The graphics processor as in claim 4, further comprising:
a domain shader to perform shading operations on the new set of primitives.

### Claim 8 (depends on 2)

The graphics processor as in claim 2, further comprising:
a ray traversal/intersection circuitry to perform intersection tests for one or more of the surfaces using the BVH to determine whether there are intersections between a ray and the one or more surfaces.

### Claim 9

A method comprising:
receiving surfaces and tessellation factors from a hull shader;
tessellating the surfaces based on the tessellation factors; and
dynamically generating two or more child nodes of a bounding volume hierarchy (BVH) based on the tessellation factors, the two or more child nodes each containing at least a portion of a surface and are generated concurrently with the tessellation.

### Claim 10 (depends on 9)

The method as in claim 9, wherein the tessellation factors specify how finely the surfaces are to be tessellated.

### Claim 11 (depends on 9)

The method as in claim 9, further comprising:
generating a new set of primitives from the tessellation.

### Claim 12 (depends on 11)

The method as in claim 11, wherein the BVH comprises a plurality of nodes representing volumes which enclose the new set of primitives.

### Claim 13 (depends on 12)

The method as in claim 12, wherein a parent volume associated with a parent node encloses one or more primitives and a child node under the parent node in the BVH encloses a subset of the one or more primitives.

### Claim 14 (depends on 12)

The method as in claim 12, further comprising:
performing shading operations on the new set of primitives.

### Claim 15 (depends on 9)

The method as in claim 9, further comprising:
performing intersection tests for one or more of the surfaces using the BVH to determine whether there are intersections between a ray and the one or more surfaces.

### Claim 16

A non-transitory machine-readable medium having program code stored thereon which, when executed by a machine, causes the machine to perform operations of:
receiving surfaces and tessellation factors from a hull shader;
tessellating the surfaces based on the tessellation factors; and
dynamically generating two or more child nodes of a bounding volume hierarchy (BVH) based on the tessellation factors, the two or more child nodes each containing at least a portion of a surface and are generated concurrently with the tessellation.

### Claim 17 (depends on 16)

The non-transitory machine-readable medium as in claim 16, wherein the tessellation factors specify how finely the surfaces are to be tessellated.

### Claim 18 (depends on 16)

The non-transitory machine-readable medium as in claim 16, wherein the operations further comprises:
generating a new set of primitives from the tessellation.

### Claim 19 (depends on 18)

The non-transitory machine-readable medium as in claim 18, wherein the BVH comprises a plurality of nodes representing volumes which enclose the new set of primitives.

### Claim 20 (depends on 19)

The non-transitory machine-readable medium as in claim 19, wherein a parent volume associated with a parent node encloses one or more primitives and a child node under the parent node in the BVH encloses a subset of the one or more primitives.

### Claim 21 (depends on 18)

The non-transitory machine-readable medium as in claim 18, wherein the operations further comprise:
performing shading operations on the new set of primitives.

### Claim 22 (depends on 16)

The non-transitory machine-readable medium as in claim 16, wherein the operations further comprise:
performing intersection tests for one or more of the surfaces using the BVH to determine whether there are intersections between a ray and the one or more surfaces.
