Commit af55ae13 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Don't flag WINED3D_SHADER_CONST_FFP_PROJ on transformed <-> untransformed vdecl change.

It's unnecessary since the vertex shader is going to change and shader_glsl_select() flags all the constants used by the shader anyway.
parent 438f68cc
...@@ -7767,9 +7767,6 @@ static void glsl_vertex_pipe_vdecl(struct wined3d_context *context, ...@@ -7767,9 +7767,6 @@ static void glsl_vertex_pipe_vdecl(struct wined3d_context *context,
clipplane(context, state, STATE_CLIPPLANE(i)); clipplane(context, state, STATE_CLIPPLANE(i));
} }
if (transformed != wasrhw)
context->constant_update_mask |= WINED3D_SHADER_CONST_FFP_PROJ;
context->constant_update_mask |= WINED3D_SHADER_CONST_FFP_TEXMATRIX; context->constant_update_mask |= WINED3D_SHADER_CONST_FFP_TEXMATRIX;
/* Because of settings->texcoords, we have to always regenerate the /* Because of settings->texcoords, we have to always regenerate the
......
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