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
8ffbd56a
Commit
8ffbd56a
authored
Aug 07, 2022
by
Andrey Gusev
Committed by
Alexandre Julliard
Aug 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx10: Implement D3DX10PreprocessShaderFromMemory().
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53427
parent
24e90e43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
12 deletions
+23
-12
async.c
dlls/d3dx10_43/async.c
+0
-12
compiler.c
dlls/d3dx10_43/compiler.c
+23
-0
No files found.
dlls/d3dx10_43/async.c
View file @
8ffbd56a
...
...
@@ -600,18 +600,6 @@ HRESULT WINAPI D3DX10CreateAsyncTextureProcessor(ID3D10Device *device,
return
S_OK
;
}
HRESULT
WINAPI
D3DX10PreprocessShaderFromMemory
(
const
char
*
data
,
SIZE_T
data_size
,
const
char
*
filename
,
const
D3D10_SHADER_MACRO
*
defines
,
ID3DInclude
*
include
,
ID3DX10ThreadPump
*
pump
,
ID3D10Blob
**
shader_text
,
ID3D10Blob
**
errors
,
HRESULT
*
hresult
)
{
FIXME
(
"data %s, data_size %Iu, filename %s, defines %p, include %p, pump %p, shader_text %p, "
"errors %p, hresult %p stub!
\n
"
,
debugstr_an
(
data
,
data_size
),
data_size
,
debugstr_a
(
filename
),
defines
,
include
,
pump
,
shader_text
,
errors
,
hresult
);
return
E_NOTIMPL
;
}
struct
work_item
{
struct
list
entry
;
...
...
dlls/d3dx10_43/compiler.c
View file @
8ffbd56a
...
...
@@ -183,3 +183,26 @@ HRESULT WINAPI D3DX10CreateEffectFromResourceW(HMODULE module, const WCHAR *reso
free
(
filename
);
return
hr
;
}
HRESULT
WINAPI
D3DX10PreprocessShaderFromMemory
(
const
char
*
data
,
SIZE_T
data_size
,
const
char
*
filename
,
const
D3D10_SHADER_MACRO
*
defines
,
ID3DInclude
*
include
,
ID3DX10ThreadPump
*
pump
,
ID3D10Blob
**
shader_text
,
ID3D10Blob
**
errors
,
HRESULT
*
hresult
)
{
HRESULT
hr
;
TRACE
(
"data %s, data_size %Iu, filename %s, defines %p, include %p, pump %p, shader_text %p, "
"errors %p, hresult %p.
\n
"
,
debugstr_an
(
data
,
data_size
),
data_size
,
debugstr_a
(
filename
),
defines
,
include
,
pump
,
shader_text
,
errors
,
hresult
);
if
(
!
data
)
return
E_FAIL
;
if
(
pump
)
FIXME
(
"Unimplemented ID3DX10ThreadPump handling.
\n
"
);
hr
=
D3DPreprocess
(
data
,
data_size
,
filename
,
defines
,
include
,
shader_text
,
errors
);
if
(
hresult
)
*
hresult
=
hr
;
return
hr
;
}
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