From 812ee5208c380481298183b29f03246f85a171fd Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 2 Jun 2009 09:01:16 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index 2385dbc8efd..d7a88357ea7 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; } } -- 2.11.4.GIT