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
031ee3e6
Commit
031ee3e6
authored
Jul 02, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: A few more junk misc states.
parent
c31dfc7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
13 deletions
+26
-13
state.c
dlls/wined3d/state.c
+26
-13
No files found.
dlls/wined3d/state.c
View file @
031ee3e6
...
...
@@ -3960,13 +3960,13 @@ const struct StateEntry FFPStateTable[] =
{
/*135, WINED3DRS_WRAP7 */
STATE_RENDER
(
WINED3DRS_WRAP0
),
NULL
},
{
/*136, WINED3DRS_CLIPPING */
STATE_RENDER
(
WINED3DRS_CLIPPING
),
NULL
},
{
/*137, WINED3DRS_LIGHTING */
STATE_RENDER
(
WINED3DRS_LIGHTING
),
NULL
},
{
/*138, WINED3DRS_EXTENTS */
STATE_RENDER
(
WINED3DRS_EXTENTS
),
state_extents
},
{
/*138, WINED3DRS_EXTENTS */
STATE_RENDER
(
WINED3DRS_EXTENTS
),
NULL
},
{
/*139, WINED3DRS_AMBIENT */
STATE_RENDER
(
WINED3DRS_AMBIENT
),
NULL
},
{
/*140, WINED3DRS_FOGVERTEXMODE */
STATE_RENDER
(
WINED3DRS_FOGENABLE
),
NULL
},
{
/*141, WINED3DRS_COLORVERTEX */
STATE_RENDER
(
WINED3DRS_COLORVERTEX
),
NULL
},
{
/*142, WINED3DRS_LOCALVIEWER */
STATE_RENDER
(
WINED3DRS_LOCALVIEWER
),
NULL
},
{
/*143, WINED3DRS_NORMALIZENORMALS */
STATE_RENDER
(
WINED3DRS_NORMALIZENORMALS
),
NULL
},
{
/*144, WINED3DRS_COLORKEYBLENDENABLE */
STATE_RENDER
(
WINED3DRS_COLORKEYBLENDENABLE
),
state_ckeyblend
},
{
/*144, WINED3DRS_COLORKEYBLENDENABLE */
STATE_RENDER
(
WINED3DRS_COLORKEYBLENDENABLE
),
NULL
},
{
/*145, WINED3DRS_DIFFUSEMATERIALSOURCE */
STATE_RENDER
(
WINED3DRS_COLORVERTEX
),
NULL
},
{
/*146, WINED3DRS_SPECULARMATERIALSOURCE */
STATE_RENDER
(
WINED3DRS_COLORVERTEX
),
NULL
},
{
/*147, WINED3DRS_AMBIENTMATERIALSOURCE */
STATE_RENDER
(
WINED3DRS_COLORVERTEX
),
NULL
},
...
...
@@ -3985,8 +3985,8 @@ const struct StateEntry FFPStateTable[] =
{
/*160, WINED3DRS_POINTSCALE_C */
STATE_RENDER
(
WINED3DRS_POINTSCALEENABLE
),
state_pscale
},
{
/*161, WINED3DRS_MULTISAMPLEANTIALIAS */
STATE_RENDER
(
WINED3DRS_MULTISAMPLEANTIALIAS
),
state_multisampleaa
},
{
/*162, WINED3DRS_MULTISAMPLEMASK */
STATE_RENDER
(
WINED3DRS_MULTISAMPLEMASK
),
state_multisampmask
},
{
/*163, WINED3DRS_PATCHEDGESTYLE */
STATE_RENDER
(
WINED3DRS_PATCHEDGESTYLE
),
state_patchedgestyle
},
{
/*164, WINED3DRS_PATCHSEGMENTS */
STATE_RENDER
(
WINED3DRS_PATCHSEGMENTS
),
state_patchsegments
},
{
/*163, WINED3DRS_PATCHEDGESTYLE */
STATE_RENDER
(
WINED3DRS_PATCHEDGESTYLE
),
NULL
},
{
/*164, WINED3DRS_PATCHSEGMENTS */
STATE_RENDER
(
WINED3DRS_PATCHSEGMENTS
),
NULL
},
{
/*165, WINED3DRS_DEBUGMONITORTOKEN */
STATE_RENDER
(
WINED3DRS_DEBUGMONITORTOKEN
),
state_nogl
},
{
/*166, WINED3DRS_POINTSIZE_MAX */
STATE_RENDER
(
WINED3DRS_POINTSIZE_MAX
),
state_psizemax
},
{
/*167, WINED3DRS_INDEXEDVERTEXBLENDENABLE */
0
,
state_nogl
},
...
...
@@ -3994,21 +3994,21 @@ const struct StateEntry FFPStateTable[] =
{
/*169, Undefined */
0
,
state_undefined
},
{
/*170, WINED3DRS_TWEENFACTOR */
0
,
state_nogl
},
{
/*171, WINED3DRS_BLENDOP */
STATE_RENDER
(
WINED3DRS_BLENDOP
),
state_blendop
},
{
/*172, WINED3DRS_POSITIONDEGREE */
STATE_RENDER
(
WINED3DRS_POSITIONDEGREE
),
state_positiondegree
},
{
/*173, WINED3DRS_NORMALDEGREE */
STATE_RENDER
(
WINED3DRS_NORMALDEGREE
),
state_normaldegree
},
{
/*172, WINED3DRS_POSITIONDEGREE */
STATE_RENDER
(
WINED3DRS_POSITIONDEGREE
),
NULL
},
{
/*173, WINED3DRS_NORMALDEGREE */
STATE_RENDER
(
WINED3DRS_NORMALDEGREE
),
NULL
},
/*172, WINED3DRS_POSITIONORDER */
/* Value assigned to 2 state names */
/*173, WINED3DRS_NORMALORDER */
/* Value assigned to 2 state names */
{
/*174, WINED3DRS_SCISSORTESTENABLE */
STATE_RENDER
(
WINED3DRS_SCISSORTESTENABLE
),
state_scissor
},
{
/*175, WINED3DRS_SLOPESCALEDEPTHBIAS */
STATE_RENDER
(
WINED3DRS_DEPTHBIAS
),
state_depthbias
},
{
/*176, WINED3DRS_ANTIALIASEDLINEENABLE */
STATE_RENDER
(
WINED3DRS_ALPHABLENDENABLE
),
NULL
},
{
/*177, undefined */
0
,
state_undefined
},
{
/*178, WINED3DRS_MINTESSELLATIONLEVEL */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
},
{
/*179, WINED3DRS_MAXTESSELLATIONLEVEL */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
},
{
/*180, WINED3DRS_ADAPTIVETESS_X */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
},
{
/*181, WINED3DRS_ADAPTIVETESS_Y */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
},
{
/*182, WINED3DRS_ADAPTIVETESS_Z */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
},
{
/*183, WINED3DRS_ADAPTIVETESS_W */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
},
{
/*184, WINED3DRS_ENABLEADAPTIVETESSELLATION */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
},
{
/*178, WINED3DRS_MINTESSELLATIONLEVEL */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
NULL
},
{
/*179, WINED3DRS_MAXTESSELLATIONLEVEL */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
NULL
},
{
/*180, WINED3DRS_ADAPTIVETESS_X */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
NULL
},
{
/*181, WINED3DRS_ADAPTIVETESS_Y */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
NULL
},
{
/*182, WINED3DRS_ADAPTIVETESS_Z */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
NULL
},
{
/*183, WINED3DRS_ADAPTIVETESS_W */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
NULL
},
{
/*184, WINED3DRS_ENABLEADAPTIVETESSELLATION */
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
NULL
},
{
/*185, WINED3DRS_TWOSIDEDSTENCILMODE */
STATE_RENDER
(
WINED3DRS_STENCILENABLE
),
NULL
},
{
/*186, WINED3DRS_CCW_STENCILFAIL */
STATE_RENDER
(
WINED3DRS_STENCILENABLE
),
NULL
},
{
/*187, WINED3DRS_CCW_STENCILZFAIL */
STATE_RENDER
(
WINED3DRS_STENCILENABLE
),
NULL
},
...
...
@@ -4973,6 +4973,19 @@ const struct StateEntryTemplate misc_state_template[] = {
{
STATE_RENDER
(
WINED3DRS_WRAP13
),
{
STATE_RENDER
(
WINED3DRS_WRAP0
),
state_wrap
}},
{
STATE_RENDER
(
WINED3DRS_WRAP14
),
{
STATE_RENDER
(
WINED3DRS_WRAP0
),
state_wrap
}},
{
STATE_RENDER
(
WINED3DRS_WRAP15
),
{
STATE_RENDER
(
WINED3DRS_WRAP0
),
state_wrap
}},
{
STATE_RENDER
(
WINED3DRS_EXTENTS
),
{
STATE_RENDER
(
WINED3DRS_EXTENTS
),
state_extents
}},
{
STATE_RENDER
(
WINED3DRS_COLORKEYBLENDENABLE
),
{
STATE_RENDER
(
WINED3DRS_COLORKEYBLENDENABLE
),
state_ckeyblend
}},
{
STATE_RENDER
(
WINED3DRS_PATCHEDGESTYLE
),
{
STATE_RENDER
(
WINED3DRS_PATCHEDGESTYLE
),
state_patchedgestyle
}},
{
STATE_RENDER
(
WINED3DRS_PATCHSEGMENTS
),
{
STATE_RENDER
(
WINED3DRS_PATCHSEGMENTS
),
state_patchsegments
}},
{
STATE_RENDER
(
WINED3DRS_POSITIONDEGREE
),
{
STATE_RENDER
(
WINED3DRS_POSITIONDEGREE
),
state_positiondegree
}},
{
STATE_RENDER
(
WINED3DRS_NORMALDEGREE
),
{
STATE_RENDER
(
WINED3DRS_NORMALDEGREE
),
state_normaldegree
}},
{
STATE_RENDER
(
WINED3DRS_MINTESSELLATIONLEVEL
),
{
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
}},
{
STATE_RENDER
(
WINED3DRS_MAXTESSELLATIONLEVEL
),
{
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
}},
{
STATE_RENDER
(
WINED3DRS_ADAPTIVETESS_X
),
{
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
}},
{
STATE_RENDER
(
WINED3DRS_ADAPTIVETESS_Y
),
{
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
}},
{
STATE_RENDER
(
WINED3DRS_ADAPTIVETESS_Z
),
{
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
}},
{
STATE_RENDER
(
WINED3DRS_ADAPTIVETESS_W
),
{
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
}},
{
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
{
STATE_RENDER
(
WINED3DRS_ENABLEADAPTIVETESSELLATION
),
state_tessellation
}},
{
0
/* Terminate */
,
{
0
,
0
}},
};
...
...
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