Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e0a9ea6c
Commit
e0a9ea6c
authored
Jul 29, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Aug 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Implement semi-stub for D3DCompile2.
parent
1a0fc895
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
6 deletions
+26
-6
compiler.c
dlls/d3dcompiler_43/compiler.c
+24
-4
d3dcompiler_46.spec
dlls/d3dcompiler_46/d3dcompiler_46.spec
+1
-1
d3dcompiler_47.spec
dlls/d3dcompiler_47/d3dcompiler_47.spec
+1
-1
No files found.
dlls/d3dcompiler_43/compiler.c
View file @
e0a9ea6c
...
...
@@ -692,16 +692,23 @@ static HRESULT compile_shader(const char *preproc_shader, const char *target, co
return
S_OK
;
}
HRESULT
WINAPI
D3DCompile
(
const
void
*
data
,
SIZE_T
data_size
,
const
char
*
filename
,
HRESULT
WINAPI
D3DCompile
2
(
const
void
*
data
,
SIZE_T
data_size
,
const
char
*
filename
,
const
D3D_SHADER_MACRO
*
defines
,
ID3DInclude
*
include
,
const
char
*
entrypoint
,
const
char
*
target
,
UINT
sflags
,
UINT
eflags
,
ID3DBlob
**
shader
,
ID3DBlob
**
error_messages
)
const
char
*
target
,
UINT
sflags
,
UINT
eflags
,
UINT
secondary_flags
,
const
void
*
secondary_data
,
SIZE_T
secondary_data_size
,
ID3DBlob
**
shader
,
ID3DBlob
**
error_messages
)
{
HRESULT
hr
;
TRACE
(
"data %p, data_size %lu, filename %s, defines %p, include %p, entrypoint %s,
\n
"
"target %s, sflags %#x, eflags %#x, shader %p, error_messages %p
\n
"
,
"target %s, sflags %#x, eflags %#x, secondary_flags %#x, secondary_data %p,
\n
"
"secondary_data_size %lu, shader %p, error_messages %p
\n
"
,
data
,
data_size
,
debugstr_a
(
filename
),
defines
,
include
,
debugstr_a
(
entrypoint
),
debugstr_a
(
target
),
sflags
,
eflags
,
shader
,
error_messages
);
debugstr_a
(
target
),
sflags
,
eflags
,
secondary_flags
,
secondary_data
,
secondary_data_size
,
shader
,
error_messages
);
if
(
secondary_data
)
FIXME
(
"secondary data not implemented yet
\n
"
);
if
(
shader
)
*
shader
=
NULL
;
if
(
error_messages
)
*
error_messages
=
NULL
;
...
...
@@ -717,6 +724,19 @@ HRESULT WINAPI D3DCompile(const void *data, SIZE_T data_size, const char *filena
return
hr
;
}
HRESULT
WINAPI
D3DCompile
(
const
void
*
data
,
SIZE_T
data_size
,
const
char
*
filename
,
const
D3D_SHADER_MACRO
*
defines
,
ID3DInclude
*
include
,
const
char
*
entrypoint
,
const
char
*
target
,
UINT
sflags
,
UINT
eflags
,
ID3DBlob
**
shader
,
ID3DBlob
**
error_messages
)
{
TRACE
(
"data %p, data_size %lu, filename %s, defines %p, include %p, entrypoint %s,
\n
"
"target %s, sflags %#x, eflags %#x, shader %p, error_messages %p
\n
"
,
data
,
data_size
,
debugstr_a
(
filename
),
defines
,
include
,
debugstr_a
(
entrypoint
),
debugstr_a
(
target
),
sflags
,
eflags
,
shader
,
error_messages
);
return
D3DCompile2
(
data
,
data_size
,
filename
,
defines
,
include
,
entrypoint
,
target
,
sflags
,
eflags
,
0
,
NULL
,
0
,
shader
,
error_messages
);
}
HRESULT
WINAPI
D3DPreprocess
(
const
void
*
data
,
SIZE_T
size
,
const
char
*
filename
,
const
D3D_SHADER_MACRO
*
defines
,
ID3DInclude
*
include
,
ID3DBlob
**
shader
,
ID3DBlob
**
error_messages
)
...
...
dlls/d3dcompiler_46/d3dcompiler_46.spec
View file @
e0a9ea6c
@ stdcall D3DAssemble(ptr long str ptr ptr long ptr ptr)
@ stdcall D3DCompile(ptr long str ptr ptr str str long long ptr ptr)
@ st
ub D3DCompile2
@ st
dcall D3DCompile2(ptr long str ptr ptr str str long long long ptr long ptr ptr)
@ stdcall D3DCompileFromFile(wstr ptr ptr str str long long ptr ptr)
@ stub D3DCompressShaders
@ stdcall D3DCreateBlob(long ptr)
...
...
dlls/d3dcompiler_47/d3dcompiler_47.spec
View file @
e0a9ea6c
@ stdcall D3DAssemble(ptr long str ptr ptr long ptr ptr)
@ stdcall D3DCompile(ptr long str ptr ptr str str long long ptr ptr)
@ st
ub D3DCompile2
@ st
dcall D3DCompile2(ptr long str ptr ptr str str long long long ptr long ptr ptr)
@ stdcall D3DCompileFromFile(wstr ptr ptr str str long long ptr ptr)
@ stub D3DCompressShaders
@ stdcall D3DCreateBlob(long ptr)
...
...
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