# US 2013/0155103 A1 · Intermediate value storage within a graphics processing apparatus

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

- Number: US 2013/0155103 A1
- Document ID: US20130155103A1
- Status: Published application
- Kind: A1
- Application number: 13/658,997
- Filed: 2012-10-24
- Published: 2013-06-20
- Earliest claimed: 2011-12-20
- Assignees: Arm Limited
- Inventors: Sandeep KAKARLAPUDI; Jorn NYSTAD
- Web page: https://patentgrep.com/patent/US20130155103A1

## CPC

- G09G 5/377: for mixing or overlaying two or more graphic patterns (G09G5/02, G09G5/397 take precedence)
- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06T 15/005: {General purpose rendering architectures}
- G09G 5/363: {Graphics controllers}
- G09G 2360/06: Use of more than one graphics processor to process data before displaying to one or more screens
- G09G 2360/122: Tiling
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A tile-based graphics processor includes tile processing circuitry that has both a tile buffer and a per-pixel general purpose data store. The per-pixel general purpose data store is read accessible and write accessible by the tile processing circuitry to store intermediate values. These intermediate values are generated by the tile processing circuitry and then consumed by the tile processing circuitry to generate the output values for the tile being processed.

## Claims

### Claim 1

Apparatus for generating graphics values forming a frame of graphics data from a plurality of graphics primitives, said apparatus comprising:
dividing circuitry configured to divide said frame into a plurality of tiles, each of said plurality of tiles comprising an array of adjacent pixel locations;
binning circuitry configured to identify as overlapping graphics primitives for a given tile of said plurality of tiles those graphics primitives upon which output values depend for pixel locations to be generated for said given tile; and
tile processing circuitry configured to execute for some or all overlapping graphics primitive for said given tile a sequence of programmable instructions for some or every pixel location overlapped by a given graphics primitive, said tile processing circuitry including a tile buffer and a per-pixel general purpose data store; wherein
said tile processing circuitry is configured to execute said programmable instructions at pixel locations overlapped by primitives to perform write accesses and read accesses to said per-pixel general purpose data store for storing intermediate values during rendering said given tile to generate output values.

### Claim 2 (depends on 1)

Apparatus as claimed in claim 1, wherein said tile processing circuitry is configured to discard said intermediate values stored within said per-pixel general purpose data store after use in generating said output values.

### Claim 3 (depends on 1)

Apparatus as claimed in claim 1, wherein said per-pixel general purpose data store is one of:
a unused portion of said tile buffer; and
a portion of said main memory stored within a cache memory.

### Claim 4 (depends on 1)

Apparatus as claimed in claim 1, wherein said per-pixel general purpose data store is configured to individually store a plurality of intermediate values for each pixel location of said given tile.

### Claim 5 (depends on 4)

Apparatus as claimed in claim 4, wherein said per-pixel general purpose data store is configured to store said plurality of intermediate values for different pixels within storage locations of said per-pixel general purpose data store in an interleaved arrangement.

### Claim 6 (depends on 1)

Apparatus as claimed in claim 1, wherein said tile processing circuitry is part of a graphics processing unit.

### Claim 7 (depends on 1)

Apparatus as claimed in claim 1, wherein said per-pixel general purpose data store is configured to store said intermediate values as a memory stack.

### Claim 8 (depends on 1)

Apparatus as claimed in claim 1, wherein said tile processing circuitry is configured to return a default value if a read is performed to a location within said per-pixel general purpose data store that has not previously been written for said given tile.

### Claim 9 (depends on 8)

Apparatus as claimed in claim 8, wherein said default value is a clear colour value.

### Claim 10 (depends on 1)

Apparatus as claimed in claim 1, wherein said tile processing circuitry is configured to perform accesses to said per-pixel general purpose data store in draw call order.

### Claim 11 (depends on 1)

Apparatus as claimed in claim 1, wherein capacity within said tile buffer is released to serve as per-pixel general purpose data store by reducing the tile size in number of pixels of each of said plurality of tiles.

### Claim 12 (depends on 1)

Apparatus as claimed in claim 1, wherein a plurality of sets of output data are produced for each pixel, at least some of said sets of output data being stored in said per-pixel general purpose data store, said per-pixel general purpose data store corresponding to memory address space within a main memory.

### Claim 13 (depends on 1)

Apparatus as claimed in claim 1, wherein said tile processing circuitry is configured to respond to said programmable instructions to perform an append access to said per-pixel general purpose data store using a per-pixel counter stored in the per-pixel general purpose buffer store.

### Claim 14 (depends on 1)

Apparatus as claimed in claim 1, wherein said per-pixel general purpose data store is configured to store a plurality of sets of intermediate values from each sample location within each pixel location.

### Claim 15 (depends on 1)

Apparatus as claimed in claim 1, wherein said per-pixel general purpose data store has one of:
a static size fixed upon allocation of said per-pixel general purpose data store; and
a variable size that is increased as needed up to a maximum size limit.

### Claim 16 (depends on 1)

Apparatus as claimed in claim 1, wherein storage of a data value to said main memory consumes more energy than storage of said data value to said per-pixel general purpose data store.

### Claim 17 (depends on 1)

Apparatus as claimed in claim 1, wherein said write accesses to said per-pixel general purpose data store are permitted only if a primitive being processed passes one or more fragment tests at that pixel location.

### Claim 18

A method of generating graphics values forming a frame of graphics data from a plurality of graphics primitives, said method comprising the steps of:
dividing said frame into a plurality of tiles, each of said plurality of tiles comprising an array of adjacent pixel locations;
binning said graphics primitives to identify as overlapping graphics primitives for a given tile of said plurality of tiles those graphics primitives upon which output values depend for pixel locations to be generated for said given tile; and
for each tile of said plurality of tiles respectively serving as said given selected tile:
(i) providing for use during rendering said given tile a tile buffer for storing said output values and a per-pixel general purpose data store;
(ii) performing processing operations by executing for some or all overlapping graphics primitive for said given tile a sequence of programmable instructions for some or every pixel location overlapped by a given graphics primitive, said processing operations including under programmable instruction control writing a plurality of intermediate values to said per-pixel general purpose data store for said given tile, reading said plurality of intermediate values from said per-pixel general purpose data store and using said intermediate values to generate output values.

### Claim 19 (depends on 18)

A method as claimed in claim 18, wherein said intermediate values stored within said per-pixel general purpose data store are discarded after use in generating said output values.

### Claim 20 (depends on 18)

A method as claimed in claim 18, wherein said per-pixel general purpose data store is one of:
a unused portion of said tile buffer; and
a portion of said main memory stored within a cache memory.

### Claim 21 (depends on 18)

A method as claimed in claim 18, wherein said per-pixel general purpose data store individually stores a plurality of intermediate values for each pixel location of said given tile.

### Claim 22 (depends on 21)

A method as claimed in claim 21, wherein said plurality of intermediate values for different pixels are stored within storage locations of said per-pixel general purpose data store in an interleaved arrangement.

### Claim 23 (depends on 18)

A method as claimed in claim 18, wherein said processing operations are performed by a graphics processing unit.

### Claim 24 (depends on 18)

A method as claimed in claim 18, wherein said intermediate values are stored as a memory stack within said per-pixel general purpose data store.

### Claim 25 (depends on 18)

A method as claimed in claim 18, wherein if a read is performed to a location within said per-pixel general purpose data store that has not previously been written for said given tile, then a default value is returned.

### Claim 26 (depends on 25)

A method as claimed in claim 25, wherein said default value is a clear colour value.

### Claim 27 (depends on 18)

A method as claimed in claim 18, wherein accesses to said per-pixel general purpose data store are performed in draw call order.

### Claim 28 (depends on 18)

A method as claimed in claim 18, wherein capacity within said tile buffer is released to serve as per-pixel general purpose data store by reducing the tile size in number of pixels of each of said plurality of tiles.

### Claim 29 (depends on 18)

A method as claimed in claim 18, wherein a plurality of sets of output data are produced for each pixel, at least some of said sets of output data being stored in said per-pixel general purpose data store, said per-pixel general purpose data store corresponding to memory address space within a main memory.

### Claim 30 (depends on 18)

A method as claimed in claim 18, comprising performing an append access to said per-pixel general purpose data store using a per-pixel counter stored in the per-pixel general purpose buffer store.

### Claim 31 (depends on 18)

A method as claimed in claim 18, comprising storing within said per-pixel general purpose data store a plurality of sets of intermediate values for each sample location within each pixel location.

### Claim 32 (depends on 18)

A method as claimed in claim 18, wherein said per-pixel general purpose data store has one of:
a static size fixed upon allocation of said per-pixel general purpose data store; and
a variable size that is increased as needed up to a maximum size limit.

### Claim 33 (depends on 18)

A method as claimed in claim 18, wherein storage of a data value to said main memory consumes more energy than storage of said data value to said per-pixel general purpose data store.

### Claim 34 (depends on 18)

A method as claimed in claim 18, wherein step of writing is permitted only if a primitive being processed passes one or more fragment tests at that pixel location.

### Claim 35

Apparatus for generating graphics values forming a frame of graphics data from a plurality of graphics primitives, said apparatus comprising:
dividing means for dividing said frame into a plurality of tiles, each of said plurality of tiles comprising an array of adjacent pixel locations;
binning means for identifying as overlapping graphics primitives for a given tile of said plurality of tiles those graphics primitives upon which output values depend for pixel locations to be generated for said given tile; and
tile processing means for separately processing each tile of said plurality of tiles as a selected tile, said tile processing means including tile buffer means for storing output values and per-pixel general purpose data storage means for storing intermediate values; wherein
said tile processing means has write access and read access to said per-pixel general purpose data storage means for storing said intermediate values during rendering said selected tile to generate said output values for storing in said tile buffer means; and
said tile processing means stores said output values for said subject tile from said tile buffer to a main memory to form part of said frame.
