Matteo Bruni : d3dcompiler: Dump preprocessed shader sources.
Alexandre Julliard
julliard at winehq.org
Thu Jun 7 13:39:16 CDT 2012
Module: wine
Branch: master
Commit: a8839cd1def1ed9fa08b6a84dd183b093d95deeb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a8839cd1def1ed9fa08b6a84dd183b093d95deeb
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Thu Jun 7 00:19:01 2012 +0200
d3dcompiler: Dump preprocessed shader sources.
---
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);
More information about the wine-cvs
mailing list