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

d3d10: Parse variable flag.

parent 09e258a1
......@@ -66,6 +66,7 @@ struct d3d10_effect_variable
char *name;
DWORD buffer_offset;
DWORD annotation_count;
DWORD flag;
};
struct d3d10_effect_local_buffer
......
......@@ -428,7 +428,10 @@ static HRESULT parse_fx10_variable(struct d3d10_effect_variable *v, const char *
read_dword(ptr, &v->buffer_offset);
TRACE("Variable offset in buffer: %#x.\n", v->buffer_offset);
skip_dword_unknown(ptr, 2);
skip_dword_unknown(ptr, 1);
read_dword(ptr, &v->flag);
TRACE("Variable flag: %#x.\n", v->flag);
read_dword(ptr, &v->annotation_count);
for(i = 0; i < v->annotation_count; ++i)
......
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