US 12,112,420 B2
Method and apparatus for improving the image quality of variable rate shading using gradients
Gabriel T. Dagani, Austin, TX (US); and Raun Krisch, Dripping Springs, TX (US)
Assigned to SAMSUNG ELECTRONICS CO., LTD., (KR)
Filed by Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed on Jun. 7, 2022, as Appl. No. 17/834,907.
Claims priority of provisional application 63/287,057, filed on Dec. 7, 2021.
Prior Publication US 2023/0177762 A1, Jun. 8, 2023
Int. Cl. G06T 15/00 (2011.01)
CPC G06T 15/005 (2013.01) 20 Claims
OG exemplary drawing
 
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.