CPC G06T 15/005 (2013.01) | 20 Claims |
1. A method to post-process variable pixel rate output using gradients in a Graphics Processing Unit (GPU), the method comprising:
detecting, by the GPU, a block of pixels that corresponds to a predetermined kernel size for variable rate shading in a draw call of an application;
instantiating, by the GPU, a pixel shader run to generate pixel shading values for at least two pixels located within the block of pixels; and
generating, by the GPU, a gradient output for the block of pixels based, at least in part, on an interpolation of the pixel shading values for the at least two pixels over the block of pixels, wherein the predetermined kernel size and a location of the two pixels located within the block of pixels are based on a variable rate shading rate profile.
|