# US 2021/0241412 A1 · System and method for efficient multi-gpu rendering of geometry by pretesting against interleaved screen regions before rendering

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

- Number: US 2021/0241412 A1
- Document ID: US20210241412A1
- Status: Published application
- Kind: A1
- Application number: 16/780,680
- Filed: 2020-02-03
- Published: 2021-08-05
- Earliest claimed: 2020-02-03
- Assignees: Sony Interactive Entertainment Inc.
- Applicants: Sony Interactive Entertainment Inc.
- Inventors: Mark E. Cerny; Florian Strauss; Tobias Berghoff
- Web page: https://patentgrep.com/patent/US20210241412A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 15/005: {General purpose rendering architectures}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for graphics processing. The method including rendering graphics for an application using a plurality of graphics processing units (GPUs). The method including dividing responsibility for the rendering of geometry of the graphics between the plurality of GPUs based on a plurality of screen regions that are interleaved, each GPU having a corresponding division of the responsibility which is known to the plurality of GPUs. The method including assigning a GPU a piece of geometry of an image frame generated by an application for geometry pretesting. The method including performing geometry pretesting at the GPU to generate information regarding the piece of geometry and its relation to each of the plurality of screen regions. The method including using the information at each of the plurality of GPUs when rendering the image frame.

## Claims

### Claim 1

A method for graphics processing, comprising:
rendering graphics for an application using a plurality of graphics processing units (GPUs);
dividing responsibility for the rendering of geometry of the graphics between the plurality of GPUs based on a plurality of screen regions, each GPU having a corresponding division of the responsibility which is known to the plurality of GPUs, wherein screen regions in the plurality of screen regions are interleaved;
assigning a GPU a piece of geometry of an image frame generated by an application for geometry pretesting;
performing the geometry pretesting at the GPU to generate information regarding the piece of geometry and its relation to each of the plurality of screen regions; and
using the information at each of the plurality of GPUs when rendering the image frame.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
skipping rendering of the piece of geometry at a rendering GPU when the information indicates that the piece of geometry does not overlap any screen region assigned to the rendering GPU for object rendering, wherein the rendering GPU is one of the plurality of GPUs.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
providing the information as a hint to a rendering GPU, wherein the rendering GPU is one of the plurality of GPUs,
wherein the information is considered by the rendering GPU if received before rendering of the piece of geometry begins at the rendering GPU,
wherein the piece of geometry is fully rendered at the rendering GPU when the information is received after rendering of the first piece of geometry begins.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
assigning a plurality of pieces of geometry of the image frame to the plurality of GPUs for geometry pretesting,
wherein pieces of geometry in the plurality of pieces of geometry are assigned evenly or unevenly throughout the plurality of GPUs.

### Claim 5 (depends on 4)

The method of claim 4, wherein the plurality of pieces of geometry is assigned such that successive pieces of geometry are processed by different GPUs.

### Claim 6 (depends on 5)

The method of claim 5, wherein a first GPU performs geometry pretesting on more pieces of geometry than a second GPU, or the first GPU performs geometry pretesting while the second GPU performs no geometry pretesting at all.

### Claim 7 (depends on 1)

The method of claim 1, wherein the plurality of screen regions is configured to reduce imbalance of rendering time between the plurality of GPUs.

### Claim 8 (depends on 1)

The method of claim 1, wherein each of the plurality of screen regions is not uniform in size.

### Claim 9 (depends on 1)

The method of claim 1, wherein the plurality of screen regions change dynamically.

### Claim 10 (depends on 1)

The method of claim 1, wherein the piece of geometry corresponds to a geometry used by or generated by a draw call.

### Claim 11 (depends on 1)

The method of claim 1,
wherein geometry used by or generated by a draw call of the application is subdivided into a plurality of pieces of geometry, including the piece of geometry, for which the GPU generates information.

### Claim 12 (depends on 1)

The method of claim 1, wherein the piece of geometry is an individual primitive.

### Claim 13 (depends on 1)

The method of claim 1, wherein the information regarding the piece of geometry includes a vertex count or a primitive count.

### Claim 14 (depends on 1)

The method of claim 1, wherein the information regarding the piece of geometry includes a specific set of primitives for rendering or a specific set of vertices for rendering.

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
using a common rendering command buffer for the plurality of GPUs; and
limiting execution of a command in the common rendering command buffer to one or more of the plurality of GPUs.

### Claim 16 (depends on 1)

The method of claim 1,
wherein the information may be generated, or not generated, depending on the properties of the piece of geometry.

### Claim 17 (depends on 1)

The method of claim 1, further comprising:
generating the information using a scan converter in a rasterization stage.

### Claim 18 (depends on 1)

The method of claim 1, further comprising:
generating the information using one or more shaders in a geometry processing stage.

### Claim 19 (depends on 18)

The method of claim 18, wherein the one or more shaders use one or more dedicated instructions to accelerate the generation of the information.

### Claim 20 (depends on 18)

The method of claim 18, wherein the one or more shaders do not perform allocations to a position cache or a parameter cache.

### Claim 21 (depends on 1)

The method of claim 1, further comprising:
dividing a plurality of pieces of geometry between the plurality of GPUs for geometry pretesting,
wherein successive pieces of geometry are processed by different GPUs.

### Claim 22 (depends on 21)

The method of claim 21, further comprising:
dynamically adjusting the division of the plurality of pieces of geometry based on performance of each the plurality of GPUs during geometry pretesting.

### Claim 23 (depends on 1)

The method of claim 1,
wherein one or more of the plurality of GPUs are portions of a larger GPU that is configured as a plurality of virtual GPUs.

### Claim 24

A computer system comprising:
a processor;
memory coupled to the processor and having stored therein instructions that, if executed by the computer system, cause the computer system to execute a method for implementing a graphics pipeline, comprising:
rendering graphics for an application using a plurality of graphics processing units (GPUs);
dividing responsibility for the rendering of geometry of the graphics between the plurality of GPUs based on a plurality of screen regions, each GPU having a corresponding division of the responsibility which is known to the plurality of GPUs, wherein screen regions in the plurality of screen regions are interleaved;
assigning a GPU a piece of geometry of an image frame generated by an application for geometry pretesting;
performing the geometry pretesting at the GPU to generate information regarding the piece of geometry and its relation to each of the plurality of screen regions; and
using the information at each of the plurality of GPUs when rendering the image frame.

### Claim 25 (depends on 24)

The computer system of claim 24, the computer system further comprising:
skipping rendering of the piece of geometry at a rendering GPU when the information indicates that the piece of geometry does not overlap any screen region assigned to the rendering GPU for object rendering, wherein the rendering GPU is one of the plurality of GPUs.

### Claim 26 (depends on 24)

The computer system of claim 24, the method further comprising:
providing the information as a hint to a rendering GPU, wherein the rendering GPU is one of the plurality of GPUs,
wherein the information is considered by the rendering GPU if received before rendering of the piece of geometry begins at the rendering GPU,
wherein the piece of geometry is fully rendered at the rendering GPU when the information is received after rendering of the first piece of geometry begins.
