Module: wine Branch: master Commit: 48c2b0d66960790fcd781c391f0a4abe915a8f9e URL: http://source.winehq.org/git/wine.git/?a=commit;h=48c2b0d66960790fcd781c391f...
Author: Stefan Dösinger stefan@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=48c2b0d66960790fcd781c...