Ivan Gyurdiev : wined3d: Mark instructions without a destination token.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 13 05:59:03 CDT 2006


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

Author: Ivan Gyurdiev <ivg231 at gmail.com>
Date:   Mon Jun 12 06:57:04 2006 -0400

wined3d: Mark instructions without a destination token.

There are a total of 17 instructions without a destination token. Of
those 9 have num_params != 0, which means that we will not process any
of them correctly, because we assume the first token (if present) is a
destination token.

Those are basically all the flow control instructions, which we plan to
support very soon. They have source tokens, and no destination. Add a
flag that marks them up to the ins table. Use this flag in the trace
pass, and generation pass.

---

 dlls/wined3d/baseshader.c      |   70 +++++++++-------
 dlls/wined3d/pixelshader.c     |  170 ++++++++++++++++++++--------------------
 dlls/wined3d/vertexshader.c    |  116 ++++++++++++++-------------
 dlls/wined3d/wined3d_private.h |    1 
 4 files changed, 183 insertions(+), 174 deletions(-)

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



More information about the wine-cvs mailing list