[3/3] d3dx9: Make D3DXCompileShader stub more verbose.
Matteo Bruni
matteo.mystral at gmail.com
Tue Jun 1 07:44:44 CDT 2010
I suppose it is allowed to dump out the shader program. Otherwise,
I'll resend without that part.
-------------- next part --------------
From 358d59eed012b99b70e4de54330892636fef5cfe Mon Sep 17 00:00:00 2001
From: Matteo Bruni <matteo.mystral at gmail.com>
Date: Mon, 31 May 2010 20:01:12 +0200
Subject: d3dx9: Make D3DXCompileShader stub more verbose.
---
dlls/d3dx9_36/shader.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/d3dx9_36/shader.c b/dlls/d3dx9_36/shader.c
index 3aeaf78..b226fa6 100644
--- a/dlls/d3dx9_36/shader.c
+++ b/dlls/d3dx9_36/shader.c
@@ -644,9 +644,13 @@ HRESULT WINAPI D3DXCompileShader(LPCSTR pSrcData,
LPD3DXBUFFER* ppErrorMsgs,
LPD3DXCONSTANTTABLE * ppConstantTable)
{
- FIXME("(%p, %d, %p, %p, %p, %p, %d, %p, %p, %p): stub\n",
- pSrcData, srcDataLen, pDefines, pInclude, pFunctionName,
- pProfile, Flags, ppShader, ppErrorMsgs, ppConstantTable);
+ FIXME("(%p, %d, %p, %p, %s, %s, %x, %p, %p, %p): stub\n",
+ pSrcData, srcDataLen, pDefines, pInclude, debugstr_a(pFunctionName),
+ debugstr_a(pProfile), Flags, ppShader, ppErrorMsgs, ppConstantTable);
+
+ TRACE("Shader source:\n");
+ TRACE("%s\n", debugstr_an(pSrcData, srcDataLen));
+
return D3DERR_INVALIDCALL;
}
--
1.6.4.4
More information about the wine-patches
mailing list