Samples Library

AMD GPUOpen

Samples

Meet our samples!

Looking to get started, or a better way of doing something? Our sample code may be just what you’re looking for.

Hybrid ray tracing

Just starting out with DirectX® 12 or Vulkan®? 

Browse through all our samples…

glTFSample Cauldron Sample Project

glTFSample Cauldron Sample Project

28th August 2020
This sample demonstrates how to use most of Cauldron's features. It is also a useful reference for getting started with developing your own samples and prototypes.
Samples Library

Samples Library

15th April 2020
Browse all our useful samples. Perfect for when you're needing to get started, want to integrate one of our libraries, and much more.
AMD Freesync™ Premium Pro (HDR) Sample

AMD Freesync™ Premium Pro (HDR) Sample

22nd January 2020
This sample demonstrates how to enable Freesync Premium Pro (HDR) with the DirectX® 12 and Vulkan® APIs.
CPU Core Counts

CPU Core Counts

26th April 2017
This sample code correctly detects the physical and logical cores of today's modern processors, along with the processor vendor and family.
Barycentrics DirectX® Shader Extension Samples

Barycentrics DirectX® Shader Extension Samples

24th May 2016
The Barycentrics samples show how to enable intrinsic instructions in your DirectX®11 or DirectX®12 HLSL code.
Vulkan® mbcnt Sample

Vulkan® mbcnt Sample

20th May 2016
This sample shows how to use the AMD_shader_ballot extension and mbcnt to perform a fast reduction within a wavefront.
Vulkan® OoORasterization

Vulkan® OoORasterization

17th May 2016
The Vulkan™ out-of-order rasterization sample shows how to use the out-of-order rasterization extension.
HelloVulkan Introductory Vulkan® Sample

HelloVulkan Introductory Vulkan® Sample

13th May 2016
HelloVulkan is a small, introductory Vulkan® "Hello Triangle" sample which shows how to set up a window, set up a Vulkan context, and render a triangle.
CrossfireAPI11

CrossfireAPI11

8th March 2016
This sample demonstrates how to use the explicit Crossfire™ application programming interface (API).
Sparse Textures OpenGL®

Sparse Textures OpenGL®

18th January 2016
This sample presents the GL_AMD_sparse_texture extension introduced by AMD FirePro W and AMD Radeon HD 7000 series.
Page 1 of 3

We have lots more documentation for you to discover!