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
390b4803
Commit
390b4803
authored
Aug 21, 2010
by
Matteo Bruni
Committed by
Alexandre Julliard
Aug 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Stub D3DCompile implementation.
parent
dfdea6c4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
compiler.c
dlls/d3dcompiler_43/compiler.c
+17
-0
d3dcompiler_43.spec
dlls/d3dcompiler_43/d3dcompiler_43.spec
+1
-1
d3dcompiler.h
include/d3dcompiler.h
+4
-0
No files found.
dlls/d3dcompiler_43/compiler.c
View file @
390b4803
...
...
@@ -491,3 +491,20 @@ cleanup:
LeaveCriticalSection
(
&
wpp_mutex
);
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
)
{
FIXME
(
"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 stub!
\n
"
,
data
,
data_size
,
debugstr_a
(
filename
),
defines
,
include
,
debugstr_a
(
entrypoint
),
debugstr_a
(
target
),
sflags
,
eflags
,
shader
,
error_messages
);
TRACE
(
"Shader source:
\n
%s
\n
"
,
debugstr_an
(
data
,
data_size
));
if
(
error_messages
)
D3DCreateBlob
(
1
,
error_messages
);
/* zero fill used as string end */
return
D3DERR_INVALIDCALL
;
}
dlls/d3dcompiler_43/d3dcompiler_43.spec
View file @
390b4803
@ stdcall D3DAssemble(ptr long str ptr ptr long ptr ptr)
@ stub DebugSetMute
@ st
ub D3DCompile
@ st
dcall D3DCompile(ptr long str ptr ptr str str long long ptr ptr)
@ stub D3DCompressShaders
@ stdcall D3DCreateBlob(long ptr)
@ stub D3DDecompressShaders
...
...
include/d3dcompiler.h
View file @
390b4803
...
...
@@ -41,6 +41,10 @@
#define D3DCOMPILE_OPTIMIZATION_LEVEL3 0x8000
#define D3DCOMPILE_WARNINGS_ARE_ERRORS 0x40000
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
);
HRESULT
WINAPI
D3DCreateBlob
(
SIZE_T
data_size
,
ID3DBlob
**
blob
);
#endif
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