Henri Verbeet : wined3d: Only apply shader constants that changed.

Alexandre Julliard julliard at winehq.org
Sat Dec 20 06:35:19 CST 2008


Module: wine
Branch: master
Commit: 4a19d893e5d5955c045d5dbfe5b764d98cf951fd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4a19d893e5d5955c045d5dbfe5b764d98cf951fd

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Dec 19 19:21:56 2008 +0100

wined3d: Only apply shader constants that changed.

This improves performance a bit for applications that use a lot of
shaders with a lot of constants.

---

 dlls/wined3d/glsl_shader.c     |  402 ++++++++++++++++++++++++++++------------
 dlls/wined3d/stateblock.c      |   13 --
 dlls/wined3d/utils.c           |   10 +
 dlls/wined3d/wined3d_private.h |    9 +-
 4 files changed, 293 insertions(+), 141 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=4a19d893e5d5955c045d5dbfe5b764d98cf951fd



More information about the wine-cvs mailing list