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:
parent
32f3918108
commit
a27dbb2d5c
|
@ -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_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])
|
if (gl_info->supported[WINED3D_GL_LEGACY_CONTEXT])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue