# US 2022/0044469 A1 · Graphics processing

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

- Number: US 2022/0044469 A1
- Document ID: US20220044469A1
- Status: Published application
- Kind: A1
- Application number: 17/511,032
- Filed: 2021-10-26
- Published: 2022-02-10
- Earliest claimed: 2020-03-20
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Andreas Due Engh-Halstvedt; Frank Klaeboe Langtind; Mark Underwood
- Web page: https://patentgrep.com/patent/US20220044469A1

## CPC

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

## Abstract

A method of operating a graphics processor that executes a graphics processing pipeline comprising a vertex shading stage is disclosed. A set of blocks of memory space that may be represented by a linked list is provided and memory space for storing vertex shaded attribute data generated by the vertex shading stage is allocated from one of the blocks of memory space in the set of blocks of memory space. When data stored in a block of memory space is no longer needed by the graphics processing pipeline, the block can be “recycled” for use by the pipeline.

## Claims

### Claim 1

A method of operating a graphics processing pipeline comprising a first processing stage that is operable to perform a graphics processing operation to generate output data, and a second processing stage that is operable to process output data generated by the first processing stage, the method comprising:
the first processing stage performing the graphics processing operation to generate first output data;
storing the first output data in a block of memory space; and
the second processing stage processing the first output data stored in the block of memory space; and after the first output data stored in the block of memory space has been processed by the second processing stage:
adding the block of memory space to a set of blocks of memory space;
the method further comprising:
the first processing stage performing the graphics processing operation to generate second output data;
allocating memory space for storing the second output data from the block of memory space added to the set of blocks of memory space; and
storing the second output data in the allocated memory space.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the first output data is stored in the block of memory space when the block of block of memory space is in the set of blocks of memory space;
the method comprises moving the block of memory space from the set of blocks of memory space to another set of blocks of memory space after the first output data has been stored in the block of memory space; and
adding the block of memory space to the set of blocks of memory space comprises returning the block of memory space to the set of blocks of memory space.

### Claim 3 (depends on 2)

The method of claim 2, wherein moving the block of memory space from the set of blocks of memory space to the another set of blocks of memory space comprises moving the block of memory space from the set of blocks of memory space to the another set of blocks of memory space in response to determining that the block of memory space is filled with the first output data.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
the another set of blocks of memory space is a set of exhausted blocks of memory space;
the method comprises moving the block of memory space from the set of exhausted blocks of memory space to a set of available blocks of memory space after the first output data stored in the block of memory space has been processed by the second processing stage; and
returning the block of memory space to the set of blocks of memory space comprises moving the block of memory space from the set of available blocks of memory space to the set of blocks of memory space.

### Claim 5 (depends on 1)

The method of claim 1, wherein adding the block of memory space to the set of blocks of memory space comprises adding the block of memory space to the set of blocks of memory space in response to determining that the set of blocks of memory space does not have sufficient memory space available to store the second output data.

### Claim 6 (depends on 1)

The method of claim 1, comprising in response to determining that a memory space limit has been reached, suspending processing by the first processing stage until the first output data stored in the block of memory space has been processed by the second processing stage.

### Claim 7 (depends on 1)

The method of claim 1, comprising withdrawing the memory space block from use in response to determining that more memory space than is required has been set aside.

### Claim 8 (depends on 1)

The method of claim 1, wherein the set of blocks of memory space is provided in the form of a linked list of blocks of memory space.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first processing stage is a vertex shading stage that is operable to perform vertex shading operations on vertices to generate vertex shaded attribute data for vertex attributes of the vertices.

### Claim 10 (depends on 9)

The method of claim 9, wherein the second processing stage is a fragment shading stage that is operable to process vertex shaded attribute data generated by the vertex shading stage.

### Claim 11

A graphics processing system comprising:
a graphics processor configured to execute a graphics processing pipeline comprising a first processing stage that is operable to perform a graphics processing operation to generate output data and a second processing stage that is operable to process output data generated by the first processing stage; and
a memory storing circuit configured to store output data generated by the first processing stage in a block of memory space;
wherein the graphics processing system is configured to, after the second processing stage has processed first output data generated by the first processing stage that is stored in a block of memory space, add the block of memory space to a set of blocks of memory space; and
the memory storing circuit is configured to allocate memory space for storing second output data generated by the first processing stage from the block of memory space added to the set of blocks of memory space, and to store the second output data in the allocated memory space.

### Claim 12 (depends on 11)

The system of claim 11, wherein the system is configured to:
store the first output data in the block of memory space when the block of block of memory space is in the set of blocks of memory space;
move the block of memory space from the set of blocks of memory space to another set of blocks of memory space after the first output data has been stored in the block of memory space; and
add the block of memory space to the set of blocks of memory space by returning the block of memory space to the set of blocks of memory space.

### Claim 13 (depends on 12)

The system of claim 12, wherein the system is configured to:
move the block of memory space from the set of blocks of memory space to the another set of blocks of memory space by moving the block of memory space from the set of blocks of memory space to the another set of blocks of memory space in response to determining that the block of memory space is filled with the first output data.

### Claim 14 (depends on 13)

The system of claim 13, wherein the another set of blocks of memory space is a set of exhausted blocks of memory space, and the system is configured to:
move the block of memory space from the set of exhausted blocks of memory space to a set of available blocks of memory space after the first output data stored in the block of memory space has been processed by the second processing stage; and
return the block of memory space to the set of blocks of memory space by moving the block of memory space from the set of available blocks of memory space to the set of blocks of memory space.

### Claim 15 (depends on 11)

The system of claim 11, wherein the system is configured to:
add the block of memory space to the set of blocks of memory space by adding the block of memory space to the set of blocks of memory space in response to determining that the set of blocks of memory space does not have sufficient memory space available to store the second output data.

### Claim 16 (depends on 11)

The system of claim 11, wherein the system is configured to:
in response to determining that a memory space limit has been reached, suspend processing by the first processing stage until the first output data stored in the block of memory space has been processed by the second processing stage.

### Claim 17 (depends on 11)

The system of claim 11, wherein the system is configured to:
withdraw the memory space block from use in response to determining that more memory space than is required has been set aside.

### Claim 18 (depends on 11)

The system of claim 11, wherein the set of blocks of memory space is provided in the form of a linked list of blocks of memory space.

### Claim 19 (depends on 11)

The system of claim 11, wherein the first processing stage is a vertex shading stage that is operable to perform vertex shading operations on vertices to generate vertex shaded attribute data for vertex attributes of the vertices; and the second processing stage is a fragment shading stage that is operable to process vertex shaded attribute data generated by the vertex shading stage.

### Claim 20

A non-transitory computer readable storage medium storing software code which when executing on a processor performs a method of operating a graphics processing pipeline comprising a first processing stage that is operable to perform a graphics processing operation to generate output data, and a second processing stage that is operable to process output data generated by the first processing stage, the method comprising:
the first processing stage performing the graphics processing operation to generate first output data;
storing the first output data in a block of memory space; and
the second processing stage processing the first output data stored in the block of memory space; and after the first output data stored in the block of memory space has been processed by the second processing stage:
adding the block of memory space to a set of blocks of memory space;
the method further comprising:
the first processing stage performing the graphics processing operation to generate second output data;
allocating memory space for storing the second output data from the block of memory space added to the set of blocks of memory space; and
storing the second output data in the allocated memory space.
