d3d10/effect: Remove a bit of a dead code for semantic handling, for anonymous shader variables.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-10-01 09:14:01 +03:00 committed by Alexandre Julliard
parent 0182f1f848
commit 9a9468ccc0
1 changed files with 0 additions and 7 deletions

View File

@ -1543,13 +1543,6 @@ static HRESULT parse_fx10_anonymous_shader(struct d3d10_effect *e, struct d3d10_
}
TRACE("Variable name: %s.\n", debugstr_a(v->name));
if (!copy_name(NULL, &v->semantic))
{
ERR("Failed to copy semantic.\n");
return E_OUTOFMEMORY;
}
TRACE("Variable semantic: %s.\n", debugstr_a(v->semantic));
return S_OK;
}