[Mesa-dev] [PATCH] i915: Fix gl_Fragcoord interpolation

2017-06-21 Thread ville . syrjala
From: Ville Syrjälä gl_FragCoord contains the window coordinates so it seems to me that we should not use perspective correct interpolation for it. At least now I get similar output as i965/swrast/llvmpipe produce. This fixes dEQP-GLES2.functional.shaders.builtin_variable.fragcoord_w. dEQP-GLES2

Re: [Mesa-dev] [PATCH] i915: Fix gl_Fragcoord interpolation

2017-06-21 Thread Ian Romanick
On 06/21/2017 10:38 AM, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > gl_FragCoord contains the window coordinates so it seems to me that > we should not use perspective correct interpolation for it. At least > now I get similar output as i965/swrast/llvmpipe produce. > > This f

Re: [Mesa-dev] [PATCH] i915: Fix gl_Fragcoord interpolation

2017-06-22 Thread Ville Syrjälä
On Wed, Jun 21, 2017 at 03:13:22PM -0700, Ian Romanick wrote: > On 06/21/2017 10:38 AM, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > gl_FragCoord contains the window coordinates so it seems to me that > > we should not use perspective correct interpolation for it. At least

Re: [Mesa-dev] [PATCH] i915: Fix gl_Fragcoord interpolation

2017-06-22 Thread Ville Syrjälä
On Thu, Jun 22, 2017 at 03:43:36PM +0300, Ville Syrjälä wrote: > On Wed, Jun 21, 2017 at 03:13:22PM -0700, Ian Romanick wrote: > > On 06/21/2017 10:38 AM, ville.syrj...@linux.intel.com wrote: > > > From: Ville Syrjälä > > > > > > gl_FragCoord contains the window coordinates so it seems to me that