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
110aa65e
Commit
110aa65e
authored
Jan 03, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Add a D3D10CompileEffectFromMemory() stub.
parent
ee1e1f0f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
d3d10.spec
dlls/d3d10/d3d10.spec
+1
-1
d3d10_main.c
dlls/d3d10/d3d10_main.c
+18
-0
d3d10effect.h
include/d3d10effect.h
+3
-0
No files found.
dlls/d3d10/d3d10.spec
View file @
110aa65e
@ st
ub D3D10CompileEffectFromMemory
@ st
dcall D3D10CompileEffectFromMemory(ptr long ptr ptr ptr long long ptr ptr)
@ stdcall D3D10CompileShader(ptr long str ptr ptr str str long ptr ptr)
@ stdcall D3D10CreateBlob(long ptr) d3dcompiler_43.D3DCreateBlob
@ stdcall D3D10CreateDevice(ptr long ptr long long ptr)
...
...
dlls/d3d10/d3d10_main.c
View file @
110aa65e
...
...
@@ -243,6 +243,24 @@ HRESULT WINAPI D3D10CreateEffectFromMemory(void *data, SIZE_T data_size, UINT fl
return
S_OK
;
}
HRESULT
WINAPI
D3D10CompileEffectFromMemory
(
void
*
data
,
SIZE_T
data_size
,
const
char
*
filename
,
const
D3D10_SHADER_MACRO
*
defines
,
ID3D10Include
*
include
,
UINT
hlsl_flags
,
UINT
fx_flags
,
ID3D10Blob
**
effect
,
ID3D10Blob
**
errors
)
{
FIXME
(
"data %p, data_size %lu, filename %s, defines %p, include %p,"
" hlsl_flags %#x, fx_flags %#x, effect %p, errors %p stub!
\n
"
,
data
,
data_size
,
wine_dbgstr_a
(
filename
),
defines
,
include
,
hlsl_flags
,
fx_flags
,
effect
,
errors
);
if
(
effect
)
*
effect
=
NULL
;
if
(
errors
)
*
errors
=
NULL
;
return
E_NOTIMPL
;
}
LPCSTR
WINAPI
D3D10GetVertexShaderProfile
(
ID3D10Device
*
device
)
{
FIXME
(
"device %p stub!
\n
"
,
device
);
...
...
include/d3d10effect.h
View file @
110aa65e
...
...
@@ -827,6 +827,9 @@ DECLARE_INTERFACE_(ID3D10StateBlock, IUnknown)
extern
"C"
{
#endif
HRESULT
WINAPI
D3D10CompileEffectFromMemory
(
void
*
data
,
SIZE_T
data_size
,
const
char
*
filename
,
const
D3D10_SHADER_MACRO
*
defines
,
ID3D10Include
*
include
,
UINT
hlsl_flags
,
UINT
fx_flags
,
ID3D10Blob
**
effect
,
ID3D10Blob
**
errors
);
HRESULT
WINAPI
D3D10CreateEffectFromMemory
(
void
*
data
,
SIZE_T
data_size
,
UINT
flags
,
ID3D10Device
*
device
,
ID3D10EffectPool
*
effect_pool
,
ID3D10Effect
**
effect
);
HRESULT
WINAPI
D3D10CreateStateBlock
(
ID3D10Device
*
device
,
...
...
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