d3dx9: Implement D3DXGetShaderVersion().
This commit is contained in:
parent
0a8b284010
commit
fb70f818b7
|
@ -163,7 +163,7 @@
|
|||
@ stub D3DXGetShaderOutputSemantics
|
||||
@ stub D3DXGetShaderSamplers
|
||||
@ stdcall D3DXGetShaderSize(ptr)
|
||||
@ stub D3DXGetShaderVersion
|
||||
@ stdcall 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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
UINT WINAPI D3DXGetShaderSize(const DWORD *byte_code);
|
||||
DWORD WINAPI D3DXGetShaderVersion(const DWORD *byte_code);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue