Henri Verbeet : d3d10: Handle D3D10_SVT_UINT in read_int32_value() and read_int8_value().

Alexandre Julliard julliard at winehq.org
Tue Sep 4 12:38:37 CDT 2012


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Sep  4 13:52:31 2012 +0200

d3d10: Handle D3D10_SVT_UINT in read_int32_value() and read_int8_value().

---

 dlls/d3d10/effect.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c
index 7d07cc3..5b82777 100644
--- a/dlls/d3d10/effect.c
+++ b/dlls/d3d10/effect.c
@@ -1084,6 +1084,7 @@ static BOOL read_int32_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, INT
             return TRUE;
 
         case D3D10_SVT_INT:
+        case D3D10_SVT_UINT:
         case D3D10_SVT_BOOL:
             out_data[idx] = value;
             return TRUE;
@@ -1099,6 +1100,7 @@ static BOOL read_int8_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, INT8
     switch (in_type)
     {
         case D3D10_SVT_INT:
+        case D3D10_SVT_UINT:
             out_data[idx] = value;
             return TRUE;
 




More information about the wine-cvs mailing list