# US 2017/0256024 A1 · Cache architecture for efficiently accessing texture data using buffers

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

- Number: US 2017/0256024 A1
- Document ID: US20170256024A1
- Status: Published application
- Kind: A1
- Application number: 15/420,459
- Filed: 2017-01-31
- Published: 2017-09-07
- Earliest claimed: 2016-03-04
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Santosh ABRAHAM; Karthik RAMANI; Woong SEO; Kwontaek KWON; Jeongae PARK
- Web page: https://patentgrep.com/patent/US20170256024A1

## CPC

- G06T 1/60: Memory management
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06T 15/005: {General purpose rendering architectures}
- G06T 15/04: Texture mapping
- H04N 19/426: using memory downsizing methods
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- G06F 2212/401: Compressed data
- G06F 2212/455: Image or video data
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A texture cache architecture facilitates access of compressed texture data in non-power of two formats, such as the Adaptive Scalable Texture Compression (ASTC) codec. In one implementation, the texture cache architecture includes a controller, a first buffer, a second buffer, and a texture decompressor. A first buffer stores one or more blocks of compressed texel data fetched, in response to a first request, from a first texture cache, where the one or more blocks of compressed texel data including at least requested texel data. The second buffer stores decompressed one or more blocks of compressed texel data and provides the decompressed requested texel data as output to a second texture cache. The one or more blocks of compressed texel data stored by the first buffer includes second texel data in addition to the requested texel data.

## Claims

### Claim 1

A graphics processing unit comprising:
a controller configured to receive a first request for texel data for a first group of pixels;
a first buffer to store one or more blocks of compressed texel data fetched, in response to the first request, from a first texture cache, the one or more blocks of compressed texel data including at least the requested texel data;
a texture decompressor to decompress the one or more blocks of compressed texel data stored in the first buffer; and
a second buffer to store the decompressed one or more blocks of compressed texel data and to provide the decompressed requested texel data as output to a second texture cache;
wherein the one or more blocks of compressed texel data stored by the first buffer includes second texel data in addition to the requested texel data.

### Claim 2 (depends on 1)

The graphics processing unit of claim 1, wherein the first buffer is a first FIFO buffer and the second buffer is a second FIFO buffer.

### Claim 3 (depends on 1)

The graphics processing unit of claim 1, wherein:
the one or more blocks of compressed texel data stored by the first buffer includes second texel data in addition to the requested texel data.

### Claim 4 (depends on 1)

The graphics processing unit of claim 1, wherein the controller is configured to receive a second request for texel data for a second group of pixels, at least a portion of the one or more blocks of the first request corresponding to at least a portion of the second group of pixels; and the first buffer is configured to provide to the texture decompressor, in response to the second request, the portion of the one or more blocks without a second fetch from the first cache.

### Claim 5 (depends on 1)

The graphics processing unit of claim 1, wherein the controller is configured to receive a second request for texel data for a second group of pixels, at least one texel of the second request corresponding to decompressed texel data stored in the second buffer from processing the first request; and the first buffer is configured to provide to the second texture cache, in response to the second request, the at least one texel of the second request without a second decompression from the first buffer.

### Claim 6 (depends on 1)

The graphics processing unit of claim 1, wherein the first texture cache is configured to store non-power-of-two block sizes.

### Claim 7 (depends on 6)

The graphics processing unit of claim 6, wherein the second texture cache is configured to store power-of-two block sizes.

### Claim 8 (depends on 7)

The graphics processing unit of claim 7, further comprising a coalescer unit to coalesce decompressed texture data prior to storage in the second texture cache.

### Claim 9 (depends on 6)

The graphics processing unit of claim 6, wherein the first texture cache stores blocks sizes in accordance with the Adaptive Scalable Texture Compression (ASTC) codec.

### Claim 10 (depends on 1)

The graphics processing unit of claim 1, further comprising at least one controller to control a first read pointer of the first buffer to select individual entries within the first buffer and a second read pointer of the second buffer to select individual entries within the second buffer.

### Claim 11

A method of operating a graphics processing unit comprising:
receiving a first request for texel data for a first group of pixels;
fetching requested compressed texel data from a first texture cache;
buffering the fetched compressed texel data in a first buffer;
providing an output of the first buffer to a texture decompressor and decompressing one or more blocks of the compressed texel data;
buffering the decompressed texel data in a second buffer; and
providing an output of the second buffer to a second texture cache;
wherein the one or more blocks of compressed texel data stored by the first buffer includes second texel data in addition to the requested texel data.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first buffer is a first FIFO buffer and the second buffer is a second FIFO buffer.

### Claim 13 (depends on 11)

The method of claim 11, wherein:
the one or more blocks of compressed texel data stored by the first buffer includes second texel data in addition to the requested texel data.

### Claim 14 (depends on 11)

The method of claim 11, wherein a read pointer to the first buffer is selected to reuse texel data in the first buffer to service more than one request for texel data.

### Claim 15 (depends on 11)

The method of claim 11, wherein a read pointer to the second buffer is selected to reuse texel data in the second buffer to service more than one request for texel data.

### Claim 16 (depends on 11)

The method of claim 11, further comprising reusing texel data in the first buffer, fetched for the first request, to at least in part service a second request for texel data for a second group of pixels without a second fetch from the first texture cache.

### Claim 17 (depends on 11)

The method of claim 11, wherein the first texture cache is configured to store non-power-of-two block sizes.

### Claim 18 (depends on 17)

The method of claim 17, wherein the second cache is configured to store power-of-two block sizes.

### Claim 19 (depends on 18)

The method of claim 18, further comprising coalescing decompressed texture data, received from the second buffer, prior to storage in the second cache.

### Claim 20 (depends on 19)

The method of claim 19, wherein texel data from a plurality of non-power of two blocks are coalesced.
