# US 2023/0410247 A1 · Graphics anti-aliasing resolve with stencil mask

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

- Number: US 2023/0410247 A1
- Document ID: US20230410247A1
- Status: Published application
- Kind: A1
- Application number: 18/331,999
- Filed: 2023-06-09
- Published: 2023-12-21
- Earliest claimed: 2017-04-10
- Assignees: Intel Corporation
- Applicants: Intel Coporation
- Inventors: Hugues Labbe; Tomer Bar-On; Kai Xiao; Ankur N. Shah; John G. Gierach
- Web page: https://patentgrep.com/patent/US20230410247A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 15/80: Shading
- G06T 2200/12: involving antialiasing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An embodiment of a graphics apparatus may include a mask buffer to store a mask, a shader communicatively coupled to the mask buffer to apply the mask to a first shader pass, and a resolver communicatively coupled to the mask buffer to apply the mask to a resolve pass. The resolver may be configured to exclude a sample location not covered by the mask in the resolve pass. Other embodiments are disclosed and claimed.

## Claims

### Claim 1

(canceled)

### Claim 2

A computing system comprising:
a central processing unit;
a graphics processing unit; and
a memory coupled to one or more of the central processing unit or the graphics processing unit, the memory including a set of instructions, which when executed by the one or more of the central processing unit or the graphics processing unit, cause the computing system to:
store a mask; and
apply the mask to a resolve pass based on one or more inside anti-aliasing sample locations of a first pixel that are inside the mask and a bypass of one or more outside anti-aliasing sample locations of the first pixel that are outside the mask.

### Claim 3 (depends on 2)

The computing system of claim 2, wherein the set of instructions, which when executed by the one or more of the central processing unit or the graphics processing unit, cause the computing system to:
determine, during the resolve pass, a value for the first pixel based on the one or more inside anti-aliasing sample locations.

### Claim 4 (depends on 3)

The computing system of claim 3, wherein the value corresponds to a color of the first pixel.

### Claim 5 (depends on 2)

The computing system of claim 2, wherein the mask corresponds to a foveated render area.

### Claim 6 (depends on 2)

The computing system of claim 2, wherein the set of instructions, which when executed by the one or more of the central processing unit or the graphics processing unit, cause the computing system to:
apply the mask to a first shader pass to generate a first result.

### Claim 7 (depends on 6)

The computing system of claim 6, wherein the set of instructions, which when executed by the one or more of the central processing unit or the graphics processing unit, cause the computing system to:
apply an inverse of the mask to a second shader pass to generate a second result.

### Claim 8 (depends on 7)

The computing system of claim 7, wherein the set of instructions, which when executed by the one or more of the central processing unit or the graphics processing unit, cause the computing system to:
composite the first result and the second result into a render target during the resolve pass.

### Claim 9

An apparatus comprising:
a memory; and
logic communicatively coupled to the memory, wherein the logic is implemented at least partly in one or more of configurable logic or fixed-functionality logic hardware, the logic communicatively coupled to the memory to:
store a mask; and
apply the mask to a resolve pass based on one or more inside anti-aliasing sample locations of a first pixel that are inside the mask and a bypass of one or more outside anti-aliasing sample locations of the first pixel that are outside the mask.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the logic communicatively coupled to the memory is to:
determine, during the resolve pass, a value for the first pixel based on the one or more inside anti-aliasing sample locations.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the value corresponds to a color of the first pixel.

### Claim 12 (depends on 9)

The apparatus of claim 9, wherein the mask corresponds to a foveated render area.

### Claim 13 (depends on 9)

The apparatus of claim 9, wherein the logic communicatively coupled to the memory is to:
apply the mask to a first shader pass to generate a first result.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the logic communicatively coupled to the memory is to:
apply an inverse of the mask to a second shader pass to generate a second result.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the logic communicatively coupled to the memory is to:
composite the first result and the second result into a render target during the resolve pass.

### Claim 16

An method comprising:
storing a mask; and
applying the mask to a resolve pass based on one or more inside anti-aliasing sample locations of a first pixel that are inside the mask and a bypass of one or more outside anti-aliasing sample locations of the first pixel that are outside the mask.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
determining, during the resolve pass, a value for the first pixel based on the one or more inside anti-aliasing sample locations.

### Claim 18 (depends on 17)

The method of claim 17, wherein the value corresponds to a color of the first pixel.

### Claim 19 (depends on 16)

The method of claim 16, wherein the mask corresponds to a foveated render area.

### Claim 20 (depends on 16)

The method of claim 16, further comprising:
applying the mask to a first shader pass to generate a first result.

### Claim 21 (depends on 20)

The method of claim 20, further comprising:
applying an inverse of the mask to a second shader pass to generate a second result; and
compositing the first result and the second result into a render target during the resolve pass.
