VARIABLE RATE SHADING
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and devices for rendering graphics in a computer system include a graphical processing unit (GPU) with a flexible, dynamic, application-directed mechanism for varying the rate at which fragment shading is performed for rendering an image to a display. In particular, the described aspects include determining, at a rasterization stage, map coordinates based on coarse scan converting a primitive of an object, the map coordinates indicating a location on a sampling rate parameter (SRP) map of a fragment within the primitive of the object, and identifying a lookup value for the fragment within the primitive of the object based at least on map coordinates, and calculating a respective fragment variable SRP value for the fragment within the primitive of the object based at least on the lookup value.
2 Citations
40 Claims
-
1-20. -20. (canceled)
-
21. A method of rendering graphics in a computer device, comprising:
-
receiving, by a graphics processing unit (GPU), at least one of a per-primitive shading rate parameter (SRP) or a SRP map from an application via an application programming interface (API); determining, by the GPU, a fragment SRP value for a fragment within a primitive of an object based on one or both of the per-primitive shading rate parameter or the SRP map; and shading, by the GPU the fragment within the primitive of the object based on the fragment SRP value. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28)
-
-
29. A computer device, comprising:
-
a memory; and a graphics processing unit (GPU) in communication with the memory, wherein the GPU is configured to; receive at least one of a per-primitive shading rate parameter (SRP) or a SRP map from an application via an application programming interface (API); determine a fragment SRP value for a fragment within a primitive of an object based on one or both of the per-primitive shading rate parameter or the SRP map; and shade the fragment within the primitive of the object based on the fragment SRP value. - View Dependent Claims (30, 31, 32, 33, 34, 35, 36)
-
-
37. A non-transitory computer-readable medium storing computer-executable instructions executable by a processor for rendering graphics in a computer device, comprising:
-
instructions for receiving, by a graphics processing unit (GPU), at least one of a per-primitive shading rate parameter (SRP) or a SRP map from an application via an application programming interface (API); instructions for determining, by the GPU, a fragment SRP value for a fragment within a primitive of an object based on one or both of the per-primitive shading rate parameter or the SRP map; instructions for shading, by the GPU the fragment within the primitive of the object based on the fragment SRP value. - View Dependent Claims (38, 39, 40)
-
Specification