[PATCH 1/5] d3dcompiler: Dump preprocessed shader sources.

Matteo Bruni mbruni at codeweavers.com
Wed Jun 6 17:19:01 CDT 2012


---
 dlls/d3dcompiler_43/compiler.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/d3dcompiler_43/compiler.c b/dlls/d3dcompiler_43/compiler.c
index 043d231..1eb07ce 100644
--- a/dlls/d3dcompiler_43/compiler.c
+++ b/dlls/d3dcompiler_43/compiler.c
@@ -500,6 +500,8 @@ static HRESULT compile_shader(const char *preproc_shader, const char *target, co
     ID3DBlob *buffer;
     char *pos;
 
+    TRACE("Preprocessed shader source: %s\n", debugstr_a(preproc_shader));
+
     FIXME("Parse compilation target.\n");
     shader = parse_hlsl_shader(preproc_shader, ST_VERTEX, 2, entrypoint, &messages);
 
-- 
1.7.3.4




More information about the wine-patches mailing list