[PATCH 2/3] d3d10: Handle D3D10_SVT_UINT in read_int32_value() and read_int8_value().
Henri Verbeet
hverbeet at codeweavers.com
Tue Sep 4 06:52:31 CDT 2012
---
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;
--
1.7.8.6
More information about the wine-patches
mailing list