From 43c9f4fe2716ac707febdda148c0c249d198a915 Mon Sep 17 00:00:00 2001 From: yz70s Date: Wed, 24 Jun 2015 22:30:15 +0200 Subject: 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) --- 3rdparty/dxsdk/Include/d3dcommon.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to '3rdparty/dxsdk/Include') 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, -- cgit v1.2.3-70-g09d2