浏览代码

fix check ddi version for < rs3 (#1169)

Young Kim 7 年之前
父节点
当前提交
c5bdb33922
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      tools/dxexp/dxexp.cpp

+ 4 - 0
tools/dxexp/dxexp.cpp

@@ -78,6 +78,10 @@ typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS3
 } 	D3D12_FEATURE_DATA_D3D12_OPTIONS3;
 #endif
 
+#ifndef NTDDI_WIN10_RS3
+#define NTDDI_WIN10_RS3 0x0A000004  
+#endif
+
 #if WDK_NTDDI_VERSION <= NTDDI_WIN10_RS3
 #define D3D_SHADER_MODEL_6_2 ((D3D_SHADER_MODEL)0x62)
 #define D3D12_FEATURE_D3D12_OPTIONS4 ((D3D12_FEATURE)23)