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
bb351c7a
Commit
bb351c7a
authored
Mar 22, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d11/tests: Add a broken() case for WARP in test_occlusion_query().
Wine-Bug:
https://bugs.winehq.org//show_bug.cgi?id=53252
parent
2763e5b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
d3d11.c
dlls/d3d11/tests/d3d11.c
+4
-1
No files found.
dlls/d3d11/tests/d3d11.c
View file @
bb351c7a
...
...
@@ -6011,7 +6011,10 @@ static void test_occlusion_query(void)
ID3D11DeviceContext_End
(
context
,
query
);
get_query_data
(
context
,
query
,
&
data
,
sizeof
(
data
));
ok
(
data
.
uint
==
640
*
480
,
"Got unexpected query result 0x%08lx%08lx.
\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%08lx%08lx.
\n
"
,
data
.
dword
[
1
],
data
.
dword
[
0
]);
memset
(
&
data
,
0xff
,
sizeof
(
data
));
hr
=
ID3D11DeviceContext_GetData
(
context
,
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