Skip to content

Commit 0e1ec5d

Browse files
2A5FTheMostDiligent
authored andcommitted
fallback for D3D_FEATURE_LEVEL_12_2
1 parent 2c65841 commit 0e1ec5d

File tree

1 file changed

+4
-0
lines changed
  • Graphics/GraphicsEngineD3D12/include

1 file changed

+4
-0
lines changed

Graphics/GraphicsEngineD3D12/include/pch.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ enum D3D12_SHADING_RATE_COMBINER
5858
{
5959
};
6060

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+
6165
constexpr D3D12_RESOURCE_STATES D3D12_RESOURCE_STATE_SHADING_RATE_SOURCE = static_cast<D3D12_RESOURCE_STATES>(0x1000000);
6266
#endif
6367

0 commit comments

Comments
 (0)