wined3d: Implement a different constant dirtification algorithm.
commit107e80a79cc4a112a471683a0ff1b670e0264755
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 4 Mar 2008 01:30:23 +0000 (4 02:30 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 4 Mar 2008 11:15:16 +0000 (4 12:15 +0100)
treef01185dc1445007478ab3d80dce6c0edebb697d4
parent1dca65607b47f050652dd4a47131dd6bb62c3e15
wined3d: Implement a different constant dirtification algorithm.

Add a new property of the shader backend which indicates whether the
shader backend is able to dirtify single constants rather than
dirtifying vshader and pshader constants as a whole. Depending on this
a different Set*ConstantF implementation is used which marks constants
dirty. The ARB shader backend uses this and marks constants clean
after uploading.
dlls/wined3d/arb_program_shader.c
dlls/wined3d/baseshader.c
dlls/wined3d/context.c
dlls/wined3d/device.c
dlls/wined3d/directx.c
dlls/wined3d/glsl_shader.c
dlls/wined3d/wined3d_private.h