Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
fb70f818
Commit
fb70f818
authored
16 years ago
by
Luis Carlos Busquets Pérez
Committed by
Alexandre Julliard
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
d3dx9: Implement D3DXGetShaderVersion().
parent
0a8b2840
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
1 addition, 1 deletion
dlls/d3dx9_36/d3dx9_36.spec
dlls/d3dx9_36/shader.c
+7
-0
7 additions, 0 deletions
dlls/d3dx9_36/shader.c
include/d3dx9shader.h
+1
-0
1 addition, 0 deletions
include/d3dx9shader.h
with
9 additions
and
1 deletion
dlls/d3dx9_36/d3dx9_36.spec
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
dlls/d3dx9_36/shader.c
+
7
−
0
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
;
}
This diff is collapsed.
Click to expand it.
include/d3dx9shader.h
+
1
−
0
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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment