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
276d970e
Commit
276d970e
authored
Dec 03, 2019
by
Matteo Bruni
Committed by
Alexandre Julliard
Dec 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler/tests: Fix parameter desc test on d3d10.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3808b619
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
10 deletions
+28
-10
reflection.c
dlls/d3dcompiler_43/tests/reflection.c
+28
-10
No files found.
dlls/d3dcompiler_43/tests/reflection.c
View file @
276d970e
...
...
@@ -433,8 +433,14 @@ static void test_reflection_desc_vs(void)
i
,
desc
.
Mask
,
pdesc
->
Mask
);
ok
(
desc
.
ReadWriteMask
==
pdesc
->
ReadWriteMask
,
"GetInputParameterDesc(%u) ReadWriteMask failed, got %x, expected %x
\n
"
,
i
,
desc
.
ReadWriteMask
,
pdesc
->
ReadWriteMask
);
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"GetInputParameterDesc(%u) Stream failed, got %u, expected %u
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
/* The Stream field of D3D11_SIGNATURE_PARAMETER_DESC is in the
* trailing padding of the D3D10_SIGNATURE_PARAMETER_DESC struct on
* 64-bits and thus undefined. Don't test it. */
if
(
D3D_COMPILER_VERSION
)
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"(%u): got unexpected Stream %u, expected %u.
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
else
if
(
sizeof
(
void
*
)
==
4
)
ok
(
!
desc
.
Stream
,
"(%u): got unexpected Stream %u.
\n
"
,
i
,
desc
.
Stream
);
}
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
test_reflection_desc_vs_resultout
);
++
i
)
...
...
@@ -458,8 +464,11 @@ static void test_reflection_desc_vs(void)
i
,
desc
.
Mask
,
pdesc
->
Mask
);
ok
(
desc
.
ReadWriteMask
==
pdesc
->
ReadWriteMask
,
"GetOutputParameterDesc(%u) ReadWriteMask failed, got %x, expected %x
\n
"
,
i
,
desc
.
ReadWriteMask
,
pdesc
->
ReadWriteMask
);
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"GetOutputParameterDesc(%u) Stream failed, got %u, expected %u
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
if
(
D3D_COMPILER_VERSION
)
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"(%u): got unexpected Stream %u, expected %u.
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
else
if
(
sizeof
(
void
*
)
==
4
)
ok
(
!
desc
.
Stream
,
"(%u): got unexpected Stream %u.
\n
"
,
i
,
desc
.
Stream
);
}
count
=
ref11
->
lpVtbl
->
Release
(
ref11
);
...
...
@@ -740,8 +749,11 @@ static void test_reflection_desc_ps(void)
i
,
desc
.
Mask
,
pdesc
->
Mask
);
ok
(
desc
.
ReadWriteMask
==
pdesc
->
ReadWriteMask
,
"GetInputParameterDesc(%u) ReadWriteMask failed, got %x, expected %x
\n
"
,
i
,
desc
.
ReadWriteMask
,
pdesc
->
ReadWriteMask
);
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"GetInputParameterDesc(%u) Stream failed, got %u, expected %u
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
if
(
D3D_COMPILER_VERSION
)
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"(%u): got unexpected Stream %u, expected %u.
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
else
if
(
sizeof
(
void
*
)
==
4
)
ok
(
!
desc
.
Stream
,
"(%u): got unexpected Stream %u.
\n
"
,
i
,
desc
.
Stream
);
}
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
test_reflection_desc_ps_resultout
);
++
i
)
...
...
@@ -771,8 +783,11 @@ static void test_reflection_desc_ps(void)
i
,
desc
.
Mask
,
pdesc
->
Mask
);
ok
(
desc
.
ReadWriteMask
==
pdesc
->
ReadWriteMask
,
"GetOutputParameterDesc(%u) ReadWriteMask failed, got %x, expected %x
\n
"
,
i
,
desc
.
ReadWriteMask
,
pdesc
->
ReadWriteMask
);
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"GetOutputParameterDesc(%u) Stream failed, got %u, expected %u
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
if
(
D3D_COMPILER_VERSION
)
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"(%u): got unexpected Stream %u, expected %u.
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
else
if
(
sizeof
(
void
*
)
==
4
)
ok
(
!
desc
.
Stream
,
"(%u): got unexpected Stream %u.
\n
"
,
i
,
desc
.
Stream
);
}
count
=
ref11
->
lpVtbl
->
Release
(
ref11
);
...
...
@@ -1008,8 +1023,11 @@ static void test_reflection_desc_ps_output(void)
i
,
desc
.
Mask
,
pdesc
->
Mask
);
ok
(
desc
.
ReadWriteMask
==
pdesc
->
ReadWriteMask
,
"(%u): GetOutputParameterDesc ReadWriteMask failed, got %x, expected %x
\n
"
,
i
,
desc
.
ReadWriteMask
,
pdesc
->
ReadWriteMask
);
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"(%u): GetOutputParameterDesc Stream failed, got %u, expected %u
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
if
(
D3D_COMPILER_VERSION
)
ok
(
desc
.
Stream
==
pdesc
->
Stream
,
"(%u): got unexpected Stream %u, expected %u.
\n
"
,
i
,
desc
.
Stream
,
pdesc
->
Stream
);
else
if
(
sizeof
(
void
*
)
==
4
)
ok
(
!
desc
.
Stream
,
"(%u): got unexpected Stream %u.
\n
"
,
i
,
desc
.
Stream
);
count
=
ref11
->
lpVtbl
->
Release
(
ref11
);
ok
(
count
==
0
,
"(%u): Release failed %u
\n
"
,
i
,
count
);
...
...
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