From 59be7e52bfbde70cce0267d47d8069d2312fc578 Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 18 Mar 2021 20:23:25 -0700 Subject: Fixed Win SDK 17763 build issues --- Graphics/GraphicsEngineD3D12/include/pch.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Graphics/GraphicsEngineD3D12') diff --git a/Graphics/GraphicsEngineD3D12/include/pch.h b/Graphics/GraphicsEngineD3D12/include/pch.h index 5bcc4f04..b719aceb 100644 --- a/Graphics/GraphicsEngineD3D12/include/pch.h +++ b/Graphics/GraphicsEngineD3D12/include/pch.h @@ -41,6 +41,12 @@ #include #include +#ifndef NTDDI_WIN10_VB // First defined in Win SDK 10.0.19041.0 +# define D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_RAYS static_cast(D3D12_INDIRECT_ARGUMENT_TYPE_UNORDERED_ACCESS_VIEW + 1) +# define D3D12_RAYTRACING_TIER_1_1 static_cast(11) +#endif + + #include "PlatformDefinitions.h" #include "Errors.hpp" #include "RefCntAutoPtr.hpp" -- cgit v1.2.3