Module: wine Branch: refs/heads/master Commit: a1f4dfe4e37e8d18a444ccf3cf333550659b57d3 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a1f4dfe4e37e8d18a444ccf3...
Author: Ivan Gyurdiev ivg231@gmail.com Date: Mon Jun 12 02:57:07 2006 -0400
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.
---
dlls/wined3d/baseshader.c | 15 +++++ dlls/wined3d/glsl_shader.c | 132 ++++++++++++++++++++++++++++++++++++++-- dlls/wined3d/pixelshader.c | 10 +++ dlls/wined3d/vertexshader.c | 9 +++ dlls/wined3d/wined3d_private.h | 15 +++++ 5 files changed, 176 insertions(+), 5 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=a1f4dfe4e37e8d18a444...