wined3d: More flow control instructions
commit6ede56495a33aef4ddaf1bff117546741da498eb
authorIvan Gyurdiev <ivg231@gmail.com>
Mon, 10 Jul 2006 09:11:35 +0000 (10 03:11 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 11 Jul 2006 15:13:05 +0000 (11 17:13 +0200)
tree520c31898007bf3cca9c022b7b612d21659c3add
parent345dd49eda7f53977c829d9ce1c4b460a37d191b
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
dlls/wined3d/glsl_shader.c
dlls/wined3d/pixelshader.c
dlls/wined3d/vertexshader.c
dlls/wined3d/wined3d_private.h