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
3668f750
Commit
3668f750
authored
Jul 02, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move clipplanes to vertex states.
parent
eb9d3d2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
32 deletions
+65
-32
state.c
dlls/wined3d/state.c
+65
-32
No files found.
dlls/wined3d/state.c
View file @
3668f750
...
...
@@ -4854,38 +4854,38 @@ const struct StateEntry FFPStateTable[] =
{
/* Scissor rect */
STATE_SCISSORRECT
,
scissorrect
},
/* Clip planes */
{
/* STATE_CLIPPLANE(0) */
STATE_CLIPPLANE
(
0
),
clipplane
},
{
/* STATE_CLIPPLANE(1) */
STATE_CLIPPLANE
(
1
),
clipplane
},
{
/* STATE_CLIPPLANE(2) */
STATE_CLIPPLANE
(
2
),
clipplane
},
{
/* STATE_CLIPPLANE(3) */
STATE_CLIPPLANE
(
3
),
clipplane
},
{
/* STATE_CLIPPLANE(4) */
STATE_CLIPPLANE
(
4
),
clipplane
},
{
/* STATE_CLIPPLANE(5) */
STATE_CLIPPLANE
(
5
),
clipplane
},
{
/* STATE_CLIPPLANE(6) */
STATE_CLIPPLANE
(
6
),
clipplane
},
{
/* STATE_CLIPPLANE(7) */
STATE_CLIPPLANE
(
7
),
clipplane
},
{
/* STATE_CLIPPLANE(8) */
STATE_CLIPPLANE
(
8
),
clipplane
},
{
/* STATE_CLIPPLANE(9) */
STATE_CLIPPLANE
(
9
),
clipplane
},
{
/* STATE_CLIPPLANE(10) */
STATE_CLIPPLANE
(
10
),
clipplane
},
{
/* STATE_CLIPPLANE(11) */
STATE_CLIPPLANE
(
11
),
clipplane
},
{
/* STATE_CLIPPLANE(12) */
STATE_CLIPPLANE
(
12
),
clipplane
},
{
/* STATE_CLIPPLANE(13) */
STATE_CLIPPLANE
(
13
),
clipplane
},
{
/* STATE_CLIPPLANE(14) */
STATE_CLIPPLANE
(
14
),
clipplane
},
{
/* STATE_CLIPPLANE(15) */
STATE_CLIPPLANE
(
15
),
clipplane
},
{
/* STATE_CLIPPLANE(16) */
STATE_CLIPPLANE
(
16
),
clipplane
},
{
/* STATE_CLIPPLANE(17) */
STATE_CLIPPLANE
(
17
),
clipplane
},
{
/* STATE_CLIPPLANE(18) */
STATE_CLIPPLANE
(
18
),
clipplane
},
{
/* STATE_CLIPPLANE(19) */
STATE_CLIPPLANE
(
19
),
clipplane
},
{
/* STATE_CLIPPLANE(20) */
STATE_CLIPPLANE
(
20
),
clipplane
},
{
/* STATE_CLIPPLANE(21) */
STATE_CLIPPLANE
(
21
),
clipplane
},
{
/* STATE_CLIPPLANE(22) */
STATE_CLIPPLANE
(
22
),
clipplane
},
{
/* STATE_CLIPPLANE(23) */
STATE_CLIPPLANE
(
23
),
clipplane
},
{
/* STATE_CLIPPLANE(24) */
STATE_CLIPPLANE
(
24
),
clipplane
},
{
/* STATE_CLIPPLANE(25) */
STATE_CLIPPLANE
(
25
),
clipplane
},
{
/* STATE_CLIPPLANE(26) */
STATE_CLIPPLANE
(
26
),
clipplane
},
{
/* STATE_CLIPPLANE(27) */
STATE_CLIPPLANE
(
27
),
clipplane
},
{
/* STATE_CLIPPLANE(28) */
STATE_CLIPPLANE
(
28
),
clipplane
},
{
/* STATE_CLIPPLANE(29) */
STATE_CLIPPLANE
(
29
),
clipplane
},
{
/* STATE_CLIPPLANE(30) */
STATE_CLIPPLANE
(
30
),
clipplane
},
{
/* STATE_CLIPPLANE(31) */
STATE_CLIPPLANE
(
31
),
clipplane
},
{
/* STATE_CLIPPLANE(0) */
STATE_CLIPPLANE
(
0
),
NULL
},
{
/* STATE_CLIPPLANE(1) */
STATE_CLIPPLANE
(
1
),
NULL
},
{
/* STATE_CLIPPLANE(2) */
STATE_CLIPPLANE
(
2
),
NULL
},
{
/* STATE_CLIPPLANE(3) */
STATE_CLIPPLANE
(
3
),
NULL
},
{
/* STATE_CLIPPLANE(4) */
STATE_CLIPPLANE
(
4
),
NULL
},
{
/* STATE_CLIPPLANE(5) */
STATE_CLIPPLANE
(
5
),
NULL
},
{
/* STATE_CLIPPLANE(6) */
STATE_CLIPPLANE
(
6
),
NULL
},
{
/* STATE_CLIPPLANE(7) */
STATE_CLIPPLANE
(
7
),
NULL
},
{
/* STATE_CLIPPLANE(8) */
STATE_CLIPPLANE
(
8
),
NULL
},
{
/* STATE_CLIPPLANE(9) */
STATE_CLIPPLANE
(
9
),
NULL
},
{
/* STATE_CLIPPLANE(10) */
STATE_CLIPPLANE
(
10
),
NULL
},
{
/* STATE_CLIPPLANE(11) */
STATE_CLIPPLANE
(
11
),
NULL
},
{
/* STATE_CLIPPLANE(12) */
STATE_CLIPPLANE
(
12
),
NULL
},
{
/* STATE_CLIPPLANE(13) */
STATE_CLIPPLANE
(
13
),
NULL
},
{
/* STATE_CLIPPLANE(14) */
STATE_CLIPPLANE
(
14
),
NULL
},
{
/* STATE_CLIPPLANE(15) */
STATE_CLIPPLANE
(
15
),
NULL
},
{
/* STATE_CLIPPLANE(16) */
STATE_CLIPPLANE
(
16
),
NULL
},
{
/* STATE_CLIPPLANE(17) */
STATE_CLIPPLANE
(
17
),
NULL
},
{
/* STATE_CLIPPLANE(18) */
STATE_CLIPPLANE
(
18
),
NULL
},
{
/* STATE_CLIPPLANE(19) */
STATE_CLIPPLANE
(
19
),
NULL
},
{
/* STATE_CLIPPLANE(20) */
STATE_CLIPPLANE
(
20
),
NULL
},
{
/* STATE_CLIPPLANE(21) */
STATE_CLIPPLANE
(
21
),
NULL
},
{
/* STATE_CLIPPLANE(22) */
STATE_CLIPPLANE
(
22
),
NULL
},
{
/* STATE_CLIPPLANE(23) */
STATE_CLIPPLANE
(
23
),
NULL
},
{
/* STATE_CLIPPLANE(24) */
STATE_CLIPPLANE
(
24
),
NULL
},
{
/* STATE_CLIPPLANE(25) */
STATE_CLIPPLANE
(
25
),
NULL
},
{
/* STATE_CLIPPLANE(26) */
STATE_CLIPPLANE
(
26
),
NULL
},
{
/* STATE_CLIPPLANE(27) */
STATE_CLIPPLANE
(
27
),
NULL
},
{
/* STATE_CLIPPLANE(28) */
STATE_CLIPPLANE
(
28
),
NULL
},
{
/* STATE_CLIPPLANE(29) */
STATE_CLIPPLANE
(
29
),
NULL
},
{
/* STATE_CLIPPLANE(30) */
STATE_CLIPPLANE
(
30
),
NULL
},
{
/* STATE_CLIPPLANE(31) */
STATE_CLIPPLANE
(
31
),
NULL
},
{
/* STATE_MATERIAL */
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
NULL
},
{
/* STATE_FRONTFACE */
STATE_FRONTFACE
,
NULL
},
...
...
@@ -4913,6 +4913,39 @@ const struct StateEntryTemplate ffp_vertexstate_template[] = {
{
STATE_VSHADER
,
{
STATE_VDECL
,
vertexdeclaration
}},
{
STATE_MATERIAL
,
{
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
state_specularenable
}},
{
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
{
STATE_RENDER
(
WINED3DRS_SPECULARENABLE
),
state_specularenable
}},
/* Clip planes */
{
STATE_CLIPPLANE
(
0
),
{
STATE_CLIPPLANE
(
0
),
clipplane
}},
{
STATE_CLIPPLANE
(
1
),
{
STATE_CLIPPLANE
(
1
),
clipplane
}},
{
STATE_CLIPPLANE
(
2
),
{
STATE_CLIPPLANE
(
2
),
clipplane
}},
{
STATE_CLIPPLANE
(
3
),
{
STATE_CLIPPLANE
(
3
),
clipplane
}},
{
STATE_CLIPPLANE
(
4
),
{
STATE_CLIPPLANE
(
4
),
clipplane
}},
{
STATE_CLIPPLANE
(
5
),
{
STATE_CLIPPLANE
(
5
),
clipplane
}},
{
STATE_CLIPPLANE
(
6
),
{
STATE_CLIPPLANE
(
6
),
clipplane
}},
{
STATE_CLIPPLANE
(
7
),
{
STATE_CLIPPLANE
(
7
),
clipplane
}},
{
STATE_CLIPPLANE
(
8
),
{
STATE_CLIPPLANE
(
8
),
clipplane
}},
{
STATE_CLIPPLANE
(
9
),
{
STATE_CLIPPLANE
(
9
),
clipplane
}},
{
STATE_CLIPPLANE
(
10
),
{
STATE_CLIPPLANE
(
10
),
clipplane
}},
{
STATE_CLIPPLANE
(
11
),
{
STATE_CLIPPLANE
(
11
),
clipplane
}},
{
STATE_CLIPPLANE
(
12
),
{
STATE_CLIPPLANE
(
12
),
clipplane
}},
{
STATE_CLIPPLANE
(
13
),
{
STATE_CLIPPLANE
(
13
),
clipplane
}},
{
STATE_CLIPPLANE
(
14
),
{
STATE_CLIPPLANE
(
14
),
clipplane
}},
{
STATE_CLIPPLANE
(
15
),
{
STATE_CLIPPLANE
(
15
),
clipplane
}},
{
STATE_CLIPPLANE
(
16
),
{
STATE_CLIPPLANE
(
16
),
clipplane
}},
{
STATE_CLIPPLANE
(
17
),
{
STATE_CLIPPLANE
(
17
),
clipplane
}},
{
STATE_CLIPPLANE
(
18
),
{
STATE_CLIPPLANE
(
18
),
clipplane
}},
{
STATE_CLIPPLANE
(
19
),
{
STATE_CLIPPLANE
(
19
),
clipplane
}},
{
STATE_CLIPPLANE
(
20
),
{
STATE_CLIPPLANE
(
20
),
clipplane
}},
{
STATE_CLIPPLANE
(
21
),
{
STATE_CLIPPLANE
(
21
),
clipplane
}},
{
STATE_CLIPPLANE
(
22
),
{
STATE_CLIPPLANE
(
22
),
clipplane
}},
{
STATE_CLIPPLANE
(
23
),
{
STATE_CLIPPLANE
(
23
),
clipplane
}},
{
STATE_CLIPPLANE
(
24
),
{
STATE_CLIPPLANE
(
24
),
clipplane
}},
{
STATE_CLIPPLANE
(
25
),
{
STATE_CLIPPLANE
(
25
),
clipplane
}},
{
STATE_CLIPPLANE
(
26
),
{
STATE_CLIPPLANE
(
26
),
clipplane
}},
{
STATE_CLIPPLANE
(
27
),
{
STATE_CLIPPLANE
(
27
),
clipplane
}},
{
STATE_CLIPPLANE
(
28
),
{
STATE_CLIPPLANE
(
28
),
clipplane
}},
{
STATE_CLIPPLANE
(
29
),
{
STATE_CLIPPLANE
(
29
),
clipplane
}},
{
STATE_CLIPPLANE
(
30
),
{
STATE_CLIPPLANE
(
30
),
clipplane
}},
{
STATE_CLIPPLANE
(
31
),
{
STATE_CLIPPLANE
(
31
),
clipplane
}},
{
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