Rico Schüller : d3dcompiler: Properly initialize Stream member of D3D11_SIGNATURE_PARAMETER_DESC.

Alexandre Julliard julliard at winehq.org
Wed Dec 22 10:57:39 CST 2010


Module: wine
Branch: master
Commit: e8ba2489204c70138f93c6f1815facde7a39417e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e8ba2489204c70138f93c6f1815facde7a39417e

Author: Rico Schüller <kgbricola at web.de>
Date:   Wed Dec 22 12:14:56 2010 +0100

d3dcompiler: Properly initialize Stream member of D3D11_SIGNATURE_PARAMETER_DESC.

---

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

diff --git a/dlls/d3dcompiler_43/reflection.c b/dlls/d3dcompiler_43/reflection.c
index 1e287de..a8cf31f 100644
--- a/dlls/d3dcompiler_43/reflection.c
+++ b/dlls/d3dcompiler_43/reflection.c
@@ -420,6 +420,9 @@ HRESULT d3dcompiler_parse_signature(struct d3dcompiler_shader_signature *s, cons
         UINT name_offset;
         DWORD mask;
 
+        /* todo: Parse stream in shaderblobs v5 (dx11) */
+        d[i].Stream = 0;
+
         read_dword(&ptr, &name_offset);
         d[i].SemanticName = string_data + (name_offset - string_data_offset);
         read_dword(&ptr, &d[i].SemanticIndex);




More information about the wine-cvs mailing list