US 11,915,337 B2
Single pass downsampler
Lou Isabelle Kramer, Munich (DE); and Matthäus G. Chajdas, Munich (DE)
Assigned to Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed by Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed on Feb. 23, 2021, as Appl. No. 17/182,952.
Claims priority of provisional application 62/989,206, filed on Mar. 13, 2020.
Prior Publication US 2021/0287325 A1, Sep. 16, 2021
Int. Cl. G06T 1/20 (2006.01); G06F 9/48 (2006.01); G06T 3/40 (2006.01); G06T 15/04 (2011.01)
CPC G06T 1/20 (2013.01) [G06F 9/4881 (2013.01); G06T 3/40 (2013.01); G06T 15/04 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An apparatus comprising:
an interface configured to access a memory storing a source texture; and
a plurality of execution units comprising circuitry configured to:
execute a plurality of thread groups;
downsample, by each thread group of the plurality of thread groups in parallel, a different patch of the source texture to generate one or more mipmap levels for the source texture;
maintain an indication as to how many of the plurality of thread groups have or have not completed execution;
execute a last active thread group of the plurality of thread groups to compute remaining mipmap levels for the source texture, responsive to the indication indicating all other thread groups of the plurality of thread groups have completed downsampling a respective patch down to a single texel; and
render pixels to be driven to a display based on one or more mipmap level texels.