Stefan Dösinger : wined3d: Implement a different constant dirtification algorithm.
Module: wine Branch: master Commit: 107e80a79cc4a112a471683a0ff1b670e0264755 URL: http://source.winehq.org/git/wine.git/?a=commit;h=107e80a79cc4a112a471683a0f... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Tue Mar 4 02:30:23 2008 +0100 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 | 107 ++++++++++--------- dlls/wined3d/baseshader.c | 4 +- dlls/wined3d/context.c | 21 ++++ dlls/wined3d/device.c | 217 +++++++++++++++++++++++++++++++++++++ dlls/wined3d/directx.c | 8 ++ dlls/wined3d/glsl_shader.c | 8 ++- dlls/wined3d/wined3d_private.h | 6 +- 7 files changed, 318 insertions(+), 53 deletions(-) Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=107e80a79cc4a112a47168...
participants (1)
-
Alexandre Julliard