Ivan Gyurdiev : wined3d: Place immediate constants in the same array as global constants.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jul 11 11:03:07 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: e9de563e415788946b955be01b023705cff3342c
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=e9de563e415788946b955be01b023705cff3342c

Author: Ivan Gyurdiev <ivg231 at gmail.com>
Date:   Sun Jul  9 22:51:03 2006 -0600

wined3d: Place immediate constants in the same array as global constants.

- move DEF, DEFI, DEFB handling into the register counting pass
- keep track of defined constants as a linked list (because there's a
  few of them)
- apply immediate constants after global constants in the constant
  loading function
- both types of constants now get loaded with array notation in the
  shader (into the same array)

---

 dlls/wined3d/arb_program_shader.c |  106 ++++++++---------
 dlls/wined3d/baseshader.c         |   60 +++++++---
 dlls/wined3d/glsl_shader.c        |  231 ++++++++++++++++++-------------------
 dlls/wined3d/pixelshader.c        |   25 +++-
 dlls/wined3d/vertexshader.c       |   22 +++-
 dlls/wined3d/wined3d_private.h    |   21 ++-
 6 files changed, 259 insertions(+), 206 deletions(-)

Diff:   http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=e9de563e415788946b955be01b023705cff3342c



More information about the wine-cvs mailing list