CPU Morphological Antialiasing (MLAA) sample now live!

Intel's Gaming and Graphics Samples team has just published a new sample illustrating morphological antialiasing on the CPU.

Morphological Antialiasing is a technique developed by Intel Labs and published in 2009 by Alexander Reshetov. It is a precurser to a new generation of antialiasing techniques that will be discussed at a course in this year's SIGGRAPH.

CPU MLAA is an example of CPU Onloading, a concept where a portion of the graphics pipeline (in this case antialiasing) which is historically done on the GPU is done using the CPU. In this sample the user can compare 4xMSAA, CPU MLAA and no AA in terms of performance and quality.

The implementation includes the use of CPU<-> GPU pipelining to hide latency, an easy to integrate task manager and vectorization using SSE2 instructions.

Take a moment to read the MLAA article and build the accompanying source code.

As always, we hope this sample is one that the community will find valuable and we look forward to your comments!
For more complete information about compiler optimizations, see our Optimization Notice.