Jason Green : wined3d: Move constant loading into target-specific files.
Module: wine Branch: refs/heads/master Commit: 2d8e05f8a1e7f1068c0472213dac92112f9418c8 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2d8e05f8a1e7f1068c047221... Author: Jason Green <jave27(a)gmail.com> Date: Fri Jun 16 16:07:00 2006 -0400 wined3d: Move constant loading into target-specific files. - Moves GLSL constant loading code into glsl_shader.c and out of the over-populated drawprim.c. - Creates a new file named arb_program_shader.c which will hold code specific to ARB_vertex_program & ARB_fragment_program. - Remove the constant loading calls from drawprim.c --- dlls/wined3d/Makefile.in | 1 dlls/wined3d/arb_program_shader.c | 111 ++++++++++++++++++++++++ dlls/wined3d/drawprim.c | 174 +------------------------------------ dlls/wined3d/glsl_shader.c | 113 ++++++++++++++++++++++++ dlls/wined3d/wined3d_private.h | 10 ++ 5 files changed, 240 insertions(+), 169 deletions(-) create mode 100644 dlls/wined3d/arb_program_shader.c Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=2d8e05f8a1e7f1068c04...
participants (1)
-
Alexandre Julliard