Module: wine
Branch: refs/heads/master
Commit: 6ede56495a33aef4ddaf1bff117546741da498eb
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6ede56495a33aef4ddaf1bf…
Author: Ivan Gyurdiev <ivg231(a)gmail.com>
Date: Mon Jul 10 03:11:35 2006 -0600
wined3d: More flow control instructions
- Implement if, else, endif, rep, endrep, break
- Implement ifc, breakc, using undocumented comparison bits in the instruction token
- Fix bug in main loop processing of codes with no dst token
- Fix bug in GLSL output modifier processing of codes with no dst token
- Fix bug in loop implementation (src1 contains the integer data, src0 is aL)
- Add versioning for all the instructions above, and remove
GLSL_REQUIRED thing, which is useless and should be removed from all
opcodes in general.
---
dlls/wined3d/baseshader.c | 39 ++++++++++++-----
dlls/wined3d/glsl_shader.c | 91 +++++++++++++++++++++++++++++++++++-----
dlls/wined3d/pixelshader.c | 20 ++++-----
dlls/wined3d/vertexshader.c | 20 ++++-----
dlls/wined3d/wined3d_private.h | 22 +++++++++-
5 files changed, 147 insertions(+), 45 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=6ede56495a33aef4dda…
Module: wine
Branch: refs/heads/master
Commit: e9de563e415788946b955be01b023705cff3342c
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e9de563e415788946b955be…
Author: Ivan Gyurdiev <ivg231(a)gmail.com>
Date: Sun Jul 9 22:51:03 2006 -0600
wined3d: Place immediate constants in the same array as global constants.
- move DEF, DEFI, DEFB handling into the register counting pass
- keep track of defined constants as a linked list (because there's a
few of them)
- apply immediate constants after global constants in the constant
loading function
- both types of constants now get loaded with array notation in the
shader (into the same array)
---
dlls/wined3d/arb_program_shader.c | 106 ++++++++---------
dlls/wined3d/baseshader.c | 60 +++++++---
dlls/wined3d/glsl_shader.c | 231 ++++++++++++++++++-------------------
dlls/wined3d/pixelshader.c | 25 +++-
dlls/wined3d/vertexshader.c | 22 +++-
dlls/wined3d/wined3d_private.h | 21 ++-
6 files changed, 259 insertions(+), 206 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=e9de563e415788946b9…