The method of claim 1, wherein the shading further comprises: shading, within the first region, a first set of one or more fragments including the first fragment based on a first color per multiple pixels and a first sample coverage mask for all samples belonging to the multiple pixels in the first region and shading, within the second region, a second set of one or more fragments including the second fragment based on a second color per sample and a second sample coverage mask for all samples in the second region.ĥ. The method of claim 1, wherein the shading further comprises: shading, within the first region, a first set of one or more fragments including the first fragment based on a first color per pixel and a first sample coverage mask for all of the samples belonging to each pixel in the first region and shading, within the second region, a second set of one or more fragments including the second fragment based on a second color per multiple pixels and a second sample coverage mask for all of the samples belonging to the multiple pixels in the second region.Ĥ. The method of claim 1, wherein the shading further comprises: shading, within the first region, a first set of one or more fragments including the first fragment based on a first color per sample and a first sample coverage mask for all of the samples in the first region and shading, within the second region, a second set of one or more fragments including the second fragment based on a second color per pixel and a second sample coverage mask for all of the samples belonging to each pixel in the second region.ģ. A method of rendering graphics in a computer device, comprising: receiving, at a graphics processing unit (GPU), a command to render primitives that compose an image determining, by the GPU, respective sampling rate parameter (SRP) values for one or more regions of one or more primitives of one or more objects composing the image determining, by the GPU, at least a first SRP value for a first region of at least one primitive used to compose the image and a second SRP value for a second region of the at least one primitive used to compose the image based on the respective SRP values for the respective regions of the image identifying, by the GPU, a first set of a first number of samples covered by the at least one primitive in the first region and a second set of a second number of samples covered by the at least one primitive in the second region and shading, by the GPU, at least a first fragment corresponding to the first region based on the first set of the first number of samples and the first SRP value, and at least a second fragment corresponding to the second region based on the second set of the second number of samples and the second SRP value.Ģ.
0 Comments
Leave a Reply. |