From 4fa4ad27db076c07b19faaf8d71909fc36fa9268 Mon Sep 17 00:00:00 2001 From: Ken Pruiksma Date: Thu, 22 Jul 2021 16:01:50 -0500 Subject: [PATCH] Fixing missing definition of GpuCrashTracker for Aftermath. (#2354) Recently some changes were made to pch, and this was probably missed. This will just include the file directly when Aftermath is enabled. Signed-off-by: Ken Pruiksma --- .../DX12/Code/Source/Platform/Windows/RHI/Device_Windows.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/Device_Windows.h b/Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/Device_Windows.h index 4be50ca536..01608d2b61 100644 --- a/Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/Device_Windows.h +++ b/Gems/Atom/RHI/DX12/Code/Source/Platform/Windows/RHI/Device_Windows.h @@ -9,6 +9,10 @@ #include +#if defined(USE_NSIGHT_AFTERMATH) + #include +#endif + namespace AZ { namespace DX12