Module: wine Branch: master Commit: 812ee5208c380481298183b29f03246f85a171fd URL: http://source.winehq.org/git/wine.git/?a=commit;h=812ee5208c380481298183b29f...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Jun 2 09:01:16 2009 +0200
wined3d: Partially revert 7433eb76b5f05ae54702fe9e57ba315407ed651b.
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; } }