Paul Gofman : d3dx9: Dump bytecode if parameter evaluator creation failed.
Alexandre Julliard
julliard at winehq.org
Thu Aug 31 14:20:47 CDT 2017
Module: wine
Branch: master
Commit: c48658dbb82371ca3c9feb69254138875a79310b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c48658dbb82371ca3c9feb69254138875a79310b
Author: Paul Gofman <gofmanp at gmail.com>
Date: Thu Aug 31 16:08:30 2017 +0300
d3dx9: Dump bytecode if parameter evaluator creation failed.
Signed-off-by: Paul Gofman <gofmanp at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dx9_36/preshader.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/d3dx9_36/preshader.c b/dlls/d3dx9_36/preshader.c
index 4142c52..e3e91c6 100644
--- a/dlls/d3dx9_36/preshader.c
+++ b/dlls/d3dx9_36/preshader.c
@@ -1324,6 +1324,9 @@ HRESULT d3dx_create_param_eval(struct d3dx9_base_effect *base_effect, void *byte
err_out:
WARN("Error creating parameter evaluator.\n");
+ if (TRACE_ON(d3dx))
+ dump_bytecode(byte_code, byte_code_size);
+
d3dx_free_param_eval(peval);
*peval_out = NULL;
return ret;
More information about the wine-cvs
mailing list