Commit e8ba2489 authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

d3dcompiler: Properly initialize Stream member of D3D11_SIGNATURE_PARAMETER_DESC.

parent be79881a
...@@ -420,6 +420,9 @@ HRESULT d3dcompiler_parse_signature(struct d3dcompiler_shader_signature *s, cons ...@@ -420,6 +420,9 @@ HRESULT d3dcompiler_parse_signature(struct d3dcompiler_shader_signature *s, cons
UINT name_offset; UINT name_offset;
DWORD mask; DWORD mask;
/* todo: Parse stream in shaderblobs v5 (dx11) */
d[i].Stream = 0;
read_dword(&ptr, &name_offset); read_dword(&ptr, &name_offset);
d[i].SemanticName = string_data + (name_offset - string_data_offset); d[i].SemanticName = string_data + (name_offset - string_data_offset);
read_dword(&ptr, &d[i].SemanticIndex); read_dword(&ptr, &d[i].SemanticIndex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment