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
ccf0d113
Commit
ccf0d113
authored
Aug 08, 2006
by
Jan Zerebecki
Committed by
Alexandre Julliard
Aug 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Stub out remaining renderstates.
parent
f5d9b221
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
114 additions
and
1 deletion
+114
-1
device.c
dlls/wined3d/device.c
+114
-1
No files found.
dlls/wined3d/device.c
View file @
ccf0d113
...
...
@@ -4465,8 +4465,121 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, D
ERR
(
" Antialias not supported yet.
\n
"
);
break
;
}
case
WINED3DRS_MULTISAMPLEMASK
:
{
if
(
0xFFFFFFFF
!=
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_PATCHEDGESTYLE
:
{
if
(
D3DPATCHEDGE_DISCRETE
!=
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_PATCHSEGMENTS
:
{
/* available in d3d8 but in d3d9 it was replaced by IDirect3DDevice9::SetNPatchMode */
tmpvalue
.
f
=
1
.
0
f
;
if
(
tmpvalue
.
d
!=
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_DEBUGMONITORTOKEN
:
{
/* Only useful for "debug builds". */
if
(
0xbaadcafe
!=
Value
)
{
/* MSDN says the default is D3DDMT_ENABLE but our tests confirm 0xbaadcafe is the default. */
/* MSDN says anything other than D3DDMT_ENABLE or DISABLE does not change the state,
* but our tests disagree. */
ERR
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
}
break
;
}
case
WINED3DRS_POSITIONDEGREE
:
{
if
(
D3DDEGREE_CUBIC
!=
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_NORMALDEGREE
:
{
if
(
D3DDEGREE_LINEAR
!=
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_MINTESSELLATIONLEVEL
:
case
WINED3DRS_MAXTESSELLATIONLEVEL
:
case
WINED3DRS_ADAPTIVETESS_X
:
case
WINED3DRS_ADAPTIVETESS_Y
:
case
WINED3DRS_ADAPTIVETESS_Z
:
case
WINED3DRS_ADAPTIVETESS_W
:
{
if
(
This
->
stateBlock
->
renderState
[
WINED3DRS_ENABLEADAPTIVETESSELLATION
])
FIXME
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
else
TRACE
(
"(%p)->(%s,%ld): recording state but WINED3DRS_ENABLEADAPTIVETESSELLATION is not enabled
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_ENABLEADAPTIVETESSELLATION
:
{
if
(
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_COLORWRITEENABLE1
:
case
WINED3DRS_COLORWRITEENABLE2
:
case
WINED3DRS_COLORWRITEENABLE3
:
{
/* depends on WINED3DRS_COLORWRITEENABLE. */
if
(
0x0000000F
!=
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented. Missing of cap D3DPMISCCAPS_INDEPENDENTWRITEMASKS wasn't honored?
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_BLENDFACTOR
:
{
if
(
0xFFFFFFFF
!=
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented. Missing of cap D3DPBLENDCAPS_BLENDFACTOR wasn't honored?
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_SRGBWRITEENABLE
:
{
if
(
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_SEPARATEALPHABLENDENABLE
:
{
if
(
Value
)
ERR
(
"(%p)->(%s,%ld) not yet implemented. Missing of cap D3DPMISCCAPS_SEPARATEALPHABLEND wasn't honored?
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
case
WINED3DRS_SRCBLENDALPHA
:
case
WINED3DRS_DESTBLENDALPHA
:
case
WINED3DRS_BLENDOPALPHA
:
{
if
(
This
->
stateBlock
->
renderState
[
WINED3DRS_SEPARATEALPHABLENDENABLE
])
FIXME
(
"(%p)->(%s,%ld) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
else
TRACE
(
"(%p)->(%s,%ld): recording state but WINED3DRS_SEPARATEALPHABLENDENABLE is not enabled
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
default:
FIXME
(
"(%p)->(%s,%ld)
not handled yet
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
FIXME
(
"(%p)->(%s,%ld)
unknown state
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
}
LEAVE_GL
();
...
...
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