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
f26fa046
Commit
f26fa046
authored
Mar 28, 2022
by
Matteo Bruni
Committed by
Alexandre Julliard
Mar 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx11/tests: Fix tests broken by using the HLSL compiler from vkd3d-shader.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8a7651fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
d3dx11.c
dlls/d3dx11_43/tests/d3dx11.c
+24
-4
No files found.
dlls/d3dx11_43/tests/d3dx11.c
View file @
f26fa046
...
...
@@ -577,7 +577,12 @@ static void test_D3DX11CompileFromFile(void)
"main"
,
"ps_2_0"
,
0
,
0
,
NULL
,
&
blob
,
&
errors
,
&
result
);
todo_wine
ok
(
hr
==
S_OK
&&
hr
==
result
,
"Got unexpected hr %#lx, result %#lx.
\n
"
,
hr
,
result
);
todo_wine
ok
(
!!
blob
,
"Got unexpected blob.
\n
"
);
ok
(
!
errors
,
"Got unexpected errors.
\n
"
);
todo_wine
ok
(
!
errors
,
"Got unexpected errors.
\n
"
);
if
(
errors
)
{
ID3D10Blob_Release
(
errors
);
errors
=
NULL
;
}
if
(
blob
)
{
ID3D10Blob_Release
(
blob
);
...
...
@@ -590,7 +595,12 @@ static void test_D3DX11CompileFromFile(void)
hr
=
D3DX11CompileFromFileW
(
filename
,
NULL
,
NULL
,
"main"
,
"ps_2_0"
,
0
,
0
,
NULL
,
&
blob
,
&
errors
,
&
result
);
todo_wine
ok
(
hr
==
S_OK
&&
hr
==
result
,
"Got unexpected hr %#lx, result %#lx.
\n
"
,
hr
,
result
);
todo_wine
ok
(
!!
blob
,
"Got unexpected blob.
\n
"
);
ok
(
!
errors
,
"Got unexpected errors.
\n
"
);
todo_wine
ok
(
!
errors
,
"Got unexpected errors.
\n
"
);
if
(
errors
)
{
ID3D10Blob_Release
(
errors
);
errors
=
NULL
;
}
if
(
blob
)
{
ID3D10Blob_Release
(
blob
);
...
...
@@ -602,7 +612,12 @@ static void test_D3DX11CompileFromFile(void)
hr
=
D3DX11CompileFromFileA
(
filename_a
,
NULL
,
NULL
,
"main"
,
"ps_2_0"
,
0
,
0
,
NULL
,
&
blob
,
&
errors
,
&
result
);
todo_wine
ok
(
hr
==
S_OK
&&
hr
==
result
,
"Got unexpected hr %#lx, result %#lx.
\n
"
,
hr
,
result
);
todo_wine
ok
(
!!
blob
,
"Got unexpected blob.
\n
"
);
ok
(
!
errors
,
"Got unexpected errors.
\n
"
);
todo_wine
ok
(
!
errors
,
"Got unexpected errors.
\n
"
);
if
(
errors
)
{
ID3D10Blob_Release
(
errors
);
errors
=
NULL
;
}
if
(
blob
)
{
ID3D10Blob_Release
(
blob
);
...
...
@@ -615,7 +630,12 @@ static void test_D3DX11CompileFromFile(void)
hr
=
D3DX11CompileFromFileW
(
L"source.ps"
,
NULL
,
NULL
,
"main"
,
"ps_2_0"
,
0
,
0
,
NULL
,
&
blob
,
&
errors
,
&
result
);
todo_wine
ok
(
hr
==
S_OK
&&
hr
==
result
,
"Got unexpected hr %#lx, result %#lx.
\n
"
,
hr
,
result
);
todo_wine
ok
(
!!
blob
,
"Got unexpected blob.
\n
"
);
ok
(
!
errors
,
"Got unexpected errors.
\n
"
);
todo_wine
ok
(
!
errors
,
"Got unexpected errors.
\n
"
);
if
(
errors
)
{
ID3D10Blob_Release
(
errors
);
errors
=
NULL
;
}
if
(
blob
)
{
ID3D10Blob_Release
(
blob
);
...
...
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