Commit 3dbfda1a authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Capture some more renderstates in vertex and pixel stateblocks.

parent 442beb1d
......@@ -34,17 +34,33 @@ static const DWORD pixel_states_render[] =
WINED3DRS_ALPHAFUNC,
WINED3DRS_ALPHAREF,
WINED3DRS_ALPHATESTENABLE,
WINED3DRS_ANTIALIASEDLINEENABLE,
WINED3DRS_BLENDFACTOR,
WINED3DRS_BLENDOP,
WINED3DRS_BLENDOPALPHA,
WINED3DRS_CCW_STENCILFAIL,
WINED3DRS_CCW_STENCILPASS,
WINED3DRS_CCW_STENCILZFAIL,
WINED3DRS_COLORWRITEENABLE,
WINED3DRS_COLORWRITEENABLE1,
WINED3DRS_COLORWRITEENABLE2,
WINED3DRS_COLORWRITEENABLE3,
WINED3DRS_DEPTHBIAS,
WINED3DRS_DESTBLEND,
WINED3DRS_DESTBLENDALPHA,
WINED3DRS_DITHERENABLE,
WINED3DRS_FILLMODE,
WINED3DRS_FOGDENSITY,
WINED3DRS_FOGEND,
WINED3DRS_FOGSTART,
WINED3DRS_LASTPIXEL,
WINED3DRS_SCISSORTESTENABLE,
WINED3DRS_SEPARATEALPHABLENDENABLE,
WINED3DRS_SHADEMODE,
WINED3DRS_SLOPESCALEDEPTHBIAS,
WINED3DRS_SRCBLEND,
WINED3DRS_SRCBLENDALPHA,
WINED3DRS_SRGBWRITEENABLE,
WINED3DRS_STENCILENABLE,
WINED3DRS_STENCILFAIL,
WINED3DRS_STENCILFUNC,
......@@ -54,14 +70,23 @@ static const DWORD pixel_states_render[] =
WINED3DRS_STENCILWRITEMASK,
WINED3DRS_STENCILZFAIL,
WINED3DRS_TEXTUREFACTOR,
WINED3DRS_TWOSIDEDSTENCILMODE,
WINED3DRS_WRAP0,
WINED3DRS_WRAP1,
WINED3DRS_WRAP10,
WINED3DRS_WRAP11,
WINED3DRS_WRAP12,
WINED3DRS_WRAP13,
WINED3DRS_WRAP14,
WINED3DRS_WRAP15,
WINED3DRS_WRAP2,
WINED3DRS_WRAP3,
WINED3DRS_WRAP4,
WINED3DRS_WRAP5,
WINED3DRS_WRAP6,
WINED3DRS_WRAP7,
WINED3DRS_WRAP8,
WINED3DRS_WRAP9,
WINED3DRS_ZENABLE,
WINED3DRS_ZFUNC,
WINED3DRS_ZWRITEENABLE,
......@@ -106,14 +131,22 @@ static const DWORD pixel_states_sampler[] =
static const DWORD vertex_states_render[] =
{
WINED3DRS_ADAPTIVETESS_W,
WINED3DRS_ADAPTIVETESS_X,
WINED3DRS_ADAPTIVETESS_Y,
WINED3DRS_ADAPTIVETESS_Z,
WINED3DRS_AMBIENT,
WINED3DRS_AMBIENTMATERIALSOURCE,
WINED3DRS_CLIPPING,
WINED3DRS_CLIPPLANEENABLE,
WINED3DRS_COLORVERTEX,
WINED3DRS_CULLMODE,
WINED3DRS_DIFFUSEMATERIALSOURCE,
WINED3DRS_EMISSIVEMATERIALSOURCE,
WINED3DRS_ENABLEADAPTIVETESSELLATION,
WINED3DRS_FOGCOLOR,
WINED3DRS_FOGDENSITY,
WINED3DRS_FOGENABLE,
WINED3DRS_FOGEND,
WINED3DRS_FOGSTART,
WINED3DRS_FOGTABLEMODE,
......@@ -121,8 +154,11 @@ static const DWORD vertex_states_render[] =
WINED3DRS_INDEXEDVERTEXBLENDENABLE,
WINED3DRS_LIGHTING,
WINED3DRS_LOCALVIEWER,
WINED3DRS_MAXTESSELLATIONLEVEL,
WINED3DRS_MINTESSELLATIONLEVEL,
WINED3DRS_MULTISAMPLEANTIALIAS,
WINED3DRS_MULTISAMPLEMASK,
WINED3DRS_NORMALDEGREE,
WINED3DRS_NORMALIZENORMALS,
WINED3DRS_PATCHEDGESTYLE,
WINED3DRS_POINTSCALE_A,
......@@ -133,12 +169,13 @@ static const DWORD vertex_states_render[] =
WINED3DRS_POINTSIZE_MAX,
WINED3DRS_POINTSIZE_MIN,
WINED3DRS_POINTSPRITEENABLE,
WINED3DRS_POSITIONDEGREE,
WINED3DRS_RANGEFOGENABLE,
WINED3DRS_SHADEMODE,
WINED3DRS_SPECULARENABLE,
WINED3DRS_SPECULARMATERIALSOURCE,
WINED3DRS_TWEENFACTOR,
WINED3DRS_VERTEXBLEND,
WINED3DRS_CULLMODE,
WINED3DRS_FOGCOLOR,
};
static const DWORD vertex_states_texture[] =
......
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