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:
parent
0182f1f848
commit
9a9468ccc0
|
@ -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));
|
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;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue