# US 10,957,094 B2 · Hybrid render with preferred primitive batch binning and sorting

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

- Number: US 10,957,094 B2
- Document ID: US10957094B2
- Status: Granted
- Kind: B2
- Application number: 15/250,357
- Filed: 2016-08-29
- Published: 2016-12-22
- Granted: 2021-03-23
- Earliest claimed: 2013-03-29
- Assignees: Advanced Micro Devices, Inc.; ATI Technologies ULC
- Applicants: Advanced Micro Devices, Inc.; ATI Technologies ULC
- Inventors: Michael Mantor; Laurent Lefebvre; Mikko Alho; Mika Tuomi; Kiia Kallio
- Web page: https://patentgrep.com/patent/US10957094B2

## CPC

- G06T 15/005: {General purpose rendering architectures}
- G06T 15/04: Texture mapping
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A system, method and a computer program product are provided for hybrid rendering with deferred primitive batch binning A primitive batch is generated from a sequence of primitives. Initial bin intercepts are identified for primitives in the primitive batch. A bin for processing is identified. The bin corresponds to a region of a screen space. Pixels of the primitives intercepting the identified bin are processed. Next bin intercepts are identified while the primitives intercepting the identified bin are processed.

## Claims

### Claim 1

A method for rasterizing a display area having a plurality of rows and a plurality of columns, the method comprising:
generating a primitive batch from a sequence of one or more primitives, by accumulating primitives of the sequence into different row groups based on which row of the plurality of rows each such primitive intersects; and
processing each row group in turn, the processing for each row group including:
identifying one or more primitive column intercepts for each of the one or more primitives in the row group, wherein each different combination of primitive column intercept and row identifies a different bin,
for each bin that includes a primitive, setting a display boundary area for rasterization corresponding to the area of the bin, and rasterizing the primitives that intersect the bin using the display boundary.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining a minimum row intercepted by the one or more primitives and a maximum row intercepted by the one or more primitives.

### Claim 3 (depends on 1)

The method of claim 1, further comprising determining whether a batch break condition exists prior to inserting a new primitive in the batch.

### Claim 4 (depends on 3)

The method of claim 3, wherein the batch break condition includes any one of the following: there is not enough space in a memory to store primitives, an event to flush the batch is issued, or there are not enough state contexts.

### Claim 5 (depends on 1)

The method of claim 1, further comprising storing a mask that indicates which of the plurality of columns in each of the plurality of rows contain at least one primitive.

### Claim 6 (depends on 1)

The method of claim 1, wherein processing each row group in turn includes, rasterizing each row group in order, wherein rasterizing each row group comprises, for each row group, rasterizing each bin in column order.

### Claim 7 (depends on 1)

The method of claim 1, wherein each row group includes primitives of the sequence of primitives that intersect the row corresponding to the row group.

### Claim 8

A system for rasterizing a display area having a plurality of rows and a plurality of columns comprising:
a memory configured to store a primitive batch generated from a sequence of one or more primitives by accumulating primitives of the sequence into different row groups based on which row of the plurality of rows each such primitive intersects; and
a processing unit configured to process each row group in turn, the processing for each row group including:
identifying one or more primitive column intercepts for each of the one or more primitives in the row group, wherein each different combination of primitive column intercept and row identifies a different bin,
for each bin that includes a primitive, setting a display boundary area for rasterization corresponding to the area of the bin, and rasterizing the primitives that intersect the bin using the display boundary area.

### Claim 9 (depends on 8)

The system of claim 8 wherein the processing unit is further configured to store a minimum row intercepted by the one or more primitives and a maximum row intercepted by the one or more primitives in the respective row.

### Claim 10 (depends on 8)

The system of claim 8 wherein the processing unit is further configured to store a mask that includes all rows intercepted by all of the one or more primitives.

### Claim 11 (depends on 8)

The system of claim 8, wherein the processing unit is further configured to determine whether a batch break condition exists prior to inserting a new primitive in the batch.

### Claim 12 (depends on 11)

The system of claim 11, wherein the batch break condition includes any one of the following: there is not enough space in a memory to store primitives, an event to flush the batch is issued, or there are not enough state contexts.

### Claim 13 (depends on 8)

The system of claim 8, wherein processing each row group in turn includes, rasterizing each row group in order, wherein rasterizing each row group comprises, for each row group, rasterizing each bin in column order.

### Claim 14 (depends on 8)

The system of claim 8, wherein each row group includes primitives of the sequence of primitives that intersect the row corresponding to the row group.

### Claim 15

A device for rasterizing a display area having a plurality of rows and a plurality of columns comprising:
a primitive pipeline configured to generate a primitive batch from a sequence of one or more primitives;
a memory configured to store a primitive batch generated from the sequence by accumulating primitives of the sequence into different row groups based on which row of the plurality of rows each such primitive intersects;
a processing unit configured to process each row group in turn, the processing for each row group including:
identifying one or more primitive column intercepts for each of the one or more primitives in the row group, wherein each different combination of primitive column intercept and row identifies a different bin, and
for each bin that includes a primitive, setting a display boundary area for rasterization corresponding to the area of the bin, and
a scan converter configured to rasterize the primitives that intersect the bin using the display boundary area.

### Claim 16 (depends on 15)

The device of claim 15 wherein the processing unit is further configured to store a minimum row intercepted by the one or more primitives and a maximum row intercepted by the one or more primitives in the respective row.

### Claim 17 (depends on 15)

The device of claim 15, wherein the processing unit is further configured to store a mask that includes all rows intercepted by all of the one or more primitives.

### Claim 18 (depends on 15)

The device of claim 15, wherein the processing unit is further configured to determine whether a batch break condition exists prior to inserting a new primitive in the batch.

### Claim 19 (depends on 18)

The device of claim 18, wherein the batch break condition includes any one of the following: there is not enough space in a memory to store primitives, an event to flush the batch is issued, or there are not enough state contexts.

### Claim 20 (depends on 15)

The device of claim 15, wherein processing each row group in turn includes, rasterizing each row group in order, wherein rasterizing each row group comprises, for each row group, rasterizing each bin in column order.
