File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Graphics/GraphicsEngineD3D12/include Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4444
4545#include " WinHPostface.h"
4646
47+ #ifndef NTDDI_WIN10_CO // First defined in Win SDK 10.0.22000.0
48+ constexpr D3D_FEATURE_LEVEL D3D_FEATURE_LEVEL_12_2 = static_cast <D3D_FEATURE_LEVEL>(0xc200 );
49+ #endif
50+
4751#ifndef NTDDI_WIN10_VB // First defined in Win SDK 10.0.19041.0
4852# define D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_RAYS static_cast <D3D12_INDIRECT_ARGUMENT_TYPE>(D3D12_INDIRECT_ARGUMENT_TYPE_UNORDERED_ACCESS_VIEW + 1 )
4953# define D3D12_RAYTRACING_TIER_1_1 static_cast <D3D12_RAYTRACING_TIER>(11 )
@@ -58,10 +62,6 @@ enum D3D12_SHADING_RATE_COMBINER
5862{
5963};
6064
61- #ifndef NTDDI_WIN10_CO // First defined in Win SDK 10.0.22000.0
62- # define D3D_FEATURE_LEVEL_12_2 0xc200
63- #endif
64-
6565constexpr D3D12_RESOURCE_STATES D3D12_RESOURCE_STATE_SHADING_RATE_SOURCE = static_cast <D3D12_RESOURCE_STATES>(0x1000000 );
6666#endif
6767
You can’t perform that action at this time.
0 commit comments