commit | a1f4dfe4e37e8d18a444ccf3cf333550659b57d3 | [log] [tgz] |
---|---|---|
author | Ivan Gyurdiev <ivg231@gmail.com> | Mon Jun 12 02:57:07 2006 -0400 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Jun 13 11:40:22 2006 +0200 |
tree | 50f2730a38bf5d45cc4af4e8ca632ed3ec7ece4f | |
parent | 1a3003338f2f216c82df19a832297e17f0f5f318 [diff] |
wined3d: Add support for shader model 3.0 I/O registers. SM 3.0 can pack multiple "semantics" into 12 generic input/output registers. To support that, define temporaries called IN and OUT, and use those as the output registers. At the end of the vshader, unpack the OUT temps into the proper GL variables. At the beginning of the pshader, pack the GL variables back into 12 IN registers.