Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
84d39a95
Commit
84d39a95
authored
Jul 04, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: WINED3DTSS_TEXCOORDINDEX belongs to the vertex pipeline.
parent
86b033bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
state.c
dlls/wined3d/state.c
+8
-8
No files found.
dlls/wined3d/state.c
View file @
84d39a95
...
...
@@ -4270,6 +4270,14 @@ const struct StateEntryTemplate ffp_vertexstate_template[] = {
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_TEXTURETRANSFORMFLAGS
),{
STATE_TRANSFORM
(
WINED3DTS_TEXTURE5
),
transform_texture
}},
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_TEXTURETRANSFORMFLAGS
),{
STATE_TRANSFORM
(
WINED3DTS_TEXTURE6
),
transform_texture
}},
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_TEXTURETRANSFORMFLAGS
),{
STATE_TRANSFORM
(
WINED3DTS_TEXTURE7
),
transform_texture
}},
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
/* Fog */
{
STATE_RENDER
(
WINED3DRS_FOGENABLE
),
{
STATE_RENDER
(
WINED3DRS_FOGENABLE
),
state_fog
}},
{
STATE_RENDER
(
WINED3DRS_FOGTABLEMODE
),
{
STATE_RENDER
(
WINED3DRS_FOGENABLE
),
state_fog
}},
...
...
@@ -4322,7 +4330,6 @@ const struct StateEntryTemplate ffp_fragmentstate_template[] = {
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVMAT01
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVMAT10
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVMAT11
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVLSCALE
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVLSCALE
),
tex_bumpenvlscale
}},
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVLOFFSET
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_BUMPENVLOFFSET
),
tex_bumpenvloffset
}},
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_COLORARG0
),
{
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_COLOROP
),
tex_colorop
}},
...
...
@@ -4339,7 +4346,6 @@ const struct StateEntryTemplate ffp_fragmentstate_template[] = {
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVMAT01
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVMAT10
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVMAT11
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVLSCALE
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVLSCALE
),
tex_bumpenvlscale
}},
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVLOFFSET
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_BUMPENVLOFFSET
),
tex_bumpenvloffset
}},
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_COLORARG0
),
{
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_COLOROP
),
tex_colorop
}},
...
...
@@ -4356,7 +4362,6 @@ const struct StateEntryTemplate ffp_fragmentstate_template[] = {
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVMAT01
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVMAT10
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVMAT11
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVLSCALE
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVLSCALE
),
tex_bumpenvlscale
}},
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVLOFFSET
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_BUMPENVLOFFSET
),
tex_bumpenvloffset
}},
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_COLORARG0
),
{
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_COLOROP
),
tex_colorop
}},
...
...
@@ -4373,7 +4378,6 @@ const struct StateEntryTemplate ffp_fragmentstate_template[] = {
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVMAT01
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVMAT10
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVMAT11
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVLSCALE
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVLSCALE
),
tex_bumpenvlscale
}},
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVLOFFSET
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_BUMPENVLOFFSET
),
tex_bumpenvloffset
}},
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_COLORARG0
),
{
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_COLOROP
),
tex_colorop
}},
...
...
@@ -4390,7 +4394,6 @@ const struct StateEntryTemplate ffp_fragmentstate_template[] = {
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVMAT01
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVMAT10
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVMAT11
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVLSCALE
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVLSCALE
),
tex_bumpenvlscale
}},
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVLOFFSET
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_BUMPENVLOFFSET
),
tex_bumpenvloffset
}},
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_COLORARG0
),
{
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_COLOROP
),
tex_colorop
}},
...
...
@@ -4407,7 +4410,6 @@ const struct StateEntryTemplate ffp_fragmentstate_template[] = {
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVMAT01
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVMAT10
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVMAT11
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVLSCALE
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVLSCALE
),
tex_bumpenvlscale
}},
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVLOFFSET
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_BUMPENVLOFFSET
),
tex_bumpenvloffset
}},
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_COLORARG0
),
{
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_COLOROP
),
tex_colorop
}},
...
...
@@ -4424,7 +4426,6 @@ const struct StateEntryTemplate ffp_fragmentstate_template[] = {
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVMAT01
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVMAT10
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVMAT11
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVLSCALE
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVLSCALE
),
tex_bumpenvlscale
}},
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVLOFFSET
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_BUMPENVLOFFSET
),
tex_bumpenvloffset
}},
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_COLORARG0
),
{
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_COLOROP
),
tex_colorop
}},
...
...
@@ -4441,7 +4442,6 @@ const struct StateEntryTemplate ffp_fragmentstate_template[] = {
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVMAT01
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVMAT10
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVMAT11
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVMAT00
),
tex_bumpenvmat
}},
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_TEXCOORDINDEX
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_TEXCOORDINDEX
),
tex_coordindex
}},
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVLSCALE
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVLSCALE
),
tex_bumpenvlscale
}},
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVLOFFSET
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_BUMPENVLOFFSET
),
tex_bumpenvloffset
}},
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_COLORARG0
),
{
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_COLOROP
),
tex_colorop
}},
...
...
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