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
4ed07d85
Commit
4ed07d85
authored
Nov 12, 2019
by
Matteo Bruni
Committed by
Alexandre Julliard
Nov 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Always expect D3D_COMPILER_VERSION to be defined.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4346d68e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
Makefile.in
dlls/d3d10/Makefile.in
+1
-0
reflection.c
dlls/d3dcompiler_43/reflection.c
+1
-1
utils.c
dlls/d3dcompiler_43/utils.c
+1
-1
No files found.
dlls/d3d10/Makefile.in
View file @
4ed07d85
MODULE
=
d3d10.dll
IMPORTLIB
=
d3d10
IMPORTS
=
uuid d3d10core d3dcompiler dxgi
EXTRADEFS
=
-DD3D_COMPILER_VERSION
=
0
PARENTSRC
=
../d3dcompiler_43
EXTRADLLFLAGS
=
-mno-cygwin
...
...
dlls/d3dcompiler_43/reflection.c
View file @
4ed07d85
...
...
@@ -1807,7 +1807,7 @@ err_out:
}
/* d3d10 reflection methods. */
#if
ndef
D3D_COMPILER_VERSION
#if
!
D3D_COMPILER_VERSION
static
inline
struct
d3dcompiler_shader_reflection
*
impl_from_ID3D10ShaderReflection
(
ID3D10ShaderReflection
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
d3dcompiler_shader_reflection
,
ID3D10ShaderReflection_iface
);
...
...
dlls/d3dcompiler_43/utils.c
View file @
4ed07d85
...
...
@@ -758,7 +758,7 @@ void compilation_message(struct compilation_messages *msg, const char *fmt, __ms
}
}
#if
def
D3D_COMPILER_VERSION
#if D3D_COMPILER_VERSION
BOOL
add_declaration
(
struct
hlsl_scope
*
scope
,
struct
hlsl_ir_var
*
decl
,
BOOL
local_var
)
{
struct
hlsl_ir_var
*
var
;
...
...
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