Hellblade: Senua's Sacrifice is known to have one such shader and the invalid entry isn't actually used by the shader.
Signed-off-by: Matteo Bruni mbruni@codeweavers.com --- dlls/wined3d/shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/shader.c b/dlls/wined3d/shader.c index 2731639d554..967060bf0a9 100644 --- a/dlls/wined3d/shader.c +++ b/dlls/wined3d/shader.c @@ -1802,7 +1802,7 @@ static HRESULT shader_get_registers_used(struct wined3d_shader *shader, DWORD co if (input_signature->elements[i].register_idx >= ARRAY_SIZE(shader->u.vs.attributes)) { WARN("Invalid input signature register index %u.\n", input_signature->elements[i].register_idx); - return WINED3DERR_INVALIDCALL; + continue; } } else if (shader_version.type == WINED3D_SHADER_TYPE_PIXEL)