wined3d: Check BLENDWEIGHT and BLENDINDICES FFP attributes for fixups.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2016-07-20 00:33:26 +02:00 committed by Alexandre Julliard
parent 8d6ea0ea02
commit dcaf944e35
1 changed files with 4 additions and 0 deletions

View File

@ -381,6 +381,10 @@ static BOOL buffer_find_decl(struct wined3d_buffer *This, const struct wined3d_s
fixup_flags, &stride_this_run) || ret;
fixup_flags &= ~WINED3D_BUFFER_FIXUP_XYZRHW;
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_BLENDWEIGHT,
fixup_flags, &stride_this_run) || ret;
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_BLENDINDICES,
fixup_flags, &stride_this_run) || ret;
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_NORMAL,
fixup_flags, &stride_this_run) || ret;
ret = buffer_check_attribute(This, si, state, WINED3D_FFP_DIFFUSE,