wined3d: Mark instructions without a destination token.
commit8c6ee8df0d7e95218e1bb850605faf1fb0a3e068
authorIvan Gyurdiev <ivg231@gmail.com>
Mon, 12 Jun 2006 10:57:04 +0000 (12 06:57 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 13 Jun 2006 09:40:22 +0000 (13 11:40 +0200)
tree683820ccf936d3e97d8055a172e40be3a7fe0d65
parent14a52e5c0999a023b2041e569cc0a1b2dc7ed542
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
dlls/wined3d/pixelshader.c
dlls/wined3d/vertexshader.c
dlls/wined3d/wined3d_private.h