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
3719aed1
Commit
3719aed1
authored
Mar 17, 2024
by
Vijay Kiran Kamuju
Committed by
Alexandre Julliard
Mar 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Add D3DCreateLinker stub.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=52622
parent
86557b9e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
1 deletion
+24
-1
compiler.c
dlls/d3dcompiler_43/compiler.c
+6
-0
d3dcompiler_47.spec
dlls/d3dcompiler_47/d3dcompiler_47.spec
+1
-1
d3d11shader.h
include/d3d11shader.h
+16
-0
d3dcompiler.h
include/d3dcompiler.h
+1
-0
No files found.
dlls/d3dcompiler_43/compiler.c
View file @
3719aed1
...
@@ -774,6 +774,12 @@ end:
...
@@ -774,6 +774,12 @@ end:
return
hr
;
return
hr
;
}
}
HRESULT
WINAPI
D3DCreateLinker
(
ID3D11Linker
**
linker
)
{
FIXME
(
"linker %p stub!
\n
"
,
linker
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DLoadModule
(
const
void
*
data
,
SIZE_T
size
,
ID3D11Module
**
module
)
HRESULT
WINAPI
D3DLoadModule
(
const
void
*
data
,
SIZE_T
size
,
ID3D11Module
**
module
)
{
{
FIXME
(
"data %p, size %Iu, module %p stub!
\n
"
,
data
,
size
,
module
);
FIXME
(
"data %p, size %Iu, module %p stub!
\n
"
,
data
,
size
,
module
);
...
...
dlls/d3dcompiler_47/d3dcompiler_47.spec
View file @
3719aed1
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
@ stub D3DCompressShaders
@ stub D3DCompressShaders
@ stdcall D3DCreateBlob(long ptr)
@ stdcall D3DCreateBlob(long ptr)
@ stub D3DCreateFunctionLinkingGraph
@ stub D3DCreateFunctionLinkingGraph
@ st
ub D3DCreateLinker
@ st
dcall D3DCreateLinker(ptr)
@ stub D3DDecompressShaders
@ stub D3DDecompressShaders
@ stdcall D3DDisassemble(ptr long long ptr ptr)
@ stdcall D3DDisassemble(ptr long long ptr ptr)
@ stub D3DDisassemble10Effect(ptr long ptr)
@ stub D3DDisassemble10Effect(ptr long ptr)
...
...
include/d3d11shader.h
View file @
3719aed1
...
@@ -261,4 +261,20 @@ DECLARE_INTERFACE_(ID3D11Module, IUnknown)
...
@@ -261,4 +261,20 @@ DECLARE_INTERFACE_(ID3D11Module, IUnknown)
};
};
#undef INTERFACE
#undef INTERFACE
DEFINE_GUID
(
IID_ID3D11Linker
,
0x59a6cd0e
,
0xe10d
,
0x4c1f
,
0x88
,
0xc0
,
0x63
,
0xab
,
0xa1
,
0xda
,
0xf3
,
0x0e
);
#define INTERFACE ID3D11Linker
DECLARE_INTERFACE_
(
ID3D11Linker
,
IUnknown
)
{
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
iid
,
void
**
out
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/* ID3D11Linker methods */
STDMETHOD
(
Link
)(
THIS_
ID3D11ModuleInstance
*
instance
,
LPCSTR
instname
,
LPCSTR
targetname
,
UINT
flags
,
ID3DBlob
**
shader
,
ID3DBlob
**
error
)
PURE
;
STDMETHOD
(
UseLibrary
)(
THIS_
ID3D11ModuleInstance
*
libinstance
)
PURE
;
STDMETHOD
(
AddClipPlaneFromCBuffer
)(
THIS_
UINT
bufferslot
,
UINT
bufferentry
)
PURE
;
};
#undef INTERFACE
#endif
#endif
include/d3dcompiler.h
View file @
3719aed1
...
@@ -153,6 +153,7 @@ typedef HRESULT (WINAPI *pD3DPreprocess)(const void *data, SIZE_T size, const ch
...
@@ -153,6 +153,7 @@ typedef HRESULT (WINAPI *pD3DPreprocess)(const void *data, SIZE_T size, const ch
const
D3D_SHADER_MACRO
*
defines
,
ID3DInclude
*
include
,
const
D3D_SHADER_MACRO
*
defines
,
ID3DInclude
*
include
,
ID3DBlob
**
shader
,
ID3DBlob
**
error_messages
);
ID3DBlob
**
shader
,
ID3DBlob
**
error_messages
);
HRESULT
WINAPI
D3DCreateLinker
(
ID3D11Linker
**
linker
);
HRESULT
WINAPI
D3DLoadModule
(
const
void
*
data
,
SIZE_T
size
,
ID3D11Module
**
module
);
HRESULT
WINAPI
D3DLoadModule
(
const
void
*
data
,
SIZE_T
size
,
ID3D11Module
**
module
);
#ifdef __cplusplus
#ifdef __cplusplus
...
...
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