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
3adf638c
Commit
3adf638c
authored
Oct 14, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxva2/tests: Add another render target format to fix a test failure.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
fad925d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dxva2.c
dlls/dxva2/tests/dxva2.c
+3
-2
No files found.
dlls/dxva2/tests/dxva2.c
View file @
3adf638c
...
...
@@ -580,11 +580,12 @@ static void test_progressive_device(void)
MAKEFOURCC
(
'N'
,
'V'
,
'1'
,
'2'
),
};
static
const
D3DFORMAT
support_rt_formats
[]
=
static
const
D3DFORMAT
support
ed
_rt_formats
[]
=
{
D3DFMT_X8R8G8B8
,
MAKEFOURCC
(
'N'
,
'V'
,
'1'
,
'2'
),
D3DFMT_YUY2
,
D3DFMT_A2R10G10B10
,
};
window
=
create_window
();
...
...
@@ -647,7 +648,7 @@ static void test_progressive_device(void)
ok
(
count
>
0
,
"Unexpected format count %u.
\n
"
,
count
);
for
(
j
=
0
;
j
<
count
;
++
j
)
{
ok
(
check_format_list
(
rt_formats
[
j
],
support
_rt_formats
,
ARRAY_SIZE
(
support
_rt_formats
)),
ok
(
check_format_list
(
rt_formats
[
j
],
support
ed_rt_formats
,
ARRAY_SIZE
(
supported
_rt_formats
)),
"Unexpected rt format %#x for input format %#x.
\n
"
,
rt_formats
[
j
],
input_formats
[
i
]);
}
CoTaskMemFree
(
rt_formats
);
...
...
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