diff options
author | 2015-06-24 22:30:15 +0200 | |
---|---|---|
committer | 2015-06-24 22:36:36 +0200 | |
commit | 43c9f4fe2716ac707febdda148c0c249d198a915 (patch) | |
tree | 5fe29c4dc00c1d2bdaf713e6d137663dcaffc1be /3rdparty/dxsdk/Include | |
parent | 339fa6bcc9ea78be2cb4afca58bbd9be81cb25db (diff) |
Add some defines to d3dcommon.h to let bgfx compile with vs2013, but it would be much better to update the direct3d headers to the latest version (nw)
Diffstat (limited to '3rdparty/dxsdk/Include')
-rw-r--r-- | 3rdparty/dxsdk/Include/d3dcommon.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3rdparty/dxsdk/Include/d3dcommon.h b/3rdparty/dxsdk/Include/d3dcommon.h index 1baa2c262c4..9305a040fc2 100644 --- a/3rdparty/dxsdk/Include/d3dcommon.h +++ b/3rdparty/dxsdk/Include/d3dcommon.h @@ -81,6 +81,21 @@ enum D3D_FEATURE_LEVEL } D3D_FEATURE_LEVEL; typedef +#define D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION 2048 +#define D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION 4096 +#define D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION 2048 +#define D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION 4096 +#define D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION 512 +#define D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION 4096 +#define D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION 256 +#define D3D_FL9_1_DEFAULT_MAX_ANISOTROPY 2 +#define D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT 65535 +#define D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT 1048575 +#define D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT 1 +#define D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT 4 +#define D3D_FL9_1_MAX_TEXTURE_REPEAT 128 +#define D3D_FL9_2_MAX_TEXTURE_REPEAT 2048 +#define D3D_FL9_3_MAX_TEXTURE_REPEAT 8192 enum D3D_PRIMITIVE_TOPOLOGY { D3D_PRIMITIVE_TOPOLOGY_UNDEFINED = 0, D3D_PRIMITIVE_TOPOLOGY_POINTLIST = 1, |