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

d3d10: Replace a few more unknown in parse_fx10.

parent 99a4287f
......@@ -93,6 +93,8 @@ struct d3d10_effect
DWORD version;
DWORD localbuffers_count;
DWORD localobjects_count;
DWORD sharedbuffers_count;
DWORD sharedobjects_count;
DWORD technique_count;
DWORD index_offset;
DWORD dephstencilstate_count;
......
......@@ -462,12 +462,15 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s
read_dword(&ptr, &e->localobjects_count);
TRACE("Localobjects count: %u\n", e->localobjects_count);
read_dword(&ptr, &e->sharedbuffers_count);
TRACE("Sharedbuffers count: %u\n", e->sharedbuffers_count);
/* Number of variables in shared buffers? */
read_dword(&ptr, &unknown);
FIXME("Unknown 1: %u\n", unknown);
read_dword(&ptr, &unknown);
FIXME("Unknown 2: %u\n", unknown);
read_dword(&ptr, &unknown);
FIXME("Unknown 3: %u\n", unknown);
read_dword(&ptr, &e->sharedobjects_count);
TRACE("Sharedobjects count: %u\n", e->sharedobjects_count);
read_dword(&ptr, &e->technique_count);
TRACE("Technique count: %u\n", e->technique_count);
......@@ -476,9 +479,9 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s
TRACE("Index offset: %#x\n", e->index_offset);
read_dword(&ptr, &unknown);
FIXME("Unknown 4: %u\n", unknown);
FIXME("Unknown 2: %u\n", unknown);
read_dword(&ptr, &unknown);
FIXME("Unknown 5: %u\n", unknown);
FIXME("Unknown 3: %u\n", unknown);
read_dword(&ptr, &e->dephstencilstate_count);
TRACE("Depthstencilstate count: %u\n", e->dephstencilstate_count);
......@@ -493,15 +496,15 @@ static HRESULT parse_fx10(struct d3d10_effect *e, const char *data, DWORD data_s
TRACE("Samplerstate count: %u\n", e->samplerstate_count);
read_dword(&ptr, &unknown);
FIXME("Unknown 6: %u\n", unknown);
FIXME("Unknown 4: %u\n", unknown);
read_dword(&ptr, &unknown);
FIXME("Unknown 7: %u\n", unknown);
FIXME("Unknown 5: %u\n", unknown);
/* Number of function calls in all passes? */
read_dword(&ptr, &unknown);
FIXME("Unknown 8: %u\n", unknown);
FIXME("Unknown 6: %u\n", unknown);
read_dword(&ptr, &unknown);
FIXME("Unknown 9: %u\n", unknown);
FIXME("Unknown 7: %u\n", unknown);
return parse_fx10_body(e, ptr, data_size - (ptr - data));
}
......
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