d3d: Fix Validate(Pixel|Vertex)Shader() prototypes.

Fix Validate(Pixel|Vertex)Shader() prototypes so they match the spec file.
Fix the stub message so it is more standard and use consistent
parameter names.
This commit is contained in:
Francois Gouget 2006-03-02 19:40:33 +01:00 committed by Alexandre Julliard
parent 2f29c779d4
commit 339a4dbd5b
2 changed files with 6 additions and 6 deletions

View File

@ -75,9 +75,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) {
* PARAMS * PARAMS
* toto result? * toto result?
*/ */
BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int foo, int bar, void *fee, int rab) BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int param1, int param2, LPVOID toto)
{ {
FIXME("(void): stub: %p %d %d %p %d\n", pFunction, foo, bar, fee, rab); FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto);
return TRUE; return TRUE;
} }
@ -87,8 +87,8 @@ BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int foo, int bar, void *fee,
* PARAMS * PARAMS
* toto result? * toto result?
*/ */
BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int foo, int bar, void *fee, int rab) BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int param1, int param2, LPVOID toto)
{ {
FIXME("(void): stub: %p %d %d %p %d\n", pFunction, foo, bar, fee, rab); FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto);
return TRUE; return TRUE;
} }

View File

@ -78,7 +78,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) {
*/ */
BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int param1, int param2, LPVOID toto) BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int param1, int param2, LPVOID toto)
{ {
FIXME("(void): stub: %p %d %d %p\n", pFunction, param1, param2, toto); FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto);
return TRUE; return TRUE;
} }
@ -90,6 +90,6 @@ BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int param1, int param2, LPVOI
*/ */
BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int param1, int param2, LPVOID toto) BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int param1, int param2, LPVOID toto)
{ {
FIXME("(void): stub: %p %d %d %p\n", pFunction, param1, param2, toto); FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto);
return TRUE; return TRUE;
} }