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
da783ee5
Commit
da783ee5
authored
Aug 26, 2010
by
Matteo Bruni
Committed by
Alexandre Julliard
Aug 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Implement D3D10CompileShader, forward to d3dcompiler.
parent
e574c89f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
Makefile.in
dlls/d3d10/Makefile.in
+1
-1
d3d10.spec
dlls/d3d10/d3d10.spec
+1
-1
d3d10_private.h
dlls/d3d10/d3d10_private.h
+1
-0
shader.c
dlls/d3d10/shader.c
+9
-0
No files found.
dlls/d3d10/Makefile.in
View file @
da783ee5
...
...
@@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
d3d10.dll
IMPORTLIB
=
d3d10
IMPORTS
=
dxguid uuid d3d10core dxgi
IMPORTS
=
dxguid uuid d3d10core d
3dcompiler d
xgi
C_SRCS
=
\
d3d10_main.c
\
...
...
dlls/d3d10/d3d10.spec
View file @
da783ee5
@ stub D3D10CompileEffectFromMemory
@ st
ub D3D10CompileShader
@ st
dcall 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)
@ stdcall D3D10CreateDeviceAndSwapChain(ptr long ptr long long ptr ptr ptr)
...
...
dlls/d3d10/d3d10_private.h
View file @
da783ee5
...
...
@@ -28,6 +28,7 @@
#include "objbase.h"
#include "d3d10.h"
#include "d3dcompiler.h"
/*
* This doesn't belong here, but for some functions it is possible to return that value,
...
...
dlls/d3d10/shader.c
View file @
da783ee5
...
...
@@ -133,3 +133,12 @@ const struct ID3D10ShaderReflectionVtbl d3d10_shader_reflection_vtbl =
d3d10_shader_reflection_GetInputParameterDesc
,
d3d10_shader_reflection_GetOutputParameterDesc
,
};
HRESULT
WINAPI
D3D10CompileShader
(
const
char
*
data
,
SIZE_T
data_size
,
const
char
*
filename
,
const
D3D10_SHADER_MACRO
*
defines
,
ID3D10Include
*
include
,
const
char
*
entrypoint
,
const
char
*
profile
,
UINT
flags
,
ID3D10Blob
**
shader
,
ID3D10Blob
**
error_messages
)
{
/* Forward to d3dcompiler */
return
D3DCompile
(
data
,
data_size
,
filename
,
defines
,
include
,
entrypoint
,
profile
,
flags
,
0
,
shader
,
error_messages
);
}
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