Re: wined3d: Update clip planes when switching to/from offscreen rendering.

2011-02-02 Thread Matteo Bruni
2011/1/31 Stefan Dösinger : > Am 31.01.2011 um 17:08 schrieb Matteo Bruni: >> The attached patch should follow your idea, does it look right? FWIW, >> I can't see any 1-pixel offset in The Sims 3 with this patch. Yes, I >> know that's not how it should be tested... > Looks OK on first sight. Does i

Re: wined3d: Update clip planes when switching to/from offscreen rendering.

2011-01-31 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 31.01.2011 um 17:08 schrieb Matteo Bruni: > The attached patch should follow your idea, does it look right? FWIW, > I can't see any 1-pixel offset in The Sims 3 with this patch. Yes, I > know that's not how it should be tested... Looks OK on first

Re: wined3d: Update clip planes when switching to/from offscreen rendering.

2011-01-31 Thread Matteo Bruni
2011/1/31 Stefan Dösinger : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Am 31.01.2011 um 15:57 schrieb Henri Verbeet: > >> On 31 January 2011 15:45, Stefan Dösinger wrote: >>> >>> If we change the shader code to write gl_ClipVertex and result.clip before >>> applying the y inversion t

Re: wined3d: Update clip planes when switching to/from offscreen rendering.

2011-01-31 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 31.01.2011 um 15:57 schrieb Henri Verbeet: > On 31 January 2011 15:45, Stefan Dösinger wrote: >> >> 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. Tha

Re: wined3d: Update clip planes when switching to/from offscreen rendering.

2011-01-31 Thread Henri Verbeet
On 31 January 2011 15:45, Stefan Dösinger 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

Re: wined3d: Update clip planes when switching to/from offscreen rendering.

2011-01-31 Thread Stefan Dösinger
-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