US 11,989,918 B2
Swizzle mode detection
Nooruddin Ahmed, Markham (CA); Anthony Chan, Markham (CA); and Christopher J. Brennan, Boxborough, MA (US)
Assigned to Advanced Micro Devices, Inc., Santa Clara, CA (US); and ATI Technologies ULC, Markham (CA)
Filed by Advanced Micro Devices, Inc., Santa Clara, CA (US); and ATI Technologies ULC, Markham (CA)
Filed on Dec. 23, 2020, as Appl. No. 17/132,612.
Claims priority of provisional application 63/083,672, filed on Sep. 25, 2020.
Prior Publication US 2022/0101560 A1, Mar. 31, 2022
Int. Cl. G06T 9/00 (2006.01); G06F 7/24 (2006.01); G06T 1/20 (2006.01); G06T 3/40 (2006.01)
CPC G06T 9/00 (2013.01) [G06F 7/24 (2013.01); G06T 1/20 (2013.01); G06T 3/40 (2013.01); G06F 2212/401 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An apparatus comprising:
a memory device storing a data chunk having a pre-defined swizzle mode; and
a graphics engine comprising circuitry configured to:
generate, for a first pixel of a first block of the data chunk, a first score to measure a correlation between the first pixel and a horizontal neighboring pixel;
generate, for the first pixel of the first block of the data chunk, a second score to measure a correlation between the first pixel and a vertical neighboring pixel; and
select, from the first and second scores, a lower score corresponding to a higher correlation;
encode a first bit of a first custom swizzle mode for the first block based on the lower score; and
encode an indication of the first custom swizzle mode for the first block based on the first bit.