# US 2021/0233205 A1 · Graphics processing architecture employing a unified shader

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

- Number: US 2021/0233205 A1
- Document ID: US20210233205A1
- Status: Published application
- Kind: A1
- Application number: 17/230,129
- Filed: 2021-04-14
- Published: 2021-07-29
- Earliest claimed: 2003-11-20
- Assignees: ATI Technologies ULC
- Applicants: ATI Technologies ULC
- Inventors: Stephen L. MOREIN; Laurent LEFEBVRE; Andrew E. GRUBER; Andi SKENDE
- Web page: https://patentgrep.com/patent/US20210233205A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 15/005: {General purpose rendering architectures}
- G06T 15/80: Shading
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A graphics processing architecture in one example performs vertex manipulation operations and pixel manipulation operations by transmitting vertex data to a general purpose register block, and performing vertex operations on the vertex data by a processor unless the general purpose register block does not have enough available space therein to store incoming vertex data; and continues pixel calculation operations that are to be or are currently being performed by the processor based on instructions maintained in an instruction store until enough registers within the general purpose register block become available.

## Claims

### Claim 1

A graphics processor, comprising:
a multiplexer configured to:
receive, at a first input, vertex data, and
receive, at a second input, interpolated pixel parameter and attribute data;
an arbiter circuit, coupled to the multiplexer, configured to implement an arbitration scheme to determine which data received at the first input or the second input of the multiplexer is to be transmitted to a unified shader, and
a unified shader, coupled to the arbiter circuit, configured to:
receive the vertex data or the interpolated pixel parameter and attribute data, and
process the vertex data or the interpolated pixel parameter and attribute data, by performing vertex operations and pixel operations, and
based on processing the vertex data or the interpolated pixel parameter and attribute data, generate an appearance attribute, wherein the appearance attribute is at least one of color, lighting, texture, normal, or position data; and
wherein the arbitration scheme implemented by the arbiter circuit includes:
determining if there is enough resources available in the unified shader to operate on the vertex data,
based on determining there is enough resources available in the unified shader to operate on the vertex data, transmitting the vertex data to the unified shader, and
based on determining there is not enough resources available in the unified shader to operate on the vertex data, transmitting the interpolated pixel parameter and attribute data to the unified shader.

### Claim 2 (depends on 1)

The graphics processor of claim 1, wherein the unified shader further comprises a processor unit configured to execute the vertex operations and pixel operations.

### Claim 3 (depends on 2)

The graphics processor of claim 2, wherein the unified shader further comprises a register block coupled to the arbiter circuit and the processor unit, wherein the registered block is configured to maintain the vertex data and the interpolated pixel parameter and attribute data in the unified shader.

### Claim 4 (depends on 3)

The graphics processor of claim 3, wherein the unified shader further comprises a sequencer coupled to the processor unit and the register block, wherein the sequencer is operative to cause the processor unit to execute the vertex operations and the pixel operations on the vertex data and the interpolated pixel parameter and attribute data.

### Claim 5 (depends on 1)

The graphics processor of claim 1, wherein:
the arbiter circuit is further configured to:
generate a control signal indicating which data received at the first input or the second input of the multiplexer is to be transmitted to a unified shader,
transmit the control signal to the multiplexer; and
the multiplexer is further configured to:
select the vertex data or the interpolated pixel parameter and attribute data to be transmitted to the unified shader based on the control signal.

### Claim 6 (depends on 4)

The graphics processor of claim 4, wherein the sequencer is further comprises an instruction store configured to maintain vertex instructions and pixel instructions, wherein the instruction store further includes memory fetch instructions that, when executed, causes the unified shader to fetch at least texture data from memory.

### Claim 7 (depends on 6)

The graphics processor of claim 6, wherein the processor unit is configured to execute pixel operations that are to be or are currently being executed based at least on the instructions maintained in the instruction store until enough registers within the register block become available.

### Claim 8 (depends on 4)

The graphics processor of claim 4, wherein the unified shader further comprises:
at least one source register coupled to the register block and the processor unit, wherein the at least one source register is configured to store at least one operand transferred from the register block, and
the at least one operand includes at least a portion of the vertex data or the interpolated pixel parameter and attribute data maintained in the register block.

### Claim 9 (depends on 8)

The graphics processor of claim 8, wherein the sequencer is configured to:
cause the at least one operand to be transferred from the register block to the at least one source register, and
indicate to the processor unit to execute at least one operation on the at least one operand in the at least one source register.

### Claim 10 (depends on 9)

The graphics processor of claim 9, wherein:
the processor unit is configured to execute the at least one operation on the at least one operand; and
the at least one operation includes an arithmetic operation and a logical operation.

### Claim 11 (depends on 1)

The graphics processor of claim 1, wherein the processor unit comprises:
a first section configured to perform arithmetic operations on at least a portion of the vertex data or the interpolated pixel parameter and attribute data, and
a second section configured to perform logical operations on at least a portion of the vertex data or the interpolated pixel parameter and attribute data.

### Claim 12 (depends on 1)

The graphics processor of claim 1, wherein the processor unit is configured to:
execute the vertex operations and the pixel operations on at least a portion of the vertex data or the interpolated pixel parameter and attribute data; and
provide at least vertex position data based at least on an execution of a vertex operation.

### Claim 13 (depends on 12)

The graphics processor of any one of claims 12, further comprising a primitive assembly block coupled to the unified shader and configured to generate assembled primitives based on the vertex position data.

### Claim 14 (depends on 13)

The graphics processor of claim 13, further comprising a raster engine coupled to the primitive assembly block, wherein the raster engine is configured to:
generate the pixel data based at least on the assembled primitives; and
provide the pixel data to the second input of the mutiplexer.

### Claim 15 (depends on 1)

The graphics processor of claim 1, wherein the unified shader is configured to simultaneously perform the vertex operations and the pixel operations on the vertex data and the interpolated pixel parameter and attribute data by switching between the vertex operations and the pixel operations.

### Claim 16

A method of operating a graphics processor comprising:
receiving, at a first input of a multiplexer, vertex data;
receiving, at a second input of the multiplexer, interpolated pixel parameter and attribute data;
performing an arbitration scheme, by an arbiter circuit coupled to the multiplexer, wherein the arbitration scheme determines which data received at the first input or the second input of the multiplexer is to be transmitted to a unified shader;
receiving, by a unified shader coupled to the arbiter circuit, the vertex data or the interpolated pixel parameter and attribute data;
processing, by the unified shader, the vertex data or the interpolated pixel parameter and attribute data, by performing vertex operations and pixel operations;
based on processing the vertex data or the interpolated pixel parameter and attribute data, generating, by the unified shader, an appearance attribute, wherein the appearance attribute is at least one of color, lighting, texture, normal, or position data; and
wherein the arbitration scheme implemented by the arbiter circuit includes:
determining if there is enough resources available in the unified shader to operate on the vertex data,
based on determining there is enough resources available in the unified shader to operate on the vertex data, transmitting the vertex data to the unified shader, and
based on determining there is not enough resources available in the unified shader to operate on the vertex data, transmitting the interpolated pixel parameter and attribute data to the unified shader.

### Claim 17 (depends on 16)

The method of claim 16, further comprising executing, by a processor unit of the unified shader, vertex operations and pixel operations.

### Claim 18 (depends on 17)

The method of claim 17, further comprising maintaining, by a register block coupled to the arbiter circuit and the processor unit, the vertex data and the interpolated pixel parameter and attribute data.

### Claim 19 (depends on 18)

The method of claim 18, further comprising causing, by a sequencer coupled to the processor unit and the register block, the processor unit to execute the vertex operations and the pixel operations on the vertex data and the interpolated pixel parameter and attribute data.

### Claim 20 (depends on 19)

The method of claim 19, further comprising maintaining, by an instruction store of the sequencer, vertex instructions and pixel instructions, wherein the instruction store further includes memory fetch instructions that, when executed, causes the unified shader to fetch at least texture data from memory.
