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
63a8c3c4
Commit
63a8c3c4
authored
Dec 19, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make a WINED3DTSS_RESULTARG stub.
parent
aec9f114
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
state.c
dlls/wined3d/state.c
+16
-8
No files found.
dlls/wined3d/state.c
View file @
63a8c3c4
...
...
@@ -1639,6 +1639,14 @@ static void tex_bumpenvloffset(DWORD state, IWineD3DStateBlockImpl *stateblock)
}
}
static
void
tex_resultarg
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
)
{
DWORD
stage
=
(
state
-
STATE_TEXTURESTAGE
(
0
,
0
))
/
WINED3D_HIGHEST_TEXTURE_STATE
;
if
(
stateblock
->
textureState
[
stage
][
WINED3DTSS_RESULTARG
]
!=
D3DTA_CURRENT
)
{
ERR
(
"WINED3DTSS_RESULTARG not supported yet
\n
"
);
}
}
const
struct
StateEntry
StateTable
[]
=
{
/* State name representative, apply function */
...
...
@@ -1883,7 +1891,7 @@ const struct StateEntry StateTable[] =
{
/*0, 25, WINED3DTSS_ADDRESSW */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*0, 26, WINED3DTSS_COLORARG0 */
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_COLOROP
),
tex_colorop
},
{
/*0, 27, WINED3DTSS_ALPHAARG0 */
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_ALPHAOP
),
tex_alphaop
},
{
/*0, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_RESULTARG
),
state_undefined
},
{
/*0, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
0
,
WINED3DTSS_RESULTARG
),
tex_resultarg
},
{
/*0, 29, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*0, 30, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*0, 31, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
...
...
@@ -1916,7 +1924,7 @@ const struct StateEntry StateTable[] =
{
/*1, 25, WINED3DTSS_ADDRESSW */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*1, 26, WINED3DTSS_COLORARG0 */
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_COLOROP
),
tex_colorop
},
{
/*1, 27, WINED3DTSS_ALPHAARG0 */
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_ALPHAOP
),
tex_alphaop
},
{
/*1, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_RESULTARG
),
state_undefined
},
{
/*1, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
1
,
WINED3DTSS_RESULTARG
),
tex_resultarg
},
{
/*1, 29, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*1, 30, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*1, 31, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
...
...
@@ -1949,7 +1957,7 @@ const struct StateEntry StateTable[] =
{
/*2, 25, WINED3DTSS_ADDRESSW */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*2, 26, WINED3DTSS_COLORARG0 */
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_COLOROP
),
tex_colorop
},
{
/*2, 27, WINED3DTSS_ALPHAARG0 */
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_ALPHAOP
),
tex_alphaop
},
{
/*2, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_RESULTARG
),
state_undefined
},
{
/*2, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
2
,
WINED3DTSS_RESULTARG
),
tex_resultarg
},
{
/*2, 29, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*2, 30, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*2, 31, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
...
...
@@ -1982,7 +1990,7 @@ const struct StateEntry StateTable[] =
{
/*3, 25, WINED3DTSS_ADDRESSW */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*3, 26, WINED3DTSS_COLORARG0 */
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_COLOROP
),
tex_colorop
},
{
/*3, 27, WINED3DTSS_ALPHAARG0 */
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_ALPHAOP
),
tex_alphaop
},
{
/*3, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_RESULTARG
),
state_undefined
},
{
/*3, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
3
,
WINED3DTSS_RESULTARG
),
tex_resultarg
},
{
/*3, 29, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*3, 30, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*3, 31, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
...
...
@@ -2015,7 +2023,7 @@ const struct StateEntry StateTable[] =
{
/*4, 25, WINED3DTSS_ADDRESSW */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*4, 26, WINED3DTSS_COLORARG0 */
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_COLOROP
),
tex_colorop
},
{
/*4, 27, WINED3DTSS_ALPHAARG0 */
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_ALPHAOP
),
tex_alphaop
},
{
/*4, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_RESULTARG
),
state_undefined
},
{
/*4, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
4
,
WINED3DTSS_RESULTARG
),
tex_resultarg
},
{
/*4, 29, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*4, 30, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*4, 31, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
...
...
@@ -2048,7 +2056,7 @@ const struct StateEntry StateTable[] =
{
/*5, 25, WINED3DTSS_ADDRESSW */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*5, 26, WINED3DTSS_COLORARG0 */
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_COLOROP
),
tex_colorop
},
{
/*5, 27, WINED3DTSS_ALPHAARG0 */
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_ALPHAOP
),
tex_alphaop
},
{
/*5, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_RESULTARG
),
state_undefined
},
{
/*5, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
5
,
WINED3DTSS_RESULTARG
),
tex_resultarg
},
{
/*5, 29, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*5, 30, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*5, 31, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
...
...
@@ -2081,7 +2089,7 @@ const struct StateEntry StateTable[] =
{
/*6, 25, WINED3DTSS_ADDRESSW */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*6, 26, WINED3DTSS_COLORARG0 */
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_COLOROP
),
tex_colorop
},
{
/*6, 27, WINED3DTSS_ALPHAARG0 */
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_ALPHAOP
),
tex_alphaop
},
{
/*6, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_RESULTARG
),
state_undefined
},
{
/*6, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
6
,
WINED3DTSS_RESULTARG
),
tex_resultarg
},
{
/*6, 29, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*6, 30, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*6, 31, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
...
...
@@ -2114,7 +2122,7 @@ const struct StateEntry StateTable[] =
{
/*7, 25, WINED3DTSS_ADDRESSW */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*7, 26, WINED3DTSS_COLORARG0 */
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_COLOROP
),
tex_colorop
},
{
/*7, 27, WINED3DTSS_ALPHAARG0 */
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_ALPHAOP
),
tex_alphaop
},
{
/*7, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_RESULTARG
),
state_undefined
},
{
/*7, 28, WINED3DTSS_RESULTARG */
STATE_TEXTURESTAGE
(
7
,
WINED3DTSS_RESULTARG
),
tex_resultarg
},
{
/*7, 29, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*7, 30, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
{
/*7, 31, undefined */
0
/* -> sampler state in ddraw / d3d8 */
,
state_undefined
},
...
...
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