Stefan Dösinger : wined3d: Merge shader_arb_add_src_param and pshader_gen_input_modifier_line.

Alexandre Julliard julliard at winehq.org
Mon May 11 09:10:47 CDT 2009


Module: wine
Branch: master
Commit: 48c2b0d66960790fcd781c391f0a4abe915a8f9e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=48c2b0d66960790fcd781c391f0a4abe915a8f9e

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Thu May  7 17:42:16 2009 +0200

wined3d: Merge shader_arb_add_src_param and pshader_gen_input_modifier_line.

Mostly based on the code of pshader_gen_input_modifier_line. The space-adding
behavior of shader_arb_add_src_param was removed because the plurality of
instruction handlers passes an uninitialized buffer in and expects a register
name written to its start, and only map2gl and rcp_rsq use the space-adding
stuff. I'll change rcp_rsq in a later patch anyway. I changed the name to
shader_arb_get_src_param to reflect this behavior.

---

 dlls/wined3d/arb_program_shader.c |  103 ++++++++++++++++---------------------
 1 files changed, 44 insertions(+), 59 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=48c2b0d66960790fcd781c391f0a4abe915a8f9e



More information about the wine-cvs mailing list