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
95099404
Commit
95099404
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 lights to the vertex pipeline states.
parent
298c953b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
state.c
dlls/wined3d/state.c
+17
-8
No files found.
dlls/wined3d/state.c
View file @
95099404
...
@@ -4843,14 +4843,14 @@ const struct StateEntry FFPStateTable[] =
...
@@ -4843,14 +4843,14 @@ const struct StateEntry FFPStateTable[] =
{
/* , STATE_VERTEXSHADERCONSTANT */
STATE_VERTEXSHADERCONSTANT
,
shaderconstant
},
{
/* , STATE_VERTEXSHADERCONSTANT */
STATE_VERTEXSHADERCONSTANT
,
shaderconstant
},
{
/* , STATE_PIXELSHADERCONSTANT */
STATE_VERTEXSHADERCONSTANT
,
shaderconstant
},
{
/* , STATE_PIXELSHADERCONSTANT */
STATE_VERTEXSHADERCONSTANT
,
shaderconstant
},
/* Lights */
/* Lights */
{
/* , STATE_ACTIVELIGHT(0) */
STATE_ACTIVELIGHT
(
0
),
light
},
{
/* , STATE_ACTIVELIGHT(0) */
STATE_ACTIVELIGHT
(
0
),
NULL
},
{
/* , STATE_ACTIVELIGHT(1) */
STATE_ACTIVELIGHT
(
1
),
light
},
{
/* , STATE_ACTIVELIGHT(1) */
STATE_ACTIVELIGHT
(
1
),
NULL
},
{
/* , STATE_ACTIVELIGHT(2) */
STATE_ACTIVELIGHT
(
2
),
light
},
{
/* , STATE_ACTIVELIGHT(2) */
STATE_ACTIVELIGHT
(
2
),
NULL
},
{
/* , STATE_ACTIVELIGHT(3) */
STATE_ACTIVELIGHT
(
3
),
light
},
{
/* , STATE_ACTIVELIGHT(3) */
STATE_ACTIVELIGHT
(
3
),
NULL
},
{
/* , STATE_ACTIVELIGHT(4) */
STATE_ACTIVELIGHT
(
4
),
light
},
{
/* , STATE_ACTIVELIGHT(4) */
STATE_ACTIVELIGHT
(
4
),
NULL
},
{
/* , STATE_ACTIVELIGHT(5) */
STATE_ACTIVELIGHT
(
5
),
light
},
{
/* , STATE_ACTIVELIGHT(5) */
STATE_ACTIVELIGHT
(
5
),
NULL
},
{
/* , STATE_ACTIVELIGHT(6) */
STATE_ACTIVELIGHT
(
6
),
light
},
{
/* , STATE_ACTIVELIGHT(6) */
STATE_ACTIVELIGHT
(
6
),
NULL
},
{
/* , STATE_ACTIVELIGHT(7) */
STATE_ACTIVELIGHT
(
7
),
light
},
{
/* , STATE_ACTIVELIGHT(7) */
STATE_ACTIVELIGHT
(
7
),
NULL
},
{
/* Scissor rect */
STATE_SCISSORRECT
,
NULL
},
{
/* Scissor rect */
STATE_SCISSORRECT
,
NULL
},
/* Clip planes */
/* Clip planes */
...
@@ -4947,6 +4947,15 @@ const struct StateEntryTemplate ffp_vertexstate_template[] = {
...
@@ -4947,6 +4947,15 @@ const struct StateEntryTemplate ffp_vertexstate_template[] = {
{
STATE_CLIPPLANE
(
29
),
{
STATE_CLIPPLANE
(
29
),
clipplane
}},
{
STATE_CLIPPLANE
(
29
),
{
STATE_CLIPPLANE
(
29
),
clipplane
}},
{
STATE_CLIPPLANE
(
30
),
{
STATE_CLIPPLANE
(
30
),
clipplane
}},
{
STATE_CLIPPLANE
(
30
),
{
STATE_CLIPPLANE
(
30
),
clipplane
}},
{
STATE_CLIPPLANE
(
31
),
{
STATE_CLIPPLANE
(
31
),
clipplane
}},
{
STATE_CLIPPLANE
(
31
),
{
STATE_CLIPPLANE
(
31
),
clipplane
}},
/* Lights */
{
STATE_ACTIVELIGHT
(
0
),
{
STATE_ACTIVELIGHT
(
0
),
light
}},
{
STATE_ACTIVELIGHT
(
1
),
{
STATE_ACTIVELIGHT
(
1
),
light
}},
{
STATE_ACTIVELIGHT
(
2
),
{
STATE_ACTIVELIGHT
(
2
),
light
}},
{
STATE_ACTIVELIGHT
(
3
),
{
STATE_ACTIVELIGHT
(
3
),
light
}},
{
STATE_ACTIVELIGHT
(
4
),
{
STATE_ACTIVELIGHT
(
4
),
light
}},
{
STATE_ACTIVELIGHT
(
5
),
{
STATE_ACTIVELIGHT
(
5
),
light
}},
{
STATE_ACTIVELIGHT
(
6
),
{
STATE_ACTIVELIGHT
(
6
),
light
}},
{
STATE_ACTIVELIGHT
(
7
),
{
STATE_ACTIVELIGHT
(
7
),
light
}},
{
0
/* Terminate */
,
{
0
,
0
}},
{
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