diff options
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" |
