On 31 January 2011 15:45, Stefan Dösinger <stefandoesin...@gmx.at> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Am 31.01.2011 um 15:13 schrieb Matteo Bruni: > >> It should fix http://bugs.winehq.org/show_bug.cgi?id=25877 >> <0001-wined3d-Update-clip-planes-when-switching-to-from-offs.txt> > If we change the shader code to write gl_ClipVertex and result.clip before > applying the y inversion then we should be able to avoid this. That should > also make it more compatible to fixed function vertex processing - here the > clipping is performed before the projection matrix is applied.
Wouldn't it still have to be after the half-pixel offset is applied though?