Henri Verbeet : wined3d: Only store light type counts in struct wined3d_ffp_vs_settings.

Alexandre Julliard julliard at winehq.org
Thu Jan 26 14:53:14 CST 2017


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Jan 26 13:25:21 2017 +0100

wined3d: Only store light type counts in struct wined3d_ffp_vs_settings.

The ordering doesn't matter, so this avoids creating some redundant shader
variants.

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/glsl_shader.c     | 308 ++++++++++++++++++++++++-----------------
 dlls/wined3d/utils.c           |  24 +++-
 dlls/wined3d/wined3d_private.h |  12 +-
 3 files changed, 207 insertions(+), 137 deletions(-)

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



More information about the wine-cvs mailing list