AMD MLAA Direct3D 11 Demo, Binary and Source Code Available



AMD MLAA Direct3D11 Demo



AMD has published a Direct3D 11 demo about MLAA (MorphoLogical Anti-Aliasing). For more information about MLAA, read this post.

This sample demonstrates a post-process pixel shader technique that applies Fullscreen Anti-
Aliasing to an image. Morphological Antialiasing (MLAA) was originally developed by Intel Lab
(see reference) but was designed for a CPU based post-process. This sample demonstrates a
modified MLAA implementation adapted to run on the GPU.

Recently, deferred rendering has been playing a more and more important role in the game
industry. One of the advantages of MLAA is that it works well with deferred or semi-deferred
rendering techniques while traditional MSAA is more difficult to implement and much more
costly from a performance perspective. Another advantage of MLAA is that it is very simple to
integrate into existing rendering systems because it works as a post process operation. Finally
post-process FSAA techniques like MLAA work on every pixel on the screen which means that
edges resulting from the use of semi-transparent textures also benefit from anti-aliasing.

You can download the source code HERE (Visual Studio 2008). Funny thing, seems AMD has a too strong security system, because the demo executable has been removed during the packaging. There is a MLAA11.txt file in the RAR archive that says:

FILE QUARANTINED

Microsoft Forefront Security for Exchange Server removed a file since it was found to match a filter.
File name: “winmail.dat->MLAA11.rar->MLAA11\MLAA11.exe”
Filter name: “FILE FILTER= AMDDelete: *.exe”

But it’s not a problem for Geeks3D. Here is the win32 demo recompiled for your pleasure:

AMD MLAA Direct3D 11 demo:
Webmasters: hotlinking is not allowed, please use the post url as download link.
[download#273#image]

You have to install the latest DX runtimes (June 2010) to run the demo. You can download DirectX end-user runtimes (June 2010) HERE.

I tested the demo with a SAPPHIRE Radeon HD 6970 and latest Catalyst 12.1:

AMD MLAA Direct3D11 Demo
No MLAA – FPS:3640 (res:1524×914)

AMD MLAA Direct3D11 Demo
MLAA enabled, threshold: 12 – FPS:1358 (res:1524×914)

AMD MLAA Direct3D11 Demo
MLAA enabled, MLAA edges for threshold: 12

AMD MLAA Direct3D11 Demo
MLAA enabled, threshold: 64 – FPS:1071 (res:1524×914)

AMD MLAA Direct3D11 Demo
MLAA enabled, MLAA edges for threshold: 64

AMD MLAA Direct3D11 Demo
MLAA enabled, threshold: 12 – FPS:1358 (res:1524×914)

AMD MLAA Direct3D11 Demo
MLAA disabled – FPS:3640 (res:1524×914)

Source: Geeks3D forum



10 comments