Stefan Dösinger : wined3d: Support clipplanes with GLSL.

Alexandre Julliard julliard at winehq.org
Mon May 18 08:13:17 CDT 2009


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri May  8 17:24:01 2009 +0200

wined3d: Support clipplanes with GLSL.

This is the Nth attemt to make clipping work with GLSL shaders. The patch now
uses the GLSL quirk table to handle cards that need a custom varying for
gl_ClipPos, and the code is adapted to the changed state table and shader
backend system.

---

 dlls/wined3d/arb_program_shader.c |    2 +
 dlls/wined3d/directx.c            |   22 ++++++++++++++++++
 dlls/wined3d/glsl_shader.c        |   34 ++++++++++++++++++++-------
 dlls/wined3d/state.c              |   45 ++++++++++++++++++++++++------------
 dlls/wined3d/wined3d_gl.h         |    1 +
 dlls/wined3d/wined3d_private.h    |    3 ++
 6 files changed, 83 insertions(+), 24 deletions(-)

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



More information about the wine-cvs mailing list