Commit 339a4dbd authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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.
parent 2f29c779
...@@ -75,9 +75,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) { ...@@ -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, ...@@ -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;
} }
...@@ -78,7 +78,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) { ...@@ -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 ...@@ -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;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment