wined3d: Place immediate constants in the same array as global constants.
commite9de563e415788946b955be01b023705cff3342c
authorIvan Gyurdiev <ivg231@gmail.com>
Mon, 10 Jul 2006 04:51:03 +0000 (9 22:51 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 11 Jul 2006 15:11:30 +0000 (11 17:11 +0200)
treea7c176c0531d1213eed958c0b5bf90beb00fee5c
parent915174d8d9b1b067d87d96b96e7fed6c8d1a1704
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
dlls/wined3d/baseshader.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/pixelshader.c
dlls/wined3d/vertexshader.c
dlls/wined3d/wined3d_private.h