Method for efficient construction of high resolution display buffers
First Claim
1. A method of rendering graphics with a processing unit, the method comprising:
- invoking a pixel shader for a first pixel for a first primitive when one or more covered samples include at least one of one or more color samples, wherein the first pixel includes a plurality of samples, wherein the plurality of samples includes the one or more color samples and a plurality of depth samples, wherein the plurality of samples of the first pixel includes the one or more covered samples that are covered by the first primitive; and
not invoking the pixel shader for the first pixel for the first primitive when the one or more covered samples do not include at least one of the one or more color samples but do include at least one depth sample of the plurality of depth samples;
deriving a color value, for the first primitive, for a display pixel not associated with a color sample but associated with a depth sample by assigning a color value of a color sample at a same depth value as the depth sample.
5 Assignments
0 Petitions
Accused Products
Abstract
Graphics processing systems and methods are disclosed which may minimize invocations to a pixel shader in order to improve efficiency in a rendering pipeline. In implementations of the present disclosure, a plurality of samples within a pixel may be covered by a primitive. The plurality of samples may include one or more color samples and a plurality of depth samples. The nature of the samples which were covered by the primitive may be taken into account before invoking a pixel shader to perform shading computations on the pixel. In implementations of the present disclosure, if at least one sample is covered by a primitive, but none of the samples are color samples, an invocation to a pixel shader may be avoided.
118 Citations
18 Claims
-
1. A method of rendering graphics with a processing unit, the method comprising:
-
invoking a pixel shader for a first pixel for a first primitive when one or more covered samples include at least one of one or more color samples, wherein the first pixel includes a plurality of samples, wherein the plurality of samples includes the one or more color samples and a plurality of depth samples, wherein the plurality of samples of the first pixel includes the one or more covered samples that are covered by the first primitive; and not invoking the pixel shader for the first pixel for the first primitive when the one or more covered samples do not include at least one of the one or more color samples but do include at least one depth sample of the plurality of depth samples; deriving a color value, for the first primitive, for a display pixel not associated with a color sample but associated with a depth sample by assigning a color value of a color sample at a same depth value as the depth sample. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system comprising:
-
a processor, and a memory coupled to the processor, wherein the processor is configured to perform a method of rendering graphics, the method comprising; invoking a pixel shader for the first pixel for the first primitive when one or more covered samples include at least one of one or more color samples, wherein the first pixel includes a plurality of samples, wherein the plurality of samples include the one or more color samples and a plurality of depth samples, wherein the plurality of samples of the first pixel includes the one or more covered samples that are covered by the first primitive; and not invoking the pixel shader for the first pixel for the first primitive when the one or more covered samples do not include at least one of the one or more color samples but do include at least one depth sample of the plurality of depth samples; deriving a color value, for the first primitive, for a display pixel not associated with a color sample but associated with a depth sample by assigning a color value of a color sample at a same depth value as the depth sample. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A graphics processing unit (GPU) comprising:
-
a memory module; and a rasterization module implemented in hardware and/or software configured to;
invoke a pixel shader for the first pixel for the first primitive when one or more covered samples that are covered by the first primitive include at least one of one or more color samples, wherein the first pixel includes a plurality of samples, wherein the plurality of samples includes the one or more color samples and a plurality of depth samples, wherein the plurality of samples of the first pixel include as the one or more covered samples; andnot invoke the pixel shader for the first pixel for the first primitive when the one or more covered samples do not include at least one of the one or more color samples but do include at least one depth sample of the plurality of depth samples; deriving a color value, for the first primitive, for a display pixel not associated with a color sample but associated with a depth sample by assigning a color value of a color sample at a same depth value as the depth sample. - View Dependent Claims (15, 16)
-
-
17. A non-transitory computer readable medium having processor-executable instructions embodied therein, wherein execution of the instructions by a processor causes the processor to implement a method of rendering graphics, the method comprising:
- invoking a pixel shader for the first pixel for the first primitive when one or more covered samples that are covered by the first primitive include at least one of one or more color samples, wherein the first pixel includes the one or more color samples and a plurality of depth samples, wherein the plurality of samples includes the one or more covered samples; and
not invoking the pixel shader for the first pixel for the first primitive if said determining determines that the one or more covered samples do not include at least one of the color samples; deriving a color value, for the first primitive, for a display pixel not associated with a color sample but associated with a depth sample by assigning a color value of a color sample at a same depth value as the depth sample. - View Dependent Claims (18)
- invoking a pixel shader for the first pixel for the first primitive when one or more covered samples that are covered by the first primitive include at least one of one or more color samples, wherein the first pixel includes the one or more color samples and a plurality of depth samples, wherein the plurality of samples includes the one or more covered samples; and
Specification