# US 2001/0040583 A1 · Trivial discard of triangles reusing regional comparisons

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

- Number: US 2001/0040583 A1
- Document ID: US20010040583A1
- Status: Published application
- Kind: A1
- Application number: 09/244,265
- Filed: 1999-02-03
- Published: 2001-11-15
- Earliest claimed: 1999-02-03
- Assignees: ATI Internation, SRL
- Inventors: LORDSON L. YUE; PARIN B. DALAL
- Web page: https://patentgrep.com/patent/US20010040583A1

## CPC

- G06T 15/005: {General purpose rendering architectures}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A frame buffer is divided into tiles of, for example, 32 by 32 pixels. Triangles (and portions thereof) that are within a given tile are rasterized one triangle at a time into the tile location. This process repeats for each tile in the image frame. A sorting circuit generates control bits representing a vertical order of the vertices of a current triangle. A series of multiplexers vertically sorts the vertices bases on these control bits. A region calculation circuit generates region bits representing a location each of the vertices with respect to the current tile. A trivial discard of the triangle data occurs if the region bits indicate that the entire triangle lies outside of the tile. Subsequently, an initial rasterization starting point is estimated based on the region bits to lower the time needed for the rasterizer to find the first pixel of the current triangle to be assigned values.

## Claims

### Claim 1

A method comprising:
receiving, in a circuit, first, second and third vertex data respectively representing first, second, and third vertices of a triangle;
generating, in the circuit, region bits representing a location each of the first, second, and third vertices with respect to a current tile; and
discarding the first, second and third vertex data if the region bits indicate that the entire triangle lies outside of the current tile.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first vertex is a highest vertex of the triangle, the third vertex is a lowest vertex of the triangle, wherein discarding comprises:
discarding the first, second and third vertex data if the region bits indicate that the lowest vertex is higher than a top edge of the current tile;
discarding the first, second and third vertex data if the region bits indicate that the highest vertex is lower than a bottom edge of the current tile;
discarding the first, second and third vertex data if the region bits indicate that the first, second, and third vertices are left of a left edge of the current tile; and
discarding the first, second and third vertex data if the region bits indicate that the first, second, and third vertices are right of a right edge of the current tile.

### Claim 3

A circuit comprising:
first, second and third input terminals configured to receive first, second and third vertex data representing first, second and third vertices of a triangle, the first, second and third vertex data including x-coordinate components and y-coordinate components;
wherein the circuit is configured to generates region bits representing positions of the first, second and third vertices with respect to a current tile; and
wherein the circuit is configured to discard the first, second, and third vertex data if all of the first, second and third vertices lie outside of the current tile.

### Claim 4 (depends on 3)

The circuit of claim 3, wherein the first vertex is a highest vertex of the triangle, the third vertex is a lowest vertex of the triangle, wherein the circuit is configured to:
discard the first, second and third vertex data if the region bits indicate that the lowest vertex is higher than a top edge of the current tile;
discard the first, second and third vertex data if the region bits indicate that the highest vertex is lower than a bottom edge of the current tile;
discard the first, second and third vertex data if the region bits indicate that the first, second, and third vertices are left of a left edge of the current tile; and
discard the first, second and third vertex data if the region bits indicate that the first, second, and third vertices are right of a right edge of the current tile.
