d3dcompiler: Implement ID3D10ShaderReflectionVariable GetType() method.

Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Connor McAdams 2019-11-14 20:59:56 +01:00 committed by Alexandre Julliard
parent a3b6d5646d
commit c232519076
1 changed files with 4 additions and 2 deletions

View File

@ -2133,9 +2133,11 @@ static HRESULT STDMETHODCALLTYPE d3d10_shader_reflection_variable_GetDesc(ID3D10
static ID3D10ShaderReflectionType * STDMETHODCALLTYPE d3d10_shader_reflection_variable_GetType(
ID3D10ShaderReflectionVariable *iface)
{
FIXME("iface %p stub!\n", iface);
struct d3dcompiler_shader_reflection_variable *var = impl_from_ID3D10ShaderReflectionVariable(iface);
return &null_type.ID3D10ShaderReflectionType_iface;
TRACE("iface %p.\n", iface);
return &var->type->ID3D10ShaderReflectionType_iface;
}
static const struct ID3D10ShaderReflectionVariableVtbl d3d10_shader_reflection_variable_vtbl =