Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
3dbfda1a
Commit
3dbfda1a
authored
Oct 09, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Capture some more renderstates in vertex and pixel stateblocks.
parent
442beb1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
2 deletions
+39
-2
stateblock.c
dlls/wined3d/stateblock.c
+39
-2
No files found.
dlls/wined3d/stateblock.c
View file @
3dbfda1a
...
...
@@ -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
[]
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment