wined3d: Use the proper OUT swizzle in handle_ps3_input().

This commit is contained in:
Henri Verbeet 2009-05-29 09:13:21 +02:00 committed by Alexandre Julliard
parent 59268f7924
commit 7433eb76b5
1 changed files with 2 additions and 2 deletions

View File

@ -3405,13 +3405,13 @@ static void handle_ps3_input(SHADER_BUFFER *buffer, const WineD3D_GL_Info *gl_in
semantic_name_out = output_signature[j].semantic_name;
semantic_idx_out = output_signature[j].semantic_idx;
shader_glsl_write_mask_to_str(output_signature[i].mask, reg_mask_out);
shader_glsl_write_mask_to_str(output_signature[j].mask, reg_mask_out);
if (semantic_idx_in == semantic_idx_out
&& !strcmp(semantic_name_in, semantic_name_out))
{
shader_addline(buffer, "%s%s = OUT[%u]%s;\n",
destination, reg_mask, j, reg_mask);
destination, reg_mask, j, reg_mask_out);
found = TRUE;
}
}