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
fb70f818
Commit
fb70f818
authored
Jul 20, 2008
by
Luis Busquets
Committed by
Alexandre Julliard
Jul 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Implement D3DXGetShaderVersion().
parent
0a8b2840
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
shader.c
dlls/d3dx9_36/shader.c
+7
-0
d3dx9shader.h
include/d3dx9shader.h
+1
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
fb70f818
...
...
@@ -163,7 +163,7 @@
@ stub D3DXGetShaderOutputSemantics
@ stub D3DXGetShaderSamplers
@ stdcall D3DXGetShaderSize(ptr)
@ st
ub D3DXGetShaderVersion
@ st
dcall D3DXGetShaderVersion(ptr)
@ stub D3DXGetVertexShaderProfile
@ stdcall D3DXIntersect(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) d3dx8.D3DXIntersect
@ stdcall D3DXIntersectSubset(ptr long ptr ptr ptr ptr ptr ptr ptr ptr ptr) d3dx8.D3DXIntersectSubset
...
...
dlls/d3dx9_36/shader.c
View file @
fb70f818
...
...
@@ -47,3 +47,10 @@ UINT WINAPI D3DXGetShaderSize(const DWORD *byte_code)
/* Return the shader size in bytes */
return
(
ptr
-
byte_code
)
*
sizeof
(
*
ptr
);
}
DWORD
WINAPI
D3DXGetShaderVersion
(
const
DWORD
*
byte_code
)
{
TRACE
(
"byte_code %p
\n
"
,
byte_code
);
return
byte_code
?
*
byte_code
:
0
;
}
include/d3dx9shader.h
View file @
fb70f818
...
...
@@ -26,6 +26,7 @@ extern "C" {
#endif
UINT
WINAPI
D3DXGetShaderSize
(
const
DWORD
*
byte_code
);
DWORD
WINAPI
D3DXGetShaderVersion
(
const
DWORD
*
byte_code
);
#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