Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2763e5b7
Commit
2763e5b7
authored
Mar 22, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core/tests: Add a broken() case for WARP in test_occlusion_query().
Wine-Bug:
https://bugs.winehq.org//show_bug.cgi?id=53252
parent
cabd6872
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
d3d10core.c
dlls/d3d10core/tests/d3d10core.c
+4
-1
No files found.
dlls/d3d10core/tests/d3d10core.c
View file @
2763e5b7
...
@@ -4683,7 +4683,10 @@ static void test_occlusion_query(void)
...
@@ -4683,7 +4683,10 @@ static void test_occlusion_query(void)
ID3D10Asynchronous_End
(
query
);
ID3D10Asynchronous_End
(
query
);
get_query_data
(
query
,
&
data
,
sizeof
(
data
));
get_query_data
(
query
,
&
data
,
sizeof
(
data
));
ok
(
data
.
uint
==
640
*
480
,
"Got unexpected query result 0x%08x%08x.
\n
"
,
data
.
dword
[
1
],
data
.
dword
[
0
]);
/* WARP devices randomly return zero as if the draw did not happen, much
* like in test_pipeline_statistics_query(). */
ok
(
data
.
uint
==
640
*
480
||
broken
(
is_warp_device
(
device
)
&&
!
data
.
uint
),
"Got unexpected query result 0x%08x%08x.
\n
"
,
data
.
dword
[
1
],
data
.
dword
[
0
]);
memset
(
&
data
,
0xff
,
sizeof
(
data
));
memset
(
&
data
,
0xff
,
sizeof
(
data
));
hr
=
ID3D10Asynchronous_GetData
(
query
,
&
data
,
sizeof
(
DWORD
),
0
);
hr
=
ID3D10Asynchronous_GetData
(
query
,
&
data
,
sizeof
(
DWORD
),
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