[PATCH 2/6] d3dcompiler: Implement ID3D10ShaderReflectionVariable GetType() method.
Matteo Bruni
mbruni at codeweavers.com
Thu Nov 14 13:59:56 CST 2019
From: Connor McAdams <conmanx360 at gmail.com>
Signed-off-by: Connor McAdams <conmanx360 at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
dlls/d3dcompiler_43/reflection.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dcompiler_43/reflection.c b/dlls/d3dcompiler_43/reflection.c
index 93819534e69..34a9984768d 100644
--- a/dlls/d3dcompiler_43/reflection.c
+++ b/dlls/d3dcompiler_43/reflection.c
@@ -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 =
--
2.21.0
More information about the wine-devel
mailing list