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
b0e65dbe
Commit
b0e65dbe
authored
Feb 02, 2023
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d11/tests: Actually test the return of CreateRasterizerState().
parent
dc31e66e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
d3d11.c
dlls/d3d11/tests/d3d11.c
+4
-4
No files found.
dlls/d3d11/tests/d3d11.c
View file @
b0e65dbe
...
...
@@ -21839,7 +21839,7 @@ static void test_stencil_separate(void)
rs_desc
.
ScissorEnable
=
FALSE
;
rs_desc
.
MultisampleEnable
=
FALSE
;
rs_desc
.
AntialiasedLineEnable
=
FALSE
;
ID3D11Device_CreateRasterizerState
(
device
,
&
rs_desc
,
&
rs
);
hr
=
ID3D11Device_CreateRasterizerState
(
device
,
&
rs_desc
,
&
rs
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
ID3D11DeviceContext_ClearRenderTargetView
(
context
,
test_context
.
backbuffer_rtv
,
red
);
...
...
@@ -21859,7 +21859,7 @@ static void test_stencil_separate(void)
ID3D11RasterizerState_Release
(
rs
);
rs_desc
.
FrontCounterClockwise
=
TRUE
;
ID3D11Device_CreateRasterizerState
(
device
,
&
rs_desc
,
&
rs
);
hr
=
ID3D11Device_CreateRasterizerState
(
device
,
&
rs_desc
,
&
rs
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
ID3D11DeviceContext_RSSetState
(
context
,
rs
);
...
...
@@ -28408,7 +28408,7 @@ static void test_depth_bias(void)
for
(
k
=
0
;
k
<
ARRAY_SIZE
(
bias_clamp_tests
);
++
k
)
{
rasterizer_desc
.
DepthBiasClamp
=
bias_clamp_tests
[
k
];
ID3D11Device_CreateRasterizerState
(
device
,
&
rasterizer_desc
,
&
rs
);
hr
=
ID3D11Device_CreateRasterizerState
(
device
,
&
rasterizer_desc
,
&
rs
);
ok
(
hr
==
S_OK
,
"Format %#x, quad %u, bias %u, clamp %u: Got unexpected hr %#lx.
\n
"
,
format
,
i
,
j
,
k
,
hr
);
ID3D11DeviceContext_RSSetState
(
context
,
rs
);
...
...
@@ -28492,7 +28492,7 @@ static void test_depth_bias(void)
{
BOOL
all_match
=
TRUE
;
rasterizer_desc
.
DepthBiasClamp
=
bias_clamp_tests
[
k
];
ID3D11Device_CreateRasterizerState
(
device
,
&
rasterizer_desc
,
&
rs
);
hr
=
ID3D11Device_CreateRasterizerState
(
device
,
&
rasterizer_desc
,
&
rs
);
ok
(
hr
==
S_OK
,
"Format %#x, slope %u, bias %u, clamp %u: Got unexpected hr %#lx.
\n
"
,
format
,
i
,
j
,
k
,
hr
);
ID3D11DeviceContext_RSSetState
(
context
,
rs
);
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