wined3d: Improve/implement D3DSIO_TEX.
commit744f3ae1c41273e7ec9cdef9b83005d8e1013153
authorIvan Gyurdiev <ivg2@cornell.edu>
Fri, 21 Apr 2006 08:15:08 +0000 (21 04:15 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 21 Apr 2006 09:35:34 +0000 (21 11:35 +0200)
tree1936c8da78c2aa5bff588f6400c1e4747b98f3bb
parentecba4d5cbd1cf13f591b6dbafeab6dcfcd663270
wined3d: Improve/implement D3DSIO_TEX.

- unify per-version cases into a single sequence
- make use of get_register_name() for the destination register
- ignore destination write mask - it's only allowed on 2.0+ shaders,
  and only the default mask is allowed there (xyzw)
- enable swizzle on texld 1.4 (it works together with dw/dz modifiers)
- implement for shaders 2.0-3.0
dlls/wined3d/pixelshader.c