Rico Schüller : d3dcompiler: Implement ID3D11ShaderReflection::GetMovInstructionCount().

Alexandre Julliard julliard at winehq.org
Tue Dec 21 14:32:19 CST 2010


Module: wine
Branch: master
Commit: ff038cbcbedea1a6fe1d957c5fe480e6c9400657
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ff038cbcbedea1a6fe1d957c5fe480e6c9400657

Author: Rico Schüller <kgbricola at web.de>
Date:   Tue Dec 21 11:06:04 2010 +0100

d3dcompiler: Implement ID3D11ShaderReflection::GetMovInstructionCount().

---

 dlls/d3dcompiler_43/reflection.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dcompiler_43/reflection.c b/dlls/d3dcompiler_43/reflection.c
index 08eb44c..c6594b3 100644
--- a/dlls/d3dcompiler_43/reflection.c
+++ b/dlls/d3dcompiler_43/reflection.c
@@ -151,9 +151,11 @@ static HRESULT STDMETHODCALLTYPE d3dcompiler_shader_reflection_GetResourceBindin
 static UINT STDMETHODCALLTYPE d3dcompiler_shader_reflection_GetMovInstructionCount(
         ID3D11ShaderReflection *iface)
 {
-    FIXME("iface %p stub!\n", iface);
+    struct d3dcompiler_shader_reflection *This = impl_from_ID3D11ShaderReflection(iface);
 
-    return 0;
+    TRACE("iface %p\n", iface);
+
+    return This->mov_instruction_count;
 }
 
 static UINT STDMETHODCALLTYPE d3dcompiler_shader_reflection_GetMovcInstructionCount(




More information about the wine-cvs mailing list