d3d10: Replace a few more unknown in parse_fx10.

This commit is contained in:
Rico Schüller 2009-05-30 14:13:19 +02:00 committed by Alexandre Julliard
parent 99a4287f5d
commit 3838f4b21a
2 changed files with 15 additions and 10 deletions

View File

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

View File

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