# US 2021/0343066 A1 · Residency map descriptors

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

- Number: US 2021/0343066 A1
- Document ID: US20210343066A1
- Status: Published application
- Kind: A1
- Application number: 17/230,140
- Filed: 2021-04-14
- Published: 2021-11-04
- Earliest claimed: 2019-01-31
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Maxim V. KAZAKOV; Mark FOWLER
- Web page: https://patentgrep.com/patent/US20210343066A1

## CPC

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

## Abstract

A processor receives a request to access one or more levels of a partially resident texture (PRT) resource. The levels represent a texture at different levels of detail (LOD) and the request includes normalized coordinates indicating a location in the texture. The processor accesses a texture descriptor that includes dimensions of a first level of the levels and one or more offsets between a reference level and one or more second levels that are associated with one or more residency maps that indicate texels that are resident in the PRT resource. The processor translates the normalized coordinates to texel coordinates in the one or more residency maps based on the offset and accesses, in response to the request, the one or more residency maps based on the texel coordinates to determine whether texture data indicated by the normalized coordinates is resident in the PRT resource.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method comprising:
translating normalized coordinates of a request to access a partially resident texture (PRT) resource comprising a plurality of levels representing a texture at different levels of detail (LOD) to texel coordinates in the PRT based on a texture descriptor comprising information that represents dimensions of a first level of the plurality of levels and a residency map that indicates texels that are resident in the PRT resource; and
accessing the PRT resource based on the texel coordinates and the residency map.

### Claim 22 (depends on 21)

The method of claim 21, wherein
the texture descriptor further comprises information that represents an offset between the first level and a second level of the plurality of levels; and
the first level corresponds to one of the plurality of levels that has a highest LOD among the plurality of levels.

### Claim 23 (depends on 21)

The method of claim 21, wherein the texture descriptor comprises information that represents a plurality of offsets between the first level and a plurality of second levels associated with a plurality of residency maps.

### Claim 24 (depends on 22)

The method of claim 22, wherein the offset indicates a number of levels between the second level and the first level.

### Claim 25 (depends on 24)

The method of claim 24, further comprising:
translating the normalized coordinates to texel coordinates in the residency map based on the offset, wherein translating the normalized coordinates to the texel coordinates comprises determining dimensions of the residency map based on a ratio of the dimensions of the residency map to dimensions of the first level based on the number of levels between the second level and the first level.

### Claim 26 (depends on 25)

The method of claim 25, wherein translating the normalized coordinates to the texel coordinates comprises translating the normalized coordinates to the texel coordinates based on the dimensions of the residency map.

### Claim 27 (depends on 25)

The method of claim 25, further comprising:
translating the normalized coordinates to texel coordinates in the at least one of the plurality of levels of the PRT resource based on the dimensions of the first level of the plurality of levels, wherein the texel coordinates in the residency map indicate the same location as the texel coordinates in the at least one of the plurality of levels of the PRT resource.

### Claim 28 (depends on 21)

The method of claim 21, further comprising:
identifying a texel in the residency map based on coordinates of the texel in the residency map; and
accessing information indicating a highest LOD that is resident in a tile of the PRT that corresponds to the texel in the residency map.

### Claim 29 (depends on 28)

The method of claim 28, further comprising:
in response to the request, receiving texture data having an LOD that is less than or equal to the highest LOD that is resident in the tile.

### Claim 30

An apparatus comprising:
a processor coupled to a memory that stores:
a residency map indicating whether a texel is resident in a partially resident texture (PRT) resource comprising a plurality of levels, wherein the plurality of levels represent a texture at different levels of detail (LOD); and
a texture descriptor comprising information that represents dimensions of a first level of the plurality of levels and the residency map, wherein
the processor configured to:
receive a request to access at least one of the plurality of levels of the PRT resource, wherein the request includes normalized coordinates indicating a location in the texture; and
translate the request to texel coordinates of a resident texel of the PRT resource based on the texture descriptor.

### Claim 31 (depends on 30)

The apparatus of claim 30, further comprising the memory coupled to the processor.

### Claim 32 (depends on 30)

The apparatus of claim 30, wherein
the texture descriptor further comprises information that represents an offset between the first level and a second level of the plurality of levels; and
the first level corresponds to one of the plurality of levels that has a highest LOD among the plurality of levels.

### Claim 33 (depends on 32)

The apparatus of claim 32, wherein the texture descriptor comprises information that represents a plurality of offsets between the first level and a plurality of second levels associated with a plurality of residency maps.

### Claim 34 (depends on 32)

The apparatus of claim 32, wherein the offset indicates a number of levels between the second level and the first level.

### Claim 35 (depends on 34)

The apparatus of claim 34, wherein the processor is configured to determine dimensions of the residency map based on a ratio of the dimensions of the residency map to dimensions of the first level based on the number of levels between the second level and the first level.

### Claim 36 (depends on 35)

The apparatus of claim 35, wherein the processor is configured to translate the normalized coordinates to coordinates of the texel based on the offset and the dimensions of the residency map.

### Claim 37 (depends on 35)

The apparatus of claim 35, wherein the processor is configured to translate the normalized coordinates to texel coordinates in the at least one of the plurality of levels of the PRT resource based on the dimensions of the first level of the plurality of levels, wherein the coordinates of the texel in the residency map indicate the same location as the coordinates of the texel in the at least one of the plurality of levels of the PRT resource.

### Claim 38 (depends on 30)

The apparatus of claim 30, wherein the processor is configured to identify a texel in the residency map based on the texel coordinates in the residency map and access information indicating a highest LOD that is resident in a tile of the PRT that corresponds to the texel in the residency map.

### Claim 39 (depends on 38)

The apparatus of claim 38, wherein the processor is configured to receive, in response to the request, texture data having an LOD that is less than or equal to the highest LOD that is resident in the tile.

### Claim 40

A method comprising:
identifying, at a processor, an offset between a first level of a plurality of levels of a partially resident texture (PRT) resource indicated by a residency map and a second level of the plurality of levels, wherein the plurality of levels represent a texture at different levels of detail (LOD), wherein the first level indicates which of the plurality of levels of the PRT resource are resident in a memory associated with the processor; and
storing a texture descriptor comprising information that represents dimensions of the first level of the plurality of levels and the offset.

### Claim 41 (depends on 40)

The method of claim 40, wherein the texture descriptor comprises information that represents a plurality of offsets between the first level and a plurality of second levels associated with a plurality of residency maps, wherein the offset indicates a number of levels between the second level and the first level, wherein the first level corresponds to one of the plurality of levels that has a highest LOD among the plurality of levels.
