wined3d: Dirtify vertex shader on transformed <-> untransformed transitions.
This commit is contained in:
parent
aadd9ff159
commit
409cda0ac2
|
@ -7682,6 +7682,12 @@ static void glsl_vertex_pipe_vdecl(struct wined3d_context *context,
|
||||||
|
|
||||||
context->last_was_rhw = transformed;
|
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 (!use_vs(state))
|
||||||
{
|
{
|
||||||
if (context->last_was_vshader)
|
if (context->last_was_vshader)
|
||||||
|
|
Loading…
Reference in New Issue