Partially revert 7433eb76b5f05ae54702fe9e57ba315407ed651b.
Henri Verbeet
hverbeet at codeweavers.com
Tue Jun 2 02:01:16 CDT 2009
The write mask sizes for the input and output semantics can be different,
resulting in compilation failure.
---
dlls/wined3d/glsl_shader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index 2385dbc..d7a8835 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -3411,7 +3411,7 @@ static void handle_ps3_input(SHADER_BUFFER *buffer, const WineD3D_GL_Info *gl_in
&& !strcmp(semantic_name_in, semantic_name_out))
{
shader_addline(buffer, "%s%s = OUT[%u]%s;\n",
- destination, reg_mask, j, reg_mask_out);
+ destination, reg_mask, j, reg_mask);
found = TRUE;
}
}
--
1.6.0.6
--------------030201030005000104060502--
More information about the wine-patches
mailing list