Commit 0f372135 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 66ec8a5c
...@@ -1084,6 +1084,7 @@ static BOOL read_int32_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, INT ...@@ -1084,6 +1084,7 @@ static BOOL read_int32_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, INT
return TRUE; return TRUE;
case D3D10_SVT_INT: case D3D10_SVT_INT:
case D3D10_SVT_UINT:
case D3D10_SVT_BOOL: case D3D10_SVT_BOOL:
out_data[idx] = value; out_data[idx] = value;
return TRUE; return TRUE;
...@@ -1099,6 +1100,7 @@ static BOOL read_int8_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, INT8 ...@@ -1099,6 +1100,7 @@ static BOOL read_int8_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, INT8
switch (in_type) switch (in_type)
{ {
case D3D10_SVT_INT: case D3D10_SVT_INT:
case D3D10_SVT_UINT:
out_data[idx] = value; out_data[idx] = value;
return TRUE; return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment