wined3d: Copy the correct "binding_base" size in shader_spirv_select().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2020-10-07 16:27:07 +03:30 committed by Alexandre Julliard
parent 14044d93fd
commit 6a6bbf1828
1 changed files with 1 additions and 1 deletions

View File

@ -820,7 +820,7 @@ static void shader_spirv_select(void *shader_priv, struct wined3d_context *conte
priv->fragment_pipe->fp_enable(context, !use_ps(state));
bindings = &priv->bindings;
memcpy(binding_base, bindings->binding_base, sizeof(bindings));
memcpy(binding_base, bindings->binding_base, sizeof(bindings->binding_base));
if (!shader_spirv_resource_bindings_init(bindings, &context_vk->graphics.bindings,
state, ~(1u << WINED3D_SHADER_TYPE_COMPUTE)))
{