ADAPTIVE SHADING IN A GRAPHICS PROCESSING PIPELINE
First Claim
1. A computer-implemented method for performing pixel shading operations, the method comprising:
- performing a first pixel shading operation on a first pixel to compute a first coarse shading value that is associated with the first pixel;
determining a second coarse shading value that is associated with a second pixel based on the first coarse shading value;
performing a second pixel shading operation on the first pixel to compute a first fine shading value that is associated with the first pixel;
performing the second pixel shading operation on the second pixel to compute a second fine shading value that is associated with the second pixel;
computing a first composite shading value that is associated with the first pixel based on the first coarse shading value and the first fine shading value; and
computing a second composite shading value that is associated with the second pixel based on the second coarse shading value and the second fine shading value.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment of the present invention includes a parallel processing unit (PPU) that performs pixel shading at variable granularities. For effects that vary at a low frequency across a pixel block, a coarse shading unit performs the associated shading operations on a subset of the pixels in the pixel block. By contrast, for effects that vary at a high frequency across the pixel block, fine shading units perform the associated shading operations on each pixel in the pixel block. Because the PPU implements coarse shading units and fine shading units, the PPU may tune the shading rate per-effect based on the frequency of variation across each pixel group. By contrast, conventional PPUs typically compute all effects per-pixel, performing redundant shading operations for low frequency effects. Consequently, to produce similar image quality, the PPU consumes less power and increases the rendering frame rate compared to a conventional PPU.
130 Citations
21 Claims
-
1. A computer-implemented method for performing pixel shading operations, the method comprising:
-
performing a first pixel shading operation on a first pixel to compute a first coarse shading value that is associated with the first pixel; determining a second coarse shading value that is associated with a second pixel based on the first coarse shading value; performing a second pixel shading operation on the first pixel to compute a first fine shading value that is associated with the first pixel; performing the second pixel shading operation on the second pixel to compute a second fine shading value that is associated with the second pixel; computing a first composite shading value that is associated with the first pixel based on the first coarse shading value and the first fine shading value; and computing a second composite shading value that is associated with the second pixel based on the second coarse shading value and the second fine shading value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable storage medium including instructions that, when executed by a processing unit, cause the processing unit to perform pixel shading operations by performing the steps of:
-
performing a first pixel shading operation on a first pixel to compute a first coarse shading value that is associated with the first pixel; determining a second coarse shading value that is associated with a second pixel based on the first coarse shading value; performing a second pixel shading operation on the first pixel to compute a first fine shading value that is associated with the first pixel; performing the second pixel shading operation on the second pixel to compute a second fine shading value that is associated with the second pixel; computing a first composite shading value that is associated with the first pixel based on the first coarse shading value and the first fine shading value; and computing a second composite shading value that is associated with the second pixel based on the second coarse shading value and the second fine shading value. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A system configured to perform pixel shading operations, the system comprising:
a pixel shading subsystem configured to; perform a first pixel shading operation on a first pixel to compute a first coarse shading value that is associated with the first pixel; determine a second coarse shading value that is associated with a second pixel based on the first coarse shading value; perform a second pixel shading operation on the first pixel to compute a first fine shading value that is associated with the first pixel; perform the second pixel shading operation on the second pixel to compute a second fine shading value that is associated with the second pixel; compute a first composite shading value that is associated with the first pixel based on the first coarse shading value and the first fine shading value; and compute a second composite shading value that is associated with the second pixel based on the second coarse shading value and the second fine shading value. - View Dependent Claims (20)
-
21. A computer-implemented method for performing pixel shading operations, the method comprising:
-
performing a first pixel shading operation on a first pixel to compute a first coarse shading value that is associated with the first pixel; performing the first pixel shading operation on a second pixel to compute a second coarse shading value that is associated with the second pixel; performing an interpolation operation between the first coarse shading value and the second coarse shading value to determine a third coarse shading value that is associated with a third pixel; and outputting at least the third coarse shading value as a final pixel value for display.
-
Specification