# US 2020/0394750 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 2020/0394750 A1
- Document ID: US20200394750A1
- Status: Published application
- Kind: A1
- Application number: 17/005,703
- Filed: 2020-08-28
- Published: 2020-12-17
- 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/US20200394750A1

## 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:
an arbiter circuit having vertex data provided at a first input and pixel data provided at a second input, wherein the arbiter circuit is configured to select to transmit the vertex data at the first input or the pixel data at the second input; and
a unified shader coupled to the arbiter circuit, wherein the unified shader is configured to simultaneously perform vertex operations and pixel operations on the vertex data and the pixel data, the unified shader comprising:
a processor unit configured to execute the vertex operations and the pixel operations, wherein a portion of the pixel data is generated based at least on output generated by an execution of a portion of vertex operations on the vertex data at the first input.

### Claim 2 (depends on 1)

The graphics processor of claim 1, wherein a portion of the pixel operations is executed on the portion of the pixel data that is generated based at least on the portion of the vertex operations that is executed on the vertex data.

### Claim 3 (depends on 1)

The graphics processor of claim 1, 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 pixel 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 pixel data.

### Claim 5 (depends on 3)

The graphics processor of claim 3, wherein the arbiter circuit comprises:
a multiplexer configured to transmit to the register block the vertex data at the first input or the pixel data at the second input, in response to a control signal.

### Claim 6 (depends on 5)

The graphics processor of claim 5, wherein the arbiter circuit further comprises:
an arbiter coupled to the multiplexer, wherein the arbiter is configured to generate and transmit the control signal to the multiplexer to select the vertex data at the first input or the pixel data at the second input to be transmitted to the unified shader.

### Claim 7 (depends on 6)

The graphics processor of claim 6, wherein the arbiter is configured to generate the control signal that selects the vertex data to be transmitted to the unified shader unless there is not enough available registers in the register block to store the vertex data.

### Claim 8 (depends on 4)

The graphics processor of claim 4, wherein the sequencer 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 9 (depends on 8)

The graphics processor of claim 8, 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 10 (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 pixel data maintained in the register block.

### Claim 11 (depends on 10)

The graphics processor of claim 10, 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 12 (depends on 11)

The graphics processor of claim 11, 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 13 (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 selected vertex data or the selected pixel data, and
a second section configured to perform logical operations on at least a portion of the selected vertex data or the selected pixel data.

### Claim 14 (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 selected vertex data or the selected pixel data, and
provide at least vertex position data based at least on an execution of a vertex operation.

### Claim 15 (depends on 14)

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

### Claim 16 (depends on 15)

The graphics processor of claim 15, 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 arbiter circuit.

### Claim 17 (depends on 1)

The graphics processor of claim 1, wherein
the unified shader is configured to provide an appearance attribute, and
the appearance attribute is at least one of color, lighting, texture, normal, or position data.

### Claim 18 (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 pixel data by switching between the vertex operations and the pixel operations.

### Claim 19

A method comprising:
selecting, by an arbiter circuit, vertex data at a first input or pixel data at a second input;
transmitting, by the arbiter circuit, the vertex data or the pixel data to a unified shader;
performing, by the unified shader, at least a portion of vertex operations on the selected vertex data to generate output information, wherein the portion of the vertex operations is performed by the unified shader while a portion of pixel operations is performed on a first portion of the pixel data; and
generating, by a rasterization engine, a second portion of the pixel data received at the second input based at least on the output information generated by the unified shader.

### Claim 20 (depends on 19)

The method of claim 19, wherein the selecting, by the arbiter circuit, of the vertex data received at the first input or the pixel data at the second input is based at least on availability of registers within a register block of the unified shader.
