diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2021-03-19 03:23:25 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-03-19 03:23:25 +0000 |
| commit | 59be7e52bfbde70cce0267d47d8069d2312fc578 (patch) | |
| tree | 0bcf1ab9dc7615aa6b514e132a02cf9cd094cdeb /Graphics/GraphicsEngineD3D12 | |
| parent | Fixed rebase issues; updated API to version 240083 (diff) | |
| download | DiligentCore-59be7e52bfbde70cce0267d47d8069d2312fc578.tar.gz DiligentCore-59be7e52bfbde70cce0267d47d8069d2312fc578.zip | |
Fixed Win SDK 17763 build issues
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/include/pch.h | 6 |
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" |
