IP Library Granted Patent US 9,076,265
Granted Patent B2
US 9,076,265 · App. 11/454,267 · Granted Jul 7, 2015

System and method for performing depth testing at top and bottom of graphics pipeline

Inventors: Mark Fowler (Markham, CA); Chris Brennan (Markham, CA)
Assignee: ATI TECHNOLOGIES ULC
G06T15/405
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,076,265
App. No.
11/454,267
Granted
Jul 7, 2015
Kind
B2
Abstract

Embodiments of a system and method including graphics processing of a pixel sample are described. According to an embodiment, a first depth test processes a value, such as a z/stencil value, of a pixel sample and determines whether the value of the pixel sample satisfies the first depth test. If the value of the pixel sample satisfies the first depth test, the value of the pixel sample is not immediately written to storage, such as a Z-buffer. That is, if the value of the pixel sample satisfies the first depth test, the depth processing logic prevents or delays a write operation for the value of the pixel sample to storage at that time. A second depth test is performed on the value of the pixel sample if the value of the pixel sample satisfied the first depth test. If the value of the pixel sample satisfies the second depth test, the value of the pixel sample is then written to storage.

Claims (32)

1. A computer implemented graphics processing method for processing graphics data to produce electronic data for use in generating an electronic image, the method comprising:

performing an initial depth test on a pixel sample without updating a depth value of the pixel sample on a condition that the initial depth test is satisfied;

processing the pixel sample using shader hardware and software of a graphics processing pipeline if the initial depth test is determined to be satisfied;

performing a subsequent depth test on the processed pixel sample after performing the initial depth test and the processing; and

writing the depth value of the pixel sample to storage after performing the subsequent depth test if the subsequent depth test is determined to be satisfied.

2. The method of claim 1 , further comprising culling the pixel sample if the initial depth test is not satisfied.

3. The method of claim 1 , further comprising culling the pixel sample if the subsequent depth test is not satisfied.

4. The method of claim 1 , further comprising processing the pixel sample with additional enhancements if the depth value of the pixel sample satisfies the initial depth test.

5. The method of claim 4 , further comprising processing the pixel sample with a pixel shader to enhance the pixel sample.

6. The method of claim 1 , further comprising delaying the writing of the depth value of the pixel sample to storage if the initial depth test is satisfied.

7. The method of claim 1 , further comprising performing color processing on the pixel sample if the pixel sample satisfies the subsequent depth test.

8. A graphics processing system, the system comprising:

a Z-buffer for storing depth values associated with depth information of pixel samples;

a depth processing unit which is configured to:

perform a first depth test on a depth value of a pixel sample based on at least one register bit indicative of a depth testing schema without updating the depth value of the pixel sample in the Z-buffer on a condition that the initial depth test is satisfied;

perform a second depth test on the depth value of the pixel sample if the depth value of the pixel sample satisfies the first depth test; and

store the depth value of the pixel sample in the Z-buffer if the depth value of the pixel sample satisfies the second depth test; and

a pixel shader in communication with the depth processing unit, the pixel shader configured to enhance the pixel sample with enhancement operations if the depth value of the pixel sample satisfies the first depth test.

9. The system of claim 8 , wherein the depth processing unit is further configured to cull the pixel sample if the depth value of the pixel sample does not satisfy the first depth test.

10. The system of claim 8 , wherein the depth processing unit is further configured to cull the pixel sample if the depth value of the pixel sample does not satisfy the second depth test.

11. The system of claim 8 , further comprising a color processing unit in communication with the depth processing unit.

12. The system of claim 11 , wherein the color processing unit is configured to perform color processing operations on the pixel sample if the depth value of the pixel sample satisfies the second depth test.

13. A non-transitory computer-readable medium having stored thereon instructions which, when executed, operate to process a pixel sample, the processing comprising:

performing an initial depth test on a depth value of the pixel sample without updating the depth value of the pixel sample on a condition that the initial depth test is satisfied;

continuing to pipeline the pixel sample if the initial depth test is satisfied;

performing a subsequent depth test on the depth value of the pixel sample; and

writing the depth value of the pixel sample to storage if the subsequent depth test is satisfied,

wherein pipelining the pixel sample includes at least one of a pixel shader and color processing block.

14. The non-transitory computer-readable medium of claim 13 , further comprising culling the pixel sample if the initial depth test is not satisfied.

15. The non-transitory computer-readable medium of claim 13 , further comprising culling the pixel sample if the subsequent depth test is not satisfied.

16. The non-transitory computer-readable medium of claim 13 , further comprising processing the pixel sample with texture operations if the initial depth test is satisfied.

17. The non-transitory computer-readable medium of claim 13 , further comprising processing the pixel sample with color operations if the subsequent depth test is satisfied.

Assignments (2)
CHANGE OF NAME Recorded May 26, 2015
From: ATI TECHNOLOGIES, INC.
To: ATI TECHNOLOGIES ULC
Reel/Frame 035781/0759 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 4, 2006
From: FOWLER, MARK; BRENNAN, CHRIS
To: ATI TECHNOLOGIES, INC.
Reel/Frame 018067/0707 →
Continuity (1)
Related Publication 20070291030A1 · Dec 20, 2007