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
342eec7f
Commit
342eec7f
authored
Jun 24, 2014
by
Matteo Bruni
Committed by
Alexandre Julliard
Jun 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler/tests: Add a couple more checks for parent data values.
parent
efcaad39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
compiler.c
dlls/d3dcompiler_43/compiler.c
+3
-2
asm.c
dlls/d3dcompiler_43/tests/asm.c
+2
-0
No files found.
dlls/d3dcompiler_43/compiler.c
View file @
342eec7f
...
...
@@ -145,11 +145,12 @@ static void wpp_warning(const char *file, int line, int col, const char *near,
static
char
*
wpp_lookup_mem
(
const
char
*
filename
,
int
type
,
const
char
*
parent_name
,
char
**
include_path
,
int
include_path_count
)
{
/* Here we return always ok. We will maybe fail on the next wpp_open_mem */
/* We don't check for file existence here. We will potentially fail on
* the following wpp_open_mem(). */
char
*
path
;
int
i
;
TRACE
(
"Looking for include %s
.
\n
"
,
debugstr_a
(
file
name
));
TRACE
(
"Looking for include %s
, parent %s.
\n
"
,
debugstr_a
(
filename
),
debugstr_a
(
parent_
name
));
parent_include
=
NULL
;
if
(
strcmp
(
parent_name
,
initial_filename
))
...
...
dlls/d3dcompiler_43/tests/asm.c
View file @
342eec7f
...
...
@@ -1446,12 +1446,14 @@ static HRESULT WINAPI testD3DInclude_open(ID3DInclude *iface, D3D_INCLUDE_TYPE i
buffer
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
include
));
CopyMemory
(
buffer
,
include
,
sizeof
(
include
));
*
bytes
=
sizeof
(
include
);
ok
(
!
parent_data
,
"Wrong parent_data value.
\n
"
);
}
else
if
(
!
strcmp
(
filename
,
"incl2.vsh"
))
{
buffer
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
include2
));
CopyMemory
(
buffer
,
include2
,
sizeof
(
include2
));
*
bytes
=
sizeof
(
include2
);
ok
(
!
parent_data
,
"Wrong parent_data value.
\n
"
);
ok
(
include_type
==
D3D_INCLUDE_LOCAL
,
"Wrong include type %d.
\n
"
,
include_type
);
}
else
if
(
!
strcmp
(
filename
,
"incl3.vsh"
))
...
...
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