wined3d: Dirtify vertex shader on transformed <-> untransformed transitions.

This commit is contained in:
Matteo Bruni 2015-05-19 23:32:31 +02:00 committed by Alexandre Julliard
parent aadd9ff159
commit 409cda0ac2
1 changed files with 6 additions and 0 deletions

View File

@ -7682,6 +7682,12 @@ static void glsl_vertex_pipe_vdecl(struct wined3d_context *context,
context->last_was_rhw = transformed;
/* If the vertex declaration contains a transformed position attribute,
* the draw uses the fixed function vertex pipeline regardless of any
* vertex shader set by the application. */
if (transformed != wasrhw)
context->shader_update_mask |= 1 << WINED3D_SHADER_TYPE_VERTEX;
if (!use_vs(state))
{
if (context->last_was_vshader)