wined3d: Merge shader_arb_add_src_param and pshader_gen_input_modifier_line.
commit48c2b0d66960790fcd781c391f0a4abe915a8f9e
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 7 May 2009 15:42:16 +0000 (7 17:42 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 11 May 2009 10:48:35 +0000 (11 12:48 +0200)
treea36cb7e5fde9d6715e199d53a9d42a14feae1814
parent49d08124a6b994d1d7fd785273029365577cabc5
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