wined3d: Invalidate shader resource bindings when blitting.

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 2018-10-23 19:08:50 +02:00 committed by Alexandre Julliard
parent 32f3918108
commit a27dbb2d5c
1 changed files with 2 additions and 0 deletions

View File

@ -2846,6 +2846,8 @@ void context_apply_blit_state(struct wined3d_context *context, const struct wine
}
context_invalidate_state(context, STATE_SAMPLER(sampler));
}
context_invalidate_compute_state(context, STATE_COMPUTE_SHADER_RESOURCE_BINDING);
context_invalidate_state(context, STATE_GRAPHICS_SHADER_RESOURCE_BINDING);
if (gl_info->supported[WINED3D_GL_LEGACY_CONTEXT])
{