summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2021-03-19 03:23:25 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-03-19 03:23:25 +0000
commit59be7e52bfbde70cce0267d47d8069d2312fc578 (patch)
tree0bcf1ab9dc7615aa6b514e132a02cf9cd094cdeb /Graphics/GraphicsEngineD3D12
parentFixed rebase issues; updated API to version 240083 (diff)
downloadDiligentCore-59be7e52bfbde70cce0267d47d8069d2312fc578.tar.gz
DiligentCore-59be7e52bfbde70cce0267d47d8069d2312fc578.zip
Fixed Win SDK 17763 build issues
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/include/pch.h6
1 files changed, 6 insertions, 0 deletions
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 <algorithm>
#include <d3d12.h>
+#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>(D3D12_INDIRECT_ARGUMENT_TYPE_UNORDERED_ACCESS_VIEW + 1)
+# define D3D12_RAYTRACING_TIER_1_1 static_cast<D3D12_RAYTRACING_TIER>(11)
+#endif
+
+
#include "PlatformDefinitions.h"
#include "Errors.hpp"
#include "RefCntAutoPtr.hpp"