Henri Verbeet : wined3d: Make shader texture format fixups more generic.

Alexandre Julliard julliard at winehq.org
Thu Dec 4 09:02:09 CST 2008


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Dec  3 14:53:43 2008 +0100

wined3d: Make shader texture format fixups more generic.

Based on a patch by Stefan Dösinger. This is more flexible, and allows
the shader backend implementation to be simpler, since it doesn't have
to know about specific formats. The next patch makes use of this.

---

 dlls/wined3d/arb_program_shader.c    |  468 +++++++++++++--------------------
 dlls/wined3d/ati_fragment_shader.c   |   58 +++--
 dlls/wined3d/baseshader.c            |   98 ++++++--
 dlls/wined3d/device.c                |    6 +-
 dlls/wined3d/directx.c               |   53 ++---
 dlls/wined3d/glsl_shader.c           |  297 ++++++++--------------
 dlls/wined3d/nvidia_texture_shader.c |   22 ++-
 dlls/wined3d/pixelshader.c           |    6 +-
 dlls/wined3d/state.c                 |   20 ++-
 dlls/wined3d/surface.c               |   21 ++-
 dlls/wined3d/utils.c                 |  100 ++++++--
 dlls/wined3d/wined3d_private.h       |  126 ++++++++--
 12 files changed, 686 insertions(+), 589 deletions(-)

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



More information about the wine-cvs mailing list