Home » Learn » Samples »

SeparableFilter11 DirectX® 11 SDK Sample

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.

Requirements

  • 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.

You may also be interested in...

Some light reading to take away with you. Our ISAs, manuals, whitepapers, and many more.

Explore our huge collection of detailed tutorials, sample code, presentations, and documentation to find your answers to your graphics development questions.

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

Browse all our fantastic tutorials, including programming techniques, performance improvements, guest blogs, and how to use our tools.