# US 2020/0005524 A1 · Graphics Processing Method and System for Processing Sub-Primitives

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

- Number: US 2020/0005524 A1
- Document ID: US20200005524A1
- Status: Published application
- Kind: A1
- Application number: 16/564,187
- Filed: 2019-09-09
- Published: 2020-01-02
- Earliest claimed: 2017-03-14
- Assignees: Imagination Technologies Limited
- Applicants: Imagination Technologies Limited
- Inventors: Xile Yang; John W. Howson
- Web page: https://patentgrep.com/patent/US20200005524A1

## CPC

- G06T 15/30: Clipping
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 1/60: Memory management
- G06T 15/005: {General purpose rendering architectures}
- G06T 15/04: Texture mapping
- G06T 15/40: Hidden part removal
- G06T 15/80: Shading
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A graphics processing system conFig.d to use a rendering space which is subdivided into a plurality of tiles, includes geometry processing logic having geometry transform and sub-primitive logic conFig.d to receive graphics data of input graphics data items, and to determine transformed positions within the rendering space of one or more sub-primitives derived from the input graphics data items using a plurality of shader stages; and a tiling unit conFig.d to generate control stream data including sub-primitive indications to indicate which of the sub-primitives are to be used for rendering each tile. The geometry processing logic is conFig.d to write to a memory, for each instance of a pre-determined shader stage, shader stage output data comprising data output from each instance of the pre-determined shader stage used to process the received graphics data.

## Claims

### Claim 1

In a graphics processing system having geometry processing logic for processing received input graphics data items, the improvement comprising:
configuring the geometry processing logic to write to a memory, for each instance of one or more shader stages, shader stage output data used to process the received input graphics data items, wherein said one or more shader stages do not include a final shader stage used to determine transformed positions in a rendering space of one or more sub-primitives derived from said input graphics data items.

### Claim 2 (depends on 1)

The improvement of claim 1, wherein said one or more shader stages comprise a pre-determined shader stage.

### Claim 3 (depends on 1)

The improvement of claim 1, wherein the rendering space is divided into a plurality of tiles, and the geometry processing logic is further configured to generate priorities for items of shader stage output data of a hierarchy of shader stage output data based on the number of tiles that the items of shader stage output data overlap.

### Claim 4 (depends on 1)

The improvement of claim 1, wherein some of the graphics data items are control points describing a patch to be tessellated to generate a plurality of tessellated primitives, and wherein the shader stages comprise one or more of: (i) vertex shading, (ii) hull shading, (iii) domain shading, (iv) tessellation, (v) geometry shading, and (vi) and clipping.

### Claim 5 (depends on 1)

The improvement of claim 1, wherein the rendering space is divided into a plurality of tiles, and wherein a sub-primitive is used for rendering a tile if the sub-primitive is at least partially in the tile.

### Claim 6 (depends on 1)

The improvement of claim 1, wherein the input graphics data items describe geometry within a 3D scene to be rendered, and wherein the rendering output is a rendered image of the scene.

### Claim 7 (depends on 1)

The improvement of claim 1, wherein the shader stage output data written to memory comprises vertex data output from a first shader stage and additional data from a further shader stage that is subsequent to the first shader stage.

### Claim 8 (depends on 1)

The improvement of claim 1, wherein the rendering space is divided into a plurality of tiles, the graphics processing system further comprising:
rasterisation logic configured to generate a rendering output from shader stage output data, comprising a cache configured to store a hierarchy of shader stage output data with different levels of the hierarchy representing output data from different re-executed stages of the plurality of shader stages for use in generating the rendering outputs for the tiles.

### Claim 9

In a graphics processing system configured to use a rendering space which is subdivided into a plurality of tiles, the graphics processing system having rasterisation logic arranged to generate a rendering output for each of the tiles, the improvement comprising:
configuring the rasterisation logic to have a cache arranged to store a hierarchy of shader stage output data from a plurality of shader stages operating on input graphics data items, with different levels of the hierarchy representing output data from different re-executed stages of the plurality of shader stages for use in generating the rendering outputs for the tiles.

### Claim 10 (depends on 9)

The improvement of claim 9, wherein the cache comprises a plurality of memory pools, wherein different ones of the memory pools are configured to store shader stage output data from different levels of the hierarchy.

### Claim 11 (depends on 9)

The improvement of claim 9, wherein the cache is configured to store shader stage output data for one or more levels of the hierarchy below a level of output data of a pre-determined shader stage, but wherein the cache is configured to not store shader stage output data for any level of the hierarchy above the level of the pre-determined shader stage output data.

### Claim 12 (depends on 9)

The improvement of claim 9, wherein the rasterisation logic is configured to retrieve shader stage output data from the hierarchy stored in the cache in a bottom-up manner.

### Claim 13 (depends on 9)

The improvement of claim 9, wherein the rasterisation logic is configured to have a cache controller arranged to evict items of shader stage output data from the cache based on generated priorities based on the number of tiles that the items of shader stage output data overlap.

### Claim 14 (depends on 9)

The improvement of claim 9, wherein the cache is configured to store sub-primitives derived from input graphics data items and wherein the rasterisation logic further comprises:
a cache controller configured to:
receive control stream data for a tile,
retrieve sub-primitives which are stored in the cache and which are indicated by the control stream data for the tile, and
provide the retrieved sub-primitives to one or more processing units to be rendered.

### Claim 15 (depends on 14)

The improvement of claim 14, wherein the one or more processing units comprise:
a hidden surface removal unit configured to remove primitive fragments which are hidden; and
a texturing/shading unit configured to apply one or both of texturing and shading to primitive fragments.

### Claim 16 (depends on 9)

The improvement of claim 9, wherein the shader stage output data comprises vertex data output from a first shader stage and additional data from a further shader stage that is subsequent to the first shader stage.

### Claim 17

In a graphics processing method for a graphics processing system configured to use a rendering space which is subdivided into a plurality of tiles, the graphics processing method comprising a geometry processing phase operating on received input graphics data items and a rasterisation phase operating on output of the geometry processing phase, the improvement comprising:
in the geometry processing phase, writing to a memory, for each instance of one or more shader stages, shader stage output data used to process the received input graphics data items, wherein said one or more shader stages do not include a final shader stage used to determine transformed positions in a rendering space of one or more sub-primitives derived from said input graphics data items.

### Claim 18 (depends on 17)

The improvement of claim 17, wherein said one or more shader stages comprise a pre-determined shader stage.

### Claim 19 (depends on 17)

The improvement of claim 17, further comprising:
in the rasterisation phase, storing in a cache a hierarchy of shader stage output data from a plurality of shader stages operating on input graphics data items, with different levels of the hierarchy representing output data from different re-executed stages of the plurality of shader stages for use in generating the rendering outputs for the tiles.
