Commit 7b58d1a0 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Store feature level in d3d_info.

parent e825ec4a
......@@ -184,6 +184,19 @@ struct wined3d_ffp_attrib_ops
wined3d_generic_attrib_func generic[WINED3D_FFP_EMIT_COUNT];
};
enum wined3d_feature_level
{
WINED3D_FEATURE_LEVEL_5,
WINED3D_FEATURE_LEVEL_6,
WINED3D_FEATURE_LEVEL_7,
WINED3D_FEATURE_LEVEL_8,
WINED3D_FEATURE_LEVEL_9_SM2,
WINED3D_FEATURE_LEVEL_9_SM3,
WINED3D_FEATURE_LEVEL_10,
WINED3D_FEATURE_LEVEL_11,
WINED3D_FEATURE_LEVEL_COUNT
};
struct wined3d_d3d_info
{
struct wined3d_d3d_limits limits;
......@@ -196,6 +209,7 @@ struct wined3d_d3d_info
DWORD valid_rt_mask;
DWORD wined3d_creation_flags;
BOOL shader_double_precision;
enum wined3d_feature_level feature_level;
};
static const struct color_fixup_desc COLOR_FIXUP_IDENTITY =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment