Module: wine Branch: refs/heads/master Commit: 1f1057fc9b073ba50c1f101145d73e172c4c6e09 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1f1057fc9b073ba50c1f1011...
Author: Jason Green jave27@gmail.com Date: Thu Jun 8 04:00:23 2006 -0400
wined3d: Move constant loading out of DrawPrimDrawStrided() and enable loading float constants for GLSL.
- DrawPrim is just too big of a function. This separates the passing of constants to the shader into new functions. - Fixes an off-by-one error when loading vertex declaration constants (should be <, not <=) - Adds a function for GLSL loading of constants (aka Uniforms) - Adds a GLSL program variable to the stateblock and sets it to 0 (a future patch will actually create this program)
---
dlls/wined3d/drawprim.c | 249 +++++++++++++++++++++++++++------------- dlls/wined3d/stateblock.c | 4 + dlls/wined3d/wined3d_private.h | 2 3 files changed, 176 insertions(+), 79 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=1f1057fc9b073ba50c1f...