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

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


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

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

d3dcompiler: Implement ID3D11ShaderReflection::GetConversionInstructionCount().

---

 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 c6594b3..e0f634c 100644
--- a/dlls/d3dcompiler_43/reflection.c
+++ b/dlls/d3dcompiler_43/reflection.c
@@ -169,9 +169,11 @@ static UINT STDMETHODCALLTYPE d3dcompiler_shader_reflection_GetMovcInstructionCo
 static UINT STDMETHODCALLTYPE d3dcompiler_shader_reflection_GetConversionInstructionCount(
         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->conversion_instruction_count;
 }
 
 static UINT STDMETHODCALLTYPE d3dcompiler_shader_reflection_GetBitwiseInstructionCount(




More information about the wine-cvs mailing list