d3dcompiler: Properly initialize Stream member of D3D11_SIGNATURE_PARAMETER_DESC.

This commit is contained in:
Rico Schüller 2010-12-22 12:14:56 +01:00 committed by Alexandre Julliard
parent be79881a69
commit e8ba248920
1 changed files with 3 additions and 0 deletions

View File

@ -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);