Stefan Dösinger : wined3d: Merge shader_arb_add_src_param and pshader_gen_input_modifier_line.
julliard at winehq.org
Mon May 11 09:10:47 CDT 2009
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(-)
More information about the wine-cvs