SeparableFilter11 DirectX 11 SDK Sample

SDKs & Libraries

SeparableFilter11 DirectX 11 SDK Sample screenshot

This sample presents a technique for achieving highly optimized, user-defined separable filters. It utilizes Direct3D 11 APIs and hardware to make use of DirectCompute 5.0 to greatly accelerate this common post processing technique. Included in the sample are implementations for the classic Gaussian filter, and also a fairly simple bilateral filter, but the shader and source code have been set up to allow the user to add their own different filters, with the minimum of fuss. The application implements both a Compute Shader and Pixel Shader path, so that the performance gains achieved through using DirectCompute can be measured.

Prerequisites

  • AMD Radeon™ GCN-based GPU (HD 7000 series or newer)
  • 64-bit Windows® 7 (SP1 with the Platform Update), Windows 8.1, or Windows 10
  • Visual Studio 2012, Visual Studio 2013, or Visual Studio 2015

Resources