Stefan Dösinger : wined3d: Move shader generation into the shader backend.
Module: wine Branch: master Commit: a66fb40d834e8f9b2d1502300e13376722c95bbe URL: http://source.winehq.org/git/wine.git/?a=commit;h=a66fb40d834e8f9b2d1502300e... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Tue Mar 18 19:19:16 2008 +0100 wined3d: Move shader generation into the shader backend. Generating the shader ID and parts of the shader prolog and epilog was done by the common vertexshader.c / pixelshader.c, which is ugly. This patch doesn't get rid of all the uglyness, somewhen we'll still have to sort out the relationship of [arb|glsl]_generate_shader and [arb|glsl]_generate_declarations. --- dlls/wined3d/arb_program_shader.c | 171 +++++++++++++++++++++++++++++++++++++ dlls/wined3d/baseshader.c | 8 ++ dlls/wined3d/glsl_shader.c | 143 +++++++++++++++++++++++++++++++ dlls/wined3d/pixelshader.c | 171 +------------------------------------ dlls/wined3d/vertexshader.c | 126 +--------------------------- dlls/wined3d/wined3d_private.h | 18 ++-- 6 files changed, 336 insertions(+), 301 deletions(-) Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=a66fb40d834e8f9b2d1502...
participants (1)
-
Alexandre Julliard