Patent ID: 11915337
Assignee: ADVANCED MICRO DEVICES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A system comprising:
a first processor comprising circuitry configured to dispatch a single-pass downsampling kernel to perform downsampling of a source texture; and
a second processor comprising circuitry configured to:
receive the single-pass downsampling kernel from the first processor, wherein the kernel comprises a plurality of thread groups;
execute the 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 having have completed downsampling downsampled 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.