Ivan Gyurdiev : wined3d: More flow control instructions

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


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

Author: Ivan Gyurdiev <ivg231 at gmail.com>
Date:   Mon Jul 10 03:11:35 2006 -0600

wined3d: More flow control instructions

- Implement if, else, endif, rep, endrep, break
- Implement ifc, breakc, using undocumented comparison bits in the instruction token
- Fix bug in main loop processing of codes with no dst token
- Fix bug in GLSL output modifier processing of codes with no dst token
- Fix bug in loop implementation (src1 contains the integer data, src0 is aL)
- Add versioning for all the instructions above, and remove
  GLSL_REQUIRED thing, which is useless and should be removed from all
  opcodes in general.

---

 dlls/wined3d/baseshader.c      |   39 ++++++++++++-----
 dlls/wined3d/glsl_shader.c     |   91 +++++++++++++++++++++++++++++++++++-----
 dlls/wined3d/pixelshader.c     |   20 ++++-----
 dlls/wined3d/vertexshader.c    |   20 ++++-----
 dlls/wined3d/wined3d_private.h |   22 +++++++++-
 5 files changed, 147 insertions(+), 45 deletions(-)

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



More information about the wine-cvs mailing list